google_book 0.3.14 → 0.3.17

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.
@@ -1,3 +1,3 @@
1
1
  module GoogleBook
2
- Version = "0.3.14"
2
+ Version = "0.3.17"
3
3
  end
@@ -29,51 +29,29 @@ describe "book_item" do
29
29
  end
30
30
  end
31
31
 
32
- describe "authors" do
33
- it "should return perfect authors name" do
34
- @book_items.first.authors.should =~ ["Daniel Keyes"]
35
- end
36
- end
37
-
38
32
  describe "preview_link" do
39
33
  it "should return perfect preview link" do
40
- @book_items.first.preview_link.should == "http://books.google.com/books?id=_oG_iTxP1pIC&pg=PA224&dq=Flowers+inauthor:keyes&hl=&cd=1&source=gbs_api"
34
+ @book_items.first.preview_link.should == "http://books.google.com/books?id=P6xj0ICxLngC&pg=PT305&dq=Flowers+inauthor&hl=&cd=1&source=gbs_api"
41
35
  end
42
36
  end
43
37
 
44
38
  describe "info_link" do
45
39
  it "should return perfect info link" do
46
- @book_items.first.info_link.should == "http://books.google.com/books?id=_oG_iTxP1pIC&dq=Flowers+inauthor:keyes&hl=&source=gbs_api"
40
+ @book_items.first.info_link.should == "http://books.google.com/books?id=P6xj0ICxLngC&dq=Flowers+inauthor&hl=&source=gbs_api"
47
41
  end
48
42
  end
49
43
 
50
44
  describe "version" do
51
45
  it "should return perfect version" do
52
- @book_items.first.version.should == "0.6.4.0.preview.3"
53
- end
46
+ @book_items.first.version.should == "preview-1.0.0"
47
+ end
54
48
  end
55
49
 
56
50
  describe "google_checkout_link" do
57
51
  it "should return perfect google checkout link" do
58
- @book_items.first.google_checkout_link.should == "https://play.google.com/store/books/details?id=_oG_iTxP1pIC&rdid=book-_oG_iTxP1pIC&rdot=1&source=gbs_atb"
52
+ @book_items.first.google_checkout_link.should == "https://play.google.com/store/books/details?id=P6xj0ICxLngC&rdid=book-P6xj0ICxLngC&rdot=1&source=gbs_atb"
59
53
  end
60
54
  end
55
+ end
61
56
 
62
- describe "rating" do
63
- it "should return the rating of the book" do
64
- @book_items.first.rating.should == 4.0
65
- end
66
- end
67
57
 
68
- describe "publisher" do
69
- it "should return right publisher name" do
70
- @book_items.first.publisher.should == "Houghton Mifflin Harcourt"
71
- end
72
- end
73
-
74
- describe "publish_date" do
75
- it "should return the perfect published date" do
76
- @book_items.first.publish_date.should == "2007-12-01"
77
- end
78
- end
79
- end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_book
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.14
4
+ version: 0.3.17
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: 2013-09-02 00:00:00.000000000 Z
12
+ date: 2014-02-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: rdasarminus@gmail.com