haml_assets 0.2.2 → 0.3.0

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,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NmViMmRiNmM5NTAwNTU5MzgwODVmNGYzN2QxZWM5ODAyZTk4ODM5MQ==
5
- data.tar.gz: !binary |-
6
- NmFiOGQxZjFlMzg5M2M0MGFlOGI1YjhiODExYzJkNzdlZDNmZDhkYw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- MThiY2M5NmRhZWFkYWUzOWI2ZmNlMDllNTk2ZDcxOTBjNDU1NjQyNWI4ZWNk
10
- OWVkNTJjZDZjNGE2YzU5OTY5OWZmNDM2NGI0OTkzMTkxYjY0ODkyMTdlOWFi
11
- ZmE0MDJjYmVmOGJlNDYyOGQ3MTlmYTk0OTYwMTA5OGMzYmIwMzg=
12
- data.tar.gz: !binary |-
13
- OTE4OWE4NjI2NTM1ODEwNzhmM2M3NDYyYzU2Y2RkMDQwYTIwMmE0MmY1OTRj
14
- YjkyMmRmZTg0ODkxMmQyZjQyMjgyMmZhOTYyMTE1NDA3YmYxYjYwODI0MDY2
15
- M2YzNWFmMmM4MWJhOTEwOWNiOTVhYTY3N2UzYWQ4ZjA4MzdkNjk=
2
+ SHA1:
3
+ metadata.gz: f24c07b68387ea6b0d9e93aa2eb32a5704fc1421
4
+ data.tar.gz: 747f5172b40956a75c41339bcc36e7e44913b4a7
5
+ SHA512:
6
+ metadata.gz: e32a19f68334ec3df725e9273009834d8a6fc628f0d6cd4e6024934fa1670a1667f36b2520bc9917d1a5277b46249c103974b5265b019bc4d80daeff911ea5e9
7
+ data.tar.gz: 3fbc0d56776be8e4764582d6e55965503d78fcb213a61881148fa0e5844de5e3dc625697284dc3ff2019039da62658a0dfb21fa490d030ab626dbd2f4829d7a3
@@ -3,106 +3,129 @@ PATH
3
3
  specs:
4
4
  haml_assets (0.2.2)
5
5
  haml
6
- tilt
6
+ tilt (~> 1.4.1)
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
- actionmailer (3.1.0)
12
- actionpack (= 3.1.0)
13
- mail (~> 2.3.0)
14
- actionpack (3.1.0)
15
- activemodel (= 3.1.0)
16
- activesupport (= 3.1.0)
17
- builder (~> 3.0.0)
11
+ actionmailer (4.2.7.1)
12
+ actionpack (= 4.2.7.1)
13
+ actionview (= 4.2.7.1)
14
+ activejob (= 4.2.7.1)
15
+ mail (~> 2.5, >= 2.5.4)
16
+ rails-dom-testing (~> 1.0, >= 1.0.5)
17
+ actionpack (4.2.7.1)
18
+ actionview (= 4.2.7.1)
19
+ activesupport (= 4.2.7.1)
20
+ rack (~> 1.6)
21
+ rack-test (~> 0.6.2)
22
+ rails-dom-testing (~> 1.0, >= 1.0.5)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
24
+ actionview (4.2.7.1)
25
+ activesupport (= 4.2.7.1)
26
+ builder (~> 3.1)
18
27
  erubis (~> 2.7.0)
19
- i18n (~> 0.6)
20
- rack (~> 1.3.2)
21
- rack-cache (~> 1.0.3)
22
- rack-mount (~> 0.8.2)
23
- rack-test (~> 0.6.1)
24
- sprockets (~> 2.0.0)
25
- activemodel (3.1.0)
26
- activesupport (= 3.1.0)
27
- bcrypt-ruby (~> 3.0.0)
28
- builder (~> 3.0.0)
29
- i18n (~> 0.6)
30
- activerecord (3.1.0)
31
- activemodel (= 3.1.0)
32
- activesupport (= 3.1.0)
33
- arel (~> 2.2.1)
34
- tzinfo (~> 0.3.29)
35
- activeresource (3.1.0)
36
- activemodel (= 3.1.0)
37
- activesupport (= 3.1.0)
38
- activesupport (3.1.0)
39
- multi_json (~> 1.0)
40
- arel (2.2.1)
41
- bcrypt-ruby (3.0.1)
42
- builder (3.0.0)
43
- diff-lcs (1.1.3)
28
+ rails-dom-testing (~> 1.0, >= 1.0.5)
29
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
+ activejob (4.2.7.1)
31
+ activesupport (= 4.2.7.1)
32
+ globalid (>= 0.3.0)
33
+ activemodel (4.2.7.1)
34
+ activesupport (= 4.2.7.1)
35
+ builder (~> 3.1)
36
+ activerecord (4.2.7.1)
37
+ activemodel (= 4.2.7.1)
38
+ activesupport (= 4.2.7.1)
39
+ arel (~> 6.0)
40
+ activesupport (4.2.7.1)
41
+ i18n (~> 0.7)
42
+ json (~> 1.7, >= 1.7.7)
43
+ minitest (~> 5.1)
44
+ thread_safe (~> 0.3, >= 0.3.4)
45
+ tzinfo (~> 1.1)
46
+ arel (6.0.3)
47
+ builder (3.2.2)
48
+ concurrent-ruby (1.0.2)
49
+ diff-lcs (1.2.5)
44
50
  ejs (1.0.0)
45
51
  erubis (2.7.0)
46
- haml (4.0.0)
52
+ globalid (0.3.7)
53
+ activesupport (>= 4.1.0)
54
+ haml (4.0.7)
47
55
  tilt
48
- hike (1.2.1)
49
- i18n (0.6.0)
50
- mail (2.3.0)
51
- i18n (>= 0.4.0)
52
- mime-types (~> 1.16)
53
- treetop (~> 1.4.8)
54
- mime-types (1.16)
55
- multi_json (1.0.3)
56
- polyglot (0.3.2)
57
- rack (1.3.3)
58
- rack-cache (1.0.3)
59
- rack (>= 0.4)
60
- rack-mount (0.8.3)
61
- rack (>= 1.0.0)
62
- rack-ssl (1.3.2)
63
- rack
64
- rack-test (0.6.1)
56
+ i18n (0.7.0)
57
+ json (1.8.3)
58
+ loofah (2.0.3)
59
+ nokogiri (>= 1.5.9)
60
+ mail (2.6.4)
61
+ mime-types (>= 1.16, < 4)
62
+ mime-types (3.1)
63
+ mime-types-data (~> 3.2015)
64
+ mime-types-data (3.2016.0521)
65
+ mini_portile2 (2.1.0)
66
+ minitest (5.9.0)
67
+ nokogiri (1.6.8)
68
+ mini_portile2 (~> 2.1.0)
69
+ pkg-config (~> 1.1.7)
70
+ pkg-config (1.1.7)
71
+ power_assert (0.2.6)
72
+ rack (1.6.4)
73
+ rack-test (0.6.3)
65
74
  rack (>= 1.0)
66
- rails (3.1.0)
67
- actionmailer (= 3.1.0)
68
- actionpack (= 3.1.0)
69
- activerecord (= 3.1.0)
70
- activeresource (= 3.1.0)
71
- activesupport (= 3.1.0)
72
- bundler (~> 1.0)
73
- railties (= 3.1.0)
74
- railties (3.1.0)
75
- actionpack (= 3.1.0)
76
- activesupport (= 3.1.0)
77
- rack-ssl (~> 1.3.2)
75
+ rails (4.2.7.1)
76
+ actionmailer (= 4.2.7.1)
77
+ actionpack (= 4.2.7.1)
78
+ actionview (= 4.2.7.1)
79
+ activejob (= 4.2.7.1)
80
+ activemodel (= 4.2.7.1)
81
+ activerecord (= 4.2.7.1)
82
+ activesupport (= 4.2.7.1)
83
+ bundler (>= 1.3.0, < 2.0)
84
+ railties (= 4.2.7.1)
85
+ sprockets-rails
86
+ rails-deprecated_sanitizer (1.0.3)
87
+ activesupport (>= 4.2.0.alpha)
88
+ rails-dom-testing (1.0.7)
89
+ activesupport (>= 4.2.0.beta, < 5.0)
90
+ nokogiri (~> 1.6.0)
91
+ rails-deprecated_sanitizer (>= 1.0.1)
92
+ rails-html-sanitizer (1.0.3)
93
+ loofah (~> 2.0)
94
+ railties (4.2.7.1)
95
+ actionpack (= 4.2.7.1)
96
+ activesupport (= 4.2.7.1)
78
97
  rake (>= 0.8.7)
