russdeep 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +13 -5
  2. data/Rakefile +0 -13
  3. data/VERSION +1 -1
  4. data/lib/ffi/ssdeep.rb +2 -2
  5. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f91f6c46e89e2e49001ff7c3978e4b4428c7d4b0
4
- data.tar.gz: 8c20737c13c25db6d79016cf80f832f779be1422
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MjUyNGViMzI1ODA4OTdiMzBlMWJjODZmYmQ0OWQwNTdjZWUyMDJjYQ==
5
+ data.tar.gz: !binary |-
6
+ NDY1ZmIwYmVjZmUyMDI5NmM0OTRjYTg3ZWE5Mzk1NTBjY2M0ZDNmNg==
5
7
  SHA512:
6
- metadata.gz: 80f6325b21c60c667269f2adb08b25abe3fe223e2ff9ef89b2b090a86da5eb3ef2e8654e0fc624a8c118fecd0a325f6446c44713de673c30fd7558651b142c3f
7
- data.tar.gz: 92072d827bfe10182aafa2ee0e40ea5f21cd883cf631c047bdd6723ff3de20680667bfbaffa63a5d49d51dd043d24878b51e9c1dd745c7816f67d09c5af1b9f3
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.0
1
+ 1.2.1
@@ -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.size)
40
- bufp.write_string(buf, buf.size)
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.0
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: 2013-04-24 00:00:00.000000000 Z
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.0.0
91
+ rubygems_version: 2.2.1
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Ruby bindings for libfuzzy (from ssdeep)