Skip to content

Commit

Permalink
Merge 2848df8 into cec2542
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Dec 8, 2016
2 parents cec2542 + 2848df8 commit 747ef1c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 23 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- 2.2.2
- 2.3.2
- ruby-head
bundler_args: "--jobs=2"
Expand All @@ -18,6 +16,7 @@ script:
branches:
only:
- master
- develop-1.0.0
notifications:
email: false
slack:
Expand Down
16 changes: 0 additions & 16 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@ source "https://rubygems.org"
# Specify your gem's dependencies in rubicure.gemspec
gemspec

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.1.0")
# NOTE: build is failed when use ruby 2.0 and rspec-parameterized 0.3.0+
# https://travis-ci.org/sue445/rubicure/jobs/114266855
gem "rspec-parameterized", "< 0.3.0", group: :test
end

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.1.0")
# NOTE: unparser v0.2.5 drop support ruby < 2.1
gem "unparser", "< 0.2.5", group: :test
end

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
# NOTE: activesupport 5.x supports only ruby 2.2.2+
gem "activesupport", ">= 4.0.0", "< 5.0.0"
end

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0")
gem "backport_dig"
end
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Inspired by [Acme::PrettyCure](http://perl-users.jp/articles/advent-calendar/201

## Requirements

* ruby >= 2.0.0
* ruby >= 2.2.2
* more: [.travis.yml](.travis.yml)

## Installation
Expand All @@ -32,7 +32,7 @@ Add this line to your application's Gemfile:
```ruby
gem 'rubicure'

# for ruby 2.0, 2.1, 2.2
# for ruby 2.2
gem 'backport_dig'
```

Expand Down
4 changes: 2 additions & 2 deletions rubicure.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/sue445/rubicure"
spec.license = "MIT"

spec.required_ruby_version = ">= 2.0.0"
spec.required_ruby_version = ">= 2.2.2"

spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_dependency "activesupport", ">= 4.0.0"
spec.add_dependency "activesupport", ">= 5.0.0"
spec.add_dependency "hashie", ">= 2.0.5"
spec.add_dependency "sengiri_yaml", ">= 0.0.2"

Expand Down

0 comments on commit 747ef1c

Please sign in to comment.