Skip to content

Commit

Permalink
Merge pull request #647 from mterzo/3.0.0
Browse files Browse the repository at this point in the history
Remove 1.8 references.
  • Loading branch information
binford2k authored Sep 28, 2017
2 parents 6a6f57a + eb12e2d commit 256070e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ rvm:
- 2.1.9
- 2.3.1
- 2.4.0
matrix:
allow_failures:
- rvm: 1.8.7
notifications:
email:
- tim@bombasticmonkey.com
15 changes: 4 additions & 11 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ group :test do
gem 'rake', '~> 10.0'
gem 'rspec-its', '~> 1.0'
gem 'rspec-collection_matchers', '~> 1.0'
gem 'rspec-json_expectations', '~> 1.4'

if RUBY_VERSION < '2.0'
# json 2.x requires ruby 2.0. Lock to 1.8
Expand All @@ -20,18 +21,10 @@ group :test do
gem 'rspec', '~> 3.0'
gem 'json'
end

if RUBY_VERSION > '1.8'
# requires ruby 1.9+, on 1.8 we'll fall back to the old regex parsing
gem 'rspec-json_expectations', '~> 1.4'
end
end

group :development do
# For Changelog generation
if RUBY_VERSION > '1.9'
gem 'github_changelog_generator', :require => false if RUBY_VERSION >= '2.2.2'
gem 'github_changelog_generator', '~> 1.13.0', :require => false if RUBY_VERSION < '2.2.2'
gem 'rack', '~> 1.0', :require => false if RUBY_VERSION < '2.2.2'
end
gem 'github_changelog_generator', :require => false if RUBY_VERSION >= '2.2.2'
gem 'github_changelog_generator', '~> 1.13.0', :require => false if RUBY_VERSION < '2.2.2'
gem 'rack', '~> 1.0', :require => false if RUBY_VERSION < '2.2.2'
end
6 changes: 1 addition & 5 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
require 'puppet-lint'
require 'rspec/its'
require 'rspec/collection_matchers'
begin
require 'rspec/json_expectations'
rescue LoadError, SyntaxError
puts 'rspec/json_expectations is not available'
end
require 'rspec/json_expectations'

module RSpec
module LintExampleGroup
Expand Down

0 comments on commit 256070e

Please sign in to comment.