install_theme 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/History.txt +5 -0
  2. data/lib/install_theme.rb +4 -4
  3. metadata +2 -2
@@ -1,3 +1,8 @@
1
+ === 0.8.1 / 2009-10-14
2
+
3
+ Minor:
4
+ * oops, require hpricot not nokogiri
5
+
1
6
  === 0.8.0 / 2009-10-12
2
7
 
3
8
  Major:
@@ -3,10 +3,10 @@ $:.unshift(File.dirname(__FILE__)) unless
3
3
 
4
4
  require 'rubigen'
5
5
  require 'rubigen/scripts/generate'
6
- require 'nokogiri'
6
+ require 'hpricot'
7
7
 
8
8
  class InstallTheme
9
- VERSION = "0.8.0"
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+ can either be file name, HTML content (String) or an Nokogiri::XML::Node
268
- # +to+ can either be a file name or an IO object with a #write method
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.0
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 00:00:00 +10:00
12
+ date: 2009-10-14 00:00:00 +10:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency