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 +4 -4
- data/Appraisals +1 -1
- data/Rakefile +4 -1
- data/gemfiles/rails_4_0.gemfile +1 -1
- data/haml-rails.gemspec +4 -4
- data/lib/haml-rails.rb +1 -20
- data/lib/haml-rails/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71cd1af1e0c5a021c74f79bdb39cbf52c8523376
|
4
|
+
data.tar.gz: 6508d5c921e57e63438291d69e17513bfbe904ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef652ad3192fdb336260cb3d50b2afa4e8336b9910b52d0e2645a9aa8fc0493cee22cdce9fbeebc9451f342316834387547baf3d807509490c4e801cf83b885b
|
7
|
+
data.tar.gz: eb0904b07aafa5ab57d38e1084c9a4b41c17cff56d747854f1305e0d21f2cd8011fa36d74712e107e8fa5b9cb3c8364b6f049886be76b5010edb8bfedb18341c
|
data/Appraisals
CHANGED
data/Rakefile
CHANGED
data/gemfiles/rails_4_0.gemfile
CHANGED
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.
|
20
|
-
s.add_dependency "actionpack", ["~> 4.0.
|
21
|
-
s.add_dependency "railties", ["~> 4.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.
|
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
|
data/lib/haml-rails/version.rb
CHANGED
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.
|
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
|
+
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
190
|
+
rubygems_version: 2.1.9
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: let your Gemfile do the configuring
|