79
- rdoc (~> 3.4)
80
- thor (~> 0.14.6)
81
- rake (0.9.2)
82
- rdoc (3.9.4)
83
- rspec (2.6.0)
84
- rspec-core (~> 2.6.0)
85
- rspec-expectations (~> 2.6.0)
86
- rspec-mocks (~> 2.6.0)
87
- rspec-core (2.6.4)
88
- rspec-expectations (2.6.0)
89
- diff-lcs (~> 1.1.2)
90
- rspec-mocks (2.6.0)
91
- rspec-rails (2.6.1)
92
- actionpack (~> 3.0)
93
- activesupport (~> 3.0)
94
- railties (~> 3.0)
95
- rspec (~> 2.6.0)
96
- sprockets (2.0.0)
97
- hike (~> 1.2)
98
- rack (~> 1.0)
99
- tilt (~> 1.1, != 1.3.0)
100
- thor (0.14.6)
101
- tilt (1.3.3)
102
- treetop (1.4.10)
103
- polyglot
104
- polyglot (>= 0.3.1)
105
- tzinfo (0.3.29)
98
+ thor (>= 0.18.1, < 2.0)
99
+ rake (11.2.2)
100
+ rspec (2.13.0)
101
+ rspec-core (~> 2.13.0)
102
+ rspec-expectations (~> 2.13.0)
103
+ rspec-mocks (~> 2.13.0)
104
+ rspec-core (2.13.1)
105
+ rspec-expectations (2.13.0)
106
+ diff-lcs (>= 1.1.3, < 2.0)
107
+ rspec-mocks (2.13.1)
108
+ rspec-rails (2.13.2)
109
+ actionpack (>= 3.0)
110
+ activesupport (>= 3.0)
111
+ railties (>= 3.0)
112
+ rspec-core (~> 2.13.0)
113
+ rspec-expectations (~> 2.13.0)
114
+ rspec-mocks (~> 2.13.0)
115
+ sprockets (3.7.0)
116
+ concurrent-ruby (~> 1.0)
117
+ rack (> 1, < 3)
118
+ sprockets-rails (3.2.0)
119
+ actionpack (>= 4.0)
120
+ activesupport (>= 4.0)
121
+ sprockets (>= 3.0.0)
122
+ test-unit (3.1.5)
123
+ power_assert
124
+ thor (0.19.1)
125
+ thread_safe (0.3.5)
126
+ tilt (1.4.1)
127
+ tzinfo (1.2.2)
128
+ thread_safe (~> 0.1)
106
129
 
107
130
  PLATFORMS
108
131
  ruby
@@ -110,6 +133,10 @@ PLATFORMS
110
133
  DEPENDENCIES
111
134
  ejs
112
135
  haml_assets!
113
- rails (~> 3.1.0)
114
- rspec
115
- rspec-rails
136
+ rails (~> 4.0)
137
+ rspec (~> 2.13.0)
138
+ rspec-rails (~> 2.13.0)
139
+ test-unit (~> 3.1.5)
140
+
141
+ BUNDLED WITH
142
+ 1.12.5
@@ -19,10 +19,11 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  s.add_runtime_dependency "haml"
22
- s.add_runtime_dependency "tilt"
22
+ s.add_runtime_dependency "tilt", "~> 1.4.1"
23
23
 
24
- s.add_development_dependency 'rails', '~> 3.1.0'
25
- s.add_development_dependency 'rspec'
26
- s.add_development_dependency 'rspec-rails'
24
+ s.add_development_dependency 'rails', '~> 4.0'
25
+ s.add_development_dependency 'rspec', '~> 2.13.0'
26
+ s.add_development_dependency 'rspec-rails', '~> 2.13.0'
27
27
  s.add_development_dependency 'ejs'
28
+ s.add_development_dependency 'test-unit', '~> 3.1.5'
28
29
  end
@@ -1,9 +1,18 @@
1
1
  module HamlAssets
2
2
  class Engine < ::Rails::Engine
3
- initializer "sprockets.haml", :after => "sprockets.environment", :group => :all do |app|
4
- next unless app.assets
3
+ initializer "haml_assets.assets.register", :group => :all do |app|
4
+ app.config.assets.configure do |sprockets_env|
5
+ if sprockets_env.respond_to?(:register_transformer)
6
+ sprockets_env.register_mime_type 'application/vnd.carezone.haml+text', extensions: ['.haml']
7
+ sprockets_env.register_transformer 'application/vnd.carezone.haml+text', 'application/javascript', HamlSprocketsEngine
8
+ end
5
9
 
6
- app.assets.register_engine('.haml', HamlSprocketsEngine)
10
+ if sprockets_env.respond_to?(:register_engine)
11
+ args = ['.haml', HamlSprocketsEngine]
12
+ args << { silence_deprecation: true } if Sprockets::VERSION.start_with?("3")
13
+ sprockets_env.register_engine(*args)
14
+ end
15
+ end
7
16
  end
8
17
  end
9
18
  end
@@ -2,10 +2,8 @@ require 'haml'
2
2
  require 'tilt'
3
3
 
4
4
  module HamlAssets
5
- class HamlSprocketsEngine < Tilt::Template
6
- def self.default_mime_type
7
- 'application/javascript'
8
- end
5
+ class HamlSprocketsEngine < Tilt::HamlTemplate
6
+ self.default_mime_type = 'application/javascript'
9
7
 
10
8
  class LookupContext < ActionView::LookupContext
11
9
  def initialize(haml_context, path)
@@ -45,7 +43,7 @@ module HamlAssets
45
43
  def set_output_buffer_with_haml(new)
46
44
  if is_haml?
47
45
  new = String.new(new) if Haml::Util.rails_xss_safe? &&
48
- new.is_a?(Haml::Util.rails_safe_buffer_class)
46
+ new.is_a?(ActiveSupport::SafeBuffer)
49
47
  haml_buffer.buffer = new
50
48
  else
51
49
  set_output_buffer_without_haml new
@@ -72,22 +70,12 @@ module HamlAssets
72
70
  end
73
71
 
74
72
  def evaluate(scope, locals, &block)
75
- begin
76
- "" + render_haml(view_context(scope), locals)
77
- rescue Exception => e
78
- Rails.logger.error "ERROR: compiling #{file} RAISED #{e}"
79
- Rails.logger.error "Backtrace: #{e.backtrace.join("\n")}"
80
- end
73
+ scope = view_context(scope)
74
+ super
81
75
  end
82
76
 
83
77
  protected
84
78
 
85
- def prepare; end
86
-
87
- def render_haml(context, locals)
88
- Haml::Engine.new(data, Haml::Template.options.merge(:escape_attrs => false)).render(context, locals)
89
- end
90
-
91
79
  def view_context(scope)
92
80
  @view_context ||= scope.tap do |s|
93
81
  s.singleton_class.instance_eval { include HamlAssets::HamlSprocketsEngine::ViewContext }
@@ -1,3 +1,3 @@
1
1
  module HamlAssets
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -1,7 +1,6 @@
1
1
  require File.expand_path('../boot', __FILE__)
2
2
 
3
3
  require "action_controller/railtie"
4
- require "active_resource/railtie"
5
4
  require "sprockets/railtie"
6
5
 
7
6
  if defined?(Bundler)
@@ -3,20 +3,41 @@ require 'spec_helper'
3
3
  describe HamlAssets do
4
4
 
5
5
  it "should have the proper format" do
6
- RailsApp::Application.assets['link_to.jst.ejs.haml'].to_s.should == "(function() {\n this.JST || (this.JST = {});\n this.JST[\"link_to\"] = function(obj){var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('');}return __p.join('');};\n}).call(this);\n"
6
+ RailsApp::Application.assets['link_to.jst.ejs.haml'].to_s.should == "(function() { this.JST || (this.JST = {}); this.JST[\"link_to\"] = function(obj){var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('');}return __p.join('');};\n}).call(this);\n"
7
7
  end
8
8
 
9
9
  context 'rendering' do
10
10
  let(:path) { 'app/assets/templates/quotes.haml' }
11
11
 
12
- it "quoted attributes" do
13
- template = HamlAssets::HamlSprocketsEngine.new(path) { %Q(%div{data:{bind:'attr: { "data-something": someValue }'}}) }
14
- template.send(:render_haml, Object.new, {}).strip.should eq(%Q(<div data-bind='attr: { "data-something": someValue }'></div>))
12
+ context "quoted attributes" do
13
+ after { Haml::Template.options[:attr_wrapper] = "'" }
14
+
15
+ it "handles data attributes" do
16
+ template = HamlAssets::HamlSprocketsEngine.new(path) { %Q(%div{data:{bind:'attr: { "data-something": someValue }'}}) }
17
+ template.send(:evaluate, Object.new, {}).strip.should eq(%Q(<div data-bind='attr: { "data-something": someValue }'></div>))
18
+ end
19
+
20
+ it "allows nested quotes with ()" do
21
+ template = HamlAssets::HamlSprocketsEngine.new(path) { %Q|%div(ng-model-options='{updateOn: "blur"}')| }
22
+ template.send(:evaluate, Object.new, {}).strip.should eq(%Q(<div ng-model-options='{updateOn: "blur"}'></div>))
23
+ end
24
+
25
+ it "allows nested quotes with {}" do
26
+ Haml::Template.options[:attr_wrapper] = '"'
27
+ template = HamlAssets::HamlSprocketsEngine.new(path) { %Q|%div{"ng-model-options" => "{updateOn: 'blur'}"}| }
28
+ template.send(:evaluate, Object.new, {}).strip.should eq(%Q(<div ng-model-options="{updateOn: 'blur'}"></div>))
29
+ end
30
+
31
+ it "allows nested quote with {} ('\"\"')" do
32
+ template = HamlAssets::HamlSprocketsEngine.new(path) { %Q|%div{"ng-model-options" => '{updateOn: "blur"}'}| }
33
+ template.send(:evaluate, Object.new, {}).strip.should eq(%Q(<div ng-model-options='{updateOn: "blur"}'></div>))
34
+ end
15
35
  end
16
36
 
37
+
17
38
  it "renders with a partial" do
18
39
  template = HamlAssets::HamlSprocketsEngine.new('app/assets/templates/with_partial.haml') { %Q(%div= render 'partial') }
19
- partial = stub(identifier: 'identifier', render: 'partial')
40
+ partial = stub(identifier: 'identifier', render: 'partial', formats: [])
20
41
 
21
42
  HamlAssets::HamlSprocketsEngine::LookupContext.any_instance.should_receive(:find_template).and_return(partial)
22
43
 
@@ -26,7 +47,7 @@ describe HamlAssets do
26
47
 
27
48
  context.stub(environment_paths: [])
28
49
 
29
- template.send(:render_haml, context, {}).strip.should eq(%Q(<div>partial</div>))
50
+ template.send(:evaluate, context, {}).strip.should eq(%Q(<div>partial</div>))
30
51
  end
31
52
  end
32
53
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Hill
@@ -9,92 +9,106 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-02 00:00:00.000000000 Z
12
+ date: 2016-12-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ! '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ! '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: tilt
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ! '>='
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: 1.4.1
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ! '>='
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: 1.4.1
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rails
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 3.1.0
48
+ version: '4.0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 3.1.0
55
+ version: '4.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rspec
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ! '>='
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: 2.13.0
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ! '>='
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: 2.13.0
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rspec-rails
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ! '>='
74
+ - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '0'
76
+ version: 2.13.0
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ! '>='
81
+ - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '0'
83
+ version: 2.13.0
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: ejs
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ! '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ! '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: test-unit
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: 3.1.5
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: 3.1.5
98
112
  description: Use Haml with Rails helpers in the asset pipeline
99
113
  email:
100
114
  - leshill@gmail.com
@@ -103,9 +117,9 @@ executables: []
103
117
  extensions: []
104
118
  extra_rdoc_files: []
105
119
  files:
106
- - .gitignore
107
- - .rspec
108
- - .rvmrc
120
+ - ".gitignore"
121
+ - ".rspec"
122
+ - ".rvmrc"
109
123
  - CHANGELOG.md
110
124
  - Gemfile
111
125
  - Gemfile.lock
@@ -144,17 +158,17 @@ require_paths:
144
158
  - lib
145
159
  required_ruby_version: !ruby/object:Gem::Requirement
146
160
  requirements:
147
- - - ! '>='
161
+ - - ">="
148
162
  - !ruby/object:Gem::Version
149
163
  version: '0'
150
164
  required_rubygems_version: !ruby/object:Gem::Requirement
151
165
  requirements:
152
- - - ! '>='
166
+ - - ">="
153
167
  - !ruby/object:Gem::Version
154
168
  version: '0'
155
169
  requirements: []
156
170
  rubyforge_project: haml_assets
157
- rubygems_version: 2.0.3
171
+ rubygems_version: 2.5.2
158
172
  signing_key:
159
173
  specification_version: 4
160
174
  summary: Use Haml with Rails helpers in the asset pipeline
@@ -176,4 +190,3 @@ test_files:
176
190
  - spec/rails_app/script/rails
177
191
  - spec/render_spec.rb
178
192
  - spec/spec_helper.rb
179
- has_rdoc: