russdeep 1.1.0 → 1.2.0

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 +7 -0
  2. data/Rakefile +12 -12
  3. data/VERSION +1 -1
  4. data/lib/ffi/ssdeep.rb +1 -1
  5. metadata +49 -70
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f91f6c46e89e2e49001ff7c3978e4b4428c7d4b0
4
+ data.tar.gz: 8c20737c13c25db6d79016cf80f832f779be1422
5
+ SHA512:
6
+ metadata.gz: 80f6325b21c60c667269f2adb08b25abe3fe223e2ff9ef89b2b090a86da5eb3ef2e8654e0fc624a8c118fecd0a325f6446c44713de673c30fd7558651b142c3f
7
+ data.tar.gz: 92072d827bfe10182aafa2ee0e40ea5f21cd883cf631c047bdd6723ff3de20680667bfbaffa63a5d49d51dd043d24878b51e9c1dd745c7816f67d09c5af1b9f3
data/Rakefile CHANGED
@@ -48,17 +48,17 @@ 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') : ""
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
54
61
 
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
62
+ #require 'yard'
63
+ #YARD::Rake::YardocTask.new
64
64
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
@@ -37,7 +37,7 @@ module Ssdeep
37
37
  # An exception is raised if the libfuzzy library encounters an error.
38
38
  def self.from_string(buf)
39
39
  bufp = FFI::MemoryPointer.new(buf.size)
40
- bufp.write_string(buf)
40
+ bufp.write_string(buf, buf.size)
41
41
 
42
42
  out = FFI::MemoryPointer.new(FUZZY_MAX_RESULT)
43
43
 
metadata CHANGED
@@ -1,61 +1,54 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: russdeep
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 1
8
- - 0
9
- version: 1.1.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
10
5
  platform: ruby
11
- authors:
6
+ authors:
12
7
  - Eric Monti
13
8
  autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
-
17
- date: 2011-03-22 00:00:00 -05:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2013-04-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: rspec
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 1
30
- - 2
31
- - 9
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
32
19
  version: 1.2.9
33
20
  type: :development
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: ffi
37
21
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- segments:
44
- - 0
45
- version: "0"
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.2.9
27
+ - !ruby/object:Gem::Dependency
28
+ name: ffi
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
46
34
  type: :development
47
- version_requirements: *id002
48
- description: Ruby bindings for libfuzzy, a fuzzy hashing implementation included with the ssdeep utility
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Ruby bindings for libfuzzy, a fuzzy hashing implementation included with
42
+ the ssdeep utility
49
43
  email: esmonti@gmail.com
50
44
  executables: []
51
-
52
- extensions:
45
+ extensions:
53
46
  - ext/ssdeep_native/extconf.rb
54
- extra_rdoc_files:
47
+ extra_rdoc_files:
55
48
  - LICENSE
56
49
  - README.rdoc
57
50
  - ext/ssdeep_native/ssdeep_native.c
58
- files:
51
+ files:
59
52
  - .document
60
53
  - .rspec
61
54
  - History.txt
@@ -76,41 +69,27 @@ files:
76
69
  - spec/spec_helper.rb
77
70
  - spec/ssdeep_behaviors.rb
78
71
  - spec/ssdeep_spec.rb
79
- has_rdoc: true
80
72
  homepage: http://github.com/emonti/russdeep
81
73
  licenses: []
82
-
74
+ metadata: {}
83
75
  post_install_message:
84
76
  rdoc_options: []
85
-
86
- require_paths:
77
+ require_paths:
87
78
  - lib
88
- required_ruby_version: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- segments:
94
- - 0
95
- version: "0"
96
- required_rubygems_version: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- segments:
102
- - 0
103
- version: "0"
79
+ required_ruby_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '>='
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
104
89
  requirements: []
105
-
106
90
  rubyforge_project:
107
- rubygems_version: 1.3.7
91
+ rubygems_version: 2.0.0
108
92
  signing_key:
109
- specification_version: 3
93
+ specification_version: 4
110
94
  summary: Ruby bindings for libfuzzy (from ssdeep)
111
- test_files:
112
- - spec/ffi_ssdeep_spec.rb
113
- - spec/fuzzy_comparable_spec.rb
114
- - spec/spec_helper.rb
115
- - spec/ssdeep_behaviors.rb
116
- - spec/ssdeep_spec.rb
95
+ test_files: []