app-release 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c212a7fccb68465ac63736e8f266f194fd6b6364a3e3f4da16ce4db2407bdc8b
4
- data.tar.gz: 21f4dbb375edc4c737332e7f186b287a838f78cb934dd96556320d8baf3f4128
3
+ metadata.gz: 7249eabaf2fc705bb629433710e8648fe434fd88da386b049d40727be7a2a65a
4
+ data.tar.gz: ad5f85a43dca04ce7f6ecee70cb4b5f13fe2454797051281e375c6124c59304d
5
5
  SHA512:
6
- metadata.gz: 7ad4c88df6ef55fe715983d09ff7a7e9420d2613bbcba7e3bc9169cdbe84e136689ae6a5a8934b38612c7f46e5c68ab2ce859b3fb51a50415f277175dd3709ed
7
- data.tar.gz: 6cd37588f8ff30193c1e576399f8489b3a8a9444e82b650a6178be06e9d8ed7f0ccef813c5042e576553db5a755921e943f0010075d766450cfada7e59718605
6
+ metadata.gz: 9a6d725b7bcab6ee8f48f5491ccd50094b6593d4d7e8c08e87d2ce59592b6ee1fc8165763a30a2d52eecd0164ced6a29cd290bf12fb1cc5800003f65c7df1e44
7
+ data.tar.gz: 42b1f7becad29cd093b6f9dce1d464df379be8d448a733028bd2a44b68d9d474539dcbb9923ac65aeecb6ba3fa1f1e7769b4a8e0f98e8bdcc810b5b42c9e668f
@@ -48,11 +48,11 @@ module AppRelease
48
48
  upgrading_version(:major)
49
49
  end
50
50
 
51
- opts.on('--minor', 'Upgrading the minor update') do
51
+ opts.on('--minor', 'Upgrading the minor version') do
52
52
  upgrading_version(:minor)
53
53
  end
54
54
 
55
- opts.on('--patch', 'Upgrading the patch update') do
55
+ opts.on('--patch', 'Upgrading the patch version') do
56
56
  upgrading_version(:patch)
57
57
  end
58
58
 
@@ -161,8 +161,7 @@ module AppRelease
161
161
  ############################################################################
162
162
 
163
163
  def create_git_tag_with(prefix = nil)
164
- file = current_version_file.dup
165
- version = version_formatted_for(file)
164
+ version = version_formatted_for(current_version_file)
166
165
  AppRelease::Git.create(version, prefix)
167
166
  end
168
167
  end
@@ -1,7 +1,7 @@
1
1
  module AppRelease
2
2
  MAJOR = 1
3
3
  MINOR = 0
4
- PATCH = 2
4
+ PATCH = 3
5
5
 
6
6
  VERSION = [
7
7
  MAJOR,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-21 00:00:00.000000000 Z
11
+ date: 2020-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize