activerecord-aws-secret-connector 0.0.1 → 0.0.2
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,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1d71e27b8f966de0aca0d434b014ae2e6100e80d13d854b62747b9d88dcb771
|
4
|
+
data.tar.gz: 64a6e8d9880424d567d7ecfa61180619caa6708e8bb4aafa8850cfe80350b4f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 = [
|
10
|
-
spec.email = [
|
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'
|
@@ -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.
|
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:
|
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
|
-
-
|
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
|