sem_ver_components 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: a3dfbf1225479b15f20c2d05e722e3b2c55639bd487c2116ea876e9242b761cf
4
- data.tar.gz: db32b6f0e269ace834c2deebbe15a17e7cc6c99912769e48810ef7e6caba8dde
3
+ metadata.gz: 6ad5f6f5e4ed0306f70bc8967049da98b057cbef64efcbb45708bcc97c05921d
4
+ data.tar.gz: a5c86d63ed59ecb62ab18e9a6043bb53f3cafd04058b5c935ae9851765475904
5
5
  SHA512:
6
- metadata.gz: 56f653d99f3917916f2c9f5d7f13aa3287af6d609736fc530d6b0862edff47205b308cad5e92f32207eee9509cea97116d1241cc5f945c8ff1a78d3c5752ac6a
7
- data.tar.gz: 2cf423be84f46c9657f610c54d47587b8d6c3a1821742d715f91defd65d7aa60ff617881ccdb0b0297739e2da8128eb8e7133992db41bd351dc7d66c217ecab0
6
+ metadata.gz: b7d91845e1d2c9488c91fc55fc7f33b83097c6a2f2487c5001ba4379e8123df2e412058b2dbdf69e18c1288efd7645e3b0588987017c0bd00086f16e5fdd65de
7
+ data.tar.gz: df0a4368d25cceeef753bf31dc66a27442327e39bcd6686e49213144aafadb6f723864761c6700d5b1d9e1d45564efef59357f47b7b66f91cd7e895be70e2a77
@@ -14,6 +14,9 @@ module SemVerComponents
14
14
  bump_level = commits_info.map { |commit_info| commit_info[:components_bump_levels].values }.flatten(1).max
15
15
  puts(
16
16
  case bump_level
17
+ when nil
18
+ # No commit. Return nothing to bump.
19
+ ''
17
20
  when 0
18
21
  'patch'
19
22
  when 1
@@ -1,5 +1,5 @@
1
1
  module SemVerComponents
2
2
 
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sem_ver_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muriel Salvan