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 +4 -4
- data/lib/haml-rails.rb +4 -0
- data/lib/haml-rails/version.rb +1 -1
- data/lib/tasks/erb2haml.rake +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 754bd59211dcca7161c1c20b59f9a5b3f3d0855b
|
|
4
|
+
data.tar.gz: 990889fe237e677b7d8fa8c861ec9f6f3007b82a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a492400ff4971e33cdd203a861bcd5462d81b39538394bdae078c68b32595981459a642b9bbe3d96436a08c3591ee5520e38caf6d3975ab5ed0cc7995e634456
|
|
7
|
+
data.tar.gz: 17de4af9850407b36ef6276f525f993c714b144a96a0fdbc29e0ea317b04c308f616cd4f5957be70daeaf1cae0acf2a406520971b108afe032e8607c1ee7b69a
|
data/lib/haml-rails.rb
CHANGED
data/lib/haml-rails/version.rb
CHANGED
data/lib/tasks/erb2haml.rake
CHANGED
|
@@ -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
|
|