oare 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -183,7 +183,7 @@ module Oare::Resource
183
183
  def update_path(id, path_options = {}, query_options = nil)
184
184
  path = path_options.delete(:path)
185
185
  prefix_options = path_options
186
- return collection_path(id, prefix_options, query_options) unless path
186
+ return element_path(id, prefix_options, query_options) unless path
187
187
  "/#{path}.#{format.extension}#{query_string(query_options)}"
188
188
  end
189
189
 
data/oare.gemspec CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  ## Basic Information
6
6
  #
7
7
  s.name = 'oare'
8
- s.version = '0.1.8'
8
+ s.version = '0.1.9'
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.required_ruby_version = '~> 1.9'
11
11
  s.required_rubygems_version = '>= 1.3.6'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: oare
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.8
5
+ version: 0.1.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nelvin Driz
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-05-30 00:00:00 +08:00
14
+ date: 2011-05-31 00:00:00 +08:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency