google_images 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58fccef6cbf2dfdf07ce8b028d1be47b063a5275
4
- data.tar.gz: 229f61f0a687cee0bda8af736d2e8b996c09c602
3
+ metadata.gz: 3478563a6824dd4e23bbf52eda7ba48240b977bb
4
+ data.tar.gz: 6b42782ceb8a0bb81c456ec10c0b7253e9f01feb
5
5
  SHA512:
6
- metadata.gz: 35bd546f3ce9f6ad433eed60d7c758a80890063871741cd8df3a806689c07bd263636800c785b0921d0b0d906ee135f940401bbab0039afffdc3b2ba37c82dd2
7
- data.tar.gz: 88171e3c84ebe9647abe830594eec51871b4674d971949c87c644cb8accc723df402aa62be2e2981bebe18c92abb5683a158a98a0056fe71bb81790b8ec6ef83
6
+ metadata.gz: a8c2acb81f4af5cadb805f3aade648a570d277556156482d7bbe3191fea9c1afbf5d0f9e954d944a5c25fc1c5cae8e13d679c2ef7bc5bb46e10901602fe07ccf
7
+ data.tar.gz: e37aaecda26e0bb03a7b910c7f84e6336fdf5e6535353a80e9fdf32cd57689bd1c91a054be329fa769c49f7ce2c6b100b7450f2e2be026498929bec3882a1ba7
data/.travis.yml CHANGED
@@ -1,4 +1,11 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.2
3
+ - 2.0.0-p247
4
+ - 2.1.10
5
+ - 2.2.5
6
+ - 2.3.1
7
+ - jruby-19mode
4
8
  before_install: gem install bundler -v 1.10.4
9
+ addons:
10
+ code_climate:
11
+ repo_token: 0e01e3d44df74462c58e6cb6294cb99257e6885d686ebd57c3711fe5ba42f7ca
data/README.md CHANGED
@@ -20,7 +20,13 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- GoogleImages.search('ruby', img_size: 'xlarge')
23
+ ```ruby
24
+ ENV['GOOGLE_IMAGES_KEY'] = 'GOOGLE_API_KEY'
25
+ ENV['GOOGLE_IMAGES_CX'] = 'GOOGLE_SEARCH_CX'
26
+
27
+ GoogleImages.search('ruby')
28
+ GoogleImages.search('ruby', img_size: 'xlarge')
29
+ ```
24
30
 
25
31
  ## Contributing
26
32
 
@@ -14,6 +14,7 @@ module GoogleImages
14
14
  :img_size,
15
15
  :img_type,
16
16
  :num,
17
+ :start,
17
18
  :rights,
18
19
  :safe
19
20
  ]
@@ -23,6 +23,7 @@ module GoogleImages
23
23
  alt: query.api_params[:alt] || 'json',
24
24
  safe: query.api_params[:safe] || 'off',
25
25
  num: query.api_params[:num] || nil,
26
+ start: query.api_params[:start] || nil,
26
27
  rights: query.api_params[:rights] || nil,
27
28
  imgSize: query.api_params[:img_size] || nil,
28
29
  imgType: query.api_params[:img_type] || nil,
@@ -1,3 +1,3 @@
1
1
  module GoogleImages
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_images
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sharipov Ruslan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-03 00:00:00.000000000 Z
11
+ date: 2016-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -134,9 +134,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: '0'
135
135
  requirements: []
136
136
  rubyforge_project:
137
- rubygems_version: 2.4.5
137
+ rubygems_version: 2.4.5.1
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Google Images Custom API client
141
141
  test_files: []
142
- has_rdoc: