engine-assets 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/engine-assets.gemspec +2 -2
- data/lib/engine_assets/extensions/rails/assets.rb +8 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
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.3.
|
8
|
+
s.version = "0.3.2"
|
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{2009-11-
|
12
|
+
s.date = %q{2009-11-13}
|
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 = [
|
@@ -7,4 +7,12 @@ module ActionView::Helpers::AssetTagHelper
|
|
7
7
|
end
|
8
8
|
end
|
9
9
|
alias_method_chain :expand_javascript_sources, :engine_assets
|
10
|
+
|
11
|
+
def asset_file_path_with_engine_assets(path)
|
12
|
+
primary = asset_file_path_without_engine_assets(path)
|
13
|
+
return primary if File.exist?(primary)
|
14
|
+
|
15
|
+
EngineAssets::PublicLocator.locate(path)
|
16
|
+
end
|
17
|
+
alias_method_chain :asset_file_path, :engine_assets
|
10
18
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engine-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corey Innis
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-13 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|