ruby-haml-js 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cee0bf02edc604134e7004466cd52df888ef41d0
4
+ data.tar.gz: 9f1a18ec439079725d15c2384d47a7dba459e121
5
+ SHA512:
6
+ metadata.gz: 02c9cf7c266a15de34e90401242951a88bdb3a2a975b5b15709438776a59fe9ec63e2b7b6d1dfee07339a30f5e45193e1f463136a281a508c29fc62a69bfbfd1
7
+ data.tar.gz: 3f5b83825fe1599e94514c91895c92e3ff8963973d81abf90f081a25ac64c6bc1823fe01cb2b08be7b2abf9285092a62d7844c27a45708aad57c59842f62a79d
@@ -1,13 +1,10 @@
1
1
  module RubyHamlJs
2
2
  class Engine < Rails::Engine
3
- initializer "ruby-hamljs.configure_rails_initialization", :before => 'sprockets.environment', :group => :all do |app|
4
- next unless app.config.assets.enabled
3
+ initializer "ruby-hamljs.configure_rails_initialization", :after => 'sprockets.environment', :group => :all do |app|
4
+ next unless app.assets
5
5
 
6
- require 'sprockets'
7
- require 'sprockets/engines'
8
6
  require 'ruby-haml-js/template'
9
- #app.config.assets.register_engine '.hamljs', ::RubyHamlJs::Template
10
- Sprockets.register_engine '.hamljs', ::RubyHamlJs::Template
7
+ app.assets.register_engine '.hamljs', ::RubyHamlJs::Template
11
8
  end
12
9
  end
13
10
  end
@@ -1,5 +1,5 @@
1
1
  module RubyHamlJs
2
2
  module Version
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,78 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-haml-js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
5
- prerelease:
4
+ version: 0.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Dmytrii Nagirniak
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-09 00:00:00.000000000 Z
11
+ date: 2013-09-17 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: sprockets
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.0.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 2.0.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: execjs
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rails
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: 3.1.1
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: 3.1.1
78
69
  description: ruby-haml-js provides a Tilt template that you can use to compile HAML-JS
@@ -135,33 +126,26 @@ files:
135
126
  - vendor/assets/javascripts/haml.js
136
127
  homepage: http://github.com/dnagir/ruby-haml-js
137
128
  licenses: []
129
+ metadata: {}
138
130
  post_install_message:
139
131
  rdoc_options: []
140
132
  require_paths:
141
133
  - lib
142
134
  required_ruby_version: !ruby/object:Gem::Requirement
143
- none: false
144
135
  requirements:
145
- - - ! '>='
136
+ - - '>='
146
137
  - !ruby/object:Gem::Version
147
138
  version: '0'
148
- segments:
149
- - 0
150
- hash: 2655100921178513378
151
139
  required_rubygems_version: !ruby/object:Gem::Requirement
152
- none: false
153
140
  requirements:
154
- - - ! '>='
141
+ - - '>='
155
142
  - !ruby/object:Gem::Version
156
143
  version: '0'
157
- segments:
158
- - 0
159
- hash: 2655100921178513378
160
144
  requirements: []
161
145
  rubyforge_project: ruby-haml-js
162
- rubygems_version: 1.8.24
146
+ rubygems_version: 2.0.3
163
147
  signing_key:
164
- specification_version: 3
148
+ specification_version: 4
165
149
  summary: Precompile HAML-JS templates with or without Rails 3.1 assets pipeline
166
150
  test_files:
167
151
  - spec/dummy/Rakefile