omniauth-lexoffice 0.1.2 → 0.1.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: d90c4ad691bb0d2e4fb832e4818dc6bf1fcb860aad340b268552ce60135fff60
4
- data.tar.gz: ea386c018190e1e8a9920823fd36818013136cfa18d8045ac47b94141918eee6
3
+ metadata.gz: f3fb6980668efd574546d60cc1f640f34be3c51eaaa22ae78a0ef70104e3ac5a
4
+ data.tar.gz: a1163d97a4ce529a4187812b1dd94efde55ec94daa270250efa7d38e82511a14
5
5
  SHA512:
6
- metadata.gz: 4d4e0066e21aef78c8ac637c990c05fbd2e39007c0ac83f946501d02ac82350131ef39e19ee6ce97d67281c585374a4c06c856fd080de635fce06bf2dce74bf5
7
- data.tar.gz: 6eb99fbf6dd26a66e653a193f31ba9d59db358723367d1d4ee374b9ed5ca4faa98b31baeb0bbe489fce7bab563f94252adba7c95906fe674818973853e2cdd52
6
+ metadata.gz: 4ee1e4aba556ed6473ff5d7bc48e2e3f62376f6a4b0b5cb5636a02ca412fea1eaa5127f25d10fe9c427a043cb8d3897f07133d833c13f0a7442610744219382b
7
+ data.tar.gz: 8cc73fc4ccbffa36a4290e440d42350df2157a680265da6865c10d725aa22a634c68e54203e0f609dcb5de2cc4a98a5c540f4eb8ff0d0a6562ca0ca46511e302
@@ -5,10 +5,8 @@
5
5
  </component>
6
6
  <component name="NewModuleRootManager">
7
7
  <content url="file://$MODULE_DIR$" />
8
- <orderEntry type="jdk" jdkName="ruby-2.2.6-p396" jdkType="RUBY_SDK" />
8
+ <orderEntry type="jdk" jdkName="ruby-2.6.6-p146" jdkType="RUBY_SDK" />
9
9
  <orderEntry type="sourceFolder" forTests="false" />
10
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.4, ruby-2.2.6-p396) [gem]" level="application" />
11
- <orderEntry type="library" scope="PROVIDED" name="minitest (v5.11.3, ruby-2.2.6-p396) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, ruby-2.2.6-p396) [gem]" level="application" />
10
+ <orderEntry type="library" scope="PROVIDED" name="minitest (v5.11.3, ruby-2.6.6-p146) [gem]" level="application" />
13
11
  </component>
14
12
  </module>
data/.idea/workspace.xml CHANGED
@@ -12,7 +12,6 @@
12
12
  <change beforePath="$PROJECT_DIR$/lib/omniauth/strategies/lexoffice.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/omniauth/strategies/lexoffice.rb" afterDir="false" />
13
13
  <change beforePath="$PROJECT_DIR$/omniauth-lexoffice.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/omniauth-lexoffice.gemspec" afterDir="false" />
14
14
  </list>
15
- <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
16
15
  <option name="SHOW_DIALOG" value="false" />
17
16
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
18
17
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -21,102 +20,6 @@
21
20
  <component name="CoverageDataManager">
22
21
  <SUITE FILE_PATH="coverage/omniauth_lexoffice@All_specs_in_omniauth_lexoffice__omniauth_lexoffice.rcov" NAME="All specs in omniauth-lexoffice: omniauth-lexoffice Coverage Results" MODIFIED="1536757606142" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="omniauth-lexoffice" />
23
22
  </component>
24
- <component name="FUSProjectUsageTrigger">
25
- <session id="1925165635">
26
- <usages-collector id="statistics.lifecycle.project">
27
- <counts>
28
- <entry key="project.closed" value="5" />
29
- <entry key="project.open.time.0" value="5" />
30
- <entry key="project.open.time.1" value="2" />
31
- <entry key="project.open.time.9" value="1" />
32
- <entry key="project.opened" value="8" />
33
- </counts>
34
- </usages-collector>
35
- <usages-collector id="statistics.file.extensions.open">
36
- <counts>
37
- <entry key="gem" value="2" />
38
- <entry key="gemspec" value="2" />
39
- <entry key="md" value="1" />
40
- <entry key="rb" value="5" />
41
- </counts>
42
- </usages-collector>
43
- <usages-collector id="statistics.file.types.open">
44
- <counts>
45
- <entry key="Markdown" value="1" />
46
- <entry key="PLAIN_TEXT" value="2" />
47
- <entry key="Ruby" value="6" />
48
- <entry key="Scratch" value="1" />
49
- </counts>
50
- </usages-collector>
51
- <usages-collector id="statistics.file.extensions.edit">
52
- <counts>
53
- <entry key="gemspec" value="30" />
54
- <entry key="rb" value="3" />
55
- <entry key="txt" value="14" />
56
- </counts>
57
- </usages-collector>
58
- <usages-collector id="statistics.file.types.edit">
59
- <counts>
60
- <entry key="PLAIN_TEXT" value="14" />
61
- <entry key="Ruby" value="33" />
62
- </counts>
63
- </usages-collector>
64
- </session>
65
- </component>
66
- <component name="FileEditorManager">
67
- <leaf SIDE_TABS_SIZE_LIMIT_KEY="450">
68
- <file pinned="false" current-in-tab="false">
69
- <entry file="file://$PROJECT_DIR$/lib/omniauth/lexoffice.rb">
70
- <provider selected="true" editor-type-id="text-editor">
71
- <state relative-caret-position="17">
72
- <caret line="1" column="38" selection-start-line="1" selection-start-column="38" selection-end-line="1" selection-end-column="38" />
73
- </state>
74
- </provider>
75
- </entry>
76
- </file>
77
- <file pinned="false" current-in-tab="false">
78
- <entry file="file://$PROJECT_DIR$/lib/omniauth/strategies/lexoffice.rb">
79
- <provider selected="true" editor-type-id="text-editor">
80
- <state relative-caret-position="279">
81
- <caret line="17" column="56" lean-forward="true" selection-end-line="79" selection-end-column="3" />
82
- </state>
83
- </provider>
84
- </entry>
85
- </file>
86
- <file pinned="false" current-in-tab="true">
87
- <entry file="file://$PROJECT_DIR$/lib/omniauth/lexoffice/version.rb">
88
- <provider selected="true" editor-type-id="text-editor">
89
- <state relative-caret-position="34">
90
- <caret line="2" column="21" lean-forward="true" selection-start-line="2" selection-start-column="21" selection-end-line="2" selection-end-column="21" />
91
- </state>
92
- </provider>
93
- </entry>
94
- </file>
95
- <file pinned="false" current-in-tab="false">
96
- <entry file="file://$PROJECT_DIR$/omniauth-lexoffice.gemspec">
97
- <provider selected="true" editor-type-id="text-editor">
98
- <state relative-caret-position="493">
99
- <caret line="29" column="74" selection-start-line="29" selection-start-column="74" selection-end-line="29" selection-end-column="74" />
100
- </state>
101
- </provider>
102
- </entry>
103
- </file>
104
- <file pinned="false" current-in-tab="false">
105
- <entry file="file://$PROJECT_DIR$/omniauth-lexoffice-0.1.0.gem">
106
- <provider selected="true" editor-type-id="text-editor" />
107
- </entry>
108
- </file>
109
- <file pinned="false" current-in-tab="false">
110
- <entry file="file://$PROJECT_DIR$/test/omniauth/lexoffice_test.rb">
111
- <provider selected="true" editor-type-id="text-editor">
112
- <state relative-caret-position="136">
113
- <caret line="8" column="16" selection-start-line="8" selection-start-column="16" selection-end-line="8" selection-end-column="16" />
114
- </state>
115
- </provider>
116
- </entry>
117
- </file>
118
- </leaf>
119
- </component>
120
23
  <component name="Git.Settings">
121
24
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
122
25
  </component>
@@ -142,13 +45,13 @@
142
45
  <option name="width" value="3456" />
143
46
  <option name="height" value="1416" />
144
47
  </component>
48
+ <component name="ProjectId" id="1sefgSkKQH3IQsMEBcFCKEogS4v" />
145
49
  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
146
50
  <component name="ProjectView">
147
51
  <navigator proportions="" version="1">
148
52
  <foldersAlwaysOnTop value="true" />
149
53
  </navigator>
150
54
  <panes>
151
- <pane id="Scope" />
152
55
  <pane id="ProjectPane">
153
56
  <subPane>
154
57
  <expand>
@@ -181,33 +84,37 @@
181
84
  <item name="omniauth" type="462c0819:PsiDirectoryNode" />
182
85
  <item name="strategies" type="462c0819:PsiDirectoryNode" />
183
86
  </path>
87
+ <path>
88
+ <item name="omniauth-lexoffice" type="b2602c69:ProjectViewProjectNode" />
89
+ <item name="omniauth-lexoffice" type="462c0819:PsiDirectoryNode" />
90
+ <item name="test" type="462c0819:PsiDirectoryNode" />
91
+ </path>
92
+ <path>
93
+ <item name="omniauth-lexoffice" type="b2602c69:ProjectViewProjectNode" />
94
+ <item name="omniauth-lexoffice" type="462c0819:PsiDirectoryNode" />
95
+ <item name="test" type="462c0819:PsiDirectoryNode" />
96
+ <item name="omniauth" type="462c0819:PsiDirectoryNode" />
97
+ </path>
184
98
  </expand>
