google-book 0.3.0 → 0.3.1

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.
@@ -30,11 +30,11 @@ module Google
30
30
  end.join(', ')
31
31
  end
32
32
 
33
- def info_url
33
+ def info
34
34
  @hash['link'][1]['href']
35
35
  end
36
36
 
37
- def preview_url
37
+ def preview
38
38
  @hash['link'][2]['href']
39
39
  end
40
40
 
@@ -1,5 +1,5 @@
1
1
  module Google
2
2
  module Book
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
  end
5
5
  end
@@ -11,7 +11,7 @@ module Google
11
11
 
12
12
  subject { Book.search('deleuze').first }
13
13
 
14
- %w{cover creators date description format info_url preview_url publisher
14
+ %w{cover creators date description format info preview publisher
15
15
  subjects title isbn}.each do |attribute|
16
16
  it { should respond_to attribute }
17
17
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: google-book
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paper Cavalier