Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(BKR-1049) Updating require to align with oldest supported PE version. This also matches the merged beaker PR. #89

Merged
merged 1 commit into from
Mar 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Gemfile.lock
.bundle
*.swp
log
.vagrant
*.gem
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
before_install:
- gem --version
language: ruby
script: 'bundle exec gem build beaker-rspec.gemspec'
notifications:
email: false
rvm:
- 2.1.9
- 2.2.4
12 changes: 8 additions & 4 deletions beaker-rspec.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Gem::Specification.new do |s|
s.homepage = "https://github.com/puppetlabs/beaker-rspec"
s.summary = %q{RSpec bindings for beaker}
s.description = %q{RSpec bindings for beaker, see https://github.com/puppetlabs/beaker}
s.license = 'Apache2'
s.license = 'Apache-2.0'

s.required_ruby_version = Gem::Requirement.new('>= 2.2.5')
s.required_ruby_version = Gem::Requirement.new('>= 2.1.8', '<3.0.0')

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
Expand All @@ -22,15 +22,19 @@ Gem::Specification.new do |s|
# Testing dependencies
s.add_development_dependency 'minitest', '~> 5.4'
s.add_development_dependency 'fakefs', '~> 0.6'
s.add_development_dependency 'rake'
s.add_development_dependency 'rake', '~> 10.1'

# Documentation dependencies
s.add_development_dependency 'yard'
s.add_development_dependency 'thin'

if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
s.add_development_dependency 'rack', '~> 1.6'
end

# Run time dependencies
s.add_runtime_dependency 'beaker', '~> 3.0'
s.add_runtime_dependency 'rspec'
s.add_runtime_dependency 'rspec', '~> 3.0'
s.add_runtime_dependency 'serverspec', '~> 2'
s.add_runtime_dependency 'specinfra', '~> 2'
end