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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +19 -0
  3. data/VERSION +1 -1
  4. data/tasks/gem.rb +0 -13
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8792919d9131ecb815486fc8d6fdf6c3f1edc7b8
4
- data.tar.gz: e049f30e8197148073679ac57ac39b8aae9708dc
3
+ metadata.gz: 3ddb439ba551286b15caaccf7ba3990faec9dcbb
4
+ data.tar.gz: 3e4e425e4cb7d018903ed538a367af4f736dd83d
5
5
  SHA512:
6
- metadata.gz: a24f502022c705b4498c20274493b0149dba3c5ee04dfd9e5dbe1d6c8a6cf0e1f5e759375f9fd04e31bf844e1bfa992f16a7719e531e32926e194d9840a8b2a1
7
- data.tar.gz: 7fdfa9f7660507edbede8aafa9b7fd9db2401275e570ea7e72998d1224f4f4e0df2d060240bac4be21a8f014a533871ca20845ef6db53abb2e6829e6eb966a18
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.3
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaptool-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Bailey