rally_rest_api 0.7.9 → 0.7.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -84,7 +84,7 @@ class RallyRestAPI
84
84
 
85
85
  # Query Rally for a collection of objects
86
86
  # Example :
87
- # rally.find(:artifact, :page_size => 20, :start_index => 20) { equal :name, "name" }
87
+ # rally.find(:artifact, :pagesize => 20, :start => 20) { equal :name, "name" }
88
88
  # See RestQuery for more info.
89
89
  def find(type, args = {}, &query_block)
90
90
  # pass the args to RestQuery, make it generate the string and handle generating the query for the
@@ -199,7 +199,7 @@ class RestBuilder # :nodoc:
199
199
  end
200
200
 
201
201
 
202
- COLLECTION_TYPES = [:dependents, :dependencies, :defects, :duplicates, :children, :predecessors]
202
+ COLLECTION_TYPES = [:dependents, :dependencies, :defects, :duplicates, :children, :predecessors, :test_cases]
203
203
  def collection_type?(type)
204
204
  COLLECTION_TYPES.include?(type)
205
205
  end
@@ -212,6 +212,10 @@ class RestObject
212
212
  self == (object)
213
213
  end
214
214
 
215
+ def <=>(object)
216
+ self.ref <=> object.ref
217
+ end
218
+
215
219
  public
216
220
 
217
221
  # update the resource. This will re-read the resource after the update
@@ -2,7 +2,7 @@ module RallyRestVersion #:nodoc:
2
2
  module LIBRARY_VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 7
5
- TINY = 9
5
+ TINY = 10
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rally_rest_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Cotton
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-03-25 00:00:00 -06:00
12
+ date: 2008-06-16 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  requirements: []
88
88
 
89
89
  rubyforge_project: rally-rest-api
90
- rubygems_version: 1.0.1
90
+ rubygems_version: 1.1.1
91
91
  signing_key:
92
92
  specification_version: 2
93
93
  summary: A Ruby interface to the Rally REST API