haml-rails 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1efd608386ca4b627da8999c90f28bd41e309bd8
4
- data.tar.gz: 6735c97de5562aa71f2145acc754657083935592
3
+ metadata.gz: 754bd59211dcca7161c1c20b59f9a5b3f3d0855b
4
+ data.tar.gz: 990889fe237e677b7d8fa8c861ec9f6f3007b82a
5
5
  SHA512:
6
- metadata.gz: c69417bf6c1f82a9137920106e0d21b21ea90d66dbbd8d9deef09e9a1a05aaba06637b3b3909b36e9c5622bda7d41535a9ec7b8f14e86ffdb288e293baf97df0
7
- data.tar.gz: 12e4e63551256b2b571d31463d4b8ccfbf52b20559413f8c16568995bbe40b16ea9e82ae0e1b6c0d5879d27c99b5f521160a5432730304d59292596ed8ca4a48
6
+ metadata.gz: a492400ff4971e33cdd203a861bcd5462d81b39538394bdae078c68b32595981459a642b9bbe3d96436a08c3591ee5520e38caf6d3975ab5ed0cc7995e634456
7
+ data.tar.gz: 17de4af9850407b36ef6276f525f993c714b144a96a0fdbc29e0ea317b04c308f616cd4f5957be70daeaf1cae0acf2a406520971b108afe032e8607c1ee7b69a
@@ -54,6 +54,10 @@ module Haml
54
54
  end
55
55
  end
56
56
  end
57
+
58
+ rake_tasks do
59
+ load 'tasks/erb2haml.rake'
60
+ end
57
61
  end
58
62
  end
59
63
  end
@@ -1,5 +1,5 @@
1
1
  module Haml
2
2
  module Rails
3
- VERSION = "0.8.1"
3
+ VERSION = "0.8.2"
4
4
  end
5
5
  end
@@ -1,8 +1,7 @@
1
1
  namespace :haml do
2
+ desc 'Convert html.erb to html.haml each file in app/views'
2
3
  task :erb2haml do
3
4
 
4
- puts "This task will generate a .html.haml translation of each of the .html.erb files in app/views and its subdirectories."
5
-
6
5
  erb_files = Dir.glob('app/views/**/*.erb').select { |f| File.file? f}
7
6
  haml_files = Dir.glob('app/views/**/*.haml').select { |f| File.file? f}
8
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko