Skip to content

Commit 92d0dfa

Browse files
author
Rafael Mendonça França
committed
Revert "Remove support to Rails 3"
This reverts commit ccdcf47.
1 parent dc613df commit 92d0dfa

File tree

6 files changed

+30
-4
lines changed

6 files changed

+30
-4
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ rvm:
55

66
gemfile:
77
- Gemfile
8+
- test/gemfiles/Gemfile.rails-3.0.x
9+
- test/gemfiles/Gemfile.rails-3.1.x
10+
- test/gemfiles/Gemfile.rails-3.2.x
811
- test/gemfiles/Gemfile.rails-4.0.x
912
- test/gemfiles/Gemfile.rails-4.1.x
1013

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
### 2.1.0
22

3-
* Drop support to Rails 3 applications.
4-
53
* Respect `Rails.public_path` when computing the path to the manifest file.
64

75
*Steven Wisener*

sprockets-rails.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
99
s.files = Dir["README.md", "lib/**/*.rb", "LICENSE"]
1010

1111
s.add_dependency "sprockets", "~> 2.8"
12-
s.add_dependency "actionpack", ">= 4.0"
13-
s.add_dependency "activesupport", ">= 4.0"
12+
s.add_dependency "actionpack", ">= 3.0"
13+
s.add_dependency "activesupport", ">= 3.0"
1414
s.add_development_dependency "rake"
1515

1616
s.author = "Joshua Peek"

test/gemfiles/Gemfile.rails-3.0.x

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source 'https://rubygems.org'
2+
gemspec :path => "./../.."
3+
4+
gem "actionpack", "~> 3.0.0"
5+
gem "railties", "~> 3.0.0"
6+
7+
gem 'minitest', '= 4.7.3'

test/gemfiles/Gemfile.rails-3.1.x

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
source 'https://rubygems.org'
2+
gemspec :path => "./../.."
3+
4+
# Patch 3-1-stable to allow new sprockets
5+
gem "actionpack", "~> 3.1.0", :github => "josh/rails", :branch => "3-1-stable-sprockets"
6+
gem "railties", "~> 3.1.0", :github => "josh/rails", :branch => "3-1-stable-sprockets"
7+
gem "tzinfo"
8+
9+
gem 'minitest', '= 4.7.3'

test/gemfiles/Gemfile.rails-3.2.x

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
source 'https://rubygems.org'
2+
gemspec :path => "./../.."
3+
4+
# Patch 3-2-stable to allow new sprockets
5+
gem "actionpack", "~> 3.2.0", :github => "josh/rails", :branch => "3-2-stable-sprockets"
6+
gem "railties", "~> 3.2.0", :github => "josh/rails", :branch => "3-2-stable-sprockets"
7+
gem "tzinfo"
8+
9+
gem 'minitest', '= 4.7.3'

0 commit comments

Comments
 (0)