portunus 0.3.2 → 0.3.3
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 +4 -4
- data/README.md +19 -1
- data/lib/portunus/field_configurer.rb +0 -1
- data/lib/portunus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2aa50f7bc5907aacbac1982677a022d4e65f9d10720de1f8517ed43d09801335
|
|
4
|
+
data.tar.gz: f2dd61e18d64adcc6665fecae50ab6c0cbc88198aa9f34a8a62294196e995a1f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bfd40c8e8504ec44f2d357467127e8fd3fb3086690cc7ea22ad9d5bdb4556406982f25ac3a2370017a35e5f61b6b9f78bf3a5fd1590f148c9cad998a566105cc
|
|
7
|
+
data.tar.gz: e7d211c5a9892e98c5c40d9dbf615f58b22883ad1a7785e79c27aed725d0bf0c6e57e45052fe1a7869d8518c4ede736bcde4b78fe0ee8a119b71652a2d5f2adf
|
data/README.md
CHANGED
|
@@ -54,13 +54,31 @@ include Portunus::Encryptable
|
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
### Set up your master keys
|
|
57
|
+
|
|
57
58
|
Portunus comes with two adaptors for your master keys, "credentials" and
|
|
58
59
|
"environment". This should cover the most common deploy scenarios. Before
|
|
59
60
|
Portunus can function, enabled master keys need to be added. There is a
|
|
60
61
|
generator to create the keys for you to then install in the proper
|
|
61
|
-
location.
|
|
62
|
+
location.
|
|
62
63
|
|
|
63
64
|
$ bundle exec rake portunus:generate_master_keys
|
|
65
|
+
|
|
66
|
+
If you are using the credentials adaptor (default), add the keys here.
|
|
67
|
+
Make sure to generate keys for each environment.
|
|
68
|
+
|
|
69
|
+
$ bundle exec rails credentials:edit --environment=development
|
|
70
|
+
|
|
71
|
+
#### Spring / Postgres / OSX
|
|
72
|
+
|
|
73
|
+
When using this combination a bug may arise that prompts a weird error message:
|
|
74
|
+
|
|
75
|
+
$ objc[4182]: +[__NSPlaceholderDictionary initialize] may have been in progress in another thread when fork() was called.
|
|
76
|
+
|
|
77
|
+
You can circumvent it by using the below command in High Sierra / Catalina. It
|
|
78
|
+
might not work in Mojave but I believe this issue unrelated to Portunus.
|
|
79
|
+
Alternatively just don't use spring.
|
|
80
|
+
|
|
81
|
+
$ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
|
64
82
|
|
|
65
83
|
### Additional devise notes
|
|
66
84
|
|
data/lib/portunus/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: portunus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Colin Petruno
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-03-
|
|
11
|
+
date: 2020-03-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|