install_theme 0.8.0 → 0.8.1
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.
- data/History.txt +5 -0
- data/lib/install_theme.rb +4 -4
- metadata +2 -2
data/History.txt
CHANGED
data/lib/install_theme.rb
CHANGED
@@ -3,10 +3,10 @@ $:.unshift(File.dirname(__FILE__)) unless
|
|
3
3
|
|
4
4
|
require 'rubigen'
|
5
5
|
require 'rubigen/scripts/generate'
|
6
|
-
require '
|
6
|
+
require 'hpricot'
|
7
7
|
|
8
8
|
class InstallTheme
|
9
|
-
VERSION = "0.8.
|
9
|
+
VERSION = "0.8.1"
|
10
10
|
|
11
11
|
attr_reader :template_root, :rails_root, :index_path, :template_type
|
12
12
|
attr_reader :layout_name, :action
|
@@ -264,8 +264,8 @@ class InstallTheme
|
|
264
264
|
end
|
265
265
|
|
266
266
|
# converts +from+ HTML into +to+ HAML
|
267
|
-
# +from+
|
268
|
-
# +to+
|
267
|
+
# +from+ is a file name
|
268
|
+
# +to+ is a file name
|
269
269
|
def html2haml(from, to)
|
270
270
|
Open3.popen3("html2haml #{from} #{to}") { |stdin, stdout, stderr| stdout.read }
|
271
271
|
# TODO - the following is failing for some reason
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: install_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dr Nic Williams
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-14 00:00:00 +10:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|