8000 remove support for Rails 4.2+ in branch 0.x · pitr/angular-rails-templates@b63bfc2 · GitHub
[go: up one dir, main page]

Skip to content

Commit b63bfc2

Browse files
committed
remove support for Rails 4.2+ in branch 0.x
1 parent 14c5ce2 commit b63bfc2

File tree

6 files changed

+16
-14
lines changed

6 files changed

+16
-14
lines changed

.travis.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
rvm:
2-
- 1.9.3
3-
- 2.0.0
2+
- 2.2.2
43
- jruby-19mode
5-
- ruby-head
6-
7-
matrix:
8-
allow_failures:
9-
- rvm: ruby-head
10-
- gemfile: gemfiles/rails_head.gemfile
114

125
gemfile:
136
- gemfiles/rails_3.gemfile
14-
- gemfiles/rails_4.gemfile
15-
- gemfiles/rails_head.gemfile
7+
- gemfiles/rails_4.0.gemfile
8+
- gemfiles/rails_4.1.gemfile

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source "https://rubygems.org"
22

33
gem "rails", "~> 4.1.0"
4-
gem "slim"
4+
gem "slim-rails"
55
gem "haml"
66
gem "kramdown"
77

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

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

5+
**IMPORTANT**: for Rails 4.2+ use version 1.0+ of this gem. For Rails 3 - 4.1 use version 0.x
6+
57
It removes the need for AJAX calls to retrieve the templates (or for you to manually set them into the DOM).
68

79
## Usage

angular-rails-templates.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
1717
s.require_paths = ["lib"]
1818

1919
s.add_dependency "railties", ">= 3.1"
20-
s.add_dependency "sprockets", "~> 2"
20+
s.add_dependency "sprockets", "~> 2.0"
2121
s.add_dependency "tilt"
2222

2323
s.add_development_dependency "minitest"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
source "https://rubygems.org"
22

3-
gem "rails", "~> 4.0.1"
3+
gem "rails", "~> 4.0.0"
44
gem "slim-rails"
55
gem "haml"
66
gem "kramdown"
77

8-
98
gemspec :path => ".././"

gemfiles/rails_4.1.gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source "https://rubygems.org"
2+
3+
gem "rails", "~> 4.1.0"
4+
gem "slim-rails"
5+
gem "haml"
6+
gem "kramdown"
7+
8+
gemspec :path => ".././"

0 commit comments

Comments
 (0)
0