knockout-assets 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ba1bc4fa60bd970e93f6dfcfc0dfb9f53675452b
4
- data.tar.gz: 967c46875db3cbdab77f87add574b4ec17d8208a
2
+ SHA256:
3
+ metadata.gz: db3f9b9de4d6afb057f2f198fa3cee4ed1631846ca5d5e97688ac74c2aa84fdc
4
+ data.tar.gz: b362107fcf643d6f987b7c40424564e16ddd5b2a0b7868269b748a99849f1be4
5
5
  SHA512:
6
- metadata.gz: 023b20a422f13db66b402fd28aa1f9e14a8e862ef9073a620db4228e6bef6f9d95cb964161aeac01f322acac719d0858ddd09dd0f6af6f63a473c0647737a8a9
7
- data.tar.gz: 847df5549d1e0bebe272a09e1f40593fe5ff8d917a53ee463f473d9333c652d48305f9096500a64910c27d9c8029eae2277cb293103e9a9f307f6f837f65b8bb
6
+ metadata.gz: b833c9ad88a623f2ffb1e68b20999e2eba6189bb0eb635d9c68d30a0b89b00de105c549e0b598f6109df498204e91e2aeaf19481cb4cda1f61d75c3916f1dc22
7
+ data.tar.gz: c269ef4e0191c4c403b33c431857e17d4a744882af8a100b60ed59affe2267db27030938198d57aee0c68c2b8123ddaff8c22731851fb03afa9e105d765a41c0
@@ -1,3 +1,7 @@
1
+ ## Version 0.0.5
2
+
3
+ Updating to support Rails 5
4
+
1
5
  ## Version 0.0.4
2
6
 
3
7
  Allow specifying `include` file regex.
data/README.md CHANGED
@@ -26,7 +26,7 @@ this method, unless the templates are generated in the first place using erb or
26
26
 
27
27
  Using [Knockout Assets](https://github.com/hlascelles/knockout-assets) has three advantages over using a standard _image_tag_ in knockout templates.
28
28
 
29
- * The knockout templates files need not be processed on the server side at all. This means that testing them (for example with [Jasmine](http://pivotal.github.io/jasmine)) becomes possible.
29
+ * The knockout templates files need not be processed on the server side at all. This means that testing them (for example with [Jasmine](https://jasmine.github.io/)) becomes possible.
30
30
  * The templates may be served up from a CDN using [Knockout.js-External-Template-Engine](https://github.com/ifandelse/Knockout.js-External-Template-Engine).
31
31
  * The images are preloaded by default so templates render with the correct layout instantly (but this can be optionally disabled).
32
32
 
@@ -7,5 +7,5 @@ module KnockoutAssets
7
7
  end
8
8
 
9
9
  ActiveSupport.on_load :action_controller do
10
- helper KnockoutAssets
11
- end
10
+ ::ActionController::Base.helper(KnockoutAssets)
11
+ end
@@ -1,3 +1,3 @@
1
1
  module KnockoutAssets
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knockout-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harry Lascelles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-21 00:00:00.000000000 Z
11
+ date: 2019-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ">"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - ">"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '5.0'
27
27
  description: Prepares the SHA values of CDN assets in a JS hash. Knockout templates
28
28
  can then refer to them without being rendered by erb or haml every time.
29
29
  email:
@@ -60,9 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  requirements: []
62
62
  rubyforge_project:
63
- rubygems_version: 2.4.5.1
63
+ rubygems_version: 2.7.6
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: Prepares the SHA values of CDN assets for inclusion in templates.
67
67
  test_files: []
68
- has_rdoc: