mongoid-encrypted-fields 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +4 -0
- data/README.md +1 -3
- data/lib/mongoid-encrypted-fields.rb +1 -1
- data/lib/mongoid-encrypted-fields/version.rb +1 -1
- data/spec/spec_helper.rb +0 -5
- metadata +6 -20
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzNiZmY3MjE1NjhkZTRlMTgzZWY0YzBlMDdiOGM5NDAwMDZkZTM5OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWIyNTY0MmU4OTY0NTY4NDdlZGU3Yjg1Nzc3Zjc0NzljNTRiM2QyNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzZiNDQwN2FhMTIyYWNkMGNiZTc1ZmI2MDMxYzE2ZjY1ZTgwM2U0ZWZiNThi
|
10
|
+
YzYxODBiNTY0MWExNzZhYTA3OWQzNmM3ZTEwMzI0ODFiYTVlYzhjZTliNWM4
|
11
|
+
ZDlkOGE1MWFkMDAyYjZmYmJmY2IzMWIzODg0MDdhODU5ODc5Y2E=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjY1ZDc4MDQ5Mjc0NDBhOGFjY2MzYzgwY2RjNjVhNzMwMjEyZDNlN2NiOTc3
|
14
|
+
YTgzYzdhNzAwYTg3ZGI2NDdlMDM3MWMzNDMyZTE5ZTAyZGZiNGNjZDMwOTY0
|
15
|
+
YTcyYjY4ZGI0OTliZmRiOWNhMzMxZTU1ZWI0YjA5OWJmMDFiM2Y=
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,8 +2,6 @@ mongoid-encrypted-fields
|
|
2
2
|
========================
|
3
3
|
[![Build Status](https://secure.travis-ci.org/KoanHealth/mongoid-encrypted-fields.png?branch=master&.png)](http://travis-ci.org/KoanHealth/mongoid-encrypted-fields)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/KoanHealth/mongoid-encrypted-fields.png)](https://codeclimate.com/github/KoanHealth/mongoid-encrypted-fields)
|
5
|
-
[![Coverage Status](https://coveralls.io/repos/KoanHealth/mongoid-encrypted-fields/badge.png?branch=master)](https://coveralls.io/r/KoanHealth/mongoid-encrypted-fields)
|
6
|
-
[![Dependency Status](https://gemnasium.com/KoanHealth/mongoid-encrypted-fields.png)](https://gemnasium.com/KoanHealth/mongoid-encrypted-fields)
|
7
5
|
|
8
6
|
New Maintainer Needed
|
9
7
|
=====================
|
@@ -32,7 +30,7 @@ Queries encrypt data before searching the database, so equality matches work aut
|
|
32
30
|
|
33
31
|
GibberishCipher can be found in examples - uses the [Gibberish](https://github.com/mdp/gibberish) gem:
|
34
32
|
```Ruby
|
35
|
-
Mongoid::EncryptedFields.cipher =
|
33
|
+
Mongoid::EncryptedFields.cipher = Gibberish.new(ENV['MY_PASSWORD'], ENV['MY_SALT'])
|
36
34
|
```
|
37
35
|
|
38
36
|
* Use encrypted types for fields in your models:
|
@@ -29,5 +29,5 @@ case ::Mongoid::EncryptedFields.mongoid_major_version
|
|
29
29
|
when 4, 5, 6
|
30
30
|
require 'mongoid-encrypted-fields/mongoid4/validatable/uniqueness'
|
31
31
|
else
|
32
|
-
raise "Unsupported version of Mongoid: #{::Mongoid::VERSION
|
32
|
+
raise "Unsupported version of Mongoid: #{::Mongoid::VERSION}"
|
33
33
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid-encrypted-fields
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Koan Health
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: gibberish
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - <
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '2'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - <
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '2'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: encrypted_strings
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,20 +94,6 @@ dependencies:
|
|
94
94
|
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.3'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: coveralls
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - <=
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.8.14
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - <=
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 0.8.14
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: simplecov
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|