ember_script-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +49 -0
- data/.travis.yml +12 -0
- data/Appraisals +8 -0
- data/Gemfile +2 -18
- data/Gemfile.lock +24 -29
- data/README.md +18 -4
- data/Rakefile +7 -12
- data/ember_script-rails.gemspec +21 -51
- data/gemfiles/rails3.gemfile +7 -0
- data/gemfiles/rails3.gemfile.lock +127 -0
- data/gemfiles/rails4.gemfile +8 -0
- data/gemfiles/rails4.gemfile.lock +137 -0
- data/lib/ember_script/rails/engine.rb +18 -0
- data/lib/ember_script/rails/version.rb +5 -0
- data/lib/ember_script-rails.rb +2 -1
- data/spec/requests/assets_spec.rb +10 -0
- data/spec/spec_helper.rb +33 -0
- data/spec/support/dummy_app/.gitignore +15 -0
- data/spec/support/dummy_app/Gemfile +39 -0
- data/spec/support/dummy_app/Gemfile.lock +115 -0
- data/spec/support/dummy_app/Rakefile +7 -0
- data/spec/support/dummy_app/app/assets/images/rails.png +0 -0
- data/spec/support/dummy_app/app/assets/javascripts/application.js.em +1 -0
- data/spec/support/dummy_app/app/assets/stylesheets/application.css +13 -0
- data/spec/support/dummy_app/app/controllers/application_controller.rb +3 -0
- data/spec/support/dummy_app/app/controllers/home_controller.rb +4 -0
- data/spec/support/dummy_app/app/helpers/application_helper.rb +2 -0
- data/spec/support/dummy_app/app/views/home/index.html.erb +0 -0
- data/spec/support/dummy_app/app/views/layouts/application.html.erb +14 -0
- data/spec/support/dummy_app/config/application.rb +37 -0
- data/spec/support/dummy_app/config/boot.rb +6 -0
- data/spec/support/dummy_app/config/database.yml +25 -0
- data/spec/support/dummy_app/config/environment.rb +5 -0
- data/spec/support/dummy_app/config/environments/development.rb +27 -0
- data/spec/support/dummy_app/config/environments/test.rb +28 -0
- data/spec/support/dummy_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/support/dummy_app/config/initializers/inflections.rb +15 -0
- data/spec/support/dummy_app/config/initializers/mime_types.rb +5 -0
- data/spec/support/dummy_app/config/initializers/secret_token.rb +9 -0
- data/spec/support/dummy_app/config/initializers/session_store.rb +8 -0
- data/spec/support/dummy_app/config/initializers/wrap_parameters.rb +14 -0
- data/spec/support/dummy_app/config/locales/en.yml +5 -0
- data/spec/support/dummy_app/config/routes.rb +3 -0
- data/spec/support/dummy_app/config.ru +4 -0
- data/spec/support/dummy_app/lib/assets/.gitkeep +0 -0
- data/spec/support/dummy_app/lib/tasks/.gitkeep +0 -0
- data/spec/support/dummy_app/log/.gitkeep +0 -0
- data/spec/support/dummy_app/public/favicon.ico +0 -0
- data/spec/support/dummy_app/script/rails +6 -0
- metadata +135 -15
- data/lib/ember_script/rails/railtie.rb +0 -15
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember_script-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ember_script
|
@@ -45,6 +45,22 @@ dependencies:
|
|
45
45
|
version: '0'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: bundler
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.2.2
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.2.2
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: appraisal
|
48
64
|
requirement: !ruby/object:Gem::Requirement
|
49
65
|
none: false
|
50
66
|
requirements:
|
@@ -60,7 +76,7 @@ dependencies:
|
|
60
76
|
- !ruby/object:Gem::Version
|
61
77
|
version: '0'
|
62
78
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
79
|
+
name: rspec
|
64
80
|
requirement: !ruby/object:Gem::Requirement
|
65
81
|
none: false
|
66
82
|
requirements:
|
@@ -75,15 +91,49 @@ dependencies:
|
|
75
91
|
- - ! '>='
|
76
92
|
- !ruby/object:Gem::Version
|
77
93
|
version: '0'
|
78
|
-
|
79
|
-
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rspec-rails
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: pry
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
description: Asset pipeline support for EmberScript files. Uses a .em file extension.
|
127
|
+
email:
|
128
|
+
- ghempton@gmail.com
|
80
129
|
executables: []
|
81
130
|
extensions: []
|
82
|
-
extra_rdoc_files:
|
83
|
-
- LICENSE.txt
|
84
|
-
- README.md
|
131
|
+
extra_rdoc_files: []
|
85
132
|
files:
|
86
133
|
- .document
|
134
|
+
- .gitignore
|
135
|
+
- .travis.yml
|
136
|
+
- Appraisals
|
87
137
|
- Gemfile
|
88
138
|
- Gemfile.lock
|
89
139
|
- LICENSE.txt
|
@@ -91,11 +141,49 @@ files:
|
|
91
141
|
- Rakefile
|
92
142
|
- VERSION
|
93
143
|
- ember_script-rails.gemspec
|
144
|
+
- gemfiles/rails3.gemfile
|
145
|
+
- gemfiles/rails3.gemfile.lock
|
146
|
+
- gemfiles/rails4.gemfile
|
147
|
+
- gemfiles/rails4.gemfile.lock
|
94
148
|
- lib/ember_script-rails.rb
|
95
|
-
- lib/ember_script/rails/
|
149
|
+
- lib/ember_script/rails/engine.rb
|
150
|
+
- lib/ember_script/rails/version.rb
|
151
|
+
- spec/requests/assets_spec.rb
|
152
|
+
- spec/spec_helper.rb
|
153
|
+
- spec/support/dummy_app/.gitignore
|
154
|
+
- spec/support/dummy_app/Gemfile
|
155
|
+
- spec/support/dummy_app/Gemfile.lock
|
156
|
+
- spec/support/dummy_app/Rakefile
|
157
|
+
- spec/support/dummy_app/app/assets/images/rails.png
|
158
|
+
- spec/support/dummy_app/app/assets/javascripts/application.js.em
|
159
|
+
- spec/support/dummy_app/app/assets/stylesheets/application.css
|
160
|
+
- spec/support/dummy_app/app/controllers/application_controller.rb
|
161
|
+
- spec/support/dummy_app/app/controllers/home_controller.rb
|
162
|
+
- spec/support/dummy_app/app/helpers/application_helper.rb
|
163
|
+
- spec/support/dummy_app/app/views/home/index.html.erb
|
164
|
+
- spec/support/dummy_app/app/views/layouts/application.html.erb
|
165
|
+
- spec/support/dummy_app/config.ru
|
166
|
+
- spec/support/dummy_app/config/application.rb
|
167
|
+
- spec/support/dummy_app/config/boot.rb
|
168
|
+
- spec/support/dummy_app/config/database.yml
|
169
|
+
- spec/support/dummy_app/config/environment.rb
|
170
|
+
- spec/support/dummy_app/config/environments/development.rb
|
171
|
+
- spec/support/dummy_app/config/environments/test.rb
|
172
|
+
- spec/support/dummy_app/config/initializers/backtrace_silencers.rb
|
173
|
+
- spec/support/dummy_app/config/initializers/inflections.rb
|
174
|
+
- spec/support/dummy_app/config/initializers/mime_types.rb
|
175
|
+
- spec/support/dummy_app/config/initializers/secret_token.rb
|
176
|
+
- spec/support/dummy_app/config/initializers/session_store.rb
|
177
|
+
- spec/support/dummy_app/config/initializers/wrap_parameters.rb
|
178
|
+
- spec/support/dummy_app/config/locales/en.yml
|
179
|
+
- spec/support/dummy_app/config/routes.rb
|
180
|
+
- spec/support/dummy_app/lib/assets/.gitkeep
|
181
|
+
- spec/support/dummy_app/lib/tasks/.gitkeep
|
182
|
+
- spec/support/dummy_app/log/.gitkeep
|
183
|
+
- spec/support/dummy_app/public/favicon.ico
|
184
|
+
- spec/support/dummy_app/script/rails
|
96
185
|
homepage: http://github.com/ghempton/ember-script-rails
|
97
|
-
licenses:
|
98
|
-
- MIT
|
186
|
+
licenses: []
|
99
187
|
post_install_message:
|
100
188
|
rdoc_options: []
|
101
189
|
require_paths:
|
@@ -106,9 +194,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
106
194
|
- - ! '>='
|
107
195
|
- !ruby/object:Gem::Version
|
108
196
|
version: '0'
|
109
|
-
segments:
|
110
|
-
- 0
|
111
|
-
hash: 4261905592735742230
|
112
197
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
198
|
none: false
|
114
199
|
requirements:
|
@@ -121,4 +206,39 @@ rubygems_version: 1.8.23
|
|
121
206
|
signing_key:
|
122
207
|
specification_version: 3
|
123
208
|
summary: EmberScript Rails integration
|
124
|
-
test_files:
|
209
|
+
test_files:
|
210
|
+
- spec/requests/assets_spec.rb
|
211
|
+
- spec/spec_helper.rb
|
212
|
+
- spec/support/dummy_app/.gitignore
|
213
|
+
- spec/support/dummy_app/Gemfile
|
214
|
+
- spec/support/dummy_app/Gemfile.lock
|
215
|
+
- spec/support/dummy_app/Rakefile
|
216
|
+
- spec/support/dummy_app/app/assets/images/rails.png
|
217
|
+
- spec/support/dummy_app/app/assets/javascripts/application.js.em
|
218
|
+
- spec/support/dummy_app/app/assets/stylesheets/application.css
|
219
|
+
- spec/support/dummy_app/app/controllers/application_controller.rb
|
220
|
+
- spec/support/dummy_app/app/controllers/home_controller.rb
|
221
|
+
- spec/support/dummy_app/app/helpers/application_helper.rb
|
222
|
+
- spec/support/dummy_app/app/views/home/index.html.erb
|
223
|
+
- spec/support/dummy_app/app/views/layouts/application.html.erb
|
224
|
+
- spec/support/dummy_app/config.ru
|
225
|
+
- spec/support/dummy_app/config/application.rb
|
226
|
+
- spec/support/dummy_app/config/boot.rb
|
227
|
+
- spec/support/dummy_app/config/database.yml
|
228
|
+
- spec/support/dummy_app/config/environment.rb
|
229
|
+
- spec/support/dummy_app/config/environments/development.rb
|
230
|
+
- spec/support/dummy_app/config/environments/test.rb
|
231
|
+
- spec/support/dummy_app/config/initializers/backtrace_silencers.rb
|
232
|
+
- spec/support/dummy_app/config/initializers/inflections.rb
|
233
|
+
- spec/support/dummy_app/config/initializers/mime_types.rb
|
234
|
+
- spec/support/dummy_app/config/initializers/secret_token.rb
|
235
|
+
- spec/support/dummy_app/config/initializers/session_store.rb
|
236
|
+
- spec/support/dummy_app/config/initializers/wrap_parameters.rb
|
237
|
+
- spec/support/dummy_app/config/locales/en.yml
|
238
|
+
- spec/support/dummy_app/config/routes.rb
|
239
|
+
- spec/support/dummy_app/lib/assets/.gitkeep
|
240
|
+
- spec/support/dummy_app/lib/tasks/.gitkeep
|
241
|
+
- spec/support/dummy_app/log/.gitkeep
|
242
|
+
- spec/support/dummy_app/public/favicon.ico
|
243
|
+
- spec/support/dummy_app/script/rails
|
244
|
+
has_rdoc:
|
@@ -1,15 +0,0 @@
|
|
1
|
-
module EmberScript
|
2
|
-
module Rails
|
3
|
-
class Railtie < ::Rails::Railtie
|
4
|
-
config.before_initialize do |app|
|
5
|
-
require 'ember_script-rails'
|
6
|
-
|
7
|
-
if app.config.assets.enabled
|
8
|
-
require 'sprockets'
|
9
|
-
require 'sprockets/engines'
|
10
|
-
Sprockets.register_engine '.em', EmberScript::EmberScriptTemplate
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|