rubyMorphbank 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -8,7 +8,7 @@ class Request
8
8
  FORMAT = 'id'
9
9
 
10
10
  # a subset of VALID_OPTIONS, these are concatenated in the request
11
- URI_PARAMS = [:limit, :format, :depth, :objecttype, :first_result, :keywords, :id]
11
+ URI_PARAMS = [:limit, :format, :depth, :objecttype, :firstResult, :keywords, :id, :taxonName, :user, :group, :change, :lastDateChanged, :numChangeDays]
12
12
 
13
13
  # possible options for a Request instance
14
14
  VALID_OPTIONS = {'v3' => URI_PARAMS + [:version, :method] }
@@ -23,7 +23,7 @@ class Request
23
23
  :format => FORMAT, # 'id' (brief results) or 'svc' (schema based results)
24
24
  :depth => DEPTH,
25
25
  :objecttype => OBJECTTYPE, # [nil, Taxon, Image, Character, Specimen, View, Matrix, Locality, Collection, OTU ] (nil = all)
26
- :first_result => 0,
26
+ :firstResult => 0,
27
27
  :keywords => ''
28
28
  }.merge!(options)
29
29
 
@@ -30,7 +30,6 @@ class TestRequest < Test::Unit::TestCase
30
30
  end
31
31
 
32
32
 
33
-
34
33
  class TestResponse < Test::Unit::TestCase
35
34
 
36
35
  should "return initialize with a unparameterized request" do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - mjy