puppet-resource_api 0.2.1 → 0.2.2
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/.travis.yml +6 -0
- data/CHANGELOG.md +11 -0
- data/Rakefile +17 -6
- data/lib/puppet/resource_api.rb +3 -2
- data/lib/puppet/resource_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6885a4eb2643ce21da775818fc1893aa6f0900a
|
4
|
+
data.tar.gz: 65d217361a9e1d2fecd4d504db006f6d0e63bbb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e6007ef84f8c91fa08beb9c529acc5d48dc063aa6c4fdff3318b5f32abb4d2fdaac3e296725d22b7db854f6a63ebd6a5145ceb8adc9e7e5ea86f527178ccad
|
7
|
+
data.tar.gz: a353e3a609fb63ab9ffdba14296f27ba55d3c9fc74ebf46c076701e0c109461865fce8b7b2364445241086cc55b08531356a71f35c63a6d7e92737999e6ff9b9
|
data/.travis.yml
CHANGED
@@ -3,14 +3,20 @@ language: ruby
|
|
3
3
|
before_install: gem install bundler -v 1.15.4
|
4
4
|
bundler_args: "--without development"
|
5
5
|
script:
|
6
|
+
- echo travis_fold:start:DEBUG
|
6
7
|
- cat Gemfile.lock
|
7
8
|
- bundle list
|
9
|
+
- echo travis_fold:end:DEBUG
|
8
10
|
- COVERAGE=yes bundle exec rake $CHECK
|
9
11
|
cache: bundler
|
10
12
|
matrix:
|
11
13
|
include:
|
12
14
|
- rvm: 2.4.1
|
13
15
|
env: PUPPET_GEM_VERSION='~> 5'
|
16
|
+
- rvm: jruby-1.7.26
|
17
|
+
env: PUPPET_GEM_VERSION='~> 5'
|
18
|
+
- rvm: jruby-9.1.9.0
|
19
|
+
env: PUPPET_GEM_VERSION='~> 5'
|
14
20
|
- rvm: 2.4.1
|
15
21
|
env: CHECK=rubocop
|
16
22
|
- rvm: 2.4.1
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,13 @@
|
|
3
3
|
All significant changes to this repo will be summarized in this file.
|
4
4
|
|
5
5
|
|
6
|
+
## [v0.2.2](https://github.com/puppetlabs/puppet-resource_api/tree/v0.2.2) (2018-01-25)
|
7
|
+
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v0.2.1...v0.2.2)
|
8
|
+
|
9
|
+
**Fixed bugs:**
|
10
|
+
|
11
|
+
- make the server parts JRuby compatible [\#15](https://github.com/puppetlabs/puppet-resource_api/pull/15) ([DavidS](https://github.com/DavidS))
|
12
|
+
|
6
13
|
## [v0.2.1](https://github.com/puppetlabs/puppet-resource_api/tree/v0.2.1) (2018-01-24)
|
7
14
|
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v0.2.0...v0.2.1)
|
8
15
|
|
@@ -10,6 +17,10 @@ All significant changes to this repo will be summarized in this file.
|
|
10
17
|
|
11
18
|
- gemspec fixes [\#12](https://github.com/puppetlabs/puppet-resource_api/pull/12) ([DavidS](https://github.com/DavidS))
|
12
19
|
|
20
|
+
**Merged pull requests:**
|
21
|
+
|
22
|
+
- Release prep [\#14](https://github.com/puppetlabs/puppet-resource_api/pull/14) ([DavidS](https://github.com/DavidS))
|
23
|
+
|
13
24
|
## [v0.2.0](https://github.com/puppetlabs/puppet-resource_api/tree/v0.2.0) (2018-01-23)
|
14
25
|
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v0.1.0...v0.2.0)
|
15
26
|
|
data/Rakefile
CHANGED
@@ -1,13 +1,24 @@
|
|
1
|
-
require
|
2
|
-
require "rspec/core/rake_task"
|
3
|
-
require 'rubocop/rake_task'
|
1
|
+
require 'bundler/gem_tasks'
|
4
2
|
|
5
|
-
|
3
|
+
task :default => :spec
|
4
|
+
|
5
|
+
#### RUBOCOP ####
|
6
|
+
require 'rubocop/rake_task'
|
6
7
|
|
7
8
|
RuboCop::RakeTask.new(:rubocop) do |t|
|
8
9
|
t.options = ['--display-cop-names']
|
9
10
|
end
|
10
11
|
|
12
|
+
#### RSPEC ####
|
13
|
+
require 'rspec/core/rake_task'
|
14
|
+
|
15
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
16
|
+
if RUBY_PLATFORM == "java"
|
17
|
+
t.exclude_pattern = 'spec/{acceptance/**/*.rb,integration/**/*.rb,puppet/resource_api/{*_context,command}_spec.rb,puppet/util/network_device/simple/device_spec.rb}'
|
18
|
+
t.rspec_opts = '--tag ~agent_test'
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
11
22
|
namespace :spec do
|
12
23
|
desc 'Run RSpec code examples with coverage collection'
|
13
24
|
task :coverage do
|
@@ -16,13 +27,13 @@ namespace :spec do
|
|
16
27
|
end
|
17
28
|
end
|
18
29
|
|
30
|
+
#### LICENSE_FINDER ####
|
19
31
|
desc 'Check for unapproved licenses in dependencies'
|
20
32
|
task(:license_finder) do
|
21
33
|
system('license_finder --decisions-file=.dependency_decisions.yml') || raise(StandardError, 'Unapproved license(s) found on dependencies')
|
22
34
|
end
|
23
35
|
|
24
|
-
|
25
|
-
|
36
|
+
#### CHANGELOG ####
|
26
37
|
begin
|
27
38
|
require 'github_changelog_generator/task'
|
28
39
|
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
data/lib/puppet/resource_api.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
require 'pathname'
|
2
|
-
|
2
|
+
# do not load command support on the puppetserver
|
3
|
+
require 'puppet/resource_api/command' unless RUBY_PLATFORM == 'java'
|
3
4
|
require 'puppet/resource_api/errors'
|
4
5
|
require 'puppet/resource_api/glue'
|
5
|
-
require 'puppet/resource_api/puppet_context'
|
6
|
+
require 'puppet/resource_api/puppet_context' unless RUBY_PLATFORM == 'java'
|
6
7
|
require 'puppet/resource_api/version'
|
7
8
|
require 'puppet/type'
|
8
9
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-resource_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Schmitt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: childprocess
|