schmersion 1.1.0 → 1.1.3

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: ebf5ec763672ffaed1a267587ce8901017d5844335535841be3a8ba678b9fcb5
4
- data.tar.gz: db476ffab17ae0a13ea736ca7e86477e43a53fac15d3fa0b240e9e6d192da738
3
+ metadata.gz: 3107f64526a4fb0c5da5eff6b987ea35ed74da56c1935006dec753d8f0f702e4
4
+ data.tar.gz: 82185795fa0f4370f5238fa59a47d4840fb1bc12097b6188eb2c6220197ad4de
5
5
  SHA512:
6
- metadata.gz: 3cb9ab527fb3eb7b32cab65570a2ccfe09371e99cc918c648e8b6986aff9747a30be9b75c72d09300f4ea8f8a496f8d15d8acc86e80805fe81a1dce4ce1ba621
7
- data.tar.gz: 70025c3989baa3aa52a2d6563905eaea3afe6af9c2576ecb1af1207f94740e26a2bcdb6489ba8ba03c01787587e014b323296c0b0d3a322d7100f84072022c16
6
+ metadata.gz: 8764e870e123cca1e89f4de5391f23f607dd7a0c1959a5d4c0f44d7d7076783867d12815e9a3c7dc76c3654d7d525339af6bcf1bc64f84a91f01b937a85c3e71
7
+ data.tar.gz: aecc9b5846e92f591caf7e67b3c5042613789141e3ab95dd83c5edbe4580a8de07609a5d6814058bca0cb0e2d8891f6a161705019d23efbb9a48430ee9791551
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.3
data/cli/release.rb CHANGED
@@ -34,7 +34,7 @@ command :release do
34
34
  require 'schmersion/repo'
35
35
  require 'schmersion/releaser'
36
36
  repo = Schmersion::Repo.new(FileUtils.pwd)
37
- releaser = Schmersion::Releaser.new(repo, context.options)
37
+ releaser = Schmersion::Releaser.new(repo, **context.options)
38
38
  releaser.release
39
39
  end
40
40
  end
@@ -41,6 +41,10 @@ module Schmersion
41
41
  @breaking_changes.size.positive?
42
42
  end
43
43
 
44
+ def merge?
45
+ @raw_message.match?(/\AMerge\s+/)
46
+ end
47
+
44
48
  private
45
49
 
46
50
  def parse_header
@@ -17,6 +17,8 @@ module Schmersion
17
17
  end
18
18
 
19
19
  def validate_all
20
+ return if @message.merge?
21
+
20
22
  validate_valid_format
21
23
  return unless @message.valid?
22
24
 
@@ -101,7 +101,6 @@ module Schmersion
101
101
 
102
102
  def version
103
103
  @version ||= begin
104
- puts @repo.config.version_options
105
104
  @repo.pending_version(
106
105
  override_version: @options[:version],
107
106
  version_options: {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schmersion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-28 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0'
204
204
  requirements: []
205
- rubygems_version: 3.1.2
205
+ rubygems_version: 3.1.6
206
206
  signing_key:
207
207
  specification_version: 4
208
208
  summary: This is a tool for generating CHANGELOGs and managing app versioning.