engine-assets 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/RAILS_VERSIONS +1 -0
- data/README.md +17 -6
- data/VERSION +1 -1
- data/app/controllers/engine_assets/assets_controller.rb +2 -0
- data/app/controllers/engine_assets/javascripts_controller.rb +1 -0
- data/app/controllers/engine_assets/stylesheets_controller.rb +1 -0
- data/engine-assets.gemspec +3 -2
- data/rails/init.rb +1 -0
- metadata +5 -4
data/RAILS_VERSIONS
CHANGED
data/README.md
CHANGED
@@ -14,28 +14,36 @@ assets:
|
|
14
14
|
Requirements
|
15
15
|
------------------------------------------------------------------------------
|
16
16
|
|
17
|
-
* Rails
|
18
|
-
|
19
|
-
* 2.3.5
|
20
|
-
* 2.3.9
|
21
|
-
* 3.0.0 (requires Ruby 1.8.7)
|
17
|
+
* Rails (see RAILS_VERSIONS file for supported versions)
|
18
|
+
|
22
19
|
|
23
20
|
Installation
|
24
21
|
------------------------------------------------------------------------------
|
25
22
|
|
23
|
+
* TODO: basic gem installation.
|
24
|
+
* TODO: bundler style.
|
26
25
|
|
27
26
|
Usage
|
28
27
|
------------------------------------------------------------------------------
|
29
28
|
|
30
|
-
*
|
29
|
+
* TODO: write/find a related engine.
|
30
|
+
* TODO: require/load engine-assets and related engine in your Rails app.
|
31
|
+
* TODO: (optional) add Rails initializer (and use patched asset tag).
|
32
|
+
|
31
33
|
|
32
34
|
Customization
|
33
35
|
------------------------------------------------------------------------------
|
34
36
|
|
37
|
+
* TODO: Rails initializer to selectively reference files.
|
38
|
+
|
35
39
|
|
36
40
|
TODO
|
37
41
|
------------------------------------------------------------------------------
|
38
42
|
|
43
|
+
* Add spec/feature coverage for 'reloadable' controllers.
|
44
|
+
* Add spec/feature coverage for gem-installed engine, rather than plugins.
|
45
|
+
* Add spec/feature coverage for rails/init.rb making a difference.
|
46
|
+
|
39
47
|
|
40
48
|
Contributors
|
41
49
|
------------------------------------------------------------------------------
|
@@ -52,4 +60,7 @@ Acknowledgments
|
|
52
60
|
* Michael Bleigh <http://mbleigh.com>
|
53
61
|
For insight regarding techniques for running RSpec specs against multiple
|
54
62
|
versions of Rails (in acts-as-taggable-on).
|
63
|
+
* Jon Swope <http://jonswope.com>
|
64
|
+
For [his post](http://jonswope.com/2010/07/25/rails-3-engines-plugins-and-static-assets/ "Rails 3 Engines/Plugins and Static Assets")
|
65
|
+
on serving static assets from Rails 3 Engines.
|
55
66
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.1
|
data/engine-assets.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{engine-assets}
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Corey Innis"]
|
12
|
-
s.date = %q{2010-09-
|
12
|
+
s.date = %q{2010-09-18}
|
13
13
|
s.description = %q{A Rails Engine, which enables Rails Engines to provide assets (javascript, css and images)}
|
14
14
|
s.email = %q{support@coolerator.net}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -41,6 +41,7 @@ Gem::Specification.new do |s|
|
|
41
41
|
"lib/engine_assets/engine.rb",
|
42
42
|
"lib/engine_assets/extensions/rails/assets.rb",
|
43
43
|
"lib/engine_assets/public_locator.rb",
|
44
|
+
"rails/init.rb",
|
44
45
|
"spec/app/controllers/engine_assets/javascripts_controller_spec.rb",
|
45
46
|
"spec/app/controllers/engine_assets/stylesheets_controller_spec.rb",
|
46
47
|
"spec/lib/engine-assets_spec.rb",
|
data/rails/init.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# placeholder for Rails <= 2.3.4 (???)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engine-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 1
|
10
|
+
version: 0.5.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Corey Innis
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-18 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -148,6 +148,7 @@ files:
|
|
148
148
|
- lib/engine_assets/engine.rb
|
149
149
|
- lib/engine_assets/extensions/rails/assets.rb
|
150
150
|
- lib/engine_assets/public_locator.rb
|
151
|
+
- rails/init.rb
|
151
152
|
- spec/app/controllers/engine_assets/javascripts_controller_spec.rb
|
152
153
|
- spec/app/controllers/engine_assets/stylesheets_controller_spec.rb
|
153
154
|
- spec/lib/engine-assets_spec.rb
|