orange 0.0.7 → 0.0.8

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.
Files changed (2) hide show
  1. data/lib/orange/resources/parser.rb +1 -1
  2. metadata +1 -1
@@ -1,7 +1,6 @@
1
1
  require 'orange/core'
2
2
  require 'haml'
3
3
  require 'yaml'
4
- require 'hpricot'
5
4
 
6
5
  module Orange
7
6
  class Parser < Resource
@@ -45,6 +44,7 @@ module Orange
45
44
  end
46
45
 
47
46
  def hpricot(text)
47
+ require 'hpricot'
48
48
  Hpricot(text)
49
49
  end
50
50
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orange
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Haslem