puppet-modulebuilder 0.1.0 → 0.2.0
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 +4 -4
- data/.rubocop.yml +7 -0
- data/CHANGELOG.md +21 -2
- data/Gemfile +2 -1
- data/HISTORY.md +3 -0
- data/Rakefile +17 -0
- data/lib/puppet/modulebuilder/builder.rb +2 -1
- data/lib/puppet/modulebuilder/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2da08da68dec074cc50dc14e8a860df902b5246e41bf78b667184787b647104d
|
|
4
|
+
data.tar.gz: bd4ee562e9bfe9fefd38bee365dee4cb49d022d94758311d60ff94f00fbfd813
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 665bdb0b8dc6a79049122794264293637df282f5ce08807025286ac2c1e91728af27f38aa444bde93e42b1847c3b01991dbf0f8f749507bd6639cedca6d95c9c
|
|
7
|
+
data.tar.gz: 49384a88f4eee08264682eedad55ec6cf70a201459a297406969b5185fc39cbeae4b9e10c83a8c4a58c96fc35b87e48e5f1ea016385f3ff17488132b429a1684
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
# Change log
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
|
|
4
|
+
|
|
5
|
+
## [v0.2.0](https://github.com/puppetlabs/puppet-modulebuilder/tree/v0.2.0) (2020-04-30)
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/puppetlabs/puppet-modulebuilder/compare/v0.1.0...v0.2.0)
|
|
8
|
+
|
|
9
|
+
**Implemented enhancements:**
|
|
10
|
+
|
|
11
|
+
- Set defaults for Builder [\#11](https://github.com/puppetlabs/puppet-modulebuilder/pull/11) ([ekohl](https://github.com/ekohl))
|
|
12
|
+
|
|
13
|
+
**Fixed bugs:**
|
|
14
|
+
|
|
15
|
+
- Always ignore .git [\#15](https://github.com/puppetlabs/puppet-modulebuilder/pull/15) ([ekohl](https://github.com/ekohl))
|
|
16
|
+
|
|
17
|
+
## v0.1.0
|
|
18
|
+
|
|
19
|
+
This is the initial release of the project.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile
CHANGED
|
@@ -9,12 +9,13 @@ group :development do
|
|
|
9
9
|
gem 'rake', '~> 12.0'
|
|
10
10
|
gem 'rspec', '~> 3.0'
|
|
11
11
|
if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.3.0')
|
|
12
|
-
gem 'rubocop', '~> 0.68'
|
|
12
|
+
gem 'rubocop', ['~> 0.68', '< 0.82.0']
|
|
13
13
|
gem 'rubocop-rspec', '~> 1.38'
|
|
14
14
|
|
|
15
15
|
gem 'codecov', '~> 0.1'
|
|
16
16
|
gem 'simplecov', '~> 0.18'
|
|
17
17
|
gem 'simplecov-console', '~> 0.6'
|
|
18
|
+
gem 'github_changelog_generator', '~> 1.15', require: false
|
|
18
19
|
end
|
|
19
20
|
|
|
20
21
|
if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.5.0')
|
data/HISTORY.md
ADDED
data/Rakefile
CHANGED
|
@@ -24,3 +24,20 @@ RSpec::Core::RakeTask.new(:acceptance) do |t|
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
task default: [:spec, :acceptance]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
if Bundler.rubygems.find_name('github_changelog_generator').any?
|
|
30
|
+
require 'github_changelog_generator/task'
|
|
31
|
+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
|
32
|
+
raise "Set CHANGELOG_GITHUB_TOKEN environment variable eg 'export CHANGELOG_GITHUB_TOKEN=valid_token_here'" if Rake.application.top_level_tasks.include? "changelog" and ENV['CHANGELOG_GITHUB_TOKEN'].nil?
|
|
33
|
+
config.user = "puppetlabs"
|
|
34
|
+
config.project = "puppet-modulebuilder"
|
|
35
|
+
require 'puppet/modulebuilder/version'
|
|
36
|
+
config.future_release = "v#{Puppet::Modulebuilder::VERSION}"
|
|
37
|
+
config.exclude_labels = ['maintenance']
|
|
38
|
+
config.header = "# Change log\n\nAll notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org)."
|
|
39
|
+
config.add_pr_wo_labels = true
|
|
40
|
+
config.issues = false
|
|
41
|
+
config.merge_prefix = "### UNCATEGORIZED PRS; GO LABEL THEM"
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -6,6 +6,7 @@ module Puppet::Modulebuilder
|
|
|
6
6
|
# Class to build Puppet Modules from source
|
|
7
7
|
class Builder
|
|
8
8
|
DEFAULT_IGNORED = [
|
|
9
|
+
'/.git',
|
|
9
10
|
'/pkg/',
|
|
10
11
|
'~*',
|
|
11
12
|
'/coverage',
|
|
@@ -19,7 +20,7 @@ module Puppet::Modulebuilder
|
|
|
19
20
|
|
|
20
21
|
attr_reader :logger
|
|
21
22
|
|
|
22
|
-
def initialize(source, destination, logger)
|
|
23
|
+
def initialize(source, destination = nil, logger = nil)
|
|
23
24
|
raise ArgumentError, 'logger is expected to be nil or a Logger. Got %{klass}' % { klass: logger.class } unless logger.nil? || logger.is_a?(Logger)
|
|
24
25
|
|
|
25
26
|
@source_validated = false
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppet-modulebuilder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sheena
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-
|
|
12
|
+
date: 2020-04-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: minitar
|
|
@@ -54,6 +54,7 @@ files:
|
|
|
54
54
|
- ".travis.yml"
|
|
55
55
|
- CHANGELOG.md
|
|
56
56
|
- Gemfile
|
|
57
|
+
- HISTORY.md
|
|
57
58
|
- LICENSE
|
|
58
59
|
- README.md
|
|
59
60
|
- Rakefile
|
|
@@ -83,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
84
|
- !ruby/object:Gem::Version
|
|
84
85
|
version: '0'
|
|
85
86
|
requirements: []
|
|
86
|
-
rubygems_version: 3.
|
|
87
|
+
rubygems_version: 3.1.2
|
|
87
88
|
signing_key:
|
|
88
89
|
specification_version: 4
|
|
89
90
|
summary: A gem to set up puppet-modulebuilder
|