webpurify_api 0.1.3 → 0.1.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: 5f10e533c7e7a05fb26ca862ce9c9f9300ea619c
4
- data.tar.gz: e1683f7a9d62cd1a09ba83fde3c1a4589de390e9
3
+ metadata.gz: fec83736ff4e6650d54a8dec497840a1af883444
4
+ data.tar.gz: 6fbbdacdb317200faf5165e0584f9c5b37bc60ac
5
5
  SHA512:
6
- metadata.gz: 21424eeee0e4f6dbc7d32532b1e326e815ca23948d0135bb6417f3c9c48160764b74523e3b743633b61c805d242e0c32583d00bc5315957beda637d422d35e6f
7
- data.tar.gz: 53e281e2203f9e823b977eb11c25c58a466ec809e271a428967f1a0adb15aebdd06d5c78f40fbe800d8240085c887e5a7a6196bc6d43bd37337247dd76607105
6
+ metadata.gz: 3820378a378d5f87032164efb59255f2ddb46aee0d26881a2375cff2a8febdc7b9ce55119895fe7d54e7e00a9770bc081a3adbc043d47309fda42f7fcc4cebc7
7
+ data.tar.gz: 5369ac14e5a0d4badfdedac021c6b865878f3f706e47ac88eb8a9bea1a20504d55fef5bbd45dd750feee221340e453dab58d9bf9220b663ce62535c58e61b814
@@ -72,7 +72,7 @@ class WebpurifyApi::Base
72
72
  params ||= {}
73
73
  params.reverse_merge!(format: 'json', api_key: self.api_key)
74
74
  params[:method] = request_method(method)
75
- query = params.select { |k, v| !v.blank? }.collect { |k, v| "#{k}=#{CGI.escape(v.to_s)}"}.join("&")
75
+ query = params.select { |k, v| !v.blank? }.map { |k, v| "#{k}=#{CGI.escape(v.to_s)}"}.join("&")
76
76
  "#{endpoint}?#{query}"
77
77
  end
78
78
  end
@@ -1,3 +1,3 @@
1
1
  module WebpurifyApi
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -20,6 +20,6 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.7"
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
- spec.add_runtime_dependency "rest-client", "~> 1.7"
23
+ spec.add_runtime_dependency "rest-client", "~> 2.0.2"
24
24
  spec.add_runtime_dependency "activesupport", '~> 4.0'
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpurify_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2019-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.7'
47
+ version: 2.0.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.7'
54
+ version: 2.0.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activesupport
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.2.2
107
+ rubygems_version: 2.6.14.3
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Small wrapper aroud webpurify.com image moderation api.