185
99
  <select />
186
100
  </subPane>
187
101
  </pane>
102
+ <pane id="Scope" />
188
103
  </panes>
189
104
  </component>
105
+ <component name="ProjectViewState">
106
+ <option name="autoscrollFromSource" value="true" />
107
+ <option name="hideEmptyMiddlePackages" value="true" />
108
+ <option name="showLibraryContents" value="true" />
109
+ </component>
190
110
  <component name="PropertiesComponent">
191
- <property name="settings.editor.selected.configurable" value="configurable.group.appearance" />
192
- <property name="settings.editor.splitter.proportion" value="0.2" />
193
111
  <property name="WebServerToolWindowFactoryState" value="false" />
194
- </component>
195
- <component name="RunDashboard">
196
- <option name="ruleStates">
197
- <list>
198
- <RuleState>
199
- <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
200
- </RuleState>
201
- <RuleState>
202
- <option name="name" value="StatusDashboardGroupingRule" />
203
- </RuleState>
204
- </list>
205
- </option>
112
+ <property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
206
113
  </component>
207
114
  <component name="RunManager">
208
115
  <configuration name="All specs in omniauth-lexoffice: omniauth-lexoffice" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
209
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
210
116
  <module name="omniauth-lexoffice" />
117
+ <predefined_log_file enabled="true" id="RUBY_RSPEC" />
211
118
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
212
119
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
213
120
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
@@ -218,9 +125,11 @@
218
125
  </envs>
219
126
  <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
220
127
  <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
221
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov" />
128
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov" ENABLE_FORKED_COVERAGE="true" />
129
+ <EXTENSION ID="org.jetbrains.plugins.ruby.rails.run.RailsRunConfigurationExtension" SCRATCH_USE_RAILS_RUNNER="false" />
222
130
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$" />
223
131
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
132
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATHS" VALUE="" />
224
133
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
225
134
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
226
135
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
@@ -240,6 +149,7 @@
240
149
  </list>
241
150
  </recent_temporary>
242
151
  </component>
152
+ <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
243
153
  <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
244
154
  <component name="SvnConfiguration">
245
155
  <configuration />
@@ -261,7 +171,13 @@
261
171
  <workItem from="1537535554199" duration="619000" />
262
172
  <workItem from="1537777140853" duration="1824000" />
263
173
  <workItem from="1538121857209" duration="1321000" />
264
- <workItem from="1538492673381" duration="350000" />
174
+ <workItem from="1538492673381" duration="1079000" />
175
+ <workItem from="1538643992190" duration="374000" />
176
+ <workItem from="1550148498920" duration="1989000" />
177
+ <workItem from="1550490552473" duration="196000" />
178
+ <workItem from="1551370828940" duration="506000" />
179
+ <workItem from="1621238088123" duration="40000" />
180
+ <workItem from="1628759552414" duration="713000" />
265
181
  </task>
266
182
  <task id="LOCAL-00001" summary="initial commit">
267
183
  <created>1536757055499</created>
@@ -279,13 +195,12 @@
279
195
  </history-entry>
280
196
  </component>
281
197
  <component name="TimeTrackingManager">
282
- <option name="totallyTimeSpent" value="12916000" />
198
+ <option name="totallyTimeSpent" value="16710000" />
283
199
  </component>
284
200
  <component name="ToolWindowManager">
285
201
  <frame x="-8" y="-8" width="3456" height="1416" extended-state="6" />
286
- <editor active="true" />
287
202
  <layout>
288
- <window_info active="true" id="Project" order="0" visible="true" weight="0.14075384" />
203
+ <window_info id="Project" order="0" visible="true" weight="0.14428739" />
289
204
  <window_info id="Structure" order="1" weight="0.25" />
290
205
  <window_info id="Favorites" order="2" side_tool="true" />
291
206
  <window_info anchor="bottom" id="Message" order="0" />
@@ -296,8 +211,8 @@
296
211
  <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
297
212
  <window_info anchor="bottom" id="TODO" order="6" />
298
213
  <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
299
- <window_info anchor="bottom" id="Version Control" order="8" weight="0.32977098" />
300
- <window_info anchor="bottom" id="Terminal" order="9" visible="true" weight="0.2961832" />
214
+ <window_info active="true" anchor="bottom" id="Version Control" order="8" visible="true" weight="0.32977098" />
215
+ <window_info anchor="bottom" id="Terminal" order="9" weight="0.2961832" />
301
216
  <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
302
217
  <window_info anchor="bottom" id="Application Servers" order="11" />
303
218
  <window_info anchor="bottom" id="Database Changes" order="12" show_stripe_button="false" />
@@ -308,10 +223,7 @@
308
223
  </layout>
309
224
  </component>
