puppet-resource_api 1.8.9 → 1.8.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.dependency_decisions.yml +9 -9
  3. data/.github/dependabot.yml +12 -0
  4. data/.rubocop.yml +1 -1
  5. data/.travis.yml +12 -48
  6. data/CHANGELOG.md +138 -24
  7. data/Gemfile +39 -17
  8. data/HISTORY.md +0 -5
  9. data/README.md +6 -6
  10. data/appveyor.yml +3 -3
  11. data/contrib/pre-commit +2 -0
  12. data/docs/README.md +7 -0
  13. data/docs/hands-on-lab/01-installing-prereqs.md +16 -0
  14. data/docs/hands-on-lab/02-connecting-to-the-lightbulbs-emulator.png +0 -0
  15. data/docs/hands-on-lab/02-connecting-to-the-lightbulbs.md +26 -0
  16. data/docs/hands-on-lab/03-creating-a-new-module.md +47 -0
  17. data/docs/hands-on-lab/03-creating-a-new-module_vscode.png +0 -0
  18. data/docs/hands-on-lab/04-adding-a-new-transport.md +123 -0
  19. data/docs/hands-on-lab/05-implementing-the-transport-hints.md +19 -0
  20. data/docs/hands-on-lab/05-implementing-the-transport.md +126 -0
  21. data/docs/hands-on-lab/06-implementing-the-provider.md +227 -0
  22. data/docs/hands-on-lab/07-implementing-a-task.md +181 -0
  23. data/lib/puppet/resource_api.rb +95 -55
  24. data/lib/puppet/resource_api/base_context.rb +6 -0
  25. data/lib/puppet/resource_api/data_type_handling.rb +2 -0
  26. data/lib/puppet/resource_api/glue.rb +9 -2
  27. data/lib/puppet/resource_api/io_context.rb +2 -0
  28. data/lib/puppet/resource_api/parameter.rb +4 -2
  29. data/lib/puppet/resource_api/property.rb +65 -5
  30. data/lib/puppet/resource_api/puppet_context.rb +2 -0
  31. data/lib/puppet/resource_api/read_only_parameter.rb +2 -0
  32. data/lib/puppet/resource_api/simple_provider.rb +2 -0
  33. data/lib/puppet/resource_api/transport.rb +2 -0
  34. data/lib/puppet/resource_api/transport/wrapper.rb +2 -0
  35. data/lib/puppet/resource_api/type_definition.rb +63 -3
  36. data/lib/puppet/resource_api/value_creator.rb +2 -0
  37. data/lib/puppet/resource_api/version.rb +3 -1
  38. data/lib/puppet/util/network_device/simple/device.rb +2 -0
  39. metadata +15 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d66c960b7ed4b6ed6123bdf2c8cc158320354f32fb15499b09b92a8a3942d36d
4
- data.tar.gz: 1ba82297b72a4df466c2084feaeb02ed6e883b19d3ee6c913581b5edecd2ca69
3
+ metadata.gz: 535559ec94778cea613ca61f7fd96309506730c7a79b7b081e198cea19739db0
4
+ data.tar.gz: afc626bed3349a334d7a25df3950f56ce997f6a607e8bdbe156c38b631c98d4a
5
5
  SHA512:
6
- metadata.gz: b22b37590ff1ac73fdf22d5d0012cd8ac6b46a0e2541ba4b3096a6ede49c12bdaa37e895746194cc1257744dec6403f6428610f5e4b29742fe624f3c505ff211
7
- data.tar.gz: 2f44e9690a905edd1eafaad645f62c82bfe035c7f4f9ace31620b47d56d2eb963cf117edb4652f8b3c0feecea98e8f7cf13ae90993c1d7b291d8343b32741924
6
+ metadata.gz: c587b8c92ed10ec5329cb80c00968003b8f0a95f51e62002b26c4b446f48f517754ebf2344542806411e81a239f3f1bc56d56574652ad34624076726ed9880b8
7
+ data.tar.gz: b2fd76ef2a2cf6ae5e1f9f18022a318012ec29dbfbc4af6232b7bdb6481e5affeeb9f77c471fd0195e6401427656f854ac4c4083202b742c3be5772bbe9ba1fb
@@ -1,41 +1,41 @@
1
1
  ---
2
- - - :whitelist
2
+ - - :permit
3
3
  - MIT
4
4
  - :who: DavidS
5
5
  :why: standard license
6
6
  :versions: []
7
7
  :when: 2017-07-28 11:11:09.971500380 Z
8
- - - :whitelist
8
+ - - :permit
9
9
  - Apache 2.0
10
10
  - :who: DavidS
11
11
  :why: standard license
12
12
  :versions: []
13
13
  :when: 2017-07-28 11:12:21.086779416 Z
14
- - - :whitelist
14
+ - - :permit
15
15
  - ruby
16
16
  - :who: DavidS
17
17
  :why: standard license
18
18
  :versions: []
19
19
  :when: 2017-07-28 11:12:28.578927478 Z
20
- - - :whitelist
20
+ - - :permit
21
21
  - Simplified BSD
22
22
  - :who: DavidS
23
23
  :why: standard license
24
24
  :versions: []
25
25
  :when: 2017-07-28 11:12:36.924605442 Z
26
- - - :whitelist
26
+ - - :permit
27
27
  - New BSD
28
28
  - :who: DavidS
29
29
  :why: standard license
30
30
  :versions: []
31
31
  :when: 2017-07-28 11:14:00.252514982 Z
32
- - - :whitelist
32
+ - - :permit
33
33
  - Apache License, v2
34
34
  - :who: DavidS
35
35
  :why: standard license
36
36
  :versions: []
37
37
  :when: 2017-07-28 11:14:07.999759997 Z
38
- - - :whitelist
38
+ - - :permit
39
39
  - Ruby or LGPLv3+
40
40
  - :who: DavidS
41
41
  :why: standard license
@@ -62,7 +62,7 @@
62
62
  :why: https://github.com/defunkt/colored/blob/829bde0f8832406be1cacc5c99c49d976e05ccfc/LICENSE
63
63
  :versions: []
64
64
  :when: 2017-07-28 11:23:25.554994001 Z
65
- - - :whitelist
65
+ - - :permit
66
66
  - ISC
67
67
  - :who: scotje
68
68
  :why: MIT equivalent
@@ -93,6 +93,6 @@
93
93
  - puppetlabs_spec_helper
94
94
  - Apache 2.0
95
95
  - :who: DavidS
96
- :why:
96
+ :why:
97
97
  :versions: []
98
98
  :when: 2018-03-09 18:04:29.175843919 Z
@@ -0,0 +1,12 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "13:00"
8
+ open-pull-requests-limit: 10
9
+ ignore:
10
+ - dependency-name: rubocop
11
+ versions:
12
+ - "> 0.57.0"
data/.rubocop.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  require: rubocop-rspec
3
3
  AllCops:
4
- TargetRubyVersion: '2.1'
4
+ TargetRubyVersion: '2.5'
5
5
  Include:
6
6
  - "**/*.rb"
7
7
  Exclude:
data/.travis.yml CHANGED
@@ -1,4 +1,4 @@
1
- sudo: false
1
+ os: linux
2
2
  language: ruby
3
3
  bundler_args: "--without development"
4
4
  script:
@@ -10,70 +10,34 @@ script:
10
10
  cache: bundler
11
11
  branches:
12
12
  except:
13
- - release-prep
14
- matrix:
13
+ - release-prep
14
+ jobs:
15
15
  include:
16
16
  - rvm: 2.4.3
17
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
18
  # disable coverage on jruby9k as this confuses codecov
26
19
  - env: RVM="jruby-9.1.9.0" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug"
27
20
  dist: trusty
