knockout-assets 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5c353d96962bcb8644bb2b8cda2ec4a649b46b4a
4
+ data.tar.gz: 57e435eb596cc1ba068d99078779e8eb89eb9e89
5
+ SHA512:
6
+ metadata.gz: badb8a216c7888c4aaf678c2d87378847ec40d4b6faae2a076def0cb061977949373b32d10aa956cdfdc60c34002097f90b504085b16771129ae797e3d8cd61a
7
+ data.tar.gz: cc423b5c1c9c7ccb85b4188f491610c08d01593d12a71ea4b59bbfe0e189391f822948cf322d60bfb4b0689d221a46c9a9cbb3ec38ef0ec8ec65875208ad7625
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## Version 0.0.3
2
+
3
+ Adding alt attribute for better W3C validation
4
+
5
+ ## Version 0.0.2
6
+
7
+ Adding knockout-assets.rb at the lib root to simplify requires.
8
+
1
9
  ## Version 0.0.1
2
10
 
3
- First commit.
11
+ First commit.
data/README.md CHANGED
@@ -39,3 +39,7 @@ Exclude some images using a regex
39
39
  Disable preloading images
40
40
 
41
41
  <%= knockout_assets(preload: false) %>
42
+
43
+ ## License
44
+
45
+ MIT License.
@@ -17,7 +17,7 @@
17
17
  <% # Write out all the images hidden. This preloads them so templates show instantly %>
18
18
  <% if preload
19
19
  asset_files.each { |k, v| %>
20
- <img src="<%= v %>" style="display: none;"/>
20
+ <img src="<%= v %>" alt="<%= k %>" style="display: none;"/>
21
21
  <% }
22
22
  end
23
23
  %>
@@ -1,3 +1,3 @@
1
1
  module KnockoutAssets
2
- VERSION = '0.0.2'
3
- end
2
+ VERSION = '0.0.3'
3
+ end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knockout-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Harry Lascelles
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-18 00:00:00.000000000 Z
11
+ date: 2014-11-21 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- type: :runtime
16
14
  name: rails
17
- prerelease: false
18
15
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
16
  requirements:
21
- - - ! '>='
17
+ - - ">="
22
18
  - !ruby/object:Gem::Version
23
19
  version: '0'
20
+ type: :runtime
21
+ prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  description: Prepares the SHA values of CDN assets in a JS hash. Knockout templates
@@ -35,37 +32,37 @@ executables: []
35
32
  extensions: []
36
33
  extra_rdoc_files: []
37
34
  files:
38
- - app/views/_knockout_assets.erb
35
+ - CHANGELOG.md
36
+ - README.md
39
37
  - app/helpers/knockout_assets.rb
38
+ - app/views/_knockout_assets.erb
39
+ - lib/knockout-assets.rb
40
+ - lib/knockout/assets.rb
40
41
  - lib/knockout/assets/engine.rb
41
42
  - lib/knockout/assets/version.rb
42
- - lib/knockout/assets.rb
43
- - lib/knockout-assets.rb
44
- - README.md
45
- - CHANGELOG.md
46
43
  homepage: https://github.com/hlascelles/knockout-assets
47
- licenses: []
44
+ licenses:
45
+ - MIT
46
+ metadata: {}
48
47
  post_install_message:
49
48
  rdoc_options: []
50
49
  require_paths:
51
50
  - lib
52
51
  required_ruby_version: !ruby/object:Gem::Requirement
53
- none: false
54
52
  requirements:
55
- - - ! '>='
53
+ - - ">="
56
54
  - !ruby/object:Gem::Version
57
55
  version: '0'
58
56
  required_rubygems_version: !ruby/object:Gem::Requirement
59
- none: false
60
57
  requirements:
61
- - - ! '>='
58
+ - - ">="
62
59
  - !ruby/object:Gem::Version
63
60
  version: '0'
64
61
  requirements: []
65
62
  rubyforge_project:
66
- rubygems_version: 1.8.25
63
+ rubygems_version: 2.2.2
67
64
  signing_key:
68
- specification_version: 3
65
+ specification_version: 4
69
66
  summary: Prepares the SHA values of CDN assets for inclusion in templates.
70
67
  test_files: []
71
68
  has_rdoc: