git_bumper 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9682904c029feef4497ed753c1873d937a667c92
4
- data.tar.gz: bbe4c5ad8b6188d5e895fc2b336b5247cd5c7596
3
+ metadata.gz: 30ddb991d386eff0aa7a58e70810cfd717c0776a
4
+ data.tar.gz: 1554811828afa18d90299af4a7b0b44c7245f23e
5
5
  SHA512:
6
- metadata.gz: c107927ae9436ce86902e2cf03618e82e1ee4d223616f082ad3ebe7b6c70ff41cccc95dea33ed449df5b1315b4e1e9c9ea876dcc983173ddeb26a2b949fc801d
7
- data.tar.gz: 7198165452a5d9e6df934cf9b97373aa394770cbc536e860e437815683f2eecf6f38e17e3ae0ccfca7a18d60d9cf9aa7b7f3d99fe6abc9da80720550ee1c0160
6
+ metadata.gz: 3f6581c86211e31d3a2f84a4052a83a83cca765ac8fb40ffb879956923b6e8d73c77d574dc6719b48f7fffc4859178ce04103e4ccbb037efd9c60228ac6386cd
7
+ data.tar.gz: 8f33f4dc951602839f014a7f54ea10a041e6829588466b42358b1517f9cd0eeda3ef707adb0f1f32c0d68853a82fe6f9603d87b9a501e5e677892562073d4f5b
@@ -44,8 +44,11 @@ module GitBumper
44
44
  case part
45
45
  when :major
46
46
  @major += 1
47
+ @minor = 0
48
+ @patch = 0
47
49
  when :minor
48
50
  @minor += 1
51
+ @patch = 0
49
52
  when :patch
50
53
  @patch += 1
51
54
  end
@@ -1,3 +1,3 @@
1
1
  module GitBumper
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_bumper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lenon Marcel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-07 00:00:00.000000000 Z
11
+ date: 2016-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.4.5.1
93
+ rubygems_version: 2.5.1
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: A CLI utility to bump git tags.