fast_secure_compare 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDM5MWFhMTcwNjJhNjQyZjA4YTc1ODE4NGZlNGQ4ZTU2NjhiY2ZmYw==
5
- data.tar.gz: !binary |-
6
- MmY2NjNlYzg4MzFhNWQyZWYyMTU0NzI3M2FlYjg4NWI5NjE4MTc0Zg==
2
+ SHA1:
3
+ metadata.gz: 54e54a83d910f86aa73e21f59230395dbf51b40f
4
+ data.tar.gz: 98191ab0147795b0b6c5ca3a88d681272f870bb5
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- YmU3ODRhYTM4Njg4MGIzMmJmMjQ0ZjI1MGI1YjMyYTEyZjVjMGQ3OTMxMTE2
10
- MjM4ZGJmMmZmNWFlN2E0NjEzOGI0N2YxYjNmNjQ3NjRkYmM0ODQyYzE0ZTA5
11
- OTc0NjJmMGI0MjJmZjE5MzJmYjAwZjIwODRhYzU0NGQ5ODI5Mzk=
12
- data.tar.gz: !binary |-
13
- OTc2MTgwY2NlMzhjZGZhZGNmNzBhOWQ2ZmJmZDYyODE4MjZkMzQ4NTMxYTky
14
- NWQ1ZmM1MjQzYzM2MmM1Nzc1YjUzN2MzZTU2Njk3YWFiNmM0ZTdlNjNmZjVm
15
- ZWU1ODY0ZjQzZWY0YmRkZmEwY2Y0NDQ5ZTU4OTRmMTQ4NDFmYTc=
6
+ metadata.gz: 5dcf5a273daafbd0399828c96323b1638677c9cd50e0a38dcc5a79a930afeaea2388dc5dc4f8c222c426f75dcc8738ad937dd3d560ed4f1141c17212fe0b6a08
7
+ data.tar.gz: 07e9b0f6df43928e9c6114d10ca0113e546576f94cbe2fe7facd37cc05d68d658e7155f167a51b41df7c80091e81094b7a89023d9a75aa5a5ae4cbc62d3a83e3
data/Rakefile CHANGED
@@ -4,33 +4,7 @@ require 'rspec/core/rake_task'
4
4
  require 'rake/extensiontask'
5
5
 
6
6
  task :default => [:compile, :test]
7
-
8
- spec = Gem::Specification.new do |s|
9
- s.name = 'fast_secure_compare'
10
- s.version = '1.0.0'
11
- s.date = '2014-08-23'
12
- s.summary = "A fast, simple way to do constant time string comparisons."
13
- s.description = "A secure_comparison function implemented in C for blazing speed. Includes monkeypatch for Rails and Rack."
14
- s.authors = ["Daniel Axtens"]
15
- s.email = 'daniel@axtens.net'
16
- s.homepage =
17
- 'https://github.com/daxtens/fast_secure_compare'
18
- s.license = 'MIT'
19
-
20
-
21
- s.add_development_dependency 'rake'
22
- s.add_development_dependency 'rake-compiler'
23
- s.add_development_dependency 'rspec'
24
-
25
- s.files = Dir["{lib}/**/*"] + %w(Rakefile README.md LICENSE)
26
- s.files += Dir['ext/**/*.c'] + Dir['ext/**/extconf.rb']
27
- s.test_files = Dir["spec/**/*"]
28
- s.extra_rdoc_files = ["README.md"]
29
-
30
- s.extensions = Dir['ext/**/extconf.rb']
31
- s.require_paths = ["lib"]
32
- end
33
-
7
+ spec = eval(File.read('fast_secure_compare.gemspec'))
34
8
  # add your default gem packing task
35
9
  Gem::PackageTask.new(spec) do |pkg|
36
10
  end
@@ -1,4 +1,5 @@
1
- require 'fast_secure_compare'
1
+ # require Rack monkeypatch --- rails uses both MessageVerifier and
2
+ require 'fast_secure_compare/rack'
2
3
 
3
4
  # Monkeypatch Rails
4
5
  module ActiveSupport
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_secure_compare
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Axtens
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-23 00:00:00.000000000 Z
11
+ date: 2014-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
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: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake-compiler
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
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: A secure_comparison function implemented in C for blazing speed. Includes
@@ -61,13 +61,13 @@ extensions:
61
61
  extra_rdoc_files:
62
62
  - README.md
63
63
  files:
64
- - LICENSE
65
- - README.md
66
- - Rakefile
67
- - ext/fast_secure_compare/extconf.rb
68
- - ext/fast_secure_compare/secure_compare.c
69
64
  - lib/fast_secure_compare/rack.rb
70
65
  - lib/fast_secure_compare/rails.rb
66
+ - Rakefile
67
+ - README.md
68
+ - LICENSE
69
+ - ext/fast_secure_compare/secure_compare.c
70
+ - ext/fast_secure_compare/extconf.rb
71
71
  - spec/fast_secure_compare_spec.rb
72
72
  - spec/fsc_rack_spec.rb
73
73
  homepage: https://github.com/daxtens/fast_secure_compare
@@ -80,17 +80,17 @@ require_paths:
80
80
  - lib
81
81
  required_ruby_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - ! '>='
83
+ - - '>='
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ! '>='
88
+ - - '>='
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.2.2
93
+ rubygems_version: 2.0.6
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: A fast, simple way to do constant time string comparisons.