exlibris-aleph 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,5 +1,5 @@
1
1
  = Exlibris::Aleph
2
- {<img src="https://secure.travis-ci.org/scotdalton/exlibris-aleph.png" alt="Build Status" />}[https://secure.travis-ci.org/scotdalton/exlibris-aleph]
2
+ {<img src="https://api.travis-ci.org/scotdalton/exlibris-aleph.png?branch=master" alt="Build Status" />}[https://secure.travis-ci.org/scotdalton/exlibris-aleph]
3
3
  {<img src="https://gemnasium.com/scotdalton/exlibris-aleph.png" alt="Dependency Status" />}[https://gemnasium.com/scotdalton/exlibris-aleph]
4
4
  {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/scotdalton/exlibris-aleph]
5
5
 
@@ -47,8 +47,8 @@ module Exlibris
47
47
  # Call the patronInformation/address Aleph Patron REST API
48
48
  # Returns a HTTParty::Response.
49
49
  def address()
50
- @response = self.class.get(self.uri+ "/patronInformation/address")
51
- return nil unless error.nil?
50
+ @response = self.class.get(@uri+ "/patronInformation/address")
51
+ return "Error getting patron's address through Aleph REST APIs. #{error}" unless error.nil?
52
52
  return @response
53
53
  end
54
54
 
@@ -1,5 +1,5 @@
1
1
  module Exlibris
2
2
  module Aleph
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exlibris-aleph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-12 00:00:00.000000000 Z
12
+ date: 2013-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -219,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
219
  version: '0'
220
220
  segments:
221
221
  - 0
222
- hash: -4354285558211938049
222
+ hash: 1412313793985016916
223
223
  required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  none: false
225
225
  requirements:
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  version: '0'
229
229
  segments:
230
230
  - 0
231
- hash: -4354285558211938049
231
+ hash: 1412313793985016916
232
232
  requirements: []
233
233
  rubyforge_project:
234
234
  rubygems_version: 1.8.24