oba-client 1.0.4 → 1.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/History.md +14 -9
- data/Rakefile +4 -2
- data/lib/oba_client.rb +2 -2
- metadata +4 -4
data/History.md
CHANGED
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
# 1.0.0 / 2010-07-07
|
|
2
2
|
|
|
3
|
-
*
|
|
3
|
+
* Initial release.
|
|
4
|
+
* Does not yet parse statistics.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
=== 1.0.1 / 2010-07-07
|
|
6
|
+
## 1.0.1 / 2010-07-07
|
|
8
7
|
|
|
9
8
|
* Oops, fix a symbol bug.
|
|
10
9
|
|
|
11
|
-
|
|
10
|
+
## 1.0.2 / 2010-07-07
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
* Oops, no release notes.
|
|
13
|
+
|
|
14
|
+
## 1.0.3 / 2010-07-07
|
|
14
15
|
|
|
15
16
|
* Add more tests.
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
## 1.0.4 / 2010-07-08
|
|
19
|
+
|
|
20
|
+
* Add all possible parameter values for the Annotator.
|
|
21
|
+
|
|
22
|
+
## 1.0.5 / 2010-07-08
|
|
18
23
|
|
|
19
|
-
*
|
|
24
|
+
* Modify docs slightly.
|
data/Rakefile
CHANGED
|
@@ -5,8 +5,10 @@ Hoe.plugin :yard
|
|
|
5
5
|
|
|
6
6
|
Hoe.spec "oba-client" do
|
|
7
7
|
self.developer "Rob Tirrell", "rpt@stanford.edu"
|
|
8
|
-
|
|
9
|
-
self.
|
|
8
|
+
|
|
9
|
+
self.yard_title = "OBAClient Documentation"
|
|
10
|
+
self.yard_options = ["--default-return", "void"]
|
|
11
|
+
self.yard_markup = "markdown"
|
|
10
12
|
self.remote_yard_dir = ""
|
|
11
13
|
|
|
12
14
|
self.rubyforge_name = "oba-client"
|
data/lib/oba_client.rb
CHANGED
|
@@ -5,7 +5,7 @@ require "net/http"
|
|
|
5
5
|
require "uri"
|
|
6
6
|
|
|
7
7
|
class OBAClient
|
|
8
|
-
VERSION = "1.0.
|
|
8
|
+
VERSION = "1.0.5"
|
|
9
9
|
|
|
10
10
|
# A high HTTP read timeout, as the service sometimes takes awhile to respond.
|
|
11
11
|
DEFAULT_TIMEOUT = 30
|
|
@@ -85,7 +85,7 @@ class OBAClient
|
|
|
85
85
|
end
|
|
86
86
|
@parse_xml ? self.class.parse(response.body) : response.body
|
|
87
87
|
rescue Timeout::Error
|
|
88
|
-
puts "Request for #{text[0..10]} timed-out at #{@timeout} seconds."
|
|
88
|
+
puts "Request for #{text[0..10]}... timed-out at #{@timeout} seconds."
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
91
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oba-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 29
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 5
|
|
10
|
+
version: 1.0.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Rob Tirrell
|
|
@@ -95,7 +95,7 @@ rdoc_options:
|
|
|
95
95
|
- --default-return
|
|
96
96
|
- void
|
|
97
97
|
- --title
|
|
98
|
-
-
|
|
98
|
+
- OBAClient Documentation
|
|
99
99
|
- --markup
|
|
100
100
|
- markdown
|
|
101
101
|
- --quiet
|