settings_hub 0.1.0 → 0.1.1

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: ad85780a6a73a02eb859164d7c912fb92229e357e63f0b52e90a7d1cf11c5929
4
- data.tar.gz: c6e248ee131cd3b0a95b41907af314a106e999f117f6f7c8290d3d18780dfb4d
3
+ metadata.gz: 73c451e65d050963812a29c8be8c77a98b0486469d8ac6d5340fb56f4efa6456
4
+ data.tar.gz: 74038ba04e7228647ae1da109b00b6de3d601e8ecd3e9780512b4c2a297be366
5
5
  SHA512:
6
- metadata.gz: 38d3f21a99d9dd6b5b03c2f4be5a4d509b9d596923ca1f23abdcf626c36f58324194ec9e058ee559e0cc3df0b8d37362bd6ca60cf74a18658d92ce54584b9840
7
- data.tar.gz: 23c5e8a36399efa81853564f9480cc780855b3452c3c3e43b6dd2b130037d960ac19160aec0fc4125e2e6b0fce83a40af02018c2561ce3bf25aab31263245f8c
6
+ metadata.gz: 1afe447071e4cb8377109ceaa267e8c94b40c46ef6da9b0d3481c827e3cb5fd75e940797cd589377830149b49f9c53be04419f962faf98ec8573acaf348290df
7
+ data.tar.gz: 4678adb41ce2746ffef96b1630e4bf250a1a38ba1acaeb70b76ab97dd7e5fd3fd7795d54902e6ed5fcdfd28dcfa4ec2152e27e6bb40eb7223bcd4a174120d182
@@ -101,11 +101,11 @@ front of a person:
101
101
  The third runs only once the app declares what it recognises:
102
102
 
103
103
  ```ruby
104
- SettingsHub.capabilities = -> { Citizen.capabilities }
104
+ SettingsHub.capabilities = -> { AccountAuthz.capabilities }
105
105
  ```
106
106
 
107
107
  An app that declares nothing gets no capability check, which is what lets settings_hub
108
- be installed without citizen.
108
+ be installed without account_authz.
109
109
 
110
110
  ### The object a section runs
111
111
 
@@ -201,10 +201,10 @@ own address, handed to the partial in `submit_urls`:
201
201
 
202
202
  ```ruby
203
203
  SettingsHub.section :team, area: :team, title: "Team", capability: :manage_team,
204
- renders: "citizen/members/team",
204
+ renders: "account_authz/members/team",
205
205
  runs: {
206
- invite: "Citizen::Invite",
207
- remove: "Citizen::RemoveMember"
206
+ invite: "AccountAuthz::Invite",
207
+ remove: "AccountAuthz::RemoveMember"
208
208
  }
209
209
  ```
210
210
 
@@ -1,3 +1,3 @@
1
1
  module SettingsHub
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -166,10 +166,10 @@ added to or changed in an app that already has settings_hub mounted.
166
166
 
167
167
  ```ruby
168
168
  SettingsHub.section :team, area: :team, title: "Team", capability: :manage_team,
169
- renders: "citizen/members/team",
169
+ renders: "account_authz/members/team",
170
170
  runs: {
171
- invite: "Citizen::Invite",
172
- remove: "Citizen::RemoveMember"
171
+ invite: "AccountAuthz::Invite",
172
+ remove: "AccountAuthz::RemoveMember"
173
173
  }
174
174
  ```
175
175
 
@@ -92,7 +92,7 @@ building one.
92
92
  in `config/initializers/settings_hub.rb`, creating that file if the app has none:
93
93
 
94
94
  ```ruby
95
- SettingsHub.capabilities = -> { Citizen.capabilities }
95
+ SettingsHub.capabilities = -> { AccountAuthz.capabilities }
96
96
  ```
97
97
 
98
98
  It takes a list or something answering `call` that returns one; use the
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: settings_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tylercschneider