sem_ver_components 0.0.2 → 0.1.0

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: c7e8432c849fec7ef379f954d777cfbc2920528a7d1c9e82abf7eba5f7c5b290
4
- data.tar.gz: dbc96e731a6ed258dfc732d6f187387ec76581f2971a5d539fc60c4eb3f4b10b
3
+ metadata.gz: a3dfbf1225479b15f20c2d05e722e3b2c55639bd487c2116ea876e9242b761cf
4
+ data.tar.gz: db32b6f0e269ace834c2deebbe15a17e7cc6c99912769e48810ef7e6caba8dde
5
5
  SHA512:
6
- metadata.gz: 14d250facc23df60b965ed65c9eaf182a7410473ff4080f6c8b39e7ba0c0ec32a42ff809706bff76bc08c5b46b3fdfa2c215f76844b6a19b9a2eefa478fe568a
7
- data.tar.gz: 116218e895cb0335db40fd5f8458118ec54645a906b963de517894a92f14e3381aa93723753e25feb8a9208d7b2ba793a48f6d666c1dec30d550cadfeca1b60d
6
+ metadata.gz: 56f653d99f3917916f2c9f5d7f13aa3287af6d609736fc530d6b0862edff47205b308cad5e92f32207eee9509cea97116d1241cc5f945c8ff1a78d3c5752ac6a
7
+ data.tar.gz: 2cf423be84f46c9657f610c54d47587b8d6c3a1821742d715f91defd65d7aa60ff617881ccdb0b0297739e2da8128eb8e7133992db41bd351dc7d66c217ecab0
@@ -45,10 +45,10 @@ module SemVerComponents
45
45
  components_bump_levels[component] = [] unless components_bump_levels.key?(component)
46
46
  components_bump_levels[component] <<
47
47
  case commit_type.downcase
48
- when 'feat', 'feature'
49
- 1
50
- when 'break', 'breaking'
48
+ when 'break', 'breaking', 'major'
51
49
  2
50
+ when 'feat', 'feature', 'minor'
51
+ 1
52
52
  else
53
53
  0
54
54
  end
@@ -1,5 +1,5 @@
1
1
  module SemVerComponents
2
2
 
3
- VERSION = '0.0.2'
3
+ VERSION = '0.1.0'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sem_ver_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muriel Salvan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-14 00:00:00.000000000 Z
11
+ date: 2021-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git