haml2slim 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -10,6 +10,7 @@ You may convert files using the included executable `haml2slim`.
10
10
 
11
11
  Usage: haml2slim INPUT_FILENAME_OR_DIRECTORY [OUTPUT_FILENAME_OR_DIRECTORY] [options]
12
12
  --trace Show a full traceback on error
13
+ -d, --delete Delete HAML files
13
14
  -h, --help Show this message
14
15
  -v, --version Print version
15
16
 
@@ -24,7 +24,7 @@ module Haml2Slim
24
24
  case line[0]
25
25
  when ?%, ?., ?# then parse_tag(line)
26
26
  when ?: then "#{line[1..-1]}:"
27
- when ?! then line.sub(/^!!!/, '! doctype')
27
+ when ?! then line.sub(/^!!!/, 'doctype')
28
28
  when ?-, ?= then line
29
29
  when ?~ then line.sub(/^~/, '=')
30
30
  when ?/ then line.sub(/^\//, '/!')
@@ -1,3 +1,3 @@
1
1
  module Haml2Slim
2
- VERSION = '0.4.4'
2
+ VERSION = '0.4.5'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: haml2slim
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.4
5
+ version: 0.4.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Fred Wu