mongoid-encrypted-fields 1.3.5 → 1.3.6

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGE2NGExY2QyOTY0Y2M1ZTExMzE2M2Y1NTBlNGZkODg4MjY3ZDFjYw==
4
+ NzNiZmY3MjE1NjhkZTRlMTgzZWY0YzBlMDdiOGM5NDAwMDZkZTM5OQ==
5
5
  data.tar.gz: !binary |-
6
- NzQ0NjkxNmVkYTEzNTZhODM1NzhmNjhkZWFlYTg2Zjk5NTAyOTI5ZA==
6
+ NWIyNTY0MmU4OTY0NTY4NDdlZGU3Yjg1Nzc3Zjc0NzljNTRiM2QyNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjZlYWIzOGMzMTU4OWI1NWJmZTQ1YjRkZDlkNWQ4YjdmNDk2ZDA3NzdkODNm
10
- YTJiNzQ4NDk2NGFjNmU4MTUyMDVmOTdmMDhkY2E1YTI2ZTVhMTFlMGI0YWNl
11
- N2E2NGJmN2IyYTY1MDczNWM5YmMzOTVkODAzMjBlZTg3YzI0NGY=
9
+ MzZiNDQwN2FhMTIyYWNkMGNiZTc1ZmI2MDMxYzE2ZjY1ZTgwM2U0ZWZiNThi
10
+ YzYxODBiNTY0MWExNzZhYTA3OWQzNmM3ZTEwMzI0ODFiYTVlYzhjZTliNWM4
11
+ ZDlkOGE1MWFkMDAyYjZmYmJmY2IzMWIzODg0MDdhODU5ODc5Y2E=
12
12
  data.tar.gz: !binary |-
13
- Yjg4ODI2YTllMTgzMjI1NTkyYmZlNzJlNGM3MGZmODNhNTQ2YWJhNmQ1ODA1
14
- YjQ2ODI2YTNkNmE1ZTM5N2UyZmIyNmQ0Nzc1N2NhZWM0Y2ZhZWE5NjkyM2Vl
15
- OWY1MTc5OTJlNDVjMDAzZDI2ZmU2ODk0N2FjMGFhZGY5ZjRiMGM=
13
+ NjY1ZDc4MDQ5Mjc0NDBhOGFjY2MzYzgwY2RjNjVhNzMwMjEyZDNlN2NiOTc3
14
+ YTgzYzdhNzAwYTg3ZGI2NDdlMDM3MWMzNDMyZTE5ZTAyZGZiNGNjZDMwOTY0
15
+ YTcyYjY4ZGI0OTliZmRiOWNhMzMxZTU1ZWI0YjA5OWJmMDFiM2Y=
@@ -1,5 +1,9 @@
1
1
  # Revision history
2
2
 
3
+ ## 1.3.6
4
+ * Changes to keep backwards support for Ruby < 2
5
+ * \#28 Investigating gem load error
6
+
3
7
  ## 1.3.5
4
8
  * \#25 Mongoid 6 support
5
9
 
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 = GibberishCipher.new(ENV['MY_PASSWORD'], ENV['MY_SALT'])
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::MAJOR}"
32
+ raise "Unsupported version of Mongoid: #{::Mongoid::VERSION}"
33
33
  end
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module EncryptedFields
3
- VERSION = '1.3.5'
3
+ VERSION = '1.3.6'
4
4
  end
5
5
  end
@@ -1,11 +1,6 @@
1
1
  require 'bundler/setup'
2
2
  require 'simplecov'
3
3
 
4
- if ENV['TRAVIS']
5
- require 'coveralls'
6
- SimpleCov.formatter = Coveralls::SimpleCov::Formatter
7
- end
8
-
9
4
  SimpleCov.start do
10
5
  add_filter '/spec/'
11
6
  add_filter '/examples/'
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.5
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: 2016-09-13 00:00:00.000000000 Z
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: 1.2.2
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: 1.2.2
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