asset_paths_from_manifest 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 534fb4aa8b559d6a35108dab782561beedf6d370
4
- data.tar.gz: 36efc7dbe66584065b4e3f422528e66bf318dccc
2
+ SHA256:
3
+ metadata.gz: 5095b5b9d1221ed8d0be645fb073f67dc58bb170fdc6019912d72949eec8f711
4
+ data.tar.gz: 2bcd885f7f8b7d658c1fc818defeacc6156cc35ef86e022a473ce5748551c61c
5
5
  SHA512:
6
- metadata.gz: 43f8aad44872aac842eb9b84a47ee526d011ea7da3b3909cd85b5e682a9c90da1c34fa25143585c13e0fc6094725426d273f48cb23c2937e84213b2a8511b5b6
7
- data.tar.gz: 88a85673f32eeaa46270b8ca25ec18654b6dc6c09e8351d8ab5fec73cec6f6772cee257d797d845033ae8573dcdf1b49d71718734ec9907230cc3ea737f5498a
6
+ metadata.gz: e8ef7e3e3e0f05d5e27e4ba62189ac6ff4298efe9adf22d96ffd4a20fb69a3df83badc62c339eff81a65824080dcd443f8bcf786519fffeca1a2a4efcd6b5f6c
7
+ data.tar.gz: cb9353e0b6c30509e340fb8d2eedb53c818da6331f8ae1827f6e12005cf459d35c50c382d87a4fba1f42b54abb65cced22d0c0a5bf0ee88b2f8e2834e5224a81
@@ -23,7 +23,11 @@ module AssetPathsFromManifest
23
23
 
24
24
  def lookup(name)
25
25
  load if Rails.env.development?
26
- @data[name]
26
+ if @data['files']
27
+ @data['files'][name]
28
+ else
29
+ @data[name]
30
+ end
27
31
  end
28
32
  end
29
33
  end
@@ -1,3 +1,3 @@
1
1
  module AssetPathsFromManifest
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset_paths_from_manifest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - izumin5210
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-30 00:00:00.000000000 Z
11
+ date: 2019-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -42,16 +42,22 @@ dependencies:
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.13'
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '3.0'
48
51
  type: :development
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - "~>"
55
+ - - ">="
53
56
  - !ruby/object:Gem::Version
54
57
  version: '1.13'
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: '3.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rake
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +92,14 @@ dependencies:
86
92
  requirements:
87
93
  - - "~>"
88
94
  - !ruby/object:Gem::Version
89
- version: '1.10'
95
+ version: '2.6'
90
96
  type: :development
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
100
  - - "~>"
95
101
  - !ruby/object:Gem::Version
96
- version: '1.10'
102
+ version: '2.6'
97
103
  description: Provides view helpers to compute full paths for assets from manifest
98
104
  json file
99
105
  email:
@@ -130,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
136
  - !ruby/object:Gem::Version
131
137
  version: '0'
132
138
  requirements: []
133
- rubyforge_project:
134
- rubygems_version: 2.6.8
139
+ rubygems_version: 3.0.3
135
140
  signing_key:
136
141
  specification_version: 4
137
142
  summary: Provides view helpers to compute full paths for assets from manifest json