gaptool-server 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +19 -0
- data/VERSION +1 -1
- data/tasks/gem.rb +0 -13
- 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: 3ddb439ba551286b15caaccf7ba3990faec9dcbb
|
4
|
+
data.tar.gz: 3e4e425e4cb7d018903ed538a367af4f736dd83d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fd00e76e360031a00389f6ab31735007e70e31366b230430055825417cbaaf99534c64b5ef3498e39484883cbcf082f41e76cf21777ab957959812a75b50005
|
7
|
+
data.tar.gz: 5894bb1f4762abbb4fed353324dc8ae5f4c00179c098d9dcd789f370362da914be9df30b06e33909dafc4c330ca95942e0746eb68b4b77179e651cf46cbf099d
|
data/Rakefile
CHANGED
@@ -33,10 +33,29 @@ unless File.exists?('/.dockerenv')
|
|
33
33
|
exec "unicorn -p 3000 #{Shellwords.join(ARGV[1..-1])}"
|
34
34
|
end
|
35
35
|
|
36
|
+
desc "Bump the version"
|
37
|
+
task :bump do
|
38
|
+
version = File.read('VERSION').strip
|
39
|
+
nver = version.next
|
40
|
+
f = File.open('VERSION', 'w')
|
41
|
+
f.write(nver)
|
42
|
+
f.close
|
43
|
+
puts "Bumped #{version} => #{nver}"
|
44
|
+
exec "git commit -m 'Bump version to v#{nver}' VERSION"
|
45
|
+
Rake::Task["tag"].invoke
|
46
|
+
Rake::Task["gem:build"].invoke
|
47
|
+
end
|
48
|
+
|
36
49
|
desc "Tag git with VERSION"
|
37
50
|
task :tag do
|
38
51
|
exec "git tag v$(cat VERSION)"
|
39
52
|
end
|
53
|
+
|
54
|
+
desc "Push the git tag and the gem version"
|
55
|
+
task :push => :tag do
|
56
|
+
exec "git push origin v$(cat VERSION)"
|
57
|
+
Rake::Task["gem:push"].invoke
|
58
|
+
end
|
40
59
|
end
|
41
60
|
|
42
61
|
task :help do
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.4
|
data/tasks/gem.rb
CHANGED
@@ -14,19 +14,6 @@ unless File.exists?('/.dockerenv')
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
desc "Bump the version"
|
18
|
-
task :bump do
|
19
|
-
version = File.read('VERSION').strip
|
20
|
-
nver = version.next
|
21
|
-
f = File.open('VERSION', 'w')
|
22
|
-
f.write(nver)
|
23
|
-
f.close
|
24
|
-
puts "Bumped #{version} => #{nver}"
|
25
|
-
exec "git commit -m 'Bump version to v#{nver}' VERSION"
|
26
|
-
Rake::Task["tag"].invoke
|
27
|
-
Rake::Task["gem:build"].invoke
|
28
|
-
end
|
29
|
-
|
30
17
|
desc "Push"
|
31
18
|
task :push => :build do
|
32
19
|
version = File.read('VERSION').strip
|