puppet-resource_api 1.8.13 → 1.8.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +94 -25
- data/README.md +9 -9
- data/docs/README.md +1 -1
- data/docs/hands-on-lab/01-installing-prereqs.md +1 -1
- data/docs/hands-on-lab/04-adding-a-new-transport.md +1 -1
- data/docs/hands-on-lab/07-implementing-a-task.md +1 -1
- data/lib/puppet/resource_api/base_context.rb +3 -1
- data/lib/puppet/resource_api/data_type_handling.rb +11 -2
- data/lib/puppet/resource_api/glue.rb +9 -2
- data/lib/puppet/resource_api/io_context.rb +2 -0
- data/lib/puppet/resource_api/parameter.rb +4 -2
- data/lib/puppet/resource_api/property.rb +65 -5
- data/lib/puppet/resource_api/puppet_context.rb +2 -0
- data/lib/puppet/resource_api/read_only_parameter.rb +2 -0
- data/lib/puppet/resource_api/simple_provider.rb +6 -4
- data/lib/puppet/resource_api/transport/wrapper.rb +2 -0
- data/lib/puppet/resource_api/transport.rb +15 -0
- data/lib/puppet/resource_api/type_definition.rb +59 -3
- data/lib/puppet/resource_api/value_creator.rb +2 -0
- data/lib/puppet/resource_api/version.rb +3 -1
- data/lib/puppet/resource_api.rb +41 -46
- data/lib/puppet/util/network_device/simple/device.rb +2 -0
- data/puppet-resource_api.gemspec +7 -8
- metadata +3 -19
- data/.dependency_decisions.yml +0 -98
- data/.fixtures.yml +0 -8
- data/.gitignore +0 -15
- data/.rspec +0 -3
- data/.rubocop.yml +0 -159
- data/.travis.yml +0 -79
- data/CODEOWNERS +0 -2
- data/Gemfile +0 -61
- data/HISTORY.md +0 -413
- data/Rakefile +0 -66
- data/appveyor.yml +0 -41
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/codecov.yml +0 -3
- data/contrib/README.md +0 -7
- data/contrib/pre-commit +0 -16
data/.travis.yml
DELETED
@@ -1,79 +0,0 @@
|
|
1
|
-
os: linux
|
2
|
-
language: ruby
|
3
|
-
bundler_args: "--without development"
|
4
|
-
script:
|
5
|
-
- echo travis_fold:start:DEBUG
|
6
|
-
- cat Gemfile.lock
|
7
|
-
- bundle list
|
8
|
-
- echo travis_fold:end:DEBUG
|
9
|
-
- bundle exec rake $CHECK
|
10
|
-
cache: bundler
|
11
|
-
branches:
|
12
|
-
except:
|
13
|
-
- release-prep
|
14
|
-
jobs:
|
15
|
-
include:
|
16
|
-
- rvm: 2.4.3
|
17
|
-
env: PUPPET_GEM_VERSION='~> 5' SIMPLECOV=yes # 5.5
|
18
|
-
- env: RVM="jruby-1.7.26" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug" SIMPLECOV=yes
|
19
|
-
dist: trusty
|
20
|
-
before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
|
21
|
-
cache:
|
22
|
-
bundler: true
|
23
|
-
directories: [~/.rvm]
|
24
|
-
before_install: rvm use jruby-1.7.26 --install --binary --fuzzy && gem install bundler -v '~> 1.7.0'
|
25
|
-
# disable coverage on jruby9k as this confuses codecov
|
26
|
-
- env: RVM="jruby-9.1.9.0" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug"
|
27
|
-
dist: trusty
|
28
|
-
before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
|
29
|
-
cache:
|
30
|
-
bundler: false
|
31
|
-
directories: [~/.rvm]
|
32
|
-
before_install: rvm use jruby-9.1.9.0 --install --binary --fuzzy
|
33
|
-
- rvm: 2.5.1
|
34
|
-
env: CHECK=rubocop
|
35
|
-
- rvm: 2.5.1
|
36
|
-
env: CHECK=license_finder
|
37
|
-
bundler_args: ""
|
38
|
-
|
39
|
-
- rvm: 2.4.3
|
40
|
-
env: PUPPET_GEM_VERSION='~> 5.4.0'
|
41
|
-
- rvm: 2.4.2
|
42
|
-
env: PUPPET_GEM_VERSION='~> 5.3.0'
|
43
|
-
- rvm: 2.4.1
|
44
|
-
env: PUPPET_GEM_VERSION='~> 5.2.0'
|
45
|
-
- rvm: 2.4.1
|
46
|
-
env: PUPPET_GEM_VERSION='~> 5.1.0'
|
47
|
-
- rvm: 2.4.1
|
48
|
-
env: PUPPET_GEM_VERSION='~> 5.0.0'
|
49
|
-
- rvm: 2.1.9
|
50
|
-
env: PUPPET_GEM_VERSION='~> 4' SIMPLECOV=yes # 4.10
|
51
|
-
before_install:
|
52
|
-
- gem install bundler -v '< 2'
|
53
|
-
- rvm: 2.1.9
|
54
|
-
env: PUPPET_GEM_VERSION='~> 4.9.0'
|
55
|
-
before_install:
|
56
|
-
- gem install bundler -v '< 2'
|
57
|
-
- rvm: 2.1.9
|
58
|
-
env: PUPPET_GEM_VERSION='~> 4.8.0'
|
59
|
-
before_install:
|
60
|
-
- gem install bundler -v '< 2'
|
61
|
-
- rvm: 2.1.9
|
62
|
-
env: PUPPET_GEM_VERSION='~> 4.7.0'
|
63
|
-
before_install:
|
64
|
-
- gem install bundler -v '< 2'
|
65
|
-
- rvm: 2.5.1
|
66
|
-
env: PUPPET_GEM_VERSION='~> 6' # 6.0, soon 6.1
|
67
|
-
- rvm: 2.5.1
|
68
|
-
env: PUPPET_GEM_VERSION='~> 6.0'
|
69
|
-
- rvm: 2.5.1
|
70
|
-
env: PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#master'
|
71
|
-
- rvm: 2.5.1
|
72
|
-
env: PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#6.0.x'
|
73
|
-
- rvm: 2.4.3
|
74
|
-
env: PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#5.5.x'
|
75
|
-
- rvm: 2.1.9
|
76
|
-
env: PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#4.10.x'
|
77
|
-
notifications:
|
78
|
-
slack:
|
79
|
-
secure: aPXZYNow8LsmmlS8PQU3FjL0bc7FqUUA95d++wZfIu7YAjGboIUiekxYouQ0XnY+Aig8InvbTOIgBHgGNheyr/YFbFS90/jtulbF8oW7BitW+imgjeAHDCwlQZTCc4FFYde/2pI7QTT8H5NpLR9mKxlTU77Sqr8gFAIybuPdHcKMYQZdEZS07ma2pUp7+GyKS6PDQpzW2+mDCz/wfi3/JdsUvc0mclCZ8vxySc66j5P1E6nFDMzuakBOjwJHpgeDpreapbmSUQLAX0a3ZsFP+N+SNduLotlV2BWnJK2gcO6rGFP4Fz1D0bGXuBnYYdIiB+9OgI3wtXg9y1SifNHUG3IrOBAA8CGNyrebTGKtH0TS2O+HZLbaNX2g6udD5e3156vys9wScmJuQ/rSkVtQfXf1qUm5eijvlXI+DIbssbZHqm6QQGyM4p3NoULmNmF1C85bQoZ4GF7b1P/8mstsVE/HUfnzRPNbwD0r6j1aE/ck3PKMi7ZAhIi0Ja9RnAgP3wi0t62uERYcJGGYEycWohMWnrf2w6GFwGeuoiwAkASdHOLX0/AOMPc4mBOjlc621o8uYMrrZqfF5CrOAvJ151USSsWn2AhXaibIvnHo6X91paNvvNpU/GYu3CUAl6q8OhYovvjtRVPVnhs2DrpgoRB+6NWHnzjRG/wr6Z9U+vA=
|
data/CODEOWNERS
DELETED
data/Gemfile
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
4
|
-
|
5
|
-
# Specify your gem's dependencies in puppet-resource_api.gemspec
|
6
|
-
gemspec
|
7
|
-
|
8
|
-
group :tests do
|
9
|
-
gem 'codecov'
|
10
|
-
gem 'rake', '~> 10.0'
|
11
|
-
gem 'rspec', '~> 3.0'
|
12
|
-
# rubocop 0.58 throws when testing against ruby 2.1, so pin to the latest,
|
13
|
-
# unless we're dealing with jruby...
|
14
|
-
if RUBY_PLATFORM == 'java'
|
15
|
-
# load a rubocop version that works on java for the Rakefile
|
16
|
-
gem 'parser', '2.3.3.1'
|
17
|
-
gem 'rubocop', '0.41.2'
|
18
|
-
# JRuby 1.7 does not like json 2.3.0, jruby 9.1.9.0 has RUBY_VERSION == '2.3.3'
|
19
|
-
gem 'json', '2.2.0' if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('2.3.0')
|
20
|
-
elsif Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.0')
|
21
|
-
gem 'rubocop', '0.57.2'
|
22
|
-
# the last version of parallel to support ruby 2.1
|
23
|
-
gem 'parallel', '1.13.0'
|
24
|
-
gem 'rubocop-rspec'
|
25
|
-
else
|
26
|
-
# 2.1-compatible analysis was dropped after version 0.58
|
27
|
-
# This needs to be removed once we drop puppet4 support.
|
28
|
-
gem 'rubocop', '~> 0.57.0'
|
29
|
-
gem 'rubocop-rspec'
|
30
|
-
# license_finder does not install on windows using older versions of rubygems.
|
31
|
-
# ruby 2.4 is confirmed working on appveyor.
|
32
|
-
gem 'license_finder' if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.4.0')
|
33
|
-
end
|
34
|
-
gem 'simplecov-console'
|
35
|
-
# the test gems required for module testing
|
36
|
-
gem 'puppetlabs_spec_helper', '~> 2.7'
|
37
|
-
gem 'rspec-puppet'
|
38
|
-
|
39
|
-
gem 'CFPropertyList'
|
40
|
-
end
|
41
|
-
|
42
|
-
group :development do
|
43
|
-
gem 'github_changelog_generator', '~> 1.14'
|
44
|
-
gem 'pry-byebug'
|
45
|
-
end
|
46
|
-
|
47
|
-
# Find a location or specific version for a gem. place_or_version can be a
|
48
|
-
# version, which is most often used. It can also be git, which is specified as
|
49
|
-
# `git://somewhere.git#branch`. You can also use a file source location, which
|
50
|
-
# is specified as `file://some/location/on/disk`.
|
51
|
-
def location_for(place_or_version, fake_version = nil)
|
52
|
-
if place_or_version =~ /^((?:git|https)[:@][^#]*)#(.*)/
|
53
|
-
[fake_version, { :git => $1, :branch => $2, :require => false }].compact
|
54
|
-
elsif place_or_version =~ /^file:\/\/(.*)/
|
55
|
-
['>= 0', { :path => File.expand_path($1), :require => false }]
|
56
|
-
else
|
57
|
-
[place_or_version, { :require => false }]
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
gem 'puppet', *location_for(ENV['PUPPET_GEM_VERSION'])
|
data/HISTORY.md
DELETED
@@ -1,413 +0,0 @@
|
|
1
|
-
# Changelog
|
2
|
-
|
3
|
-
All significant changes to this repo will be summarized in this file.
|
4
|
-
|
5
|
-
|
6
|
-
## [v1.8.1](https://github.com/puppetlabs/puppet-resource_api/tree/v1.8.1) (2019-03-13)
|
7
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.8.0...v1.8.1)
|
8
|
-
|
9
|
-
**Fixed bugs:**
|
10
|
-
|
11
|
-
- \(maint\) Fixes sensitive transport values where absent keys are wrapped [\#161](https://github.com/puppetlabs/puppet-resource_api/pull/161) ([da-ar](https://github.com/da-ar))
|
12
|
-
|
13
|
-
**Merged pull requests:**
|
14
|
-
|
15
|
-
- 1.6.x mergeup [\#162](https://github.com/puppetlabs/puppet-resource_api/pull/162) ([DavidS](https://github.com/DavidS))
|
16
|
-
- \(FM-7829\) Update README with transports examples [\#160](https://github.com/puppetlabs/puppet-resource_api/pull/160) ([willmeek](https://github.com/willmeek))
|
17
|
-
- \(maint\) update release docs [\#159](https://github.com/puppetlabs/puppet-resource_api/pull/159) ([DavidS](https://github.com/DavidS))
|
18
|
-
- Improve travis cells and testing [\#145](https://github.com/puppetlabs/puppet-resource_api/pull/145) ([DavidS](https://github.com/DavidS))
|
19
|
-
|
20
|
-
## [v1.8.0](https://github.com/puppetlabs/puppet-resource_api/tree/v1.8.0) (2019-02-26)
|
21
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.7.0...v1.8.0)
|
22
|
-
|
23
|
-
**Implemented enhancements:**
|
24
|
-
|
25
|
-
- \(FM-7695\) Transports - the remote content framework [\#157](https://github.com/puppetlabs/puppet-resource_api/pull/157) ([DavidS](https://github.com/DavidS))
|
26
|
-
- \(FM-7698\) implement `sensitive:true` handling [\#156](https://github.com/puppetlabs/puppet-resource_api/pull/156) ([da-ar](https://github.com/da-ar))
|
27
|
-
- \(PDK-1271\) Allow a transport to be wrapped and used like a device [\#155](https://github.com/puppetlabs/puppet-resource_api/pull/155) ([da-ar](https://github.com/da-ar))
|
28
|
-
- \(FM-7701\) Support device providers when using Transport Wrapper [\#154](https://github.com/puppetlabs/puppet-resource_api/pull/154) ([da-ar](https://github.com/da-ar))
|
29
|
-
- \(FM-7726\) implement `context.transport` to provide access [\#152](https://github.com/puppetlabs/puppet-resource_api/pull/152) ([DavidS](https://github.com/DavidS))
|
30
|
-
- \(FM-7674\) Allow wrapping a Transport in a legacy Device [\#149](https://github.com/puppetlabs/puppet-resource_api/pull/149) ([da-ar](https://github.com/da-ar))
|
31
|
-
- \(FM-7600\) Add Transport.connect method [\#148](https://github.com/puppetlabs/puppet-resource_api/pull/148) ([da-ar](https://github.com/da-ar))
|
32
|
-
|
33
|
-
**Fixed bugs:**
|
34
|
-
|
35
|
-
- \(FM-7690\) Fix transports cache to be environment aware [\#151](https://github.com/puppetlabs/puppet-resource_api/pull/151) ([da-ar](https://github.com/da-ar))
|
36
|
-
|
37
|
-
**Merged pull requests:**
|
38
|
-
|
39
|
-
- Release prep for v1.8.0 [\#158](https://github.com/puppetlabs/puppet-resource_api/pull/158) ([DavidS](https://github.com/DavidS))
|
40
|
-
- \(FM-7726\) cleanups for the transport [\#153](https://github.com/puppetlabs/puppet-resource_api/pull/153) ([DavidS](https://github.com/DavidS))
|
41
|
-
- \(FM-7691,FM-7696\) refactoring definition handling in contexts [\#150](https://github.com/puppetlabs/puppet-resource_api/pull/150) ([DavidS](https://github.com/DavidS))
|
42
|
-
|
43
|
-
## [v1.7.0](https://github.com/puppetlabs/puppet-resource_api/tree/v1.7.0) (2019-01-07)
|
44
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.6.3...v1.7.0)
|
45
|
-
|
46
|
-
**Implemented enhancements:**
|
47
|
-
|
48
|
-
- \(maint\) Validate Type Schema [\#142](https://github.com/puppetlabs/puppet-resource_api/pull/142) ([da-ar](https://github.com/da-ar))
|
49
|
-
|
50
|
-
**Merged pull requests:**
|
51
|
-
|
52
|
-
- \(maint\) Bundler 2.0 dropped support for Ruby versions \< 2.2 [\#147](https://github.com/puppetlabs/puppet-resource_api/pull/147) ([da-ar](https://github.com/da-ar))
|
53
|
-
- \(FM-7597\) RSAPI Transport register function [\#146](https://github.com/puppetlabs/puppet-resource_api/pull/146) ([da-ar](https://github.com/da-ar))
|
54
|
-
- \(packaging\) Update version to 1.7.0 [\#144](https://github.com/puppetlabs/puppet-resource_api/pull/144) ([branan](https://github.com/branan))
|
55
|
-
|
56
|
-
## [v1.6.3](https://github.com/puppetlabs/puppet-resource_api/tree/v1.6.3) (2018-12-11)
|
57
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.6.2...v1.6.3)
|
58
|
-
|
59
|
-
**Closed issues:**
|
60
|
-
|
61
|
-
- Trying to understand stubbing in the examples [\#136](https://github.com/puppetlabs/puppet-resource_api/issues/136)
|
62
|
-
|
63
|
-
**Merged pull requests:**
|
64
|
-
|
65
|
-
- \(packaging\) Update version to 1.6.3 [\#143](https://github.com/puppetlabs/puppet-resource_api/pull/143) ([branan](https://github.com/branan))
|
66
|
-
- Move parameter and property logic to separate classes [\#140](https://github.com/puppetlabs/puppet-resource_api/pull/140) ([bpietraga](https://github.com/bpietraga))
|
67
|
-
- \(maint\) Predeclare Puppet module before ResourceApi [\#139](https://github.com/puppetlabs/puppet-resource_api/pull/139) ([caseywilliams](https://github.com/caseywilliams))
|
68
|
-
- \(maint\) minor fix to make data\_type\_handling change work [\#138](https://github.com/puppetlabs/puppet-resource_api/pull/138) ([DavidS](https://github.com/DavidS))
|
69
|
-
- \(maint\) extract data type handling code [\#137](https://github.com/puppetlabs/puppet-resource_api/pull/137) ([bpietraga](https://github.com/bpietraga))
|
70
|
-
- Release prep for v1.6.2 [\#135](https://github.com/puppetlabs/puppet-resource_api/pull/135) ([DavidS](https://github.com/DavidS))
|
71
|
-
|
72
|
-
## [v1.6.2](https://github.com/puppetlabs/puppet-resource_api/tree/v1.6.2) (2018-10-25)
|
73
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.6.1...v1.6.2)
|
74
|
-
|
75
|
-
**Fixed bugs:**
|
76
|
-
|
77
|
-
- \(PDK-1209\) Fix the other call-sites of const\_defined? and const\_get [\#134](https://github.com/puppetlabs/puppet-resource_api/pull/134) ([DavidS](https://github.com/DavidS))
|
78
|
-
|
79
|
-
**Merged pull requests:**
|
80
|
-
|
81
|
-
- Release prep for v1.6.1 [\#133](https://github.com/puppetlabs/puppet-resource_api/pull/133) ([DavidS](https://github.com/DavidS))
|
82
|
-
|
83
|
-
## [v1.6.1](https://github.com/puppetlabs/puppet-resource_api/tree/v1.6.1) (2018-10-25)
|
84
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.6.0...v1.6.1)
|
85
|
-
|
86
|
-
**Fixed bugs:**
|
87
|
-
|
88
|
-
- \(PDK-1209\) setting inherited const\_defined lookup to false [\#132](https://github.com/puppetlabs/puppet-resource_api/pull/132) ([Thomas-Franklin](https://github.com/Thomas-Franklin))
|
89
|
-
|
90
|
-
**Merged pull requests:**
|
91
|
-
|
92
|
-
- Updated announcement instructions [\#131](https://github.com/puppetlabs/puppet-resource_api/pull/131) ([davinhanlon](https://github.com/davinhanlon))
|
93
|
-
- Minor spelling fix [\#130](https://github.com/puppetlabs/puppet-resource_api/pull/130) ([AlmogCohen](https://github.com/AlmogCohen))
|
94
|
-
- Add internal announcement list to template [\#129](https://github.com/puppetlabs/puppet-resource_api/pull/129) ([DavidS](https://github.com/DavidS))
|
95
|
-
- Adjust announcement template to reality [\#128](https://github.com/puppetlabs/puppet-resource_api/pull/128) ([DavidS](https://github.com/DavidS))
|
96
|
-
- Release prep for v1.6.0 [\#127](https://github.com/puppetlabs/puppet-resource_api/pull/127) ([da-ar](https://github.com/da-ar))
|
97
|
-
|
98
|
-
## [v1.6.0](https://github.com/puppetlabs/puppet-resource_api/tree/v1.6.0) (2018-09-25)
|
99
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.5.0...v1.6.0)
|
100
|
-
|
101
|
-
**Implemented enhancements:**
|
102
|
-
|
103
|
-
- \(PDK-1185\) Implement allowances for device-specific providers [\#126](https://github.com/puppetlabs/puppet-resource_api/pull/126) ([DavidS](https://github.com/DavidS))
|
104
|
-
- \(PDK-1143\) Allow SimpleProvider to handle multiple namevars [\#125](https://github.com/puppetlabs/puppet-resource_api/pull/125) ([da-ar](https://github.com/da-ar))
|
105
|
-
|
106
|
-
**Fixed bugs:**
|
107
|
-
|
108
|
-
- Update README walkthrough [\#122](https://github.com/puppetlabs/puppet-resource_api/pull/122) ([AlmogCohen](https://github.com/AlmogCohen))
|
109
|
-
|
110
|
-
**Merged pull requests:**
|
111
|
-
|
112
|
-
- Update README [\#124](https://github.com/puppetlabs/puppet-resource_api/pull/124) ([clairecadman](https://github.com/clairecadman))
|
113
|
-
- Update README [\#123](https://github.com/puppetlabs/puppet-resource_api/pull/123) ([DavidS](https://github.com/DavidS))
|
114
|
-
- \(maint\) Add Travis job for Puppet 6.0.x branch [\#120](https://github.com/puppetlabs/puppet-resource_api/pull/120) ([da-ar](https://github.com/da-ar))
|
115
|
-
- Release prep for v1.5.0 [\#119](https://github.com/puppetlabs/puppet-resource_api/pull/119) ([DavidS](https://github.com/DavidS))
|
116
|
-
|
117
|
-
## [v1.5.0](https://github.com/puppetlabs/puppet-resource_api/tree/v1.5.0) (2018-09-12)
|
118
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.4.2...v1.5.0)
|
119
|
-
|
120
|
-
**Implemented enhancements:**
|
121
|
-
|
122
|
-
- \(PDK-1150\) Allow providers to override :title when retrieving resources [\#115](https://github.com/puppetlabs/puppet-resource_api/pull/115) ([da-ar](https://github.com/da-ar))
|
123
|
-
|
124
|
-
**Fixed bugs:**
|
125
|
-
|
126
|
-
- \(maint\) create a new default value instance on every access [\#118](https://github.com/puppetlabs/puppet-resource_api/pull/118) ([DavidS](https://github.com/DavidS))
|
127
|
-
- \(PDK-1091\) Fix Sensitive value handling [\#117](https://github.com/puppetlabs/puppet-resource_api/pull/117) ([DavidS](https://github.com/DavidS))
|
128
|
-
- \(MODULES-7679\) correctly handle simple\_get\_filter providers [\#113](https://github.com/puppetlabs/puppet-resource_api/pull/113) ([da-ar](https://github.com/da-ar))
|
129
|
-
|
130
|
-
**Merged pull requests:**
|
131
|
-
|
132
|
-
- Release prep for v1.4.2 [\#112](https://github.com/puppetlabs/puppet-resource_api/pull/112) ([DavidS](https://github.com/DavidS))
|
133
|
-
|
134
|
-
## [v1.4.2](https://github.com/puppetlabs/puppet-resource_api/tree/v1.4.2) (2018-08-09)
|
135
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.4.1...v1.4.2)
|
136
|
-
|
137
|
-
**Fixed bugs:**
|
138
|
-
|
139
|
-
- Allow an attribute with default boolean value to be set correctly [\#110](https://github.com/puppetlabs/puppet-resource_api/pull/110) ([da-ar](https://github.com/da-ar))
|
140
|
-
|
141
|
-
**Merged pull requests:**
|
142
|
-
|
143
|
-
- \(maint\) fix brace alignment; document reference [\#111](https://github.com/puppetlabs/puppet-resource_api/pull/111) ([DavidS](https://github.com/DavidS))
|
144
|
-
- Release prep for v1.4.1 [\#109](https://github.com/puppetlabs/puppet-resource_api/pull/109) ([DavidS](https://github.com/DavidS))
|
145
|
-
|
146
|
-
## [v1.4.1](https://github.com/puppetlabs/puppet-resource_api/tree/v1.4.1) (2018-07-20)
|
147
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.4.0...v1.4.1)
|
148
|
-
|
149
|
-
**Fixed bugs:**
|
150
|
-
|
151
|
-
- Fix "undefined method `rs\_value'" error with metaparams [\#108](https://github.com/puppetlabs/puppet-resource_api/pull/108) ([DavidS](https://github.com/DavidS))
|
152
|
-
- Improve log\_exception output from PuppetContext [\#103](https://github.com/puppetlabs/puppet-resource_api/pull/103) ([da-ar](https://github.com/da-ar))
|
153
|
-
|
154
|
-
**Merged pull requests:**
|
155
|
-
|
156
|
-
- Misc fixes: license metadata, announcement template, puppet load fix [\#107](https://github.com/puppetlabs/puppet-resource_api/pull/107) ([DavidS](https://github.com/DavidS))
|
157
|
-
- Minor changes to README [\#106](https://github.com/puppetlabs/puppet-resource_api/pull/106) ([clairecadman](https://github.com/clairecadman))
|
158
|
-
- Release prep for v1.4.0 [\#102](https://github.com/puppetlabs/puppet-resource_api/pull/102) ([DavidS](https://github.com/DavidS))
|
159
|
-
|
160
|
-
## [v1.4.0](https://github.com/puppetlabs/puppet-resource_api/tree/v1.4.0) (2018-06-19)
|
161
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.3.0...v1.4.0)
|
162
|
-
|
163
|
-
**Implemented enhancements:**
|
164
|
-
|
165
|
-
- Allow `SimpleDevice` to be initialized with a config hash [\#96](https://github.com/puppetlabs/puppet-resource_api/pull/96) ([DavidS](https://github.com/DavidS))
|
166
|
-
- \(PDK-1007\) implement enough to support purge=\>true [\#95](https://github.com/puppetlabs/puppet-resource_api/pull/95) ([DavidS](https://github.com/DavidS))
|
167
|
-
- \(PDK-917\) Validates provider.get values against Type schema [\#88](https://github.com/puppetlabs/puppet-resource_api/pull/88) ([da-ar](https://github.com/da-ar))
|
168
|
-
|
169
|
-
**Fixed bugs:**
|
170
|
-
|
171
|
-
- \(PDK-1004\) log exceptions as they are processed [\#101](https://github.com/puppetlabs/puppet-resource_api/pull/101) ([DavidS](https://github.com/DavidS))
|
172
|
-
- \(PDK-1000\) do not print nil valued attributes [\#100](https://github.com/puppetlabs/puppet-resource_api/pull/100) ([DavidS](https://github.com/DavidS))
|
173
|
-
- \(PDK-1007\) Handle setting `ensure` to a Symbol through code [\#94](https://github.com/puppetlabs/puppet-resource_api/pull/94) ([DavidS](https://github.com/DavidS))
|
174
|
-
- \(PDK-1007\) the namevar is a param [\#91](https://github.com/puppetlabs/puppet-resource_api/pull/91) ([DavidS](https://github.com/DavidS))
|
175
|
-
- \(PDK-996\) Provide better messaging when type cannot be resolved [\#87](https://github.com/puppetlabs/puppet-resource_api/pull/87) ([da-ar](https://github.com/da-ar))
|
176
|
-
|
177
|
-
**Merged pull requests:**
|
178
|
-
|
179
|
-
- Whitespace cleanup with new rubocop version [\#98](https://github.com/puppetlabs/puppet-resource_api/pull/98) ([DavidS](https://github.com/DavidS))
|
180
|
-
- \(PDK-1007\) add tests for `to\_resource` [\#93](https://github.com/puppetlabs/puppet-resource_api/pull/93) ([DavidS](https://github.com/DavidS))
|
181
|
-
- Enable randomised rspec testing [\#92](https://github.com/puppetlabs/puppet-resource_api/pull/92) ([da-ar](https://github.com/da-ar))
|
182
|
-
- appease rubocop 0.57.0 [\#90](https://github.com/puppetlabs/puppet-resource_api/pull/90) ([da-ar](https://github.com/da-ar))
|
183
|
-
- Improve unit tests of parameter and property results after register\_type [\#89](https://github.com/puppetlabs/puppet-resource_api/pull/89) ([DavidS](https://github.com/DavidS))
|
184
|
-
- Update release docs and announcement template [\#86](https://github.com/puppetlabs/puppet-resource_api/pull/86) ([DavidS](https://github.com/DavidS))
|
185
|
-
- Release prep for v1.3.0 [\#85](https://github.com/puppetlabs/puppet-resource_api/pull/85) ([da-ar](https://github.com/da-ar))
|
186
|
-
|
187
|
-
## [v1.3.0](https://github.com/puppetlabs/puppet-resource_api/tree/v1.3.0) (2018-05-24)
|
188
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.2.0...v1.3.0)
|
189
|
-
|
190
|
-
**Implemented enhancements:**
|
191
|
-
|
192
|
-
- Check for more attributes that puppet can't use [\#84](https://github.com/puppetlabs/puppet-resource_api/pull/84) ([DavidS](https://github.com/DavidS))
|
193
|
-
- \(PDK-531\) Support for composite namevars [\#82](https://github.com/puppetlabs/puppet-resource_api/pull/82) ([da-ar](https://github.com/da-ar))
|
194
|
-
- \(PDK-889\) Write support for multiple namevars [\#79](https://github.com/puppetlabs/puppet-resource_api/pull/79) ([da-ar](https://github.com/da-ar))
|
195
|
-
- \(PDK-889\) Read-only support for multiple namevars [\#76](https://github.com/puppetlabs/puppet-resource_api/pull/76) ([da-ar](https://github.com/da-ar))
|
196
|
-
|
197
|
-
**Fixed bugs:**
|
198
|
-
|
199
|
-
- Ignore `provider` attribute when calculating target state [\#83](https://github.com/puppetlabs/puppet-resource_api/pull/83) ([DavidS](https://github.com/DavidS))
|
200
|
-
- Add check to handle absent resources through puppet apply [\#81](https://github.com/puppetlabs/puppet-resource_api/pull/81) ([da-ar](https://github.com/da-ar))
|
201
|
-
- \(PDK-988\) restrain mungify from non-`puppet resource` workflows [\#80](https://github.com/puppetlabs/puppet-resource_api/pull/80) ([DavidS](https://github.com/DavidS))
|
202
|
-
|
203
|
-
**Merged pull requests:**
|
204
|
-
|
205
|
-
- Update fixtures module to PDK v1.5 [\#78](https://github.com/puppetlabs/puppet-resource_api/pull/78) ([DavidS](https://github.com/DavidS))
|
206
|
-
- Some glue fixes: announcement, to\_manifest, to\_hierayaml [\#77](https://github.com/puppetlabs/puppet-resource_api/pull/77) ([DavidS](https://github.com/DavidS))
|
207
|
-
- Release prep for v1.2.0 [\#75](https://github.com/puppetlabs/puppet-resource_api/pull/75) ([DavidS](https://github.com/DavidS))
|
208
|
-
|
209
|
-
## [v1.2.0](https://github.com/puppetlabs/puppet-resource_api/tree/v1.2.0) (2018-05-08)
|
210
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.1.0...v1.2.0)
|
211
|
-
|
212
|
-
**Implemented enhancements:**
|
213
|
-
|
214
|
-
- \(PDK-924\) Throw when SimpleProvider is used with unensurable type [\#73](https://github.com/puppetlabs/puppet-resource_api/pull/73) ([da-ar](https://github.com/da-ar))
|
215
|
-
- \(PDK-955\) Provide access to the type definition from the provider [\#72](https://github.com/puppetlabs/puppet-resource_api/pull/72) ([da-ar](https://github.com/da-ar))
|
216
|
-
|
217
|
-
**Fixed bugs:**
|
218
|
-
|
219
|
-
- \(PDK-946\) Passes ensure values to puppet as symbols. [\#74](https://github.com/puppetlabs/puppet-resource_api/pull/74) ([da-ar](https://github.com/da-ar))
|
220
|
-
- \(PDK-929\) Ignore validation for absent resources [\#69](https://github.com/puppetlabs/puppet-resource_api/pull/69) ([da-ar](https://github.com/da-ar))
|
221
|
-
- Make ruby files individually loadable without puppet [\#65](https://github.com/puppetlabs/puppet-resource_api/pull/65) ([DavidS](https://github.com/DavidS))
|
222
|
-
- \(PDK-526\) fix test for git [\#63](https://github.com/puppetlabs/puppet-resource_api/pull/63) ([DavidS](https://github.com/DavidS))
|
223
|
-
|
224
|
-
**Merged pull requests:**
|
225
|
-
|
226
|
-
- Add pre-commit hook for rubocop [\#70](https://github.com/puppetlabs/puppet-resource_api/pull/70) ([da-ar](https://github.com/da-ar))
|
227
|
-
- Add a template for release announcements [\#67](https://github.com/puppetlabs/puppet-resource_api/pull/67) ([DavidS](https://github.com/DavidS))
|
228
|
-
- Cache ~/.rvm for jruby jobs [\#66](https://github.com/puppetlabs/puppet-resource_api/pull/66) ([cotsog](https://github.com/cotsog))
|
229
|
-
- Release prep for v1.1.0 [\#64](https://github.com/puppetlabs/puppet-resource_api/pull/64) ([DavidS](https://github.com/DavidS))
|
230
|
-
|
231
|
-
## [v1.1.0](https://github.com/puppetlabs/puppet-resource_api/tree/v1.1.0) (2018-04-12)
|
232
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.0.3...v1.1.0)
|
233
|
-
|
234
|
-
**Implemented enhancements:**
|
235
|
-
|
236
|
-
- \(PDK-895\) basic array support [\#59](https://github.com/puppetlabs/puppet-resource_api/pull/59) ([DavidS](https://github.com/DavidS))
|
237
|
-
|
238
|
-
**Fixed bugs:**
|
239
|
-
|
240
|
-
- \(PDK-919\) Workaround PUP-2368 "using booleans result in unmanaged pro… [\#62](https://github.com/puppetlabs/puppet-resource_api/pull/62) ([DavidS](https://github.com/DavidS))
|
241
|
-
|
242
|
-
**Merged pull requests:**
|
243
|
-
|
244
|
-
- \(PDK-526\) do not rely on git when building the gem on jenkins [\#61](https://github.com/puppetlabs/puppet-resource_api/pull/61) ([DavidS](https://github.com/DavidS))
|
245
|
-
- \(PDK-896\) Advanced Array tests [\#60](https://github.com/puppetlabs/puppet-resource_api/pull/60) ([DavidS](https://github.com/DavidS))
|
246
|
-
- Update puppetlabs\_spec\_helper to fixed master version [\#58](https://github.com/puppetlabs/puppet-resource_api/pull/58) ([DavidS](https://github.com/DavidS))
|
247
|
-
- Release prep for v1.0.3 [\#57](https://github.com/puppetlabs/puppet-resource_api/pull/57) ([DavidS](https://github.com/DavidS))
|
248
|
-
|
249
|
-
## [v1.0.3](https://github.com/puppetlabs/puppet-resource_api/tree/v1.0.3) (2018-04-06)
|
250
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.0.2...v1.0.3)
|
251
|
-
|
252
|
-
**Implemented enhancements:**
|
253
|
-
|
254
|
-
- \(PDK-887\) Add checks for read\_only values being set or modified [\#54](https://github.com/puppetlabs/puppet-resource_api/pull/54) ([da-ar](https://github.com/da-ar))
|
255
|
-
- \(PDK-885\) Add support for init\_only attributes [\#52](https://github.com/puppetlabs/puppet-resource_api/pull/52) ([da-ar](https://github.com/da-ar))
|
256
|
-
|
257
|
-
**Fixed bugs:**
|
258
|
-
|
259
|
-
- \(PDK-911\) Fix handling of `ensure` values from symbols to strings [\#55](https://github.com/puppetlabs/puppet-resource_api/pull/55) ([DavidS](https://github.com/DavidS))
|
260
|
-
|
261
|
-
**Merged pull requests:**
|
262
|
-
|
263
|
-
- Misc fixes [\#56](https://github.com/puppetlabs/puppet-resource_api/pull/56) ([DavidS](https://github.com/DavidS))
|
264
|
-
- \(PDK-890\) document current constraints on possible data types [\#53](https://github.com/puppetlabs/puppet-resource_api/pull/53) ([DavidS](https://github.com/DavidS))
|
265
|
-
- Update release prep notes [\#51](https://github.com/puppetlabs/puppet-resource_api/pull/51) ([DavidS](https://github.com/DavidS))
|
266
|
-
- Release prep for v1.0.2 [\#50](https://github.com/puppetlabs/puppet-resource_api/pull/50) ([DavidS](https://github.com/DavidS))
|
267
|
-
|
268
|
-
## [v1.0.2](https://github.com/puppetlabs/puppet-resource_api/tree/v1.0.2) (2018-03-26)
|
269
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.0.1...v1.0.2)
|
270
|
-
|
271
|
-
**Implemented enhancements:**
|
272
|
-
|
273
|
-
- \(PDK-875\) Validate behaviour values when registering a type [\#49](https://github.com/puppetlabs/puppet-resource_api/pull/49) ([da-ar](https://github.com/da-ar))
|
274
|
-
|
275
|
-
**Fixed bugs:**
|
276
|
-
|
277
|
-
- \(PDK-882,PDK-883\) validate only when needed [\#48](https://github.com/puppetlabs/puppet-resource_api/pull/48) ([DavidS](https://github.com/DavidS))
|
278
|
-
- \(PDK-884\) Handle missing namevars returned by providers [\#47](https://github.com/puppetlabs/puppet-resource_api/pull/47) ([da-ar](https://github.com/da-ar))
|
279
|
-
|
280
|
-
**Merged pull requests:**
|
281
|
-
|
282
|
-
- \(PDK-810\) run CI against all the versions [\#46](https://github.com/puppetlabs/puppet-resource_api/pull/46) ([DavidS](https://github.com/DavidS))
|
283
|
-
|
284
|
-
## [v1.0.1](https://github.com/puppetlabs/puppet-resource_api/tree/v1.0.1) (2018-03-23)
|
285
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.0.0...v1.0.1)
|
286
|
-
|
287
|
-
**Fixed bugs:**
|
288
|
-
|
289
|
-
- Actually implement the promised behavior [\#44](https://github.com/puppetlabs/puppet-resource_api/pull/44) ([DavidS](https://github.com/DavidS))
|
290
|
-
|
291
|
-
**Merged pull requests:**
|
292
|
-
|
293
|
-
- Release prep for v1.0.1 [\#45](https://github.com/puppetlabs/puppet-resource_api/pull/45) ([DavidS](https://github.com/DavidS))
|
294
|
-
- Release prep for v1.0.0 [\#43](https://github.com/puppetlabs/puppet-resource_api/pull/43) ([da-ar](https://github.com/da-ar))
|
295
|
-
|
296
|
-
## [v1.0.0](https://github.com/puppetlabs/puppet-resource_api/tree/v1.0.0) (2018-03-23)
|
297
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v0.10.0...v1.0.0)
|
298
|
-
|
299
|
-
**Implemented enhancements:**
|
300
|
-
|
301
|
-
- Improve logging output [\#42](https://github.com/puppetlabs/puppet-resource_api/pull/42) ([DavidS](https://github.com/DavidS))
|
302
|
-
- \(PDK-797\) Render read\_only values as comments in manifest output [\#41](https://github.com/puppetlabs/puppet-resource_api/pull/41) ([da-ar](https://github.com/da-ar))
|
303
|
-
|
304
|
-
**Fixed bugs:**
|
305
|
-
|
306
|
-
- \(PDK-819\) Ensure checks for mandatory type attributes [\#40](https://github.com/puppetlabs/puppet-resource_api/pull/40) ([da-ar](https://github.com/da-ar))
|
307
|
-
|
308
|
-
**Merged pull requests:**
|
309
|
-
|
310
|
-
- Notes on how to build a release [\#39](https://github.com/puppetlabs/puppet-resource_api/pull/39) ([DavidS](https://github.com/DavidS))
|
311
|
-
- Release prep for v0.10.0 [\#38](https://github.com/puppetlabs/puppet-resource_api/pull/38) ([DavidS](https://github.com/DavidS))
|
312
|
-
|
313
|
-
## [v0.10.0](https://github.com/puppetlabs/puppet-resource_api/tree/v0.10.0) (2018-03-21)
|
314
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v0.9.0...v0.10.0)
|
315
|
-
|
316
|
-
**Implemented enhancements:**
|
317
|
-
|
318
|
-
- \(PDK-512\) Add support for simple\_get\_filter [\#37](https://github.com/puppetlabs/puppet-resource_api/pull/37) ([da-ar](https://github.com/da-ar))
|
319
|
-
- \(PDK-822\) Implement proper namevar handling [\#36](https://github.com/puppetlabs/puppet-resource_api/pull/36) ([DavidS](https://github.com/DavidS))
|
320
|
-
- \(PDK-513\) implement `supports\_noop` [\#31](https://github.com/puppetlabs/puppet-resource_api/pull/31) ([DavidS](https://github.com/DavidS))
|
321
|
-
- \(PDK-511\) Add canonicalization checking if puppet strict is on. [\#30](https://github.com/puppetlabs/puppet-resource_api/pull/30) ([da-ar](https://github.com/da-ar))
|
322
|
-
- \(PDK-508\) implement autorequire and friends [\#29](https://github.com/puppetlabs/puppet-resource_api/pull/29) ([DavidS](https://github.com/DavidS))
|
323
|
-
- Update README with PDK 1.4 commands and messages [\#28](https://github.com/puppetlabs/puppet-resource_api/pull/28) ([DavidS](https://github.com/DavidS))
|
324
|
-
|
325
|
-
**Merged pull requests:**
|
326
|
-
|
327
|
-
- Cleanups [\#34](https://github.com/puppetlabs/puppet-resource_api/pull/34) ([DavidS](https://github.com/DavidS))
|
328
|
-
- Cleanup test module [\#33](https://github.com/puppetlabs/puppet-resource_api/pull/33) ([DavidS](https://github.com/DavidS))
|
329
|
-
- Update to rubocop 0.53.0 [\#32](https://github.com/puppetlabs/puppet-resource_api/pull/32) ([DavidS](https://github.com/DavidS))
|
330
|
-
|
331
|
-
## [v0.9.0](https://github.com/puppetlabs/puppet-resource_api/tree/v0.9.0) (2018-02-22)
|
332
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v0.3.0...v0.9.0)
|
333
|
-
|
334
|
-
**Implemented enhancements:**
|
335
|
-
|
336
|
-
- \(PDK-536\) Proper datatype parsing and checking [\#23](https://github.com/puppetlabs/puppet-resource_api/pull/23) ([DavidS](https://github.com/DavidS))
|
337
|
-
|
338
|
-
**Fixed bugs:**
|
339
|
-
|
340
|
-
- SimpleProvider: fix `is`-lookup and docs [\#24](https://github.com/puppetlabs/puppet-resource_api/pull/24) ([DavidS](https://github.com/DavidS))
|
341
|
-
- \(main\) Fixup to\_manifest output [\#20](https://github.com/puppetlabs/puppet-resource_api/pull/20) ([shermdog](https://github.com/shermdog))
|
342
|
-
|
343
|
-
**Merged pull requests:**
|
344
|
-
|
345
|
-
- Release prep v0.9.0 [\#27](https://github.com/puppetlabs/puppet-resource_api/pull/27) ([DavidS](https://github.com/DavidS))
|
346
|
-
- Add a note on device support to the README [\#26](https://github.com/puppetlabs/puppet-resource_api/pull/26) ([DavidS](https://github.com/DavidS))
|
347
|
-
- Remove Command API [\#25](https://github.com/puppetlabs/puppet-resource_api/pull/25) ([DavidS](https://github.com/DavidS))
|
348
|
-
|
349
|
-
## [v0.3.0](https://github.com/puppetlabs/puppet-resource_api/tree/v0.3.0) (2018-02-21)
|
350
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v0.2.2...v0.3.0)
|
351
|
-
|
352
|
-
**Implemented enhancements:**
|
353
|
-
|
354
|
-
- \(FM-6797\) Add debug logging of current and target states [\#21](https://github.com/puppetlabs/puppet-resource_api/pull/21) ([da-ar](https://github.com/da-ar))
|
355
|
-
- \(PDK-803\) Add YAML output for resources [\#19](https://github.com/puppetlabs/puppet-resource_api/pull/19) ([shermdog](https://github.com/shermdog))
|
356
|
-
- Edits on resource api readme [\#17](https://github.com/puppetlabs/puppet-resource_api/pull/17) ([clairecadman](https://github.com/clairecadman))
|
357
|
-
|
358
|
-
**Fixed bugs:**
|
359
|
-
|
360
|
-
- \(PDK-569\) `puppet resource` now displays type name correctly [\#18](https://github.com/puppetlabs/puppet-resource_api/pull/18) ([tphoney](https://github.com/tphoney))
|
361
|
-
|
362
|
-
**Merged pull requests:**
|
363
|
-
|
364
|
-
- Release prep v0.3.0 [\#22](https://github.com/puppetlabs/puppet-resource_api/pull/22) ([DavidS](https://github.com/DavidS))
|
365
|
-
|
366
|
-
## [v0.2.2](https://github.com/puppetlabs/puppet-resource_api/tree/v0.2.2) (2018-01-25)
|
367
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v0.2.1...v0.2.2)
|
368
|
-
|
369
|
-
**Fixed bugs:**
|
370
|
-
|
371
|
-
- make the server parts JRuby compatible [\#15](https://github.com/puppetlabs/puppet-resource_api/pull/15) ([DavidS](https://github.com/DavidS))
|
372
|
-
|
373
|
-
**Merged pull requests:**
|
374
|
-
|
375
|
-
- Release prep v0.2.2 [\#16](https://github.com/puppetlabs/puppet-resource_api/pull/16) ([DavidS](https://github.com/DavidS))
|
376
|
-
|
377
|
-
## [v0.2.1](https://github.com/puppetlabs/puppet-resource_api/tree/v0.2.1) (2018-01-24)
|
378
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v0.2.0...v0.2.1)
|
379
|
-
|
380
|
-
**Fixed bugs:**
|
381
|
-
|
382
|
-
- gemspec fixes [\#12](https://github.com/puppetlabs/puppet-resource_api/pull/12) ([DavidS](https://github.com/DavidS))
|
383
|
-
|
384
|
-
**Merged pull requests:**
|
385
|
-
|
386
|
-
- Release prep [\#14](https://github.com/puppetlabs/puppet-resource_api/pull/14) ([DavidS](https://github.com/DavidS))
|
387
|
-
|
388
|
-
## [v0.2.0](https://github.com/puppetlabs/puppet-resource_api/tree/v0.2.0) (2018-01-23)
|
389
|
-
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v0.1.0...v0.2.0)
|
390
|
-
|
391
|
-
**Implemented enhancements:**
|
392
|
-
|
393
|
-
- \(PDK-703\) Resource API introduction with pdk [\#11](https://github.com/puppetlabs/puppet-resource_api/pull/11) ([DavidS](https://github.com/DavidS))
|
394
|
-
- \(PDK-746\) have a SimpleProvider for simple cases [\#8](https://github.com/puppetlabs/puppet-resource_api/pull/8) ([DavidS](https://github.com/DavidS))
|
395
|
-
|
396
|
-
**Fixed bugs:**
|
397
|
-
|
398
|
-
- Fix params and properties [\#10](https://github.com/puppetlabs/puppet-resource_api/pull/10) ([DavidS](https://github.com/DavidS))
|
399
|
-
|
400
|
-
**Merged pull requests:**
|
401
|
-
|
402
|
-
- Release Prep for 0.2.0 [\#9](https://github.com/puppetlabs/puppet-resource_api/pull/9) ([DavidS](https://github.com/DavidS))
|
403
|
-
- Small fixes [\#7](https://github.com/puppetlabs/puppet-resource_api/pull/7) ([DavidS](https://github.com/DavidS))
|
404
|
-
|
405
|
-
## [v0.1.0](https://github.com/puppetlabs/puppet-resource_api/tree/v0.1.0) (2017-11-17)
|
406
|
-
**Merged pull requests:**
|
407
|
-
|
408
|
-
- \(maint\) sort dependencies in gemspec [\#6](https://github.com/puppetlabs/puppet-resource_api/pull/6) ([DavidS](https://github.com/DavidS))
|
409
|
-
- base\_context processing and processed logging methods [\#5](https://github.com/puppetlabs/puppet-resource_api/pull/5) ([james-stocks](https://github.com/james-stocks))
|
410
|
-
- Fix resource\_api logging format [\#4](https://github.com/puppetlabs/puppet-resource_api/pull/4) ([james-stocks](https://github.com/james-stocks))
|
411
|
-
- Add logging action methods to base\_context [\#3](https://github.com/puppetlabs/puppet-resource_api/pull/3) ([james-stocks](https://github.com/james-stocks))
|
412
|
-
- Logging [\#2](https://github.com/puppetlabs/puppet-resource_api/pull/2) ([james-stocks](https://github.com/james-stocks))
|
413
|
-
- Workaround missing report back from here to flush\(\) [\#1](https://github.com/puppetlabs/puppet-resource_api/pull/1) ([james-stocks](https://github.com/james-stocks))
|
data/Rakefile
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
require 'bundler/gem_tasks'
|
2
|
-
require 'puppetlabs_spec_helper/tasks/fixtures'
|
3
|
-
|
4
|
-
task :default => :spec
|
5
|
-
|
6
|
-
#### RUBOCOP ####
|
7
|
-
require 'rubocop/rake_task'
|
8
|
-
|
9
|
-
RuboCop::RakeTask.new(:rubocop) do |t|
|
10
|
-
t.options = ['--display-cop-names']
|
11
|
-
end
|
12
|
-
|
13
|
-
#### RSPEC ####
|
14
|
-
require 'rspec/core/rake_task'
|
15
|
-
|
16
|
-
RSpec::Core::RakeTask.new(:spec) do |t|
|
17
|
-
# thanks to the fixtures/modules/ symlinks this needs to exclude fixture modules explicitely
|
18
|
-
excludes = ['fixtures/**/*.rb,fixtures/modules/*/**/*.rb']
|
19
|
-
if RUBY_PLATFORM == 'java'
|
20
|
-
excludes += ['acceptance/**/*.rb', 'integration/**/*.rb', 'puppet/resource_api/*_context_spec.rb', 'puppet/util/network_device/simple/device_spec.rb']
|
21
|
-
t.rspec_opts = '--tag ~agent_test'
|
22
|
-
t.rspec_opts << ' --tag ~j17_exclude' if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0.0')
|
23
|
-
end
|
24
|
-
t.exclude_pattern = "spec/{#{excludes.join ','}}"
|
25
|
-
end
|
26
|
-
|
27
|
-
task :spec => :spec_prep
|
28
|
-
|
29
|
-
namespace :spec do
|
30
|
-
desc 'Run RSpec code examples with coverage collection'
|
31
|
-
task :coverage do
|
32
|
-
ENV['SIMPLECOV'] = 'yes'
|
33
|
-
Rake::Task['spec'].execute
|
34
|
-
end
|
35
|
-
|
36
|
-
RSpec::Core::RakeTask.new(:unit) do |t|
|
37
|
-
t.pattern = "spec/puppet/**/*_spec.rb,spec/integration/**/*_spec.rb"
|
38
|
-
end
|
39
|
-
|
40
|
-
task :unit => :spec_prep
|
41
|
-
end
|
42
|
-
|
43
|
-
#### LICENSE_FINDER ####
|
44
|
-
desc 'Check for unapproved licenses in dependencies'
|
45
|
-
task(:license_finder) do
|
46
|
-
system('license_finder --decisions-file=.dependency_decisions.yml') || raise(StandardError, 'Unapproved license(s) found on dependencies')
|
47
|
-
end
|
48
|
-
|
49
|
-
#### CHANGELOG ####
|
50
|
-
begin
|
51
|
-
require 'github_changelog_generator/task'
|
52
|
-
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
53
|
-
require 'puppet/resource_api/version'
|
54
|
-
config.future_release = "v#{Puppet::ResourceApi::VERSION}"
|
55
|
-
config.header = "# Changelog\n\n" \
|
56
|
-
"All significant changes to this repo will be summarized in this file.\n"
|
57
|
-
# config.include_labels = %w[enhancement bug]
|
58
|
-
config.user = 'puppetlabs'
|
59
|
-
config.project = 'puppet-resource_api'
|
60
|
-
end
|
61
|
-
rescue LoadError
|
62
|
-
desc 'Install github_changelog_generator to get access to automatic changelog generation'
|
63
|
-
task :changelog do
|
64
|
-
raise 'Install github_changelog_generator to get access to automatic changelog generation'
|
65
|
-
end
|
66
|
-
end
|