digestion 1.1 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/digestion/railtie.rb +3 -2
  2. metadata +48 -26
@@ -6,8 +6,9 @@ module Digestion
6
6
  load "digestion/assets.rake"
7
7
  end
8
8
 
9
- initializer :setup_configuration, :before => :load_environment_config do |app|
10
- app.config.assets.digest_exclusions = []
9
+ config.before_configuration do |app|
10
+ # Initialize digest exclusions to an empty array
11
+ app.config.assets.digest_exclusions ||= []
11
12
  end
12
13
  end
13
14
  end
metadata CHANGED
@@ -1,34 +1,46 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: digestion
3
- version: !ruby/object:Gem::Version
4
- version: '1.1'
3
+ version: !ruby/object:Gem::Version
4
+ hash: 11
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 2
9
+ version: "1.2"
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Sam Pohlenz
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2011-09-05 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2011-09-14 00:00:00 Z
18
+ dependencies:
19
+ - !ruby/object:Gem::Dependency
15
20
  name: actionpack
16
- requirement: &2152759540 !ruby/object:Gem::Requirement
21
+ prerelease: false
22
+ requirement: &id001 !ruby/object:Gem::Requirement
17
23
  none: false
18
- requirements:
24
+ requirements:
19
25
  - - ~>
20
- - !ruby/object:Gem::Version
26
+ - !ruby/object:Gem::Version
27
+ hash: 3
28
+ segments:
29
+ - 3
30
+ - 1
31
+ - 0
21
32
  version: 3.1.0
22
33
  type: :runtime
23
- prerelease: false
24
- version_requirements: *2152759540
25
- description: Adds asset digest configuration options to Rails so that specific paths
26
- can be excluded from fingerprinting.
34
+ version_requirements: *id001
35
+ description: Adds asset digest configuration options to Rails so that specific paths can be excluded from fingerprinting.
27
36
  email: sam@sampohlenz.com
28
37
  executables: []
38
+
29
39
  extensions: []
40
+
30
41
  extra_rdoc_files: []
31
- files:
42
+
43
+ files:
32
44
  - README.md
33
45
  - LICENSE
34
46
  - lib/digestion/assets.rake
@@ -37,26 +49,36 @@ files:
37
49
  - lib/digestion.rb
38
50
  homepage:
39
51
  licenses: []
52
+
40
53
  post_install_message:
41
54
  rdoc_options: []
42
- require_paths:
55
+
56
+ require_paths:
43
57
  - lib
44
- required_ruby_version: !ruby/object:Gem::Requirement
58
+ required_ruby_version: !ruby/object:Gem::Requirement
45
59
  none: false
46
- requirements:
47
- - - ! '>='
48
- - !ruby/object:Gem::Version
49
- version: '0'
50
- required_rubygems_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ hash: 3
64
+ segments:
65
+ - 0
66
+ version: "0"
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
68
  none: false
52
- requirements:
53
- - - ! '>='
54
- - !ruby/object:Gem::Version
55
- version: '0'
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ hash: 3
73
+ segments:
74
+ - 0
75
+ version: "0"
56
76
  requirements: []
77
+
57
78
  rubyforge_project:
58
79
  rubygems_version: 1.8.10
59
80
  signing_key:
60
81
  specification_version: 3
61
82
  summary: Fine-grained digest controls for the Rails 3.1 asset pipeline.
62
83
  test_files: []
84
+