haml-rails 0.5.1 → 0.5.2

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
2
  SHA1:
3
- metadata.gz: affec05aedfc4836104c3cd57622266f8e353384
4
- data.tar.gz: f1947207022b57cbd39eed2550f41ec39b960500
3
+ metadata.gz: 71cd1af1e0c5a021c74f79bdb39cbf52c8523376
4
+ data.tar.gz: 6508d5c921e57e63438291d69e17513bfbe904ee
5
5
  SHA512:
6
- metadata.gz: 8815f932866290239d39b4953f2e66a7623fa3389fab5b35ecc5fe75c3f22600f86c9a0da8079da54075a3f1ed7dd2988a5a6544b59ff8e3afd4deea62883a13
7
- data.tar.gz: 5bf5bffbef7d76a62b0a9a270d6befad62a22bb0e52248ea3afd409036749f0b5f36b7f1e931e2e51e3119edd51813247ba535e2b1351addafbb55ae50026f0d
6
+ metadata.gz: ef652ad3192fdb336260cb3d50b2afa4e8336b9910b52d0e2645a9aa8fc0493cee22cdce9fbeebc9451f342316834387547baf3d807509490c4e801cf83b885b
7
+ data.tar.gz: eb0904b07aafa5ab57d38e1084c9a4b41c17cff56d747854f1305e0d21f2cd8011fa36d74712e107e8fa5b9cb3c8364b6f049886be76b5010edb8bfedb18341c
data/Appraisals CHANGED
@@ -7,5 +7,5 @@ appraise "rails_3_2" do
7
7
  end
8
8
 
9
9
  appraise "rails_4_0" do
10
- gem "rails", "~> 4.0.0"
10
+ gem "rails", "~> 4.0.1"
11
11
  end
data/Rakefile CHANGED
@@ -1,7 +1,10 @@
1
1
  require 'bundler'
2
2
  Bundler::GemHelper.install_tasks
3
3
 
4
- require 'appraisal'
4
+ begin
5
+ require 'appraisal'
6
+ rescue LoadError
7
+ end
5
8
 
6
9
  require 'rake/testtask'
7
10
  Rake::TestTask.new(:test) do |test|
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.0.0"
5
+ gem "rails", "~> 4.0.1"
6
6
 
7
7
  gemspec :path=>"../"
data/haml-rails.gemspec CHANGED
@@ -16,11 +16,11 @@ Gem::Specification.new do |s|
16
16
  s.required_rubygems_version = ">= 1.3.6"
17
17
 
18
18
  s.add_dependency "haml", [">= 3.1", "< 5.0"]
19
- s.add_dependency "activesupport", ["~> 4.0.0"]
20
- s.add_dependency "actionpack", ["~> 4.0.0"]
21
- s.add_dependency "railties", ["~> 4.0.0"]
19
+ s.add_dependency "activesupport", ["~> 4.0.1"]
20
+ s.add_dependency "actionpack", ["~> 4.0.1"]
21
+ s.add_dependency "railties", ["~> 4.0.1"]
22
22
 
23
- s.add_development_dependency "rails", ["~> 4.0.0"]
23
+ s.add_development_dependency "rails", ["~> 4.0.1"]
24
24
  s.add_development_dependency "bundler", "~> 1.2"
25
25
  s.add_development_dependency "rake"
26
26
  s.add_development_dependency 'appraisal', '>= 0.3.8'
data/lib/haml-rails.rb CHANGED
@@ -34,26 +34,7 @@ module Haml
34
34
  # will only apply if Rails 4, which includes 'action_view/dependency_tracker'
35
35
  require 'action_view/dependency_tracker'
36
36
  ActionView::DependencyTracker.register_tracker :haml, ActionView::DependencyTracker::ERBTracker
37
-
38
- if ::Rails.env.development?
39
- # recalculate cache digest keys for each request
40
-
41
- # using blackhole cache until code is released to allow us to get this behavior
42
- # by simply setting `config.action_view.cache_template_loading` false in development.rb
43
- # https://github.com/rails/rails/pull/10791
44
- class BlackHole < Hash
45
- def []=(*); end
46
- def put_if_absent(*); end
47
- def fetch(*); yield; end
48
- def delete_pair(*); end
49
- end
50
-
51
- module ::ActionView
52
- class Digestor
53
- @@cache = BlackHole.new
54
- end
55
- end
56
- end
37
+ ActionView::Base.cache_template_loading = false if ::Rails.env.development?
57
38
  end
58
39
  rescue
59
40
  # likely this version of Rails doesn't support dependency tracking
@@ -1,5 +1,5 @@
1
1
  module Haml
2
2
  module Rails
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-28 00:00:00.000000000 Z
11
+ date: 2013-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml
@@ -36,56 +36,56 @@ dependencies:
36
36
  requirements:
37
37
  - - ~>
38
38
  - !ruby/object:Gem::Version
39
- version: 4.0.0
39
+ version: 4.0.1
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - ~>
45
45
  - !ruby/object:Gem::Version
46
- version: 4.0.0
46
+ version: 4.0.1
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: actionpack
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: 4.0.0
53
+ version: 4.0.1
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ~>
59
59
  - !ruby/object:Gem::Version
60
- version: 4.0.0
60
+ version: 4.0.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: railties
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ~>
66
66
  - !ruby/object:Gem::Version
67
- version: 4.0.0
67
+ version: 4.0.1
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ~>
73
73
  - !ruby/object:Gem::Version
74
- version: 4.0.0
74
+ version: 4.0.1
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rails
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - ~>
80
80
  - !ruby/object:Gem::Version
81
- version: 4.0.0
81
+ version: 4.0.1
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ~>
87
87
  - !ruby/object:Gem::Version
88
- version: 4.0.0
88
+ version: 4.0.1
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: bundler
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  version: 1.3.6
188
188
  requirements: []
189
189
  rubyforge_project: haml-rails
190
- rubygems_version: 2.0.3
190
+ rubygems_version: 2.1.9
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: let your Gemfile do the configuring