activerecord-aws-secret-connector 0.0.1 → 0.0.2

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: ede52301fb5baadbaec680812560494af3ebde837bd361eb78c1ff08da8a42a0
4
- data.tar.gz: b01c4a66519fcc1a7f6dce66e8994f35e01852e5f5ad6a24dbf285717894eba8
3
+ metadata.gz: c1d71e27b8f966de0aca0d434b014ae2e6100e80d13d854b62747b9d88dcb771
4
+ data.tar.gz: 64a6e8d9880424d567d7ecfa61180619caa6708e8bb4aafa8850cfe80350b4f8
5
5
  SHA512:
6
- metadata.gz: c67c45b27406f82c1a56a31f5cce4770d3cec41436e6c82849eb2db982ed728914fd8b0225140e5831c7283c730d1c68922cc7e8be5d323171601ba163fa659c
7
- data.tar.gz: 9d2b6299ac6277b064f78eac2cb5271fdd50e81aca5cdf70e47204f0d035b3b275d70ec0566bf5b1b8c12a9e3fa5c22786a7dfefbffd0e63a63cb55f79e0b65d
6
+ metadata.gz: 83594bb0d018b56458b99ab1627ada01afbe0504185941ee5a84e791f3709b488d2dfd1def625a3bf8182e59166e8cad2b93f73002377e11763869808791da69
7
+ data.tar.gz: 3632a409fb449d88e63e62a05f908276ccfb6ccf2fbc380cbd5e217478fc013e26732c8fc9afb44415da41c749780e0260368ab7c239d36a5a2a68d10ebd0a52
data/README.md CHANGED
@@ -55,6 +55,9 @@ production:
55
55
  cache_expires_in: 360
56
56
  ```
57
57
 
58
+ **IMPORTANT**
59
+ When using cache to store the connection and save requests to aws secret, it is really important to be sure that no one can access your cache storage from outside the application, to not expose your database connection informations to outside world.
60
+
58
61
  ## Contributing
59
62
 
60
63
  Bug reports and pull requests are welcome on GitHub at https://github.com/zygotecnologia/activerecord-aws-secret-connector.
@@ -6,8 +6,8 @@ require 'active_record/aws_secret_connector/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'activerecord-aws-secret-connector'
8
8
  spec.version = ActiveRecord::AwsSecretConnector::VERSION
9
- spec.authors = ['João Paulo Lethier']
10
- spec.email = ['jplethier@gmail.com']
9
+ spec.authors = ["João Paulo Lethier"]
10
+ spec.email = ["joaopaulo.lethier@zygotecnologia.com"]
11
11
  spec.description = %q{Adds ability to active record connect to database using aws secret to store database connection informations}
12
12
  spec.summary = %q{Adds ability to active record connect to database using aws secret to store database connection informations}
13
13
  spec.homepage = 'https://github.com/zygotecnologia/activerecord-aws-secret-connector'
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ['lib']
20
20
 
21
21
  spec.add_dependency 'aws-sdk-secretsmanager', '~> 1.43.0'
22
+ spec.add_dependency 'activerecord', '~> 6.0.0'
22
23
 
23
24
  spec.add_development_dependency 'bundler'
24
25
  spec.add_development_dependency 'rake'
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module AwsSecretConnector
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -0,0 +1 @@
1
+ require 'active_record/connection_adapters/connection_pool'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-aws-secret-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - João Paulo Lethier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-29 00:00:00.000000000 Z
11
+ date: 2021-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-secretsmanager
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.43.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: activerecord
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 6.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 6.0.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -55,7 +69,7 @@ dependencies:
55
69
  description: Adds ability to active record connect to database using aws secret to
56
70
  store database connection informations
57
71
  email:
58
- - jplethier@gmail.com
72
+ - joaopaulo.lethier@zygotecnologia.com
59
73
  executables: []
60
74
  extensions: []
61
75
  extra_rdoc_files: []
@@ -67,6 +81,7 @@ files:
67
81
  - activerecord-aws-secret-connector.gemspec
68
82
  - lib/active_record/aws_secret_connector/version.rb
69
83
  - lib/active_record/connection_adapters/connection_pool.rb
84
+ - lib/activerecord-aws-secret-connector.rb
70
85
  homepage: https://github.com/zygotecnologia/activerecord-aws-secret-connector
71
86
  licenses:
72
87
  - MIT