28
21
  before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
29
22
  cache:
30
23
  bundler: false
31
- directories: ~/.rvm
24
+ directories: [~/.rvm]
32
25
  before_install: rvm use jruby-9.1.9.0 --install --binary --fuzzy
33
26
  - rvm: 2.5.1
34
27
  env: CHECK=rubocop
35
28
  - rvm: 2.5.1
36
29
  env: CHECK=license_finder
37
30
  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'
31
+ - rvm: 2.5.7
32
+ env: PUPPET_GEM_VERSION='~> 6' SIMPLECOV=yes # latest 6 release
33
+ - rvm: 2.5.7
34
+ env: PUPPET_GEM_VERSION='~> 6.14.0'
35
+ - rvm: 2.5.7
36
+ env: PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#main'
37
+ - rvm: 2.7
38
+ env: PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#main'
73
39
  - rvm: 2.4.3
74
40
  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
41
  notifications:
78
42
  slack:
79
43
  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/CHANGELOG.md CHANGED
@@ -3,7 +3,121 @@
3
3
  All significant changes to this repo will be summarized in this file.
4
4
 
5
5
 
6
+ ## [v1.8.14](https://github.com/puppetlabs/puppet-resource_api/tree/v1.8.14) (2021-06-09)
7
+
8
+ [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.13...v1.8.14)
9
+
10
+ **Implemented enhancements:**
11
+
12
+ - \(GH-225\) Add support for custom insync [\#285](https://github.com/puppetlabs/puppet-resource_api/pull/285) ([michaeltlombardi](https://github.com/michaeltlombardi))
13
+ - Improve type validation error messages to show expected types [\#279](https://github.com/puppetlabs/puppet-resource_api/pull/279) ([timidri](https://github.com/timidri))
14
+ - Support `puppet device --resource ... --to_yaml` invocation; drop puppet4 and jruby 1.7 testing [\#278](https://github.com/puppetlabs/puppet-resource_api/pull/278) ([timidri](https://github.com/timidri))
15
+
16
+ **Fixed bugs:**
17
+
18
+ - Git tag 1.8.13 exists, but missing on rubygems.org / in CHANGELOG.md [\#266](https://github.com/puppetlabs/puppet-resource_api/issues/266)
19
+
20
+ **Closed issues:**
21
+
22
+ - CHANGELOG.md entries are missing for latest releases? [\#258](https://github.com/puppetlabs/puppet-resource_api/issues/258)
23
+
24
+ **Merged pull requests:**
25
+
26
+ - Upgrade to GitHub-native Dependabot [\#287](https://github.com/puppetlabs/puppet-resource_api/pull/287) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
27
+ - \(IAC-1455\) - Removal of Inappropriate Terminology [\#283](https://github.com/puppetlabs/puppet-resource_api/pull/283) ([david22swan](https://github.com/david22swan))
28
+ - Update puppetlabs\_spec\_helper requirement from ~\> 2.7 to ~\> 3.0 [\#281](https://github.com/puppetlabs/puppet-resource_api/pull/281) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
29
+ - \(maint\) Update Puppet VS Code Extension ID [\#277](https://github.com/puppetlabs/puppet-resource_api/pull/277) ([jpogran](https://github.com/jpogran))
30
+ - \(IAC-859\) Add ruby 2.7 to test matrix [\#276](https://github.com/puppetlabs/puppet-resource_api/pull/276) ([DavidS](https://github.com/DavidS))
31
+ - \(maint\) Cleanup gemfile and fix codecov dependency [\#275](https://github.com/puppetlabs/puppet-resource_api/pull/275) ([DavidS](https://github.com/DavidS))
32
+ - Language correction [\#270](https://github.com/puppetlabs/puppet-resource_api/pull/270) ([epackorigan](https://github.com/epackorigan))
33
+ - \(maint\) Update CHANGELOG [\#268](https://github.com/puppetlabs/puppet-resource_api/pull/268) ([DavidS](https://github.com/DavidS))
34
+ - \(maint\) update test matrix for current supported versions; remove older versions to cut down on resource usage [\#265](https://github.com/puppetlabs/puppet-resource_api/pull/265) ([DavidS](https://github.com/DavidS))
35
+ - \(maint\) Mock Hocon.load\(...\) [\#263](https://github.com/puppetlabs/puppet-resource_api/pull/263) ([IrimieBogdan](https://github.com/IrimieBogdan))
36
+ - Update rake requirement from ~\> 10.0 to ~\> 13.0 [\#262](https://github.com/puppetlabs/puppet-resource_api/pull/262) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
37
+ - \(maint\) update Gemfile to allow use of non-vulnerable rake version 12.3.3 [\#260](https://github.com/puppetlabs/puppet-resource_api/pull/260) ([DavidS](https://github.com/DavidS))
38
+
39
+ ## [1.8.13](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.13) (2020-02-19)
40
+
41
+ [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.12...1.8.13)
42
+
43
+ **Merged pull requests:**
44
+
45
+ - \(IAC-274\) update CHANGELOG [\#259](https://github.com/puppetlabs/puppet-resource_api/pull/259) ([DavidS](https://github.com/DavidS))
46
+
47
+ ## [1.8.12](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.12) (2020-02-03)
48
+
49
+ [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.11...1.8.12)
50
+
51
+ **Fixed bugs:**
52
+
53
+ - json 2.3.0 fails on JRuby 1.7.26 [\#248](https://github.com/puppetlabs/puppet-resource_api/issues/248)
54
+
55
+ **Merged pull requests:**
56
+
57
+ - Update dependency\_decisions for LicenseFinder 6.0; Fix deprecation warning with outdated win32-service gem pulled in by puppet [\#252](https://github.com/puppetlabs/puppet-resource_api/pull/252) ([DavidS](https://github.com/DavidS))
58
+
59
+ ## [1.8.11](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.11) (2019-12-30)
60
+
61
+ [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.10...1.8.11)
62
+
63
+ **Implemented enhancements:**
64
+
65
+ - add consistency checks for title attribute on multi-namevar providers [\#219](https://github.com/puppetlabs/puppet-resource_api/issues/219)
66
+ - Add title consistency checks for multi-namevar providers [\#240](https://github.com/puppetlabs/puppet-resource_api/pull/240) ([seanmil](https://github.com/seanmil))
67
+
68
+ **Fixed bugs:**
69
+
70
+ - puppet describe does not show top-level docs [\#208](https://github.com/puppetlabs/puppet-resource_api/issues/208)
71
+ - \(PUP-10025\) fix top-level docs output from `puppet describe` [\#247](https://github.com/puppetlabs/puppet-resource_api/pull/247) ([DavidS](https://github.com/DavidS))
72
+
73
+ **Merged pull requests:**
74
+
75
+ - Pin json gem to older version for JRuby 1.7 [\#249](https://github.com/puppetlabs/puppet-resource_api/pull/249) ([DavidS](https://github.com/DavidS))
76
+
77
+ ## [1.8.10](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.10) (2019-11-14)
78
+
79
+ [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.9...1.8.10)
80
+
81
+ **Implemented enhancements:**
82
+
83
+ - \(FM-8079\) Resource API and Transports Hands-on-Lab [\#181](https://github.com/puppetlabs/puppet-resource_api/pull/181) ([DavidS](https://github.com/DavidS))
84
+
85
+ **Fixed bugs:**
86
+
87
+ - failing resource poisons the context/flush implementation [\#214](https://github.com/puppetlabs/puppet-resource_api/issues/214)
88
+ - Reset context.failed? between resources [\#241](https://github.com/puppetlabs/puppet-resource_api/pull/241) ([seanmil](https://github.com/seanmil))
89
+
90
+ **Merged pull requests:**
91
+
92
+ - \(FM-8740\): Documentation tweaks based on most recent walkthrough [\#246](https://github.com/puppetlabs/puppet-resource_api/pull/246) ([sanfrancrisko](https://github.com/sanfrancrisko))
93
+
94
+ ## [1.8.9](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.9) (2019-10-03)
95
+
96
+ [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.8...1.8.9)
97
+
98
+ **Implemented enhancements:**
99
+
100
+ - \(FM-8336\) Capture and expose attribute ordering from transport schema [\#238](https://github.com/puppetlabs/puppet-resource_api/pull/238) ([DavidS](https://github.com/DavidS))
101
+
102
+ **Fixed bugs:**
103
+
104
+ - \(FM-8553\) Remove all caching from list\_all\_transports [\#237](https://github.com/puppetlabs/puppet-resource_api/pull/237) ([DavidS](https://github.com/DavidS))
105
+
106
+ **Merged pull requests:**
107
+
108
+ - \(packaging\) Bump to version '1.8.9' [\#239](https://github.com/puppetlabs/puppet-resource_api/pull/239) ([mihaibuzgau](https://github.com/mihaibuzgau))
109
+
110
+ ## [1.8.8](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.8) (2019-09-25)
111
+
112
+ [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.7...1.8.8)
113
+
114
+ **Merged pull requests:**
115
+
116
+ - \(MODULES-9258\) Remove obsolete documentation [\#229](https://github.com/puppetlabs/puppet-resource_api/pull/229) ([DavidS](https://github.com/DavidS))
117
+ - CHANGELOG for 1.8.7 [\#206](https://github.com/puppetlabs/puppet-resource_api/pull/206) ([DavidS](https://github.com/DavidS))
118
+
6
119
  ## [1.8.7](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.7) (2019-09-11)
120
+
7
121
  [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.6...1.8.7)
8
122
 
9
123
  **Fixed bugs:**
@@ -13,19 +127,28 @@ All significant changes to this repo will be summarized in this file.
13
127
  **Merged pull requests:**
14
128
 
15
129
  - \(FM-8485\) - Addition of CODEOWNERS file [\#203](https://github.com/puppetlabs/puppet-resource_api/pull/203) ([david22swan](https://github.com/david22swan))
16
- - \(MODULES-9258\) Improve referencing and add summary [\#199](https://github.com/puppetlabs/puppet-resource_api/pull/199) ([MaxMagill](https://github.com/MaxMagill))
130
+ - \(MODULES-9258\) Improve referencing and add summary [\#199](https://github.com/puppetlabs/puppet-resource_api/pull/199) ([maxiegit](https://github.com/maxiegit))
17
131
  - \(maint\) Pin both Jruby cells to use `dist: trusty` [\#197](https://github.com/puppetlabs/puppet-resource_api/pull/197) ([da-ar](https://github.com/da-ar))
18
132
 
19
133
  ## [1.8.6](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.6) (2019-07-04)
20
- [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.6.5...1.8.6)
21
134
 
22
- ## [1.6.5](https://github.com/puppetlabs/puppet-resource_api/tree/1.6.5) (2019-07-04)
23
- [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.5...1.6.5)
135
+ [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.6.5...1.8.6)
24
136
 
25
137
  **Implemented enhancements:**
26
138
 
27
139
  - \(SERVER-2470\) list\_all\_transports implementation for puppetserver [\#187](https://github.com/puppetlabs/puppet-resource_api/pull/187) ([DavidS](https://github.com/DavidS))
28
140
 
141
+ **Merged pull requests:**
142
+
143
+ - Merge 1.6.x [\#194](https://github.com/puppetlabs/puppet-resource_api/pull/194) ([da-ar](https://github.com/da-ar))
144
+ - \(packaging\) Revert to version '1.8.5' \[no-promote\] [\#192](https://github.com/puppetlabs/puppet-resource_api/pull/192) ([gimmyxd](https://github.com/gimmyxd))
145
+ - \(packaging\) Bump to version '1.9.0' \[no-promote\] [\#191](https://github.com/puppetlabs/puppet-resource_api/pull/191) ([gimmyxd](https://github.com/gimmyxd))
146
+ - \(maint\) retrofitting changelog for the last couple of releases [\#190](https://github.com/puppetlabs/puppet-resource_api/pull/190) ([DavidS](https://github.com/DavidS))
147
+
148
+ ## [1.6.5](https://github.com/puppetlabs/puppet-resource_api/tree/1.6.5) (2019-07-04)
149
+
150
+ [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.5...1.6.5)
151
+
29
152
  **Fixed bugs:**
30
153
 
31
154
  - \(MODULES-9428\) make the composite namevar implementation usable [\#174](https://github.com/puppetlabs/puppet-resource_api/pull/174) ([DavidS](https://github.com/DavidS))
@@ -33,18 +156,17 @@ All significant changes to this repo will be summarized in this file.
33
156
  **Merged pull requests:**
34
157
 
35
158
  - \(packaging\) Bump to 1.6.5 [\#196](https://github.com/puppetlabs/puppet-resource_api/pull/196) ([gimmyxd](https://github.com/gimmyxd))
36
- - Merge 1.6.x [\#194](https://github.com/puppetlabs/puppet-resource_api/pull/194) ([da-ar](https://github.com/da-ar))
37
159
  - \(maint\) test fixes [\#193](https://github.com/puppetlabs/puppet-resource_api/pull/193) ([DavidS](https://github.com/DavidS))
38
- - \(packaging\) Revert to version '1.8.5' \[no-promote\] [\#192](https://github.com/puppetlabs/puppet-resource_api/pull/192) ([gimmyxd](https://github.com/gimmyxd))
39
- - \(packaging\) Bump to version '1.9.0' \[no-promote\] [\#191](https://github.com/puppetlabs/puppet-resource_api/pull/191) ([gimmyxd](https://github.com/gimmyxd))
40
- - \(maint\) retrofitting changelog for the last couple of releases [\#190](https://github.com/puppetlabs/puppet-resource_api/pull/190) ([DavidS](https://github.com/DavidS))
41
160
 
42
161
  ## [1.8.5](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.5) (2019-06-24)
162
+
43
163
  [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.4...1.8.5)
44
164
 
45
165
  **Fixed bugs:**
46
166
 
47
167
  - \(maint\) Mergeup 1.6.x: FM-7839, desc/docs cleanup [\#186](https://github.com/puppetlabs/puppet-resource_api/pull/186) ([DavidS](https://github.com/DavidS))
168
+ - \(maint\) backport minor fixes from master to 1.6.x [\#184](https://github.com/puppetlabs/puppet-resource_api/pull/184) ([DavidS](https://github.com/DavidS))
169
+ - \(maint\) implement `desc`/`docs` fallback [\#177](https://github.com/puppetlabs/puppet-resource_api/pull/177) ([DavidS](https://github.com/DavidS))
48
170
 
49
171
  **Merged pull requests:**
50
172
 
@@ -54,18 +176,17 @@ All significant changes to this repo will be summarized in this file.
54
176
  - \(maint\) make test order really random [\#175](https://github.com/puppetlabs/puppet-resource_api/pull/175) ([DavidS](https://github.com/DavidS))
55
177
 
56
178
  ## [1.8.4](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.4) (2019-06-12)
179
+
57
180
  [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.3...1.8.4)
58
181
 
59
182
  **Implemented enhancements:**
60
183
 
61
- - \(FM-7839\) Implement `to\_json` method for ResourceShim [\#168](https://github.com/puppetlabs/puppet-resource_api/pull/168) ([da-ar](https://github.com/da-ar))
184
+ - \(FM-7839\) Implement `to_json` method for ResourceShim [\#168](https://github.com/puppetlabs/puppet-resource_api/pull/168) ([da-ar](https://github.com/da-ar))
62
185
 
63
186
  **Fixed bugs:**
64
187
 
65
- - \(maint\) backport minor fixes from master to 1.6.x [\#184](https://github.com/puppetlabs/puppet-resource_api/pull/184) ([DavidS](https://github.com/DavidS))
66
188
  - \(PUP-9747\) Relax validation for bolt [\#182](https://github.com/puppetlabs/puppet-resource_api/pull/182) ([DavidS](https://github.com/DavidS))
67
189
  - \(maint\) Add to\_hash function to resourceShim for compatibility [\#180](https://github.com/puppetlabs/puppet-resource_api/pull/180) ([da-ar](https://github.com/da-ar))
68
- - \(maint\) implement `desc`/`docs` fallback [\#177](https://github.com/puppetlabs/puppet-resource_api/pull/177) ([DavidS](https://github.com/DavidS))
69
190
 
70
191
  **Closed issues:**
71
192
 
@@ -79,6 +200,7 @@ All significant changes to this repo will be summarized in this file.
79
200
  - \(packaging\) Update reported version to 1.8.4 \[no-promote\] [\#171](https://github.com/puppetlabs/puppet-resource_api/pull/171) ([gimmyxd](https://github.com/gimmyxd))
80
201
 
81
202
  ## [1.8.3](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.3) (2019-04-12)
203
+
82
204
  [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.8.2...1.8.3)
83
205
 
84
206
  **Fixed bugs:**
@@ -90,30 +212,22 @@ All significant changes to this repo will be summarized in this file.
90
212
  - \(PA-2496\) Bump version and remove v from version number [\#170](https://github.com/puppetlabs/puppet-resource_api/pull/170) ([mihaibuzgau](https://github.com/mihaibuzgau))
91
213
 
92
214
  ## [1.8.2](https://github.com/puppetlabs/puppet-resource_api/tree/1.8.2) (2019-04-10)
215
+
93
216
  [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.6.4...1.8.2)
94
217
 
95
218
  **Merged pull requests:**
96
219
 
97
220
  - \(packaging\) Update reported version to 1.8.2 \[no-promote\] [\#167](https://github.com/puppetlabs/puppet-resource_api/pull/167) ([mihaibuzgau](https://github.com/mihaibuzgau))
221
+ - Add `implementations` to reserved bolt keywords [\#165](https://github.com/puppetlabs/puppet-resource_api/pull/165) ([DavidS](https://github.com/DavidS))
222
+ - Release prep for v1.8.1 [\#163](https://github.com/puppetlabs/puppet-resource_api/pull/163) ([DavidS](https://github.com/DavidS))
98
223
 
99
224
  ## [v1.6.4](https://github.com/puppetlabs/puppet-resource_api/tree/v1.6.4) (2019-03-25)
100
- [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.8.1...v1.6.4)
101
-
102
- **Implemented enhancements:**
103
225
 
104
- - \(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))
226
+ [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.8.1...v1.6.4)
105
227
 
106
228
  **Merged pull requests:**
107
229
 
108
- - Add `implementations` to reserved bolt keywords [\#165](https://github.com/puppetlabs/puppet-resource_api/pull/165) ([DavidS](https://github.com/DavidS))
109
230
  - \(MAINT\) Bump version [\#164](https://github.com/puppetlabs/puppet-resource_api/pull/164) ([sebastian-miclea](https://github.com/sebastian-miclea))
110
- - Release prep for v1.8.1 [\#163](https://github.com/puppetlabs/puppet-resource_api/pull/163) ([DavidS](https://github.com/DavidS))
111
- - 1.6.x mergeup [\#162](https://github.com/puppetlabs/puppet-resource_api/pull/162) ([DavidS](https://github.com/DavidS))
112
-
113
- # Changelog
114
-
115
- All significant changes to this repo will be summarized in this file.
116
-
117
231
 
118
232
  ## [v1.8.1](https://github.com/puppetlabs/puppet-resource_api/tree/v1.8.1) (2019-03-13)
119
233
  [Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.8.0...v1.8.1)
@@ -525,4 +639,4 @@ All significant changes to this repo will be summarized in this file.
525
639
  - 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))
526
640
 
527
641
 
528
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
642
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/Gemfile CHANGED
@@ -1,44 +1,66 @@
1
- source "https://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in puppet-resource_api.gemspec
6
6
  gemspec
7
7
 
8
8
  group :tests do
9
- gem 'codecov'
10
- gem 'rake', '~> 10.0'
9
+ gem 'CFPropertyList'
11
10
  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...
11
+ gem 'simplecov-console'
12
+
13
+ # the test gems required for module testing
14
+ gem 'puppetlabs_spec_helper', '~> 3.0'
15
+ gem 'rspec-puppet'
16
+
17
+ # since the Resource API runs inside the puppetserver, test against the JRuby versions we ship
18
+ # these require special dependencies to have everything load properly
19
+
20
+ # `codecov` 0.1.17 introduced usage of %i[] which is not recognised by JRuby 1.7
21
+ if RUBY_PLATFORM == 'java' && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0')
22
+ gem 'codecov', '= 0.1.16'
23
+ else
24
+ gem 'codecov'
25
+ end
26
+
27
+ # `rake` dropped support for older versions of ruby a while back
28
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.1.0')
29
+ gem 'rake', '11.3.0'
30
+ elsif Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.0')
31
+ gem 'rake', '12.3.3'
32
+ else
33
+ gem 'rake', '~> 13.0'
34
+ end
35
+
36
+ # rubocop is special, as usual
14
37
  if RUBY_PLATFORM == 'java'
15
38
  # load a rubocop version that works on java for the Rakefile
16
39
  gem 'parser', '2.3.3.1'
17
40
  gem 'rubocop', '0.41.2'
18
41
  elsif Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.0')
42
+ # rubocop 0.58 throws when testing against ruby 2.1, so pin to the latest version that works
19
43
  gem 'rubocop', '0.57.2'
20
- # the last version of parallel to support ruby 2.1
21
- gem 'parallel', '1.13.0'
22
44
  gem 'rubocop-rspec'
23
45
  else
24
46
  # 2.1-compatible analysis was dropped after version 0.58
25
47
  # This needs to be removed once we drop puppet4 support.
26
48
  gem 'rubocop', '~> 0.57.0'
27
49
  gem 'rubocop-rspec'
28
- # license_finder does not install on windows using older versions of rubygems.
29
- # ruby 2.4 is confirmed working on appveyor.
30
- gem 'license_finder' if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.4.0')
31
50
  end
32
- gem 'simplecov-console'
33
- # the test gems required for module testing
34
- gem 'puppetlabs_spec_helper', '~> 2.7'
35
- gem 'rspec-puppet'
36
51
 
37
- gem 'CFPropertyList'
52
+ # JRuby 1.7 does not like json 2.3.0, jruby 9.1.9.0 has RUBY_VERSION == '2.3.3'
53
+ gem 'json', '2.2.0' if RUBY_PLATFORM == 'java' && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0')
54
+ # the last version of parallel to support ruby 2.1
55
+ gem 'parallel', '1.13.0' if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.0')
56
+
57
+ # license_finder does not install on windows using older versions of rubygems.
58
+ # ruby 2.4 is confirmed working on appveyor and we only need to run it on the newest gemset anyways
59
+ gem 'license_finder' if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.4.0')
38
60
  end
39
61
 
40
62
  group :development do
41
- gem 'github_changelog_generator', '~> 1.14'
63
+ gem 'github_changelog_generator', '~> 1.15' if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3.0')
42
64
  gem 'pry-byebug'
43
65
  end
44
66