coffee-rails 3.1.0.rc.6 → 3.1.0.rc.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +22 -0
- data/lib/coffee/rails/template_handler.rb +3 -1
- data/lib/coffee/rails/version.rb +1 -1
- metadata +73 -80
data/README.markdown
CHANGED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Coffee-Rails
|
2
|
+
|
3
|
+
Coffee Script adapter for the Rails asset pipeline. Also adds support to use CoffeeScript to respond to JavaScript requests (use .js.coffee views).
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Since Rails 3.1 Coffee-Rails is included in the default Gemfile when you create a new application. If you are upgrading to Rails 3.1 you must add the coffee-rails to your Gemfile:
|
8
|
+
|
9
|
+
gem 'coffee-rails'
|
10
|
+
|
11
|
+
If you are precompiling your assets (with rake assets:precompile) before run your application in production, you might want add it to the assets group to prevent the gem being required in the production environment.
|
12
|
+
|
13
|
+
group :assets do
|
14
|
+
gem 'coffee-rails'
|
15
|
+
end
|
16
|
+
|
17
|
+
## Running tests
|
18
|
+
|
19
|
+
$ bundle install
|
20
|
+
$ bundle exec rake test
|
21
|
+
|
22
|
+
If you need to test against local gems, use Bundler's gem :path option in the Gemfile.
|
data/lib/coffee/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,102 +1,95 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: coffee-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.1.0.rc.7
|
4
5
|
prerelease: 6
|
5
|
-
version: 3.1.0.rc.6
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
7
|
+
authors:
|
8
|
+
- Santiago Pastorino
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2011-08-16 00:00:00 -03:00
|
12
|
+
date: 2011-08-28 00:00:00.000000000 -03:00
|
14
13
|
default_executable:
|
15
|
-
dependencies:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: coffee-script
|
17
|
+
requirement: &2164478800 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.2.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *2164478800
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: railties
|
28
|
+
requirement: &2164478180 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.1.0.rc1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *2164478180
|
38
37
|
description: Coffee Script adapter for the Rails asset pipeline.
|
39
|
-
email:
|
40
|
-
|
38
|
+
email:
|
39
|
+
- santiago@wyeworks.com
|
41
40
|
executables: []
|
42
|
-
|
43
41
|
extensions: []
|
44
|
-
|
45
42
|
extra_rdoc_files: []
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
- test/test_helper.rb
|
43
|
+
files:
|
44
|
+
- .gitignore
|
45
|
+
- Gemfile
|
46
|
+
- Gemfile.lock
|
47
|
+
- README.markdown
|
48
|
+
- Rakefile
|
49
|
+
- coffee-rails.gemspec
|
50
|
+
- lib/coffee-rails.rb
|
51
|
+
- lib/coffee/rails/railtie.rb
|
52
|
+
- lib/coffee/rails/template_handler.rb
|
53
|
+
- lib/coffee/rails/version.rb
|
54
|
+
- lib/rails/generators/coffee/assets/assets_generator.rb
|
55
|
+
- lib/rails/generators/coffee/assets/templates/javascript.js.coffee
|
56
|
+
- test/assets_generator_test.rb
|
57
|
+
- test/controller_generator_test.rb
|
58
|
+
- test/scaffold_generator_test.rb
|
59
|
+
- test/support/routes.rb
|
60
|
+
- test/support/site/index.js.coffee
|
61
|
+
- test/template_handler_test.rb
|
62
|
+
- test/test_helper.rb
|
67
63
|
has_rdoc: true
|
68
|
-
homepage:
|
64
|
+
homepage: ''
|
69
65
|
licenses: []
|
70
|
-
|
71
66
|
post_install_message:
|
72
67
|
rdoc_options: []
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
require_paths:
|
69
|
+
- lib
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
77
71
|
none: false
|
78
|
-
requirements:
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
77
|
none: false
|
84
|
-
requirements:
|
85
|
-
|
86
|
-
|
87
|
-
|
78
|
+
requirements:
|
79
|
+
- - ! '>'
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 1.3.1
|
88
82
|
requirements: []
|
89
|
-
|
90
83
|
rubyforge_project: coffee-rails
|
91
|
-
rubygems_version: 1.5.
|
84
|
+
rubygems_version: 1.5.2
|
92
85
|
signing_key:
|
93
86
|
specification_version: 3
|
94
87
|
summary: Coffee Script adapter for the Rails asset pipeline.
|
95
|
-
test_files:
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
88
|
+
test_files:
|
89
|
+
- test/assets_generator_test.rb
|
90
|
+
- test/controller_generator_test.rb
|
91
|
+
- test/scaffold_generator_test.rb
|
92
|
+
- test/support/routes.rb
|
93
|
+
- test/support/site/index.js.coffee
|
94
|
+
- test/template_handler_test.rb
|
95
|
+
- test/test_helper.rb
|