authorization_next 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/.idea/.rakeTasks ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Settings><!--This file was automatically generated by Ruby plugin.
3
+ You are allowed to:
4
+ 1. Remove rake task
5
+ 2. Add existing rake tasks
6
+ To add existing rake tasks automatically delete this file and reload the project.
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build authorization-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated file" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install authorization-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install authorization-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push authorization-0.1.0.gem to TODO: Set to 'http://mygemserver.com'" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="ModuleRunConfigurationManager">
4
+ <shared />
5
+ </component>
6
+ <component name="NewModuleRootManager">
7
+ <content url="file://$MODULE_DIR$/../authorization_next" />
8
+ <orderEntry type="inheritedJdk" />
9
+ <orderEntry type="sourceFolder" forTests="false" />
10
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.17.3, ruby-2.3.7-p456) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.1.1, ruby-2.3.7-p456) [gem]" level="application" />
12
+ </component>
13
+ </module>
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Rubocop" enabled="false" level="WARNING" enabled_by_default="false" />
5
+ </profile>
6
+ </component>
data/.idea/misc.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavaScriptSettings">
4
+ <option name="languageLevel" value="ES6" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.3.7-p456" project-jdk-type="RUBY_SDK" />
7
+ </project>
data/.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/../authorization_next/.idea/authorization.iml" filepath="$PROJECT_DIR$/../authorization_next/.idea/authorization.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,277 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="2207252a-d631-4ad2-837e-e2aa5e93fed6" name="Default Changelist" comment="" />
5
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
6
+ <option name="SHOW_DIALOG" value="false" />
7
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
8
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
9
+ <option name="LAST_RESOLUTION" value="IGNORE" />
10
+ </component>
11
+ <component name="FileEditorManager">
12
+ <leaf>
13
+ <file pinned="false" current-in-tab="false">
14
+ <entry file="file://$PROJECT_DIR$/../authorization_next/lib/authorization_next.rb">
15
+ <provider selected="true" editor-type-id="text-editor">
16
+ <state relative-caret-position="2400">
17
+ <caret line="160" column="53" selection-start-line="160" selection-start-column="53" selection-end-line="160" selection-end-column="53" />
18
+ </state>
19
+ </provider>
20
+ </entry>
21
+ </file>
22
+ <file pinned="false" current-in-tab="false">
23
+ <entry file="file://$PROJECT_DIR$/../authorization_next/authorization.gemspec">
24
+ <provider selected="true" editor-type-id="text-editor">
25
+ <state relative-caret-position="90">
26
+ <caret line="6" column="32" selection-start-line="6" selection-start-column="32" selection-end-line="6" selection-end-column="32" />
27
+ </state>
28
+ </provider>
29
+ </entry>
30
+ </file>
31
+ <file pinned="false" current-in-tab="false">
32
+ <entry file="file://$PROJECT_DIR$/../authorization_next/bin/setup">
33
+ <provider selected="true" editor-type-id="text-editor" />
34
+ </entry>
35
+ </file>
36
+ <file pinned="false" current-in-tab="true">
37
+ <entry file="file://$PROJECT_DIR$/../authorization_next/bin/console">
38
+ <provider selected="true" editor-type-id="text-editor">
39
+ <state relative-caret-position="210">
40
+ <caret line="14" selection-start-line="14" selection-end-line="14" />
41
+ </state>
42
+ </provider>
43
+ </entry>
44
+ </file>
45
+ </leaf>
46
+ </component>
47
+ <component name="FindInProjectRecents">
48
+ <findStrings>
49
+ <find>FIX</find>
50
+ <find>TODO</find>
51
+ <find>htt</find>
52
+ <find>authorization</find>
53
+ </findStrings>
54
+ </component>
55
+ <component name="Git.Settings">
56
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
57
+ </component>
58
+ <component name="IdeDocumentHistory">
59
+ <option name="CHANGED_PATHS">
60
+ <list>
61
+ <option value="$PROJECT_DIR$/Gemfile" />
62
+ <option value="$PROJECT_DIR$/authorization.gemspec" />
63
+ <option value="$PROJECT_DIR$/README.md" />
64
+ <option value="$PROJECT_DIR$/bin/console" />
65
+ <option value="$PROJECT_DIR$/lib/authorization.rb" />
66
+ <option value="$PROJECT_DIR$/lib/authorization/version.rb" />
67
+ <option value="$PROJECT_DIR$/lib/authorization/publishare/parser.rb" />
68
+ <option value="$PROJECT_DIR$/lib/authorization/publishare/identity.rb" />
69
+ <option value="$PROJECT_DIR$/lib/authorization/publishare/exceptions.rb" />
70
+ <option value="$PROJECT_DIR$/lib/authorization/publishare/hardwired_roles.rb" />
71
+ <option value="$PROJECT_DIR$/lib/authorization/publishare/object_roles_table.rb" />
72
+ <option value="$PROJECT_DIR$/Gemfile.lock" />
73
+ </list>
74
+ </option>
75
+ </component>
76
+ <component name="ProjectConfigurationFiles">
77
+ <option name="files">
78
+ <list>
79
+ <option value="$PROJECT_DIR$/.idea/authorization.iml" />
80
+ <option value="$PROJECT_DIR$/.idea/misc.xml" />
81
+ <option value="$PROJECT_DIR$/.idea/modules.xml" />
82
+ <option value="$PROJECT_DIR$/.idea/vcs.xml" />
83
+ <option value="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" />
84
+ </list>
85
+ </option>
86
+ </component>
87
+ <component name="ProjectFrameBounds" extendedState="6">
88
+ <option name="y" value="23" />
89
+ <option name="width" value="1440" />
90
+ <option name="height" value="877" />
91
+ </component>
92
+ <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
93
+ <component name="ProjectView">
94
+ <navigator proportions="" version="1">
95
+ <foldersAlwaysOnTop value="true" />
96
+ </navigator>
97
+ <panes>
98
+ <pane id="ProjectPane">
99
+ <subPane>
100
+ <expand>
101
+ <path>
102
+ <item name="authorization" type="b2602c69:ProjectViewProjectNode" />
103
+ <item name="authorization_next" type="462c0819:PsiDirectoryNode" />
104
+ </path>
105
+ <path>
106
+ <item name="authorization" type="b2602c69:ProjectViewProjectNode" />
107
+ <item name="authorization_next" type="462c0819:PsiDirectoryNode" />
108
+ <item name="bin" type="462c0819:PsiDirectoryNode" />
109
+ </path>
110
+ <path>
111
+ <item name="authorization" type="b2602c69:ProjectViewProjectNode" />
112
+ <item name="authorization_next" type="462c0819:PsiDirectoryNode" />
113
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
114
+ </path>
115
+ <path>
116
+ <item name="authorization" type="b2602c69:ProjectViewProjectNode" />
117
+ <item name="authorization_next" type="462c0819:PsiDirectoryNode" />
118
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
119
+ <item name="authorization_next" type="462c0819:PsiDirectoryNode" />
120
+ </path>
121
+ <path>
122
+ <item name="authorization" type="b2602c69:ProjectViewProjectNode" />
123
+ <item name="authorization_next" type="462c0819:PsiDirectoryNode" />
124
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
125
+ <item name="authorization_next" type="462c0819:PsiDirectoryNode" />
126
+ <item name="publishare" type="462c0819:PsiDirectoryNode" />
127
+ </path>
128
+ </expand>
129
+ <select />
130
+ </subPane>
131
+ </pane>
132
+ <pane id="Scope" />
133
+ </panes>
134
+ </component>
135
+ <component name="PropertiesComponent">
136
+ <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
137
+ <property name="WebServerToolWindowFactoryState" value="false" />
138
+ <property name="last_opened_file_path" value="$PROJECT_DIR$/lib/authorization" />
139
+ <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
140
+ <property name="nodejs_npm_path_reset_for_default_project" value="true" />
141
+ </component>
142
+ <component name="RecentsManager">
143
+ <key name="CopyFile.RECENT_KEYS">
144
+ <recent name="$PROJECT_DIR$/lib/authorization" />
145
+ </key>
146
+ </component>
147
+ <component name="RunDashboard">
148
+ <option name="ruleStates">
149
+ <list>
150
+ <RuleState>
151
+ <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
152
+ </RuleState>
153
+ <RuleState>
154
+ <option name="name" value="StatusDashboardGroupingRule" />
155
+ </RuleState>
156
+ </list>
157
+ </option>
158
+ </component>
159
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
160
+ <component name="SvnConfiguration">
161
+ <configuration />
162
+ </component>
163
+ <component name="TaskManager">
164
+ <task active="true" id="Default" summary="Default task">
165
+ <changelist id="2207252a-d631-4ad2-837e-e2aa5e93fed6" name="Default Changelist" comment="" />
166
+ <created>1557830721214</created>
167
+ <option name="number" value="Default" />
168
+ <option name="presentableId" value="Default" />
169
+ <updated>1557830721214</updated>
170
+ <workItem from="1557830723031" duration="4198000" />
171
+ </task>
172
+ <servers />
173
+ </component>
174
+ <component name="TimeTrackingManager">
175
+ <option name="totallyTimeSpent" value="4198000" />
176
+ </component>
177
+ <component name="ToolWindowManager">
178
+ <frame x="0" y="23" width="1680" height="1027" extended-state="6" />
179
+ <layout>
180
+ <window_info id="Favorites" side_tool="true" />
181
+ <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.21306472" />
182
+ <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
183
+ <window_info anchor="bottom" id="Docker" show_stripe_button="false" />
184
+ <window_info anchor="bottom" id="Database Changes" />
185
+ <window_info anchor="bottom" id="Version Control" />
186
+ <window_info anchor="bottom" id="Terminal" />
187
+ <window_info anchor="bottom" id="Event Log" side_tool="true" />
188
+ <window_info anchor="bottom" id="Message" order="0" />
189
+ <window_info anchor="bottom" id="Find" order="1" />
190
+ <window_info anchor="bottom" id="Run" order="2" />
191
+ <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
192
+ <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
193
+ <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
194
+ <window_info anchor="bottom" id="TODO" order="6" />
195
+ <window_info anchor="right" id="Database" />
196
+ <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
197
+ <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
198
+ <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
199
+ </layout>
200
+ </component>
201
+ <component name="TypeScriptGeneratedFilesManager">
202
+ <option name="version" value="1" />
203
+ </component>
204
+ <component name="editorHistoryManager">
205
+ <entry file="file://$PROJECT_DIR$/../authorization_next/lib/authorization_next/version.rb">
206
+ <provider selected="true" editor-type-id="text-editor">
207
+ <state relative-caret-position="15">
208
+ <caret line="1" column="2" selection-start-line="1" selection-start-column="2" selection-end-line="1" selection-end-column="2" />
209
+ </state>
210
+ </provider>
211
+ </entry>
212
+ <entry file="file://$PROJECT_DIR$/../authorization_next/README.md">
213
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
214
+ <state split_layout="SPLIT">
215
+ <first_editor relative-caret-position="465">
216
+ <caret line="31" lean-forward="true" selection-start-line="31" selection-end-line="31" />
217
+ </first_editor>
218
+ <second_editor />
219
+ </state>
220
+ </provider>
221
+ </entry>
222
+ <entry file="file://$PROJECT_DIR$/../authorization_next/Rakefile">
223
+ <provider selected="true" editor-type-id="text-editor" />
224
+ </entry>
225
+ <entry file="file://$PROJECT_DIR$/../authorization_next/Gemfile">
226
+ <provider selected="true" editor-type-id="text-editor">
227
+ <state relative-caret-position="90">
228
+ <caret line="6" lean-forward="true" selection-start-line="6" selection-end-line="6" />
229
+ </state>
230
+ </provider>
231
+ </entry>
232
+ <entry file="file://$PROJECT_DIR$/../authorization_next/.gitignore">
233
+ <provider selected="true" editor-type-id="text-editor" />
234
+ </entry>
235
+ <entry file="file://$PROJECT_DIR$/../authorization_next/lib/authorization_next/publishare/identity.rb">
236
+ <provider selected="true" editor-type-id="text-editor">
237
+ <state relative-caret-position="645">
238
+ <caret line="115" column="14" lean-forward="true" selection-start-line="115" selection-start-column="14" selection-end-line="115" selection-end-column="14" />
239
+ </state>
240
+ </provider>
241
+ </entry>
242
+ <entry file="file://$PROJECT_DIR$/../authorization_next/lib/authorization_next/publishare/parser.rb">
243
+ <provider selected="true" editor-type-id="text-editor" />
244
+ </entry>
245
+ <entry file="file:///System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb">
246
+ <provider selected="true" editor-type-id="text-editor">
247
+ <state relative-caret-position="302">
248
+ <caret line="462" column="16" selection-start-line="462" selection-start-column="16" selection-end-line="462" selection-end-column="16" />
249
+ </state>
250
+ </provider>
251
+ </entry>
252
+ <entry file="file://$PROJECT_DIR$/../authorization_next/lib/authorization_next.rb">
253
+ <provider selected="true" editor-type-id="text-editor">
254
+ <state relative-caret-position="2400">
255
+ <caret line="160" column="53" selection-start-line="160" selection-start-column="53" selection-end-line="160" selection-end-column="53" />
256
+ </state>
257
+ </provider>
258
+ </entry>
259
+ <entry file="file://$PROJECT_DIR$/../authorization_next/authorization.gemspec">
260
+ <provider selected="true" editor-type-id="text-editor">
261
+ <state relative-caret-position="90">
262
+ <caret line="6" column="32" selection-start-line="6" selection-start-column="32" selection-end-line="6" selection-end-column="32" />
263
+ </state>
264
+ </provider>
265
+ </entry>
266
+ <entry file="file://$PROJECT_DIR$/../authorization_next/bin/setup">
267
+ <provider selected="true" editor-type-id="text-editor" />
268
+ </entry>
269
+ <entry file="file://$PROJECT_DIR$/../authorization_next/bin/console">
270
+ <provider selected="true" editor-type-id="text-editor">
271
+ <state relative-caret-position="210">
272
+ <caret line="14" selection-start-line="14" selection-end-line="14" />
273
+ </state>
274
+ </provider>
275
+ </entry>
276
+ </component>
277
+ </project>
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at pavan.agrawala@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in authorization_next.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,20 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ authorization_next (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (10.1.1)
10
+
11
+ PLATFORMS
12
+ ruby
13
+
14
+ DEPENDENCIES
15
+ authorization_next!
16
+ bundler (~> 1.17)
17
+ rake (~> 10.0)
18
+
19
+ BUNDLED WITH
20
+ 1.17.3