scnnr 1.1.0 → 1.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd33e72ddd88f87380fb7e690b9d24065f5c8130
4
- data.tar.gz: e32a656bdf4f46aa0f367ae63aa35e2357bcac54
3
+ metadata.gz: 4d0234d1675d0627869141254d57fed8d0f91ae4
4
+ data.tar.gz: e3485beafaf6244a1d832d455e9ac320cc85d5fb
5
5
  SHA512:
6
- metadata.gz: fedf81404ac294b6abdfe54b63b31c76407da144fac72f93fe3875b3e7af59af74068f152b7cc45002618c22afcda25a4a8848a2b531b2a1ff86d0a0f537cc6d
7
- data.tar.gz: be1b7eab268b70f526241ffc23d02f732b676dc95dbe7ea1bd24573e365e9b8f0f95d566aea6f35ccc2a7714499ff88c8723060fa8078a7748edf49293461c78
6
+ metadata.gz: e00578d33ec6636db9133581de66a1e912cc1fb9589a32b3256efd9f5a3fee884cd49943a2ff3a934920d6259b8bcf9e756f0763b6d7ee9a698b87fb8ae279ae
7
+ data.tar.gz: 53187cb2f4d68c8dc79e980208069fb97a906ae88ced936acb4d6e8b779460345734966cbad7cd95ff663734e00ede501266b70a9d67e2f7eee20358368711e3
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.1.1] - 2018-06-20
8
+ ### Added
9
+ - Support `force` parameter for `Scnnr::Client#recognize_url`.
10
+
7
11
  ## [1.1.0] - 2018-03-23
8
12
  ### Added
9
13
  - Support `public` parameter for `Scnnr::Client#recognize_image`.
data/lib/scnnr/client.rb CHANGED
@@ -31,7 +31,7 @@ module Scnnr
31
31
  def recognize_url(url, options = {})
32
32
  options = merge_options options
33
33
  PollingManager.start(self, options) do |opts|
34
- uri = construct_uri('remote/recognitions', %i[timeout], opts)
34
+ uri = construct_uri('remote/recognitions', %i[timeout force], opts)
35
35
  response = post_connection(uri, opts).send_json({ url: url })
36
36
  Response.new(response).build_recognition
37
37
  end
data/lib/scnnr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Scnnr
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scnnr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - NEWROPE Co. Ltd.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-23 00:00:00.000000000 Z
11
+ date: 2018-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler