google_book 0.3.17 → 0.3.18
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/README.md +1 -1
- data/lib/google_book/base.rb +2 -1
- data/lib/google_book/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<div>
|
|
8
8
|
<a href = "https://codeclimate.com/repos/51fa3a5356b102601a00d3e1/feed"><img src="https://codeclimate.com/repos/51fa3a5356b102601a00d3e1/badges/8db2d24d585c3d2ac1f1/gpa.png" /></a>
|
|
9
|
-
<a href = "https://travis-ci.org/rajcybage/google_book"><img src=
|
|
9
|
+
<a href = "https://travis-ci.org/rajcybage/google_book"><img src="https://travis-ci.org/rajcybage/google_book.png?branch=master"/></a>
|
|
10
10
|
<img src = "https://badge.fury.io/rb/google_book.png"/>
|
|
11
11
|
|
|
12
12
|
<div rel="tooltip" id="project_status_wrapper" data-original-title="Copy badge url to clipboard"><a href="#"><img src="https://gemnasium.com/rajcybage/google_book.png" id="project_status" alt="Google_book"></a></div>
|
data/lib/google_book/base.rb
CHANGED
|
@@ -136,6 +136,7 @@ module GoogleBook
|
|
|
136
136
|
url = main_url+"?q=#{search_param.gsub(/\s+/, "+").strip}"
|
|
137
137
|
end
|
|
138
138
|
puts "#{url}"
|
|
139
|
+
url = url + "&maxResults=40"
|
|
139
140
|
return URI(url)
|
|
140
141
|
end
|
|
141
142
|
|
|
@@ -148,7 +149,7 @@ module GoogleBook
|
|
|
148
149
|
else
|
|
149
150
|
url = main_url+"?q=#{search_param.gsub(/\s+/, "").strip}+#{type}"
|
|
150
151
|
end
|
|
151
|
-
return url
|
|
152
|
+
return url + "&maxResults=40"
|
|
152
153
|
end
|
|
153
154
|
|
|
154
155
|
def connect_google(key = nil,type = nil,search_param = nil,filter = nil)
|
data/lib/google_book/version.rb
CHANGED