ettu 3.1.0 → 3.1.1

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
2
  SHA1:
3
- metadata.gz: 2d25ab552acd13252c6c5b916e118e4fb84fe99f
4
- data.tar.gz: 2235cc55e58233893a321d28b308d51e94a41655
3
+ metadata.gz: 239a634c699a8dd6bc7e5bf8639121858852402d
4
+ data.tar.gz: 40d6f53bcab2f4963308720e9b591ba62ce3371b
5
5
  SHA512:
6
- metadata.gz: 65087d66aa1735063f863232f47e18fb97816b9ce894edcd1f04b732f548d470c3e4a7087a26b93d4eedead50927f5223c60c515be033675a8be9e0df592ed2e
7
- data.tar.gz: 01e1259d72f51e4a37c3ae90996a872c72ac7ef2875cddee04ba38cea974b2831aaba5728e61b27203d73880469d9eb3d2ed46fc3d5b73b25a3610311777738f
6
+ metadata.gz: 25d08b35bab26c22c31e31d6aa4bd5091a360f4b426933a8307aa80c16afcd0a4711c0c67de7344112676bdc76ee9d12446a05e86db1c79a1a4929c9eeb5ecf7
7
+ data.tar.gz: 9aefc9b359b8c8e7a6169134648647b07ee9c8cf723cd7d3aa4f3107ae93d554e405603b3e18dd1aed9063430185984c2fd7b7bff8b6aef0ebb2fbdb5ca7a39e
data/README.md CHANGED
@@ -95,11 +95,11 @@ implementation. Ettu makes sure to pass all the options you specify to
95
95
  Rails (like the `public` option). It's even coded as a drop-in gem that
96
96
  won't cause problems if it's not installed.
97
97
 
98
- RAILS_ENV=development Issues
99
- ----------------------------
98
+ RAILS_ENV=development Gotchas
99
+ -----------------------------
100
100
 
101
- In order for Ettu to detect changes to templates in the **development**
102
- environment, you must disable `cache_template_loading`.
101
+ In order for Rails to detect changes to templates when testing `perform_caching`
102
+ in the **development** environment, you must disable `cache_template_loading`.
103
103
 
104
104
  ```ruby
105
105
  # config/environments/development.rb
data/ettu.gemspec CHANGED
@@ -8,8 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Ettu::VERSION
9
9
  spec.author = 'Justin Ridgewell'
10
10
  spec.email = 'jridgewell@cloudspace.com'
11
- spec.description = %q{Account for js, css, and views when using ETags.}
12
- spec.summary = %q{Account for view code when using ETags.}
11
+ spec.summary = %q{Add Assets and Views into the Rails ETag Equation.}
13
12
  spec.homepage = 'http://github.com/cloudspace/ettu'
14
13
  spec.license = 'MIT'
15
14
 
@@ -43,7 +43,7 @@ class Ettu
43
43
  end
44
44
 
45
45
  def defaults
46
- ::Rails.application.config.assets.digests.keys
46
+ ::Rails.application.config.assets.digests.try(:keys) || []
47
47
  end
48
48
  end
49
49
 
data/lib/ettu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Ettu
2
- VERSION = '3.1.0'
2
+ VERSION = '3.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ettu
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ridgewell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-13 00:00:00.000000000 Z
11
+ date: 2013-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description: Account for js, css, and views when using ETags.
97
+ description:
98
98
  email: jridgewell@cloudspace.com
99
99
  executables: []
100
100
  extensions: []
@@ -141,7 +141,7 @@ rubyforge_project:
141
141
  rubygems_version: 2.0.0
142
142
  signing_key:
143
143
  specification_version: 4
144
- summary: Account for view code when using ETags.
144
+ summary: Add Assets and Views into the Rails ETag Equation.
145
145
  test_files:
146
146
  - spec/ettu_spec.rb
147
147
  - spec/fixtures.rb