Skip to content

Commit

Permalink
Drop support for ruby 1.8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
LTe committed Oct 24, 2014
1 parent 406ba5a commit 63b8b0e
Show file tree
Hide file tree
Showing 15 changed files with 134 additions and 56 deletions.
23 changes: 7 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
- ruby-head
- ree
- rbx-head
- rbx-head-d19
- rbx
gemfile:
- gemfiles/Gemfile-3.0
- gemfiles/Gemfile-3.1
- gemfiles/Gemfile-3.2
- gemfiles/Gemfile-4.0
- gemfiles/rails_3.0.gemfile
- gemfiles/rails_3.1.gemfile
- gemfiles/rails_3.2.gemfile
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.1.gemfile
matrix:
allow_failures:
- rvm: ruby-head
- rvm: rbx-head
- rvm: rbx-head-d19
exclude:
- rvm: 1.8.7
gemfile: gemfiles/Gemfile-4.0
- rvm: ree
gemfile: gemfiles/Gemfile-4.0
- rvm: rbx-head
gemfile: gemfiles/Gemfile-4.0
29 changes: 29 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
appraise "rails-3.0" do
gem "activerecord", "~> 3.0.0"
gem "activesupport", "~> 3.0.0"
gem "railties", "~> 3.0.0"
end

appraise "rails-3.1" do
gem "activerecord", "~> 3.1.0"
gem "activesupport", "~> 3.1.0"
gem "railties", "~> 3.1.0"
end

appraise "rails-3.2" do
gem "activerecord", "~> 3.2.0"
gem "activesupport", "~> 3.2.0"
gem "railties", "~> 3.2.0"
end

appraise "rails-4.0" do
gem "activerecord", "~> 4.0.0"
gem "activesupport", "~> 4.0.0"
gem "railties", "~> 4.0.0"
end

appraise "rails-4.1" do
gem "activerecord", "~> 4.1.0"
gem "activesupport", "~> 4.1.0"
gem "railties", "~> 4.1.0"
end
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ group :development do
gem "jeweler", "~> 1.8.0"
gem "sqlite3"
gem "coveralls", :require => false
gem "appraisal"
end
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ GEM
addressable (2.3.6)
ancestry (2.1.0)
activerecord (>= 3.0.0)
appraisal (1.0.2)
bundler
rake
thor (>= 0.14.0)
arel (5.0.1.20140414130214)
builder (3.2.2)
coveralls (0.7.1)
Expand Down Expand Up @@ -117,6 +121,7 @@ DEPENDENCIES
activerecord (>= 3.0.0)
activesupport (>= 3.0.0)
ancestry (>= 1.3.0)
appraisal
coveralls
jeweler (~> 1.8.0)
railties (>= 3.0.0)
Expand Down
19 changes: 12 additions & 7 deletions acts-as-messageable.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ Gem::Specification.new do |s|
s.version = "0.4.9"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Piotr Nielacny"]
s.date = "2013-11-25"
s.date = "2014-10-24"
s.email = "piotr.nielacny@gmail.com"
s.extra_rdoc_files = [
"README.md"
Expand All @@ -19,17 +20,19 @@ Gem::Specification.new do |s|
".coveralls.yml",
".rspec",
".travis.yml",
"Appraisals",
"Gemfile",
"Gemfile.lock",
"MIT-LICENSE",
"README.md",
"Rakefile",
"VERSION",
"acts-as-messageable.gemspec",
"gemfiles/Gemfile-3.0",
"gemfiles/Gemfile-3.1",
"gemfiles/Gemfile-3.2",
"gemfiles/Gemfile-4.0",
"gemfiles/rails_3.0.gemfile",
"gemfiles/rails_3.1.gemfile",
"gemfiles/rails_3.2.gemfile",
"gemfiles/rails_4.0.gemfile",
"gemfiles/rails_4.1.gemfile",
"lib/acts-as-messageable.rb",
"lib/acts-as-messageable/message.rb",
"lib/acts-as-messageable/model.rb",
Expand All @@ -51,8 +54,7 @@ Gem::Specification.new do |s|
"spec/support/user.rb"
]
s.homepage = "http://github.com/LTe/acts-as-messageable"
s.require_paths = ["lib"]
s.rubygems_version = "2.1.11"
s.rubygems_version = "2.2.2"
s.summary = "Make user messageable!;-)"

