sightengine-ruby 0.1.0 → 0.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: c34cd83e2ec2fcef4c3eef13df2baa77abf9ae1e
4
- data.tar.gz: 64b471adac0b2e2a108d92b08a9991893527a22b
3
+ metadata.gz: 46a244b32d7d38c75c776dd91c269867766dd7ba
4
+ data.tar.gz: d5afc4fca5b633632e7908a2e6deab3837128c3d
5
5
  SHA512:
6
- metadata.gz: 5c45eb836fdaef31421ef35df9f74df59083918c4ddd6fa3b96089f325e670f7bdf885dfe2a42087590f880552ad09f4b71df375656cb7135f8742685ba77963
7
- data.tar.gz: d7297480f0584fbea321d5a6dd1bcafd7f24d5824dc900dc5c23d6d0e7854c69bee0373c3b30ef7d25174d2261f1ed7cb4e6309eb3a8b0ecadcda7189169135e
6
+ metadata.gz: 83df9158ef46f47ed5edfd47aca7b8b891a142ebd09dd889506271ccacef2a25b566fd2672f2088c20f3074e759afb6df40c760df020d87a4f384b8109483c05
7
+ data.tar.gz: 73f59c2be843cdc30a7ec7ec57b31b88732e2ac523f66cbdd614a8fcfcae79388c1425e90e4de10c3acbfc527ce2527ddd987129fa8162b1e87d3489159b8b40
data/README.md CHANGED
@@ -11,7 +11,7 @@ This gem provides a ruby API to the [Sightengine image moderation service](https
11
11
  Add this line to your application's Gemfile:
12
12
 
13
13
  ```ruby
14
- gem 'sightengine-ruby', github: 'ello/sightengine-ruby', require: 'sightengine'
14
+ gem 'sightengine-ruby'
15
15
  ```
16
16
 
17
17
  And then execute:
@@ -22,7 +22,6 @@ module Sightengine
22
22
  def_delegators :client, :moderate
23
23
 
24
24
  Response = Struct.new(:status, :nudity_result, :nudity_confidence) do
25
-
26
25
  def self.from_json(json)
27
26
  new(json['status'],
28
27
  json.dig('nudity', 'result'),
@@ -0,0 +1 @@
1
+ require 'sightengine'
@@ -1,3 +1,3 @@
1
1
  module Sightengine
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sightengine-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Zeschin
@@ -126,6 +126,7 @@ files:
126
126
  - bin/console
127
127
  - bin/setup
128
128
  - lib/sightengine.rb
129
+ - lib/sightengine/ruby.rb
129
130
  - lib/sightengine/version.rb
130
131
  - sightengine-ruby.gemspec
131
132
  homepage: https://github.com/ello/sightengine-ruby