puppet-blacksmith 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/puppet_blacksmith/rake_tasks.rb +4 -2
- data/lib/puppet_blacksmith/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb3d60866bed144c8e410f5fc52db4343f43fea7
|
4
|
+
data.tar.gz: eaf9c3b51290e2984f774391db3be1d75581a3c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2de29ff3123162d85838c240c36e434c0eefc09471674d78cf4557e67ca22cc7582a6a544d12c3a42ac96f7e9dc7d77c3558cce4948832b8b2ad5377b24cda2f
|
7
|
+
data.tar.gz: 365cbdf425f1585a62bf3eba237d762cf5a95e1b377b0e7930aadb3e0394cb061edf3b2214adb71e8b928bf2c95f1e853f3efb7ea7ef2d1e02b1ad979e33941b
|
@@ -5,9 +5,10 @@ require 'puppet_blacksmith'
|
|
5
5
|
module Blacksmith
|
6
6
|
class RakeTask < ::Rake::TaskLib
|
7
7
|
|
8
|
-
attr_accessor :tag_pattern
|
8
|
+
attr_accessor :tag_pattern, :build
|
9
9
|
|
10
10
|
def initialize(*args, &task_block)
|
11
|
+
@build = true
|
11
12
|
@task_name = args.shift || "blacksmith"
|
12
13
|
@desc = args.shift || "Puppet Forge utilities"
|
13
14
|
define(args, &task_block)
|
@@ -82,7 +83,8 @@ module Blacksmith
|
|
82
83
|
end
|
83
84
|
|
84
85
|
desc "Release the Puppet module, doing a clean, build, tag, push, bump_commit and git push."
|
85
|
-
|
86
|
+
release_dependencies = @build ? [:clean, :build, :tag, :push, :bump_commit] : [:clean, :tag, :bump_commit]
|
87
|
+
task :release => release_dependencies do
|
86
88
|
puts "Pushing to remote git repo"
|
87
89
|
Blacksmith::Git.new.push!
|
88
90
|
end
|
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.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MaestroDev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|