authorization-next 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
@@ -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$" />
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>
@@ -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>
@@ -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$/.idea/authorization.iml" filepath="$PROJECT_DIR$/.idea/authorization.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -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,227 @@
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
+ <change beforePath="$PROJECT_DIR$/authorization.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/authorization.gemspec" afterDir="false" />
6
+ </list>
7
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
+ <option name="SHOW_DIALOG" value="false" />
9
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
+ <option name="LAST_RESOLUTION" value="IGNORE" />
12
+ </component>
13
+ <component name="FileEditorManager">
14
+ <leaf>
15
+ <file pinned="false" current-in-tab="false">
16
+ <entry file="file://$PROJECT_DIR$/lib/authorization.rb">
17
+ <provider selected="true" editor-type-id="text-editor">
18
+ <state relative-caret-position="1196">
19
+ <caret line="159" column="16" selection-start-line="159" selection-start-column="16" selection-end-line="159" selection-end-column="16" />
20
+ </state>
21
+ </provider>
22
+ </entry>
23
+ </file>
24
+ <file pinned="false" current-in-tab="true">
25
+ <entry file="file://$PROJECT_DIR$/authorization.gemspec">
26
+ <provider selected="true" editor-type-id="text-editor">
27
+ <state relative-caret-position="180">
28
+ <caret line="12" column="91" lean-forward="true" selection-start-line="12" selection-start-column="91" selection-end-line="12" selection-end-column="91" />
29
+ </state>
30
+ </provider>
31
+ </entry>
32
+ </file>
33
+ </leaf>
34
+ </component>
35
+ <component name="FindInProjectRecents">
36
+ <findStrings>
37
+ <find>FIX</find>
38
+ <find>TODO</find>
39
+ <find>htt</find>
40
+ <find>authorization</find>
41
+ </findStrings>
42
+ </component>
43
+ <component name="Git.Settings">
44
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
45
+ </component>
46
+ <component name="IdeDocumentHistory">
47
+ <option name="CHANGED_PATHS">
48
+ <list>
49
+ <option value="$PROJECT_DIR$/lib/authorization.rb" />
50
+ <option value="$PROJECT_DIR$/authorization.gemspec" />
51
+ </list>
52
+ </option>
53
+ </component>
54
+ <component name="ProjectConfigurationFiles">
55
+ <option name="files">
56
+ <list>
57
+ <option value="$PROJECT_DIR$/.idea/authorization.iml" />
58
+ <option value="$PROJECT_DIR$/.idea/misc.xml" />
59
+ <option value="$PROJECT_DIR$/.idea/modules.xml" />
60
+ <option value="$PROJECT_DIR$/.idea/vcs.xml" />
61
+ <option value="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" />
62
+ </list>
63
+ </option>
64
+ </component>
65
+ <component name="ProjectFrameBounds" extendedState="6">
66
+ <option name="y" value="23" />
67
+ <option name="width" value="1440" />
68
+ <option name="height" value="877" />
69
+ </component>
70
+ <component name="ProjectView">
71
+ <navigator proportions="" version="1">
72
+ <foldersAlwaysOnTop value="true" />
73
+ </navigator>
74
+ <panes>
75
+ <pane id="ProjectPane">
76
+ <subPane>
77
+ <expand>
78
+ <path>
79
+ <item name="authorization" type="b2602c69:ProjectViewProjectNode" />
80
+ <item name="authorization" type="462c0819:PsiDirectoryNode" />
81
+ </path>
82
+ <path>
83
+ <item name="authorization" type="b2602c69:ProjectViewProjectNode" />
84
+ <item name="authorization" type="462c0819:PsiDirectoryNode" />
85
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
86
+ </path>
87
+ </expand>
88
+ <select />
89
+ </subPane>
90
+ </pane>
91
+ <pane id="Scope" />
92
+ </panes>
93
+ </component>
94
+ <component name="PropertiesComponent">
95
+ <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
96
+ <property name="WebServerToolWindowFactoryState" value="false" />
97
+ <property name="last_opened_file_path" value="$PROJECT_DIR$/lib/authorization" />
98
+ <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
99
+ <property name="nodejs_npm_path_reset_for_default_project" value="true" />
100
+ </component>
101
+ <component name="RecentsManager">
102
+ <key name="CopyFile.RECENT_KEYS">
103
+ <recent name="$PROJECT_DIR$/lib/authorization" />
104
+ </key>
105
+ </component>
106
+ <component name="RunDashboard">
107
+ <option name="ruleStates">
108
+ <list>
109
+ <RuleState>
110
+ <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
111
+ </RuleState>
112
+ <RuleState>
113
+ <option name="name" value="StatusDashboardGroupingRule" />
114
+ </RuleState>
115
+ </list>
116
+ </option>
117
+ </component>
118
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
119
+ <component name="SvnConfiguration">
120
+ <configuration />
121
+ </component>
122
+ <component name="TaskManager">
123
+ <task active="true" id="Default" summary="Default task">
124
+ <changelist id="2207252a-d631-4ad2-837e-e2aa5e93fed6" name="Default Changelist" comment="" />
125
+ <created>1557830721214</created>
126
+ <option name="number" value="Default" />
127
+ <option name="presentableId" value="Default" />
128
+ <updated>1557830721214</updated>
129
+ <workItem from="1557830723031" duration="2304000" />
130
+ </task>
131
+ <servers />
132
+ </component>
133
+ <component name="TimeTrackingManager">
134
+ <option name="totallyTimeSpent" value="2304000" />
135
+ </component>
136
+ <component name="ToolWindowManager">
137
+ <frame x="0" y="23" width="1680" height="1027" extended-state="6" />
138
+ <editor active="true" />
139
+ <layout>
140
+ <window_info id="Favorites" side_tool="true" />
141
+ <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.21306472" />
142
+ <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
143
+ <window_info anchor="bottom" id="Docker" show_stripe_button="false" />
144
+ <window_info anchor="bottom" id="Database Changes" />
145
+ <window_info anchor="bottom" id="Version Control" />
146
+ <window_info anchor="bottom" id="Terminal" />
147
+ <window_info anchor="bottom" id="Event Log" side_tool="true" />
148
+ <window_info anchor="bottom" id="Message" order="0" />
149
+ <window_info anchor="bottom" id="Find" order="1" />
150
+ <window_info anchor="bottom" id="Run" order="2" />
151
+ <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
152
+ <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
153
+ <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
154
+ <window_info anchor="bottom" id="TODO" order="6" />
155
+ <window_info anchor="right" id="Database" />
156
+ <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
157
+ <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
158
+ <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
159
+ </layout>
160
+ </component>
161
+ <component name="TypeScriptGeneratedFilesManager">
162
+ <option name="version" value="1" />
163
+ </component>
164
+ <component name="editorHistoryManager">
165
+ <entry file="file://$PROJECT_DIR$/lib/authorization/version.rb">
166
+ <provider selected="true" editor-type-id="text-editor">
167
+ <state relative-caret-position="15">
168
+ <caret line="1" column="2" selection-start-line="1" selection-start-column="2" selection-end-line="1" selection-end-column="2" />
169
+ </state>
170
+ </provider>
171
+ </entry>
172
+ <entry file="file://$PROJECT_DIR$/README.md">
173
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
174
+ <state split_layout="SPLIT">
175
+ <first_editor relative-caret-position="465">
176
+ <caret line="31" lean-forward="true" selection-start-line="31" selection-end-line="31" />
177
+ </first_editor>
178
+ <second_editor />
179
+ </state>
180
+ </provider>
181
+ </entry>
182
+ <entry file="file://$PROJECT_DIR$/Rakefile">
183
+ <provider selected="true" editor-type-id="text-editor" />
184
+ </entry>
185
+ <entry file="file://$PROJECT_DIR$/Gemfile">
186
+ <provider selected="true" editor-type-id="text-editor">
187
+ <state relative-caret-position="90">
188
+ <caret line="6" lean-forward="true" selection-start-line="6" selection-end-line="6" />
189
+ </state>
190
+ </provider>
191
+ </entry>
192
+ <entry file="file://$PROJECT_DIR$/.gitignore">
193
+ <provider selected="true" editor-type-id="text-editor" />
194
+ </entry>
195
+ <entry file="file://$PROJECT_DIR$/lib/authorization/publishare/identity.rb">
196
+ <provider selected="true" editor-type-id="text-editor">
197
+ <state relative-caret-position="645">
198
+ <caret line="115" column="14" lean-forward="true" selection-start-line="115" selection-start-column="14" selection-end-line="115" selection-end-column="14" />
199
+ </state>
200
+ </provider>
201
+ </entry>
202
+ <entry file="file://$PROJECT_DIR$/lib/authorization/publishare/parser.rb">
203
+ <provider selected="true" editor-type-id="text-editor" />
204
+ </entry>
205
+ <entry file="file:///System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb">
206
+ <provider selected="true" editor-type-id="text-editor">
207
+ <state relative-caret-position="302">
208
+ <caret line="462" column="16" selection-start-line="462" selection-start-column="16" selection-end-line="462" selection-end-column="16" />
209
+ </state>
210
+ </provider>
211
+ </entry>
212
+ <entry file="file://$PROJECT_DIR$/lib/authorization.rb">
213
+ <provider selected="true" editor-type-id="text-editor">
214
+ <state relative-caret-position="1196">
215
+ <caret line="159" column="16" selection-start-line="159" selection-start-column="16" selection-end-line="159" selection-end-column="16" />
216
+ </state>
217
+ </provider>
218
+ </entry>
219
+ <entry file="file://$PROJECT_DIR$/authorization.gemspec">
220
+ <provider selected="true" editor-type-id="text-editor">
221
+ <state relative-caret-position="180">
222
+ <caret line="12" column="91" lean-forward="true" selection-start-line="12" selection-start-column="91" selection-end-line="12" selection-end-column="91" />
223
+ </state>
224
+ </provider>
225
+ </entry>
226
+ </component>
227
+ </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.gemspec
6
+ gemspec
@@ -0,0 +1,20 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ authorization (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!
16
+ bundler (~> 1.17)
17
+ rake (~> 10.0)
18
+
19
+ BUNDLED WITH
20
+ 1.17.3
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Pavan Agrawal
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,43 @@
1
+ # Authorization
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/authorization`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'authorization'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install authorization
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/authorization. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the Authorization project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/authorization/blob/master/CODE_OF_CONDUCT.md).