community_cookbook_releaser 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/ccr +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9025a43c703f5aafc6e3db1bd00397901eea55ed
|
4
|
+
data.tar.gz: 52fe09630e52650febdd6be140a472256c0d5251
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ccc1b421e05997f46531a03ebb2ef6b8d7dcd7754b4b8d59ab76263b7c414946f40978234115d78ecb167e489f655c93d326e8d750e0198b8c7b71346d6e389
|
7
|
+
data.tar.gz: 2ec5b5736823e2ba1c3ede2f81d0eac183f0c4a0826b4f36a17f9dcfe7e527bb410bbc0f07a99be0d0f42bfd931efc69bf0bda16307c66a0de257c63312f675f
|
data/bin/ccr
CHANGED
@@ -24,7 +24,7 @@ def fail_if_cb_files
|
|
24
24
|
exit 1
|
25
25
|
end
|
26
26
|
|
27
|
-
unless File.open('metadata.rb').read =~ /version\s*'\d*.\d*.\d*'/
|
27
|
+
unless File.open('metadata.rb').read =~ /version\s*('|")\d*.\d*.\d*('|")/
|
28
28
|
puts_red("metadata.rb doesn't appear to have a valid version string!")
|
29
29
|
exit 1
|
30
30
|
end
|
@@ -50,11 +50,11 @@ def bump_version(old_version)
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def current_metadata_version
|
53
|
-
File.open('metadata.rb').read.match(/version\s*'(\d*.\d*.\d*)'/)[
|
53
|
+
File.open('metadata.rb').read.match(/version\s*('|")(\d*.\d*.\d*)('|")/)[2]
|
54
54
|
end
|
55
55
|
|
56
56
|
def prompted_new_version
|
57
|
-
current_version = File.open('metadata.rb').read.match(/version\s*'(\d*.\d*.\d*)'/)[
|
57
|
+
current_version = File.open('metadata.rb').read.match(/version\s*('|")(\d*.\d*.\d*)('|")/)[2]
|
58
58
|
next_version = bump_version(current_version)
|
59
59
|
|
60
60
|
print "New version to release [autobump to #{next_version}]: "
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: community_cookbook_releaser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -48,7 +48,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
48
48
|
requirements:
|
49
49
|
- - ">="
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: 2.
|
51
|
+
version: 2.2.0
|
52
52
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - ">="
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
version: '0'
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
|
-
rubygems_version: 2.6.
|
59
|
+
rubygems_version: 2.6.11
|
60
60
|
signing_key:
|
61
61
|
specification_version: 4
|
62
62
|
summary: A simple script in gem form for releasing chef managed community cookbooks.
|