if s.respond_to? :specification_version then
Expand All @@ -67,6 +69,7 @@ Gem::Specification.new do |s|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.0"])
s.add_development_dependency(%q<sqlite3>, [">= 0"])
s.add_development_dependency(%q<coveralls>, [">= 0"])
s.add_development_dependency(%q<appraisal>, [">= 0"])
else
s.add_dependency(%q<activerecord>, [">= 3.0.0"])
s.add_dependency(%q<activesupport>, [">= 3.0.0"])
Expand All @@ -76,6 +79,7 @@ Gem::Specification.new do |s|
s.add_dependency(%q<jeweler>, ["~> 1.8.0"])
s.add_dependency(%q<sqlite3>, [">= 0"])
s.add_dependency(%q<coveralls>, [">= 0"])
s.add_dependency(%q<appraisal>, [">= 0"])
end
else
s.add_dependency(%q<activerecord>, [">= 3.0.0"])
Expand All @@ -86,6 +90,7 @@ Gem::Specification.new do |s|
s.add_dependency(%q<jeweler>, ["~> 1.8.0"])
s.add_dependency(%q<sqlite3>, [">= 0"])
s.add_dependency(%q<coveralls>, [">= 0"])
s.add_dependency(%q<appraisal>, [">= 0"])
end
end

7 changes: 0 additions & 7 deletions gemfiles/Gemfile-3.0

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/Gemfile-3.1

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/Gemfile-3.2

This file was deleted.

6 changes: 0 additions & 6 deletions gemfiles/Gemfile-4.0

This file was deleted.

6 changes: 0 additions & 6 deletions gemfiles/Gemfile-4.1

This file was deleted.

16 changes: 16 additions & 0 deletions gemfiles/rails_3.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "activerecord", "~> 3.0.0"
gem "activesupport", "~> 3.0.0"
gem "ancestry", ">= 1.3.0"
gem "railties", "~> 3.0.0"

group :development do
gem "rspec", "~> 2.0"
gem "jeweler", "~> 1.8.0"
gem "sqlite3"
gem "coveralls", :require => false
gem "appraisal"
end
16 changes: 16 additions & 0 deletions gemfiles/rails_3.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "activerecord", "~> 3.1.0"
gem "activesupport", "~> 3.1.0"
gem "ancestry", ">= 1.3.0"
gem "railties", "~> 3.1.0"

group :development do
gem "rspec", "~> 2.0"
gem "jeweler", "~> 1.8.0"
gem "sqlite3"
gem "coveralls", :require => false
gem "appraisal"
end
16 changes: 16 additions & 0 deletions gemfiles/rails_3.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "activerecord", "~> 3.2.0"
gem "activesupport", "~> 3.2.0"
gem "ancestry", ">= 1.3.0"
gem "railties", "~> 3.2.0"

group :development do
gem "rspec", "~> 2.0"
gem "jeweler", "~> 1.8.0"
gem "sqlite3"
gem "coveralls", :require => false
gem "appraisal"
end
16 changes: 16 additions & 0 deletions gemfiles/rails_4.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "activerecord", "~> 4.0.0"
gem "activesupport", "~> 4.0.0"
gem "ancestry", ">= 1.3.0"
gem "railties", "~> 4.0.0"

group :development do
gem "rspec", "~> 2.0"
gem "jeweler", "~> 1.8.0"
gem "sqlite3"
gem "coveralls", :require => false
gem "appraisal"
end
16 changes: 16 additions & 0 deletions gemfiles/rails_4.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "activerecord", "~> 4.1.0"
gem "activesupport", "~> 4.1.0"
gem "ancestry", ">= 1.3.0"
gem "railties", "~> 4.1.0"

group :development do
gem "rspec", "~> 2.0"
gem "jeweler", "~> 1.8.0"
gem "sqlite3"
gem "coveralls", :require => false
gem "appraisal"
end

0 comments on commit 63b8b0e

Please sign in to comment.