puppet-blacksmith 3.0.2 → 3.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,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGI4M2FiZTBmMzY4ODVmZWY1YWUwZDkwODY5M2Q3M2YwZDFjYTliZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTgyOTQ3ZGYxMGMxYmQ1Zjc4M2Y4ZjI3OTc0MjFiZjE2NzljNmI2MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGEyYjk5ZWNmNzNhNTIxMzQ2NTk1YzY4MGNhNjYyZTYwYTI4NjQ5OWI0NGRj
|
10
|
+
YmQ2ODRjMjMyY2UxNGRhMjI1OGNlYzQxZjRiMjk5ZjM3ODhhZmE2MzI4NjUx
|
11
|
+
Njc1OWZkY2U1MDMxNTY2OTk5MmE0ZjNkNjliMmYyNTA5MmVjODg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjU3MDMwZGYwZDAzZWY5NzE1MTcwODEwMjhjYTAyYzNiZjNlZmJkMjY2MDhh
|
14
|
+
YTNhNTA3MmZlNDM2MDgyNTk1NDNmYjVjNzlkN2RhZDUzN2Q5MjdjZGQ0YTlk
|
15
|
+
YTgwOTU2YzhhNTA0ZWZmYTFjYmU2YTIyMDI5MmI0NWZiYmViZGI=
|
@@ -13,10 +13,10 @@ module Blacksmith
|
|
13
13
|
exec_git "tag v#{version}"
|
14
14
|
end
|
15
15
|
|
16
|
-
def commit_modulefile!
|
16
|
+
def commit_modulefile!(version)
|
17
17
|
files = Blacksmith::Modulefile::FILES.select {|f| File.exists?(File.join(@path,f))}
|
18
18
|
s = exec_git "add #{files.join(" ")}"
|
19
|
-
s += exec_git "commit -m '[blacksmith] Bump version'"
|
19
|
+
s += exec_git "commit -m '[blacksmith] Bump version to #{version}'"
|
20
20
|
s
|
21
21
|
end
|
22
22
|
|
@@ -17,7 +17,8 @@ namespace :module do
|
|
17
17
|
|
18
18
|
desc "Bump version and git commit"
|
19
19
|
task :bump_commit => :bump do
|
20
|
-
Blacksmith::
|
20
|
+
m = Blacksmith::Modulefile.new
|
21
|
+
Blacksmith::Git.new.commit_modulefile!(m.version)
|
21
22
|
end
|
22
23
|
|
23
24
|
desc "Push module to the Puppet Forge"
|
@@ -32,7 +32,7 @@ describe 'Blacksmith::Git' do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
it "should commit the metadata file" do
|
35
|
-
expect(subject.commit_modulefile!).to match(/\[blacksmith\] Bump version/)
|
35
|
+
expect(subject.commit_modulefile!(version)).to match(/\[blacksmith\] Bump version to #{version}/)
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-blacksmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MaestroDev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|