plos 0.0.4 → 0.0.5
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.
- data/lib/plos/client.rb +1 -1
- data/lib/plos/version.rb +1 -1
- data/spec/plos_spec.rb +1 -1
- metadata +3 -3
data/lib/plos/client.rb
CHANGED
data/lib/plos/version.rb
CHANGED
data/spec/plos_spec.rb
CHANGED
@@ -11,7 +11,7 @@ describe PLOS do
|
|
11
11
|
|
12
12
|
it "should call the correct search url when rows and start are specified" do
|
13
13
|
RestClient.should_receive(:post).with("http://api.plos.org/search", {:api_key=>"API_KEY", :q=>"xenograft", :rows=>100, :start=>200}).and_return("")
|
14
|
-
client.search("xenograft",
|
14
|
+
client.search("xenograft", 200, 100)
|
15
15
|
end
|
16
16
|
|
17
17
|
it "should call the correct search url when finding all" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -122,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
segments:
|
124
124
|
- 0
|
125
|
-
hash: -
|
125
|
+
hash: -4503252399675787429
|
126
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
segments:
|
133
133
|
- 0
|
134
|
-
hash: -
|
134
|
+
hash: -4503252399675787429
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
137
|
rubygems_version: 1.8.24
|