russdeep 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/Rakefile +0 -13
- data/VERSION +1 -1
- data/lib/ffi/ssdeep.rb +2 -2
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MjUyNGViMzI1ODA4OTdiMzBlMWJjODZmYmQ0OWQwNTdjZWUyMDJjYQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NDY1ZmIwYmVjZmUyMDI5NmM0OTRjYTg3ZWE5Mzk1NTBjY2M0ZDNmNg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
Mzg1NmY5MjIyZjk4NzM2MWY5MDI3MDE0ZmViODRkNTNjNDU5N2EzNWVjNDY3
|
10
|
+
ZWEzMzg4MmQ0ZGE5MWFlYWY0NGFlOTNmNjhjMjM2ZDg1MjIzYmVjOTlkZmVh
|
11
|
+
N2ZjYzQ0ZGQ4NWVhMjFhYTJiZDk2ZTdjYmFhNGJhZGRkOTdiN2Q=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
Yzc4YTY4Y2M3YWFhZGQyM2QzNjIwNDI1YzZjMGY2ZjhkYTI0NzU1ZTFhZGE1
|
14
|
+
ZjA1ODdmNWJiOTM5ZGUxM2Y5YzMxYTA5NGUzMTg0N2FjZWE5NmZhMDUzMzk5
|
15
|
+
YjY5YzkzYmM5ZGQ3MzkyYTQzMTk4M2E0NDI3MWM2M2UxMjI2ZDQ=
|
data/Rakefile
CHANGED
@@ -48,17 +48,4 @@ end
|
|
48
48
|
|
49
49
|
task :default => :spec
|
50
50
|
|
51
|
-
#require 'rake/rdoctask'
|
52
|
-
#Rake::RDocTask.new do |rdoc|
|
53
|
-
# version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
54
|
-
#
|
55
|
-
# rdoc.rdoc_dir = 'rdoc'
|
56
|
-
# rdoc.title = "russdeep #{version}"
|
57
|
-
# rdoc.rdoc_files.include('README*')
|
58
|
-
# rdoc.rdoc_files.include('lib/**/*.rb')
|
59
|
-
# rdoc.rdoc_files.include('ext/**/*.c')
|
60
|
-
#end
|
61
|
-
|
62
|
-
#require 'yard'
|
63
|
-
#YARD::Rake::YardocTask.new
|
64
51
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.1
|
data/lib/ffi/ssdeep.rb
CHANGED
@@ -36,8 +36,8 @@ module Ssdeep
|
|
36
36
|
# @raise HashError
|
37
37
|
# An exception is raised if the libfuzzy library encounters an error.
|
38
38
|
def self.from_string(buf)
|
39
|
-
bufp = FFI::MemoryPointer.new(buf.
|
40
|
-
bufp.write_string(buf, buf.
|
39
|
+
bufp = FFI::MemoryPointer.new(buf.bytesize)
|
40
|
+
bufp.write_string(buf, buf.bytesize)
|
41
41
|
|
42
42
|
out = FFI::MemoryPointer.new(FUZZY_MAX_RESULT)
|
43
43
|
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: russdeep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Monti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - '>='
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.2.9
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - '>='
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.2.9
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: ffi
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - '>='
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - '>='
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: Ruby bindings for libfuzzy, a fuzzy hashing implementation included with
|
@@ -78,17 +78,17 @@ require_paths:
|
|
78
78
|
- lib
|
79
79
|
required_ruby_version: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - '>='
|
81
|
+
- - ! '>='
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- - '>='
|
86
|
+
- - ! '>='
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.
|
91
|
+
rubygems_version: 2.2.1
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Ruby bindings for libfuzzy (from ssdeep)
|