erb2haml 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -3
- data/README.md +2 -2
- data/lib/erb2haml/railties/erb2haml.rake +1 -1
- data/lib/erb2haml/version.rb +1 -1
- metadata +3 -35
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -28,8 +28,8 @@ original ERB templates or not.
|
|
28
28
|
|
29
29
|
| Keep the original ERBs? | Rake task to run |
|
30
30
|
| :---------------------: | ------------------------ |
|
31
|
-
| Yes | `rake haml:
|
32
|
-
| No | `rake haml:
|
31
|
+
| Yes | `rake haml:convert_erbs` |
|
32
|
+
| No | `rake haml:replace_erbs` |
|
33
33
|
|
34
34
|
## License
|
35
35
|
|
@@ -16,7 +16,7 @@ namespace :haml do
|
|
16
16
|
if `which html2haml`.empty?
|
17
17
|
puts "#{color "ERROR: ", RED_FG} Could not find " +
|
18
18
|
"#{color "html2haml", GREEN_FG} in your PATH. Aborting."
|
19
|
-
exit(false)
|
19
|
+
exit(false)
|
20
20
|
end
|
21
21
|
|
22
22
|
puts "Looking for #{color "ERB", GREEN_FG} files to convert to " +
|
data/lib/erb2haml/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erb2haml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,42 +9,10 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: hpricot
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
|
-
type: :runtime
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: ruby_parser
|
15
|
+
name: html2haml
|
48
16
|
requirement: !ruby/object:Gem::Requirement
|
49
17
|
none: false
|
50
18
|
requirements:
|