pHash 1.2.1 → 1.2.2

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
  SHA256:
3
- metadata.gz: b1a50c823ae7b07f1b232abb8d3b1e6f69bf5f9bbae8d9b3824810ca77155d37
4
- data.tar.gz: 84d87adfe2802adf24e8ab65887159a1759d051ac73d5cb1a931758484450605
3
+ metadata.gz: 3957fdb22e48410b3c1dbcc644ece2f1b34e153c24e874aab6c85f6c2a98f39e
4
+ data.tar.gz: 8e9fa080a8399c723fe612c9102b499b750ed9365505d93cf6d6ba9d2ac0ee6f
5
5
  SHA512:
6
- metadata.gz: a8fe4ba22ff0d3fdcf58ee460bbbe355d85c373a26b5aceefdc6e7f284a9a56114cadfeccb45f71298ed5fc213a5c98f14d4434f688d17cf28156637ad92f3e6
7
- data.tar.gz: 19e945b80dab4c7a00dcfd28f7e719da5ae4255bb826b8d376bc9ebe46f53d88c38aca4447ed581c24e3a4a72644f7ac96fc3c485244400621981a77eb310943
6
+ metadata.gz: 33c5b8f7c2c9af1f53aa2dcda27f8884965208d19c3c3c1493e80a05e02366caea51b6bd9ed9d3d603623004c9ab0a6e34dc162a1eab6a697395691b88d6bf00
7
+ data.tar.gz: cef52db7180245c5b52613cc7ca2e861a776f4d1115dc705b8f3f8b60acb2b5bbf7a4fa7df39de468231f663d5c23e5cf7bff26da554d5c107d280f7a01b03af
@@ -61,6 +61,6 @@ Texts:
61
61
 
62
62
  ## Copyright
63
63
 
64
- Copyright (c) 2011-2018 Ivan Kuchin.
64
+ Copyright (c) 2011-2019 Ivan Kuchin.
65
65
  Released under the GPLv3 as required by license of underlying pHash library.
66
66
  See LICENSE.txt for details.
@@ -61,7 +61,7 @@ module Phash
61
61
  extend FFI::Library
62
62
 
63
63
  begin
64
- ffi_lib 'pHash'
64
+ ffi_lib ENV.fetch('PHASH_LIB', 'pHash')
65
65
  rescue LoadError => e
66
66
  raise LoadError, "Specify path to pHash library using PHASH_LIB environment variable. #{e.message}"
67
67
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'pHash'
5
- s.version = '1.2.1'
5
+ s.version = '1.2.2'
6
6
  s.summary = %q{Use pHash with ruby}
7
7
  s.homepage = "http://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
@@ -10,6 +10,12 @@ Gem::Specification.new do |s|
10
10
 
11
11
  s.rubyforge_project = s.name
12
12
 
13
+ s.metadata = {
14
+ 'bug_tracker_uri' => "https://github.com/toy/#{s.name}/issues",
15
+ 'documentation_uri' => "https://www.rubydoc.info/gems/#{s.name}/#{s.version}",
16
+ 'source_code_uri' => "https://github.com/toy/#{s.name}",
17
+ }
18
+
13
19
  s.files = `git ls-files`.split($/)
14
20
  s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
15
21
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pHash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-21 00:00:00.000000000 Z
11
+ date: 2019-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -99,7 +99,10 @@ files:
99
99
  homepage: http://github.com/toy/pHash
100
100
  licenses:
101
101
  - GPLv3
102
- metadata: {}
102
+ metadata:
103
+ bug_tracker_uri: https://github.com/toy/pHash/issues
104
+ documentation_uri: https://www.rubydoc.info/gems/pHash/1.2.2
105
+ source_code_uri: https://github.com/toy/pHash
103
106
  post_install_message: "pHash library can be installed using macports or brew:\n\tport
104
107
  install pHash\n\tbrew install --without-video-hash homebrew/boneyard/phash"
105
108
  rdoc_options: []
@@ -116,8 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
119
  - !ruby/object:Gem::Version
117
120
  version: '0'
118
121
  requirements: []
119
- rubyforge_project: pHash
120
- rubygems_version: 2.7.7
122
+ rubygems_version: 3.0.2
121
123
  signing_key:
122
124
  specification_version: 4
123
125
  summary: Use pHash with ruby