pixabay_api 0.0.3 → 0.0.5

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: 8f8d30eb1f0c56f697cf6834ccec6da4935e2d33
4
- data.tar.gz: 8acd0de24924437cb650e69c0f8e57fe895ae315
3
+ metadata.gz: 2098f8f73cbae93a54ae1fce30e569df2d4d227d
4
+ data.tar.gz: e0670e631b9b3bd82eee38078df6c42cfd1b87b3
5
5
  SHA512:
6
- metadata.gz: e16c7f4376d8a068ad9fb1d564490eccea82c206326fa5cf70f346ee9131927cecf0607167c73af59f04873f25f0110415d806ed55ed7a8a3dec3f75c3272531
7
- data.tar.gz: 48692dbf5a89a7c656cb83f06e662cdad70038376335a8e3cd9bca5adc93d8fc50932bb1fe7e8f6821a5de84c43efc3491f8a203ba62698371ae32fbb789ec1b
6
+ metadata.gz: 1d57629855765bd458050aa8574b96dddf12f30326574b0e1e3dfdbe3b6ccec294cc40d4b65ffdafe4a38491a2afdeaa54fec1d34b8a3d14bf2a204d6f5e21b3
7
+ data.tar.gz: 5e36c86412cc149e11924c3fd71e82c766c189d2c10bf3e450cc4df413f140ccd54f81f8df4c95597d285b04f2ad020804e220ecb7ecd96e9f4966410fe18180
data/README.md CHANGED
@@ -178,7 +178,7 @@ videos: https://github.com/haanhduclinh/pixabay_api#search-videos
178
178
  |order| str| How the results should be ordered. Accepted values: "popular", "latest" Default: "popular"|
179
179
  |page| int| Returned search results are paginated. Use this parameter to select the page number. Default: 1|
180
180
  |per_page| int| Determine the number of results per page. Accepted values: 3 - 200 Default: 20|
181
- |callback| string| JSONP callback function name|
181
+ |callback| str| JSONP callback function name|
182
182
  |pretty| bool| Indent JSON output. This option should not be used in production. Accepted values: "true", "false" Default: "false"|
183
183
 
184
184
  ### Search Videos
@@ -200,7 +200,7 @@ videos: https://github.com/haanhduclinh/pixabay_api#search-videos
200
200
  |order| str| How the results should be ordered. Accepted values: "popular", "latest" Default: "popular"|
201
201
  |page| int| Returned search results are paginated. Use this parameter to select the page number. Default: 1|
202
202
  |per_page| int| Determine the number of results per page. Accepted values: 3 - 200 Default: 20|
203
- |callback| string| JSONP callback function name|
203
+ |callback| str| JSONP callback function name|
204
204
  |pretty| bool| Indent JSON output. This option should not be used in production. Accepted values: "true", "false" Default: "false"|
205
205
 
206
206
 
@@ -1,4 +1,4 @@
1
- require './lib/pixabay_api'
1
+ require 'pixabay_api'
2
2
 
3
3
  PixabayApi.configure do |c|
4
4
  c.api_key = '4339817-195df6b39f70c8fb254ba4656'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PixabayApi
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.5'
5
5
  end
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
19
19
  f.match(%r{^(test|spec|features)/})
20
20
  end
21
21
  s.require_paths = ['lib']
22
+ s.required_ruby_version = '>= 2.3.0'
22
23
  s.add_development_dependency 'bundler', '~> 1.15'
23
24
  s.add_development_dependency 'webmock', '~> 3.0'
24
25
  s.add_development_dependency 'rspec', '~> 3.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pixabay_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Duc Linh
@@ -163,7 +163,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: 2.3.0
167
167
  required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  requirements:
169
169
  - - ">="