attr_encryption 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 258965db5320b47075771bde469ef7904a814c72439f03b8bc9b986d37beb1a8
4
- data.tar.gz: b4bd421e811239df1b3d7495075531aaa5e4163883f3f1738b5bc763e1beb801
3
+ metadata.gz: ffa5d165ddabf25bd02d8609762a66dcd3456bd6a2faae99a4f2e5b899840605
4
+ data.tar.gz: ebd7e6a042acc3adb9cdc01844fe78422c2a2da991c845cea68c28fa18e686ba
5
5
  SHA512:
6
- metadata.gz: 6bc244e2af6c350ff72b1f795325bc1ae7f5daed1f5d0d2ec98240b800aea955cb66dfd9c1181c1dc2feb2d7a0314fd76ac0facfe48b1e55643665a5b131a701
7
- data.tar.gz: d20af4210f1f9b3d33db7f2223efc8349db9edec11a7a199033e8a2e08bc11c7cf2cd61a037af0e38b33a4764223d661838210f9d269867dbd2c75b3fe305135
6
+ metadata.gz: 6b3de9ba0bc16f2297cb89a3f1befe742194357fe841b46f7ba236fd106231cac6c29590718cd5b99c0129170d04034438b5f4e8c12257ba2b983697c25d9366
7
+ data.tar.gz: 92960abb6db742633ca889b49ce227859854e52dd7e4053702e718914fda916fdd7e0a6975b81eba3c7098035f55e4a793ef10f9f4194b3a555b00e56d60b6ac
data/Gemfile CHANGED
@@ -1,8 +1,8 @@
1
1
  source "http://rubygems.org"
2
2
  # Add dependencies required to use your gem here.
3
3
  # Example:
4
- gem "activesupport", "= 7.0.8"
5
-
4
+ #gem "activesupport", "= 7.1.1"
5
+ gem 'activesupport', '~> 6.1.7.6'
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  group :development do
@@ -10,4 +10,5 @@ group :development do
10
10
  gem "rdoc", "~> 4.1"
11
11
  gem "bundler", "~> 2.4.10"
12
12
  gem "jeweler", "~> 2.3"
13
+ gem "pry-byebug"
13
14
  end
@@ -6,12 +6,12 @@
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "attr_encryption".freeze
9
- s.version = "0.4.2"
9
+ s.version = "0.4.3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Dave Sieh".freeze, "Kendra".freeze]
14
- s.date = "2023-10-04"
14
+ s.date = "2017-07-21"
15
15
  s.description = "Provides an extension for Ruby and rails object to support a flexible means of encrypting attributes.".freeze
16
16
  s.email = "dave.sieh@providigm.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -46,23 +46,23 @@ Gem::Specification.new do |s|
46
46
  s.specification_version = 4
47
47
 
48
48
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
- s.add_runtime_dependency(%q<activesupport>.freeze, ["~> 7.0"])
49
+ s.add_runtime_dependency(%q<activesupport>.freeze, ["6.1.7.6"])
50
50
  s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
51
51
  s.add_development_dependency(%q<rdoc>.freeze, ["~> 4.1"])
52
52
  s.add_development_dependency(%q<bundler>.freeze, ["~> 2.4.10"])
53
53
  s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.3"])
54
54
  else
55
- s.add_dependency(%q<activesupport>.freeze, ["~> 7.0"])
55
+ s.add_dependency(%q<activesupport>.freeze, ["6.1.7.6"])
56
56
  s.add_dependency(%q<rspec>.freeze, [">= 0"])
57
57
  s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
58
58
  s.add_dependency(%q<bundler>.freeze, ["~> 2.4.10"])
59
59
  s.add_dependency(%q<jeweler>.freeze, ["~> 2.3"])
60
60
  end
61
61
  else
62
- s.add_dependency(%q<activesupport>.freeze, ["~> 7.0"])
62
+ s.add_dependency(%q<activesupport>.freeze, ["6.1.7.6"])
63
63
  s.add_dependency(%q<rspec>.freeze, [">= 0"])
64
64
  s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
65
- s.add_dependency(%q<bundler>.freeze, ["~>2.4.10"])
65
+ s.add_dependency(%q<bundler>.freeze, ["~> 2.4.10"])
66
66
  s.add_dependency(%q<jeweler>.freeze, ["~> 2.3"])
67
67
  end
68
68
  end
@@ -170,7 +170,7 @@ module AttrEncryption
170
170
  value = send(attribute)
171
171
  value.respond_to?(:empty?) ? !value.empty? : !!value
172
172
  end
173
- self.encrypted_attributes ||= {}
173
+
174
174
  encrypted_attributes[attribute.to_sym] = options.merge(:attribute => encrypted_attribute_name)
175
175
  end
176
176
  end
@@ -355,4 +355,4 @@ end
355
355
  Object.extend AttrEncryption
356
356
 
357
357
  # require File.expand_path('attr_encryption/adapters/active_record.rb', File.dirname(__FILE__))
358
- require 'attr_encryption/adapters/active_record.rb'
358
+ require 'attr_encryption/adapters/active_record.rb'
@@ -1,6 +1,5 @@
1
1
  require 'spec_helper'
2
2
  require 'securerandom'
3
-
4
3
  class DummyClass
5
4
  include MySQLEncryption
6
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attr_encryption
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Sieh
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-10-04 00:00:00.000000000 Z
12
+ date: 2017-07-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: '7.0'
20
+ version: 6.1.7.6
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: '7.0'
27
+ version: 6.1.7.6
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rspec
30
30
  requirement: !ruby/object:Gem::Requirement