haml_to_js 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/haml_to_js.gemspec +2 -8
- metadata +15 -13
data/haml_to_js.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'haml_to_js'
|
3
|
-
s.version = '0.1'
|
3
|
+
s.version = '0.1.1'
|
4
4
|
s.date = '2012-12-27'
|
5
5
|
s.summary = "haml_to_js is a ruby library and command line that converts haml to javascript."
|
6
6
|
s.add_runtime_dependency('haml_to_star')
|
@@ -8,13 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
haml_to_js is a ruby library and command line that converts haml to javascript.
|
9
9
|
|
10
10
|
Why an other haml to js converter (see similar utilities) ?
|
11
|
-
|
12
|
-
* This converter is intended for front usage
|
13
|
-
* It simplifies debugging (the generated code is readable, a variable hold haml line number so you can know exactly where the problem is)
|
14
|
-
* It support features that other don't support (don't hesitate to raise an issue if I am no longer right):
|
15
|
-
* if...else statements
|
16
|
-
* Declarations such as `.first{class: 'second'}` will generate `<div class="first second"></div>`
|
17
|
-
* Support for brackets inside parameters (ex: `%div{key: 'value with bracket}'}`)
|
11
|
+
It is a extension of [haml_to_star](https://github.com/sdrdis/haml_to_star) which purpose is to convert haml into any language. This converter is intended for front usage. It simplifies debugging (the generated code is readable, a variable hold haml line number so you can know exactly where the problem is).
|
18
12
|
eos
|
19
13
|
s.authors = ["Sébastien Drouyer"]
|
20
14
|
s.email = 'sdrdis@hotmail.com'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haml_to_js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-12-27 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: haml_to_star
|
16
|
-
requirement: &
|
16
|
+
requirement: &85752310 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,17 +21,19 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
25
|
-
description: !
|
26
|
-
javascript
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
24
|
+
version_requirements: *85752310
|
25
|
+
description: ! 'haml_to_js is a ruby library and command line that converts haml to
|
26
|
+
javascript.
|
27
|
+
|
28
|
+
|
29
|
+
Why an other haml to js converter (see similar utilities) ?
|
30
|
+
|
31
|
+
It is a extension of [haml_to_star](https://github.com/sdrdis/haml_to_star) which
|
32
|
+
purpose is to convert haml into any language. This converter is intended for front
|
33
|
+
usage. It simplifies debugging (the generated code is readable, a variable hold
|
34
|
+
haml line number so you can know exactly where the problem is).
|
35
|
+
|
36
|
+
'
|
35
37
|
email: sdrdis@hotmail.com
|
36
38
|
executables:
|
37
39
|
- haml_to_js
|