310
225
  <component name="TypeScriptGeneratedFilesManager">
311
- <option name="version" value="1" />
312
- </component>
313
- <component name="VcsContentAnnotationSettings">
314
- <option name="myLimit" value="2678400000" />
226
+ <option name="version" value="3" />
315
227
  </component>
316
228
  <component name="VcsManagerConfiguration">
317
229
  <MESSAGE value="initial commit" />
@@ -334,39 +246,39 @@
334
246
  </entry>
335
247
  <entry file="file://$PROJECT_DIR$/lib/omniauth/lexoffice.rb">
336
248
  <provider selected="true" editor-type-id="text-editor">
337
- <state relative-caret-position="17">
338
- <caret line="1" column="38" selection-start-line="1" selection-start-column="38" selection-end-line="1" selection-end-column="38" />
249
+ <state>
250
+ <caret selection-end-line="1" selection-end-column="39" />
339
251
  </state>
340
252
  </provider>
341
253
  </entry>
342
- <entry file="file://$PROJECT_DIR$/omniauth-lexoffice-0.1.0.gem">
343
- <provider selected="true" editor-type-id="text-editor" />
344
- </entry>
345
- <entry file="file://$PROJECT_DIR$/test/omniauth/lexoffice_test.rb">
254
+ <entry file="file://$PROJECT_DIR$/lib/omniauth/lexoffice/version.rb">
346
255
  <provider selected="true" editor-type-id="text-editor">
347
- <state relative-caret-position="136">
348
- <caret line="8" column="16" selection-start-line="8" selection-start-column="16" selection-end-line="8" selection-end-column="16" />
256
+ <state relative-caret-position="34">
257
+ <caret line="2" column="21" selection-start-line="2" selection-start-column="21" selection-end-line="2" selection-end-column="21" />
349
258
  </state>
350
259
  </provider>
351
260
  </entry>
352
261
  <entry file="file://$PROJECT_DIR$/omniauth-lexoffice.gemspec">
353
262
  <provider selected="true" editor-type-id="text-editor">
354
- <state relative-caret-position="493">
355
- <caret line="29" column="74" selection-start-line="29" selection-start-column="74" selection-end-line="29" selection-end-column="74" />
263
+ <state relative-caret-position="136">
264
+ <caret line="8" column="40" selection-start-line="8" selection-start-column="40" selection-end-line="8" selection-end-column="40" />
356
265
  </state>
357
266
  </provider>
358
267
  </entry>
359
- <entry file="file://$PROJECT_DIR$/lib/omniauth/strategies/lexoffice.rb">
268
+ <entry file="file://$PROJECT_DIR$/omniauth-lexoffice-0.1.0.gem">
269
+ <provider selected="true" editor-type-id="text-editor" />
270
+ </entry>
271
+ <entry file="file://$PROJECT_DIR$/test/omniauth/lexoffice_test.rb">
360
272
  <provider selected="true" editor-type-id="text-editor">
361
- <state relative-caret-position="279">
362
- <caret line="17" column="56" lean-forward="true" selection-end-line="79" selection-end-column="3" />
273
+ <state relative-caret-position="153">
274
+ <caret line="9" column="5" selection-start-line="9" selection-start-column="5" selection-end-line="9" selection-end-column="5" />
363
275
  </state>
364
276
  </provider>
365
277
  </entry>
366
- <entry file="file://$PROJECT_DIR$/lib/omniauth/lexoffice/version.rb">
278
+ <entry file="file://$PROJECT_DIR$/lib/omniauth/strategies/lexoffice.rb">
367
279
  <provider selected="true" editor-type-id="text-editor">
368
- <state relative-caret-position="34">
369
- <caret line="2" column="21" lean-forward="true" selection-start-line="2" selection-start-column="21" selection-end-line="2" selection-end-column="21" />
280
+ <state relative-caret-position="238">
281
+ <caret line="14" column="56" lean-forward="true" selection-start-line="14" selection-start-column="56" selection-end-line="14" selection-end-column="56" />
370
282
  </state>
371
283
  </provider>
372
284
  </entry>
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Lexoffice
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -49,6 +49,7 @@ module OmniAuth
49
49
  end
50
50
 
51
51
  def callback_url
52
+ return full_host + script_name + callback_path + "?shop=#{request.params["shop"]}" if request.params["shop"].present?
52
53
  full_host + script_name + callback_path
53
54
  end
54
55
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-lexoffice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Crowder
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-02 00:00:00.000000000 Z
11
+ date: 2021-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -98,8 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubyforge_project:
102
- rubygems_version: 2.7.7
101
+ rubygems_version: 3.0.3
103
102
  signing_key:
104
103
  specification_version: 4
105
104
  summary: OAUTH2 Strategy for Lexoffice