macaw-ruby 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Rakefile +7 -4
- data/lib/macaw/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c71139e1d8315be62a374f32d6ee4ef0990c0ed7
|
|
4
|
+
data.tar.gz: 0fde0bdd9e9edba710e379703e2e70a289197a69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 566b1c2fdbb66973cf2b40fe7c65082d2a8102a17bb4da07beacfce7da9ea5e35db5871c01c851acfcaebc38d8c9ac241245902bccd4dbbe2f886c1d81e22b52
|
|
7
|
+
data.tar.gz: 89521cf7334fc6bcb4e11c4284cbf2930836683a6f1755e74fb7be6064e5c019f1addeb13507464fccd34fedd01ef71bd8b6edd86cb306f7c3f1284f3ca375fd
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
|
@@ -3,17 +3,20 @@ require 'fileutils'
|
|
|
3
3
|
|
|
4
4
|
task :default => :build
|
|
5
5
|
|
|
6
|
-
task :
|
|
6
|
+
task :bump do
|
|
7
7
|
version = Macaw::VERSION.split('.').collect{|v| Integer(v)}
|
|
8
8
|
version[2] += 1
|
|
9
9
|
version = version.collect{|v| v.to_s}.join('.')
|
|
10
10
|
File.open('lib/macaw/version.rb', 'w'){|f| f.write("class Macaw\n VERSION = #{version.inspect}\nend\n") }
|
|
11
|
+
end
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
sh "git
|
|
14
|
-
|
|
13
|
+
task :publish do
|
|
14
|
+
sh "git tag #{Macaw::VERSION}"
|
|
15
|
+
Dir['pkg/*.gem'].each{|f| File.unlink(f)}
|
|
15
16
|
Rake::Task["build"].invoke
|
|
16
17
|
sh "gem push #{Dir['pkg/*.gem'].join(' ')}"
|
|
18
|
+
sh "git push"
|
|
19
|
+
sh "rm -f pkg/*"
|
|
17
20
|
end
|
|
18
21
|
|
|
19
22
|
task :test do
|
data/lib/macaw/version.rb
CHANGED