puppet-blacksmith 6.1.0 → 6.1.1
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 +8 -1
- data/lib/puppet_blacksmith/version.rb +1 -1
- data/spec/spec_helper.rb +24 -0
- metadata +18 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e245b9c1dd5511577bfdee9a4b13d43747755d360ff6489fa87251033819e823
|
4
|
+
data.tar.gz: 67b1f15dddd35faeb8d86a70e255cae13cbeaf20e6fff840f2ef6c8a187281fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 602fa94091986550141377a0fd867b9a999c865cbfcd74ee98d804d69f4ee983d5883a59e34b1739355a5120531c68294787b85b11a7d1c2247d861588974a05
|
7
|
+
data.tar.gz: d04eafeeb3507cf89af8ef28ac2cbe0efd0ade986c165e8eb68ba9b0edafaba6c2c81c42149abe9f669ddb919f7130e67731f36822ecbe7441dc8b51298c3a55
|
@@ -145,7 +145,14 @@ module Blacksmith
|
|
145
145
|
desc "Runs clean again"
|
146
146
|
task :clean do
|
147
147
|
puts "Cleaning for module build"
|
148
|
-
Rake::Task
|
148
|
+
if Rake::Task::task_defined?(:clean)
|
149
|
+
Rake::Task["clean"].execute
|
150
|
+
else
|
151
|
+
# identical to the clean task in puppetlabs_spec_helper on 2021-07-30
|
152
|
+
# https://github.com/puppetlabs/puppetlabs_spec_helper/blob/24d7b21280a26cc682146839f41dbf1c0793e494/lib/puppetlabs_spec_helper/rake_tasks.rb#L165-L168
|
153
|
+
require 'fileutils'
|
154
|
+
FileUtils.rm_rf('pkg/')
|
155
|
+
end
|
149
156
|
end
|
150
157
|
|
151
158
|
desc "Release the Puppet module, doing a clean, build, bump_commit, tag, push and git push."
|
data/spec/spec_helper.rb
CHANGED
@@ -1 +1,25 @@
|
|
1
|
+
begin
|
2
|
+
require 'simplecov'
|
3
|
+
require 'simplecov-console'
|
4
|
+
require 'codecov'
|
5
|
+
rescue LoadError
|
6
|
+
else
|
7
|
+
SimpleCov.start do
|
8
|
+
track_files 'lib/**/*.rb'
|
9
|
+
|
10
|
+
add_filter '/spec'
|
11
|
+
|
12
|
+
enable_coverage :branch
|
13
|
+
|
14
|
+
# do not track vendored files
|
15
|
+
add_filter '/vendor'
|
16
|
+
add_filter '/.vendor'
|
17
|
+
end
|
18
|
+
|
19
|
+
SimpleCov.formatters = [
|
20
|
+
SimpleCov::Formatter::Console,
|
21
|
+
SimpleCov::Formatter::Codecov,
|
22
|
+
]
|
23
|
+
end
|
24
|
+
|
1
25
|
require 'puppet_blacksmith'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-blacksmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.
|
4
|
+
version: 6.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MaestroDev
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-08-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: puppet-modulebuilder
|
@@ -127,16 +127,22 @@ dependencies:
|
|
127
127
|
name: webmock
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- - "
|
130
|
+
- - ">="
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '2.0'
|
133
|
+
- - "<"
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '4'
|
133
136
|
type: :development
|
134
137
|
prerelease: false
|
135
138
|
version_requirements: !ruby/object:Gem::Requirement
|
136
139
|
requirements:
|
137
|
-
- - "
|
140
|
+
- - ">="
|
138
141
|
- !ruby/object:Gem::Version
|
139
142
|
version: '2.0'
|
143
|
+
- - "<"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '4'
|
140
146
|
description: Puppet module tools for development and Puppet Forge management
|
141
147
|
email:
|
142
148
|
- voxpupuli@groups.io
|
@@ -184,19 +190,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
190
|
- !ruby/object:Gem::Version
|
185
191
|
version: '0'
|
186
192
|
requirements: []
|
187
|
-
rubygems_version: 3.
|
193
|
+
rubygems_version: 3.2.22
|
188
194
|
signing_key:
|
189
195
|
specification_version: 4
|
190
196
|
summary: Tasks to manage Puppet module builds
|
191
197
|
test_files:
|
192
|
-
- spec/
|
198
|
+
- spec/data/maestrodev-test/metadata.json
|
199
|
+
- spec/data/metadata-different-author.json
|
200
|
+
- spec/data/metadata-no-author.json
|
201
|
+
- spec/data/metadata.json
|
202
|
+
- spec/data/response.json
|
193
203
|
- spec/puppet_blacksmith/forge_live_spec.rb
|
204
|
+
- spec/puppet_blacksmith/forge_shared.rb
|
205
|
+
- spec/puppet_blacksmith/forge_spec.rb
|
194
206
|
- spec/puppet_blacksmith/git_spec.rb
|
195
207
|
- spec/puppet_blacksmith/modulefile_spec.rb
|
196
|
-
- spec/puppet_blacksmith/forge_spec.rb
|
197
208
|
- spec/spec_helper.rb
|
198
|
-
- spec/data/metadata-different-author.json
|
199
|
-
- spec/data/metadata-no-author.json
|
200
|
-
- spec/data/maestrodev-test/metadata.json
|
201
|
-
- spec/data/response.json
|
202
|
-
- spec/data/metadata.json
|