rails2_asset_pipeline 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails2_asset_pipeline (0.1.12)
4
+ rails2_asset_pipeline (0.1.13)
5
5
  sprockets
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module Rails2AssetPipeline
2
- VERSION = '0.1.12'
2
+ VERSION = '0.1.13'
3
3
  end
@@ -36,7 +36,7 @@ module Rails2AssetPipeline
36
36
  manifest = "#{Rails.root}/public/assets/manifest.json"
37
37
  raise "No dynamic assets available and no manifest found, run rake assets:precompile" unless File.exist?(manifest)
38
38
  @sprockets_manifest ||= Sprockets::Manifest.new(Rails2AssetPipeline.env, manifest)
39
- @sprockets_manifest.files[asset] || "NOT_FOUND_IN_MANIFEST"
39
+ @sprockets_manifest.assets[asset] || "NOT_FOUND_IN_MANIFEST"
40
40
  else
41
41
  data = Rails2AssetPipeline.env[asset]
42
42
  data ? "#{asset}?#{data.mtime.to_i}" : "NOT_FOUND_IN_ASSETS"
@@ -34,8 +34,8 @@ describe Rails2AssetPipeline::ViewHelpers do
34
34
  before do
35
35
  write manifest, <<-JSON
36
36
  {
37
- "files": {"xxx.js": "xxx-manifest.js"},
38
- "assets": {
37
+ "assets": {"xxx.js": "xxx-manifest.js"},
38
+ "files": {
39
39
  "xxx-manifest.js": {
40
40
  "logical_path": "xxx.js",
41
41
  "mtime": "2011-12-13T21:47:08-06:00",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails2_asset_pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -67,7 +67,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  segments:
69
69
  - 0
70
- hash: -82409223101824033
70
+ hash: -2499949293309194968
71
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  segments:
78
78
  - 0
79
- hash: -82409223101824033
79
+ hash: -2499949293309194968
80
80
  requirements: []
81
81
  rubyforge_project:
82
82
  rubygems_version: 1.8.24