authlogic_crypto_zero 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/authlogic_crypto_zero.rb +9 -0
  3. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bbd3244904a4eb7192dc4cdb5c3d6b6eac245f6e
4
+ data.tar.gz: a74db7e6db9f411734f996b4db4d046479cac008
5
+ SHA512:
6
+ metadata.gz: 99d48167cfdadd6853628a1f58ce7f4dd4553c175a06abe735fc83700b9615070077e6e39d44db9b968f30f15d575df2b548a2a88fffdf5a26d3d4ba0b51227a
7
+ data.tar.gz: 35cdd2a6ed4947ebb611fc3a0d8b7ca7618292725b5e1558cb2c071475766417c8e1a09672f42fb3326bcc483b91665bf7c98ec15c8405859c872832b8289483
@@ -0,0 +1,9 @@
1
+ module Authlogic::CryptoProviders::Zero
2
+ def self.encrypt(*tokens)
3
+ tokens[0]
4
+ end
5
+
6
+ def self.matches?(crypted, *tokens)
7
+ crypted === tokens[0]
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: authlogic_crypto_zero
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Boris Murga
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-11-28 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Simply way to add performance during tests execution disabling password
14
+ encryption
15
+ email: denwwer.c4@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/authlogic_crypto_zero.rb
21
+ homepage: https://github.com/denwwer/authlogic_crypto_zero
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubyforge_project:
41
+ rubygems_version: 2.4.5.1
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: Authlogic crypto provider
45
+ test_files: []