portunus 0.3.2 → 0.3.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: 9a24444a091b722e99c9eb8cbf1a976a20c5a86fb0de655f1ce486c36b919f57
4
- data.tar.gz: '076438e1178c0b252e96793f9c7841c6032e26c9628692cbce0c4d8b7e2c1235'
3
+ metadata.gz: 2aa50f7bc5907aacbac1982677a022d4e65f9d10720de1f8517ed43d09801335
4
+ data.tar.gz: f2dd61e18d64adcc6665fecae50ab6c0cbc88198aa9f34a8a62294196e995a1f
5
5
  SHA512:
6
- metadata.gz: 964a8e2dd39b2507b62ce43fc43f4c4ebce5c2517c92ac7983c34c6df987ba1425d8a4647dfdfb82b71966a54d5fad972c9cc0a91e8931048a82cdc97659d643
7
- data.tar.gz: 269818e9decedbd56fe98dc5d612f5c5123aa3c159eb349060ac4e256d64fda3821cfd11b1fd13d252adf38978aa646bc55f801dd3273e1d5b43a9a71a5c2584
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
 
@@ -5,7 +5,6 @@ module Portunus
5
5
  end
6
6
 
7
7
  def initialize(object:, field:)
8
- require "pry"
9
8
  @object = object
10
9
 
11
10
  if field.is_a?(Hash)
@@ -1,3 +1,3 @@
1
1
  module Portunus
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
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.2
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-24 00:00:00.000000000 Z
11
+ date: 2020-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails