hamlbars 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a5de64cf1a481580b132e9229b3e8e131b34fad8
4
+ data.tar.gz: 54dbb2d20ddf101fe99f0c7b6906e91d84999f37
5
+ SHA512:
6
+ metadata.gz: 9fe4757ce9750f5c74ea5f8bd5c604f4a8a0eca145d909d1a4a3dba9433cbc2208d38a1a0b3dfbc3ed942935b7a3ab96ecf16b83dd3e7ec4b73f05ecc293baa6
7
+ data.tar.gz: 6b61985466229bd8ee4ca644f2302a67436848029ee0de4627d829bcc85276938e0303543907b4a7583b9f6900b34d07bd2415781818acf1c78aad7a4b56955a
data/README.md CHANGED
@@ -7,6 +7,9 @@
7
7
  you to easily generate [Handlebars](http://handlebarsjs.com) templates using
8
8
  [Haml](http://www.haml-lang.com).
9
9
 
10
+ *For an alternative to Hamlbars, also check out
11
+ [Emblem](https://github.com/machty/emblem.js), if you are using Ember.*
12
+
10
13
  # Installation
11
14
 
12
15
  Add the following line to your Gemfile (on Rails, inside the `:assets` group):
@@ -1,3 +1,3 @@
1
1
  module Hamlbars
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
metadata CHANGED
@@ -1,128 +1,113 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hamlbars
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 2.0.0
4
+ version: 2.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - James Harton
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-12 00:00:00.000000000 Z
11
+ date: 2013-06-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ! '>='
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- none: false
21
- prerelease: false
22
14
  name: haml
23
15
  requirement: !ruby/object:Gem::Requirement
24
16
  requirements:
25
- - - ! '>='
17
+ - - '>='
26
18
  - !ruby/object:Gem::Version
27
19
  version: '0'
28
- none: false
29
20
  type: :runtime
30
- - !ruby/object:Gem::Dependency
21
+ prerelease: false
31
22
  version_requirements: !ruby/object:Gem::Requirement
32
23
  requirements:
33
- - - ! '>='
24
+ - - '>='
34
25
  - !ruby/object:Gem::Version
35
26
  version: '0'
36
- none: false
37
- prerelease: false
27
+ - !ruby/object:Gem::Dependency
38
28
  name: sprockets
39
29
  requirement: !ruby/object:Gem::Requirement
40
30
  requirements:
41
- - - ! '>='
31
+ - - '>='
42
32
  - !ruby/object:Gem::Version
43
33
  version: '0'
44
- none: false
45
34
  type: :runtime
46
- - !ruby/object:Gem::Dependency
35
+ prerelease: false
47
36
  version_requirements: !ruby/object:Gem::Requirement
48
37
  requirements:
49
- - - ! '>='
38
+ - - '>='
50
39
  - !ruby/object:Gem::Version
51
40
  version: '0'
52
- none: false
53
- prerelease: false
41
+ - !ruby/object:Gem::Dependency
54
42
  name: tilt
55
43
  requirement: !ruby/object:Gem::Requirement
56
44
  requirements:
57
- - - ! '>='
45
+ - - '>='
58
46
  - !ruby/object:Gem::Version
59
47
  version: '0'
60
- none: false
61
48
  type: :runtime
62
- - !ruby/object:Gem::Dependency
49
+ prerelease: false
63
50
  version_requirements: !ruby/object:Gem::Requirement
64
51
  requirements:
65
- - - ! '>='
52
+ - - '>='
66
53
  - !ruby/object:Gem::Version
67
- version: '1.2'
68
- none: false
69
- prerelease: false
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
70
56
  name: execjs
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ! '>='
59
+ - - '>='
74
60
  - !ruby/object:Gem::Version
75
61
  version: '1.2'
76
- none: false
77
62
  type: :runtime
78
- - !ruby/object:Gem::Dependency
63
+ prerelease: false
79
64
  version_requirements: !ruby/object:Gem::Requirement
80
65
  requirements:
81
- - - ! '>='
66
+ - - '>='
82
67
  - !ruby/object:Gem::Version
83
- version: '0'
84
- none: false
85
- prerelease: false
68
+ version: '1.2'
69
+ - !ruby/object:Gem::Dependency
86
70
  name: rake
87
71
  requirement: !ruby/object:Gem::Requirement
88
72
  requirements:
89
- - - ! '>='
73
+ - - '>='
90
74
  - !ruby/object:Gem::Version
91
75
  version: '0'
92
- none: false
93
76
  type: :development
94
- - !ruby/object:Gem::Dependency
77
+ prerelease: false
95
78
  version_requirements: !ruby/object:Gem::Requirement
96
79
  requirements:
97
- - - ! '>='
80
+ - - '>='
98
81
  - !ruby/object:Gem::Version
99
- version: 2.10.0
100
- none: false
101
- prerelease: false
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
102
84
  name: rspec
103
85
  requirement: !ruby/object:Gem::Requirement
104
86
  requirements:
105
- - - ! '>='
87
+ - - '>='
106
88
  - !ruby/object:Gem::Version
107
89
  version: 2.10.0
108
- none: false
109
90
  type: :development
110
- - !ruby/object:Gem::Dependency
91
+ prerelease: false
111
92
  version_requirements: !ruby/object:Gem::Requirement
112
93
  requirements:
113
- - - ! '>='
94
+ - - '>='
114
95
  - !ruby/object:Gem::Version
115
- version: '0'
116
- none: false
117
- prerelease: false
96
+ version: 2.10.0
97
+ - !ruby/object:Gem::Dependency
118
98
  name: activesupport
119
99
  requirement: !ruby/object:Gem::Requirement
120
100
  requirements:
121
- - - ! '>='
101
+ - - '>='
122
102
  - !ruby/object:Gem::Version
123
103
  version: '0'
124
- none: false
125
104
  type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
126
111
  description: Hamlbars allows you to write handlebars templates using the familiar
127
112
  Haml syntax.
128
113
  email:
@@ -140,46 +125,49 @@ files:
140
125
  - lib/hamlbars/template.rb
141
126
  - lib/hamlbars/version.rb
142
127
  - lib/hamlbars.rb
143
- - vendor/javascripts/handlebars.js
144
- - vendor/javascripts/precompiler.js
145
128
  homepage: https://github.com/jamesotron/hamlbars
146
129
  licenses: []
147
- post_install_message: ! " DEPRECATION WARNING: Hamlbars 2.0 removes asset compilation!\n\n
148
- \ Template compilation in Hamlbars was a major source of confusion and bugs\n since
149
- roughly half of its users are using Handlebars.js in their apps and\n the other
150
- half are using Handlebars as part of Ember.js.\n\n Hamlbars now simply outputs
151
- the rendered HTML marked up with Handlebars\n sections. It is up to you to choose
152
- the Handlebars compiler that works\n for you.\n\n If you're using Ember.js I would
153
- suggest adding ember-rails to your\n Gemfile.\n\n If you're using Handlebars.js
154
- then I would suggest adding handlebars_assets\n to your Gemfile.\n\n For both
155
- of the above gems you may need to rename your templates to\n `mytemplate.js.hbs.hamlbars`
156
- in order for the output of Hamlbars to be sent\n into the correct compiler.\n\n
157
- \ Thanks for using Hamlbars. You're awesome.\n @jamesotron\n"
130
+ metadata: {}
131
+ post_install_message: |2
132
+ DEPRECATION WARNING: Hamlbars 2.0 removes asset compilation!
133
+
134
+ Template compilation in Hamlbars was a major source of confusion and bugs
135
+ since roughly half of its users are using Handlebars.js in their apps and
136
+ the other half are using Handlebars as part of Ember.js.
137
+
138
+ Hamlbars now simply outputs the rendered HTML marked up with Handlebars
139
+ sections. It is up to you to choose the Handlebars compiler that works
140
+ for you.
141
+
142
+ If you're using Ember.js I would suggest adding ember-rails to your
143
+ Gemfile.
144
+
145
+ If you're using Handlebars.js then I would suggest adding handlebars_assets
146
+ to your Gemfile.
147
+
148
+ For both of the above gems you may need to rename your templates to
149
+ `mytemplate.js.hbs.hamlbars` in order for the output of Hamlbars to be sent
150
+ into the correct compiler.
151
+
152
+ Thanks for using Hamlbars. You're awesome.
153
+ @jamesotron
158
154
  rdoc_options: []
159
155
  require_paths:
160
156
  - lib
161
157
  required_ruby_version: !ruby/object:Gem::Requirement
162
158
  requirements:
163
- - - ! '>='
159
+ - - '>='
164
160
  - !ruby/object:Gem::Version
165
161
  version: '0'
166
- segments:
167
- - 0
168
- hash: 2248097403162291800
169
- none: false
170
162
  required_rubygems_version: !ruby/object:Gem::Requirement
171
163
  requirements:
172
- - - ! '>='
164
+ - - '>='
173
165
  - !ruby/object:Gem::Version
174
166
  version: '0'
175
- segments:
176
- - 0
177
- hash: 2248097403162291800
178
- none: false
179
167
  requirements: []
180
168
  rubyforge_project:
181
- rubygems_version: 1.8.24
169
+ rubygems_version: 2.0.0
182
170
  signing_key:
183
- specification_version: 3
171
+ specification_version: 4
184
172
  summary: Extensions to Haml to allow creation of handlebars expressions.
185
173
  test_files: []