Skip to content

Commit

Permalink
Merge branch 'release/v0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Suszyński Krzysztof committed Jun 14, 2018
2 parents d46f4ed + 425589c commit 1226a05
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 67 deletions.
10 changes: 5 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ def req(req_s)
end

group :test do
gem 'rspec', '~> 3', require: false
gem 'rspec-collection_matchers', '~> 1.1.3', require: false
gem 'rubocop', '~> 0.49', require: false if req('>= 2.0') =~ RVERSION
gem 'simplecov', '~> 0.14.1', require: false
gem 'rspec', '~> 3', require: false
gem 'rspec-collection_matchers', '~> 1', require: false
gem 'rubocop', '< 0.50', require: false if req('>= 2.0') =~ RVERSION
gem 'simplecov', '~> 0', require: false
end

group :development do
gem 'bundler', '~> 1.15.1', require: false
gem 'bundler', '~> 1', require: false
gem 'pry-byebug', '~> 3.4', '>= 3.4.2', require: false if req('>= 2.0') =~ RVERSION
gem 'rake', '~> 10', require: false
end
Expand Down
107 changes: 49 additions & 58 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,110 +1,101 @@
PATH
remote: .
specs:
rspec-puppet-facts-unsupported (0.1.0)
rspec-puppet-facts (~> 1.8.0)
rspec-puppet-facts-unsupported (0.1.1)
rspec-puppet-facts (~> 1)

GEM
remote: https://rubygems.org/
specs:
ast (2.3.0)
ast (2.4.0)
byebug (9.0.6)
coderay (1.1.1)
coderay (1.1.2)
diff-lcs (1.3)
docile (1.1.5)
facter (2.4.6)
facterdb (0.3.11)
docile (1.3.1)
facter (2.5.1)
facterdb (0.5.2)
facter
jgrep
fast_gettext (1.1.0)
gettext (3.2.3)
locale (>= 2.0.5)
text (>= 1.3.0)
gettext-setup (0.25)
fast_gettext (~> 1.1.0)
gettext (>= 3.0.2)
locale
hiera (3.4.0)
jgrep (1.4.1)
json
json (1.8.6)
fast_gettext (1.1.2)
hiera (3.4.3)
jgrep (1.5.0)
json (2.1.0)
locale (2.1.2)
mcollective-client (2.11.0)
mcollective-client (2.12.1)
json
stomp
systemu
method_source (0.8.2)
parallel (1.11.2)
parser (2.4.0.0)
ast (~> 2.2)
powerpack (0.1.1)
pry (0.10.4)
method_source (0.9.0)
multi_json (1.13.1)
parallel (1.12.1)
parser (2.5.1.0)
ast (~> 2.4.0)
powerpack (0.1.2)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.2)
byebug (~> 9.0)
method_source (~> 0.9.0)
pry-byebug (3.4.3)
byebug (>= 9.0, < 9.1)
pry (~> 0.10)
puppet (5.0.0)
facter (> 2.0, < 4)
gettext-setup (>= 0.10, < 1)
puppet (5.5.1)
facter (> 2.0.1, < 4)
fast_gettext (~> 1.1.2)
hiera (>= 3.2.1, < 4)
locale (~> 2.1)
multi_json (~> 1.10)
rainbow (2.2.2)
rake
rake (10.5.0)
rspec (3.6.0)
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
rspec-mocks (~> 3.6.0)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-collection_matchers (1.1.3)
rspec-expectations (>= 2.99.0.beta1)
rspec-core (3.6.0)
rspec-support (~> 3.6.0)
rspec-expectations (3.6.0)
rspec-core (3.7.1)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.6.0)
rspec-mocks (3.6.0)
rspec-support (~> 3.7.0)
rspec-mocks (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.6.0)
rspec-puppet-facts (1.8.0)
rspec-support (~> 3.7.0)
rspec-puppet-facts (1.9.0)
facter
facterdb (>= 0.3.0)
facterdb (>= 0.5.0)
json
mcollective-client
puppet
rspec-support (3.6.0)
rspec-support (3.7.1)
rubocop (0.49.1)
parallel (~> 1.10)
parser (>= 2.3.3.1, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.8.1)
simplecov (0.14.1)
docile (~> 1.1.0)
ruby-progressbar (1.9.0)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.1)
slop (3.6.0)
simplecov-html (0.10.2)
stomp (1.4.4)
systemu (2.6.5)
text (1.3.1)
unicode-display_width (1.3.0)
unicode-display_width (1.4.0)

PLATFORMS
ruby

DEPENDENCIES
bundler (~> 1.15.1)
bundler (~> 1)
pry-byebug (~> 3.4, >= 3.4.2)
rake (~> 10)
rspec (~> 3)
rspec-collection_matchers (~> 1.1.3)
rspec-collection_matchers (~> 1)
rspec-puppet-facts-unsupported!
rubocop (~> 0.49)
simplecov (~> 0.14.1)
rubocop (< 0.50)
simplecov (~> 0)

BUNDLED WITH
1.15.1
1.16.2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RspecPuppetFactsUnsupported

[![Build Status](https://travis-ci.org/coi-gov-pl/rspec-puppet-facts-unsupported.svg?branch=develop)](https://travis-ci.org/coi-gov-pl/rspec-puppet-facts-unsupported)
[![Build Status](https://travis-ci.org/coi-gov-pl/rspec-puppet-facts-unsupported.svg?branch=develop)](https://travis-ci.org/coi-gov-pl/rspec-puppet-facts-unsupported) [![Gem](https://img.shields.io/gem/v/rspec-puppet-facts-unsupported.svg)](https://rubygems.org/gems/rspec-puppet-facts-unsupported)

Helpers to generate unsupported OS facts to test for proper fail.

Expand Down
2 changes: 1 addition & 1 deletion lib/rspec-puppet-facts-unsupported/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RspecPuppetFactsUnsupported
VERSION = '0.1.0'.freeze
VERSION = '0.1.1'.freeze
end
2 changes: 1 addition & 1 deletion rspec-puppet-facts-unsupported.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 1.9.0'

spec.add_dependency 'rspec-puppet-facts', '~> 1.8.0'
spec.add_dependency 'rspec-puppet-facts', '~> 1'
end
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
context 'with :limit opt set to 100' do
let(:opts) { { limit: 100 } }
it { is_expected.to be_a Hash }
it { is_expected.to have_at_least(25).items }
it { is_expected.to have_at_least(20).items }
it { is_expected.to contain_os('scientific-7-x86_64') }
it { is_expected.to contain_os('redhat-6-x86_64') }
it { is_expected.to contain_os('debian-8-x86_64') }
Expand Down

0 comments on commit 1226a05

Please sign in to comment.