titlepage 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake/testtask'
6
6
  require "rake/gempackagetask"
7
7
  require 'spec/rake/spectask'
8
8
 
9
- PKG_VERSION = "0.9.5"
9
+ PKG_VERSION = "0.9.6"
10
10
  PKG_NAME = "titlepage"
11
11
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
12
12
  RUBYFORGE_PROJECT = 'rbook'
@@ -70,6 +70,7 @@ spec = Gem::Specification.new do |spec|
70
70
  spec.extra_rdoc_files = %w{README COPYING LICENSE}
71
71
  spec.rdoc_options << '--title' << 'titlepage Documentation' << '--main' << 'README' << '-q'
72
72
  spec.add_dependency('rbook-isbn', '>= 1.0')
73
+ spec.add_dependency('soap4r', '>= 1.5.8')
73
74
  spec.author = "James Healy"
74
75
  spec.email = "jimmy@deefa.com"
75
76
  spec.rubyforge_project = "rbook"
@@ -46,7 +46,7 @@ module TitlePage
46
46
  begin
47
47
  result = @driver.SearchByISBN13(@token, isbn)
48
48
 
49
- if result.Product.nil?
49
+ if result.product.nil?
50
50
  return nil
51
51
  else
52
52
  return result
@@ -265,6 +265,12 @@ module TitlePage
265
265
  @product = product
266
266
  end
267
267
 
268
+ # convenience method
269
+ #
270
+ def Product
271
+ @product
272
+ end
273
+
268
274
  # An older version of soap4r that was used to generate boilerplate code
269
275
  # in versions of this gem <= 0.9.3 created methods that started with
270
276
  # capitals. Detect when some code calls these old method names and
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: titlepage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Healy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-08 00:00:00 +10:00
12
+ date: 2008-12-14 00:00:00 +11:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,6 +22,16 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: "1.0"
24
24
  version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: soap4r
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.5.8
34
+ version:
25
35
  description: This library is designed to assist with using the titlepage.com SOAP API.
26
36
  email: jimmy@deefa.com
27
37
  executables: []
@@ -72,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
82
  requirements: []
73
83
 
74
84
  rubyforge_project: rbook
75
- rubygems_version: 1.2.0
85
+ rubygems_version: 1.3.1
76
86
  signing_key:
77
87
  specification_version: 2
78
88
  summary: A library for using the titlepage.com API