salt-and-pepper 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.textile +2 -2
- data/lib/version.rb +1 -1
- data/salt-and-pepper.gemspec +2 -2
- metadata +11 -13
data/README.textile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
h1. Salt and Pepper
|
|
2
2
|
|
|
3
|
-
Provides automatic password hashing for ActiveRecord (>= 3.0) and a couple of methods for generating random strings, tokens, etc.
|
|
3
|
+
Provides automatic password hashing for ActiveRecord (>= 3.0.4) and a couple of methods for generating random strings, tokens, etc.
|
|
4
4
|
Features:
|
|
5
5
|
|
|
6
6
|
* Mark columns for auto-hashing with a single line of code.
|
|
@@ -9,7 +9,7 @@ Features:
|
|
|
9
9
|
* Super easy hash verification.
|
|
10
10
|
* Tested using RSpec 2
|
|
11
11
|
|
|
12
|
-
<code>Digest::SHA256</code> is used for hashing and <code>
|
|
12
|
+
<code>Digest::SHA256</code> is used for hashing and <code>ActiveSupport::SecureRandom</code> is used for generating random stuff.
|
|
13
13
|
|
|
14
14
|
h2. Installation
|
|
15
15
|
|
data/lib/version.rb
CHANGED
data/salt-and-pepper.gemspec
CHANGED
|
@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
20
20
|
s.require_paths = ["lib"]
|
|
21
21
|
|
|
22
|
-
s.add_dependency("activesupport", ">= 3.0.
|
|
23
|
-
s.add_dependency("activerecord", ">= 3.0.
|
|
22
|
+
s.add_dependency("activesupport", ">= 3.0.4")
|
|
23
|
+
s.add_dependency("activerecord", ">= 3.0.4")
|
|
24
24
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: salt-and-pepper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.2.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Mate Solymosi
|
|
@@ -15,8 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
19
|
-
default_executable:
|
|
18
|
+
date: 2011-05-15 00:00:00 Z
|
|
20
19
|
dependencies:
|
|
21
20
|
- !ruby/object:Gem::Dependency
|
|
22
21
|
name: activesupport
|
|
@@ -26,12 +25,12 @@ dependencies:
|
|
|
26
25
|
requirements:
|
|
27
26
|
- - ">="
|
|
28
27
|
- !ruby/object:Gem::Version
|
|
29
|
-
hash:
|
|
28
|
+
hash: 15
|
|
30
29
|
segments:
|
|
31
30
|
- 3
|
|
32
31
|
- 0
|
|
33
|
-
-
|
|
34
|
-
version: 3.0.
|
|
32
|
+
- 4
|
|
33
|
+
version: 3.0.4
|
|
35
34
|
type: :runtime
|
|
36
35
|
version_requirements: *id001
|
|
37
36
|
- !ruby/object:Gem::Dependency
|
|
@@ -42,12 +41,12 @@ dependencies:
|
|
|
42
41
|
requirements:
|
|
43
42
|
- - ">="
|
|
44
43
|
- !ruby/object:Gem::Version
|
|
45
|
-
hash:
|
|
44
|
+
hash: 15
|
|
46
45
|
segments:
|
|
47
46
|
- 3
|
|
48
47
|
- 0
|
|
49
|
-
-
|
|
50
|
-
version: 3.0.
|
|
48
|
+
- 4
|
|
49
|
+
version: 3.0.4
|
|
51
50
|
type: :runtime
|
|
52
51
|
version_requirements: *id002
|
|
53
52
|
description: Super easy password salting and hashing for ActiveRecord (Rails)
|
|
@@ -74,7 +73,6 @@ files:
|
|
|
74
73
|
- spec/model_extensions_spec.rb
|
|
75
74
|
- spec/random_spec.rb
|
|
76
75
|
- spec/spec_helper.rb
|
|
77
|
-
has_rdoc: true
|
|
78
76
|
homepage: http://github.com/SMWEB/salt-and-pepper
|
|
79
77
|
licenses: []
|
|
80
78
|
|
|
@@ -104,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
104
102
|
requirements: []
|
|
105
103
|
|
|
106
104
|
rubyforge_project: salt-and-pepper
|
|
107
|
-
rubygems_version: 1.
|
|
105
|
+
rubygems_version: 1.8.1
|
|
108
106
|
signing_key:
|
|
109
107
|
specification_version: 3
|
|
110
108
|
summary: Super easy password salting and hashing for ActiveRecord (Rails)
|