Commit 52d8324

mo khan <mo@mokhan.ca>
2013-05-23 12:52:45
add tasks to publish
1 parent 606499f
Changed files (3)
lib/humble/version.rb
@@ -1,3 +1,3 @@
 module Humble
-  VERSION = "0.0.1"
+  VERSION = "0.0.#{Time.now.to_i}"
 end
Gemfile.lock
@@ -1,7 +1,7 @@
 PATH
   remote: .
   specs:
-    humble (0.0.1)
+    humble (0.0.1369313535)
       sequel
 
 GEM
Rakefile
@@ -5,3 +5,16 @@ task :default => :spec
 task :spec do
   system 'bundle exec rspec spec'
 end
+
+task :clean do
+  system 'rm *.gem'
+  system 'rm -fr pkg'
+end
+
+task :build => :clean do
+  system 'gem build humble.gemspec'
+end
+
+task :publish => :build do
+  system 'gem push *.gem'
+end