assets_on_heroku 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{assets_on_heroku}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jacek Becela", "Tomasz Mazur"]
@@ -32,13 +32,13 @@ module AssetsOnHeroku
32
32
  end
33
33
 
34
34
  def setup_rails
35
- ActionView::Helpers::AssetTagHelper.module_eval do
35
+ ActionView::Helpers::AssetTagHelper.module_eval %{
36
36
  def write_asset_file_contents_with_heroku(broken_joined_asset_path, asset_paths)
37
- fixed_joined_asset_path = broken_joined_asset_path.sub("public", @root)
37
+ fixed_joined_asset_path = broken_joined_asset_path.sub("public", "#{@root}")
38
38
  write_asset_file_contents_without_heroku(fixed_joined_asset_path, asset_paths)
39
39
  end
40
40
  alias_method_chain :write_asset_file_contents, :heroku
41
- end if defined?(ActionView::Helpers::AssetTagHelper)
41
+ } if defined?(ActionView::Helpers::AssetTagHelper)
42
42
  end
43
43
 
44
44
  def setup_merb
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jacek Becela