Skip to content

Commit

Permalink
remove support for Rails 4.2+ in branch 0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
pitr committed Feb 1, 2016
1 parent 14c5ce2 commit b63bfc2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
13 changes: 3 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
rvm:
- 1.9.3
- 2.0.0
- 2.2.2
- jruby-19mode
- ruby-head

matrix:
allow_failures:
- rvm: ruby-head
- gemfile: gemfiles/rails_head.gemfile

gemfile:
- gemfiles/rails_3.gemfile
- gemfiles/rails_4.gemfile
- gemfiles/rails_head.gemfile
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.1.gemfile
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source "https://rubygems.org"

gem "rails", "~> 4.1.0"
gem "slim"
gem "slim-rails"
gem "haml"
gem "kramdown"

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Adds your HTML templates into Angular's `$templateCache` using Rails asset pipeline.

**IMPORTANT**: for Rails 4.2+ use version 1.0+ of this gem. For Rails 3 - 4.1 use version 0.x

It removes the need for AJAX calls to retrieve the templates (or for you to manually set them into the DOM).

## Usage
Expand Down
2 changes: 1 addition & 1 deletion angular-rails-templates.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]

s.add_dependency "railties", ">= 3.1"
s.add_dependency "sprockets", "~> 2"
s.add_dependency "sprockets", "~> 2.0"
s.add_dependency "tilt"

s.add_development_dependency "minitest"
Expand Down
3 changes: 1 addition & 2 deletions gemfiles/rails_4.gemfile → gemfiles/rails_4.0.gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
source "https://rubygems.org"

gem "rails", "~> 4.0.1"
gem "rails", "~> 4.0.0"
gem "slim-rails"
gem "haml"
gem "kramdown"


gemspec :path => ".././"
8 changes: 8 additions & 0 deletions gemfiles/rails_4.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
source "https://rubygems.org"

gem "rails", "~> 4.1.0"
gem "slim-rails"
gem "haml"
gem "kramdown"

gemspec :path => ".././"

0 comments on commit b63bfc2

Please sign in to comment.