kelredd-resourceful 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -48,5 +48,5 @@ require 'cucumber'
48
48
  require 'cucumber/rake/task'
49
49
 
50
50
  Cucumber::Rake::Task.new(:features) do |t|
51
- t.cucumber_opts = "features --format pretty"
51
+ t.cucumber_opts = "test/features --format pretty"
52
52
  end
@@ -56,7 +56,7 @@ module Resourceful
56
56
  end
57
57
 
58
58
  def self.get_node(xml, path)
59
- xml.search(path.to_s)
59
+ path.to_s.empty? ? xml : xml.search(path.to_s)
60
60
  end
61
61
  def get_node(path)
62
62
  self.class.get_node(@data, path)
@@ -3,7 +3,7 @@ module Resourceful
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 6
6
- TINY = 5
6
+ TINY = 6
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-resourceful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-03 00:00:00 -07:00
12
+ date: 2009-09-04 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -107,7 +107,6 @@ files:
107
107
  - lib/resourceful.rb
108
108
  has_rdoc: false
109
109
  homepage: ""
110
- licenses:
111
110
  post_install_message:
112
111
  rdoc_options:
113
112
  - --main
@@ -129,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
128
  requirements: []
130
129
 
131
130
  rubyforge_project:
132
- rubygems_version: 1.3.5
131
+ rubygems_version: 1.2.0
133
132
  signing_key:
134
133
  specification_version: 3
135
134
  summary: A ruby gem to abstract web resource handling.