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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8de434a181f1a14aa9077c263e96d7d03981f47
4
- data.tar.gz: 2a6ce31ae7e5bc58c2b48f0eefc5a89aeeb16bcb
3
+ metadata.gz: cb3d60866bed144c8e410f5fc52db4343f43fea7
4
+ data.tar.gz: eaf9c3b51290e2984f774391db3be1d75581a3c3
5
5
  SHA512:
6
- metadata.gz: 39e36ebfbb8a9579b2618bfa08185b547b0612aa392b42e776b4171d4ce0e4826ed396e59ea8737581c465e95b95e72949c3edc9a21690390e8ba244580d9cd0
7
- data.tar.gz: 8e4d2d9837ff3154cb0e16e137c50f7082a30692ec542a4da9edf02d011509e9cef2c90527f14ef463547f837c68c7386096c05cf67207eee3e6259f607414fd
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
- task :release => [:clean, :build, :tag, :push, :bump_commit] do
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
@@ -1,3 +1,3 @@
1
1
  module Blacksmith
2
- VERSION = '3.2.0'
2
+ VERSION = '3.3.0'
3
3
  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.2.0
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-02-27 00:00:00.000000000 Z
11
+ date: 2015-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client