connect_wise_rest 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ca51f2eace5087687fdfac37e0fbcdcdb018c817
4
+ data.tar.gz: 5db7a1bc4335ce81249df6ae00d34af7609a643b
5
+ SHA512:
6
+ metadata.gz: 1eca3fe9a7e2b82c1236b8962843b83b06a5781300d6965f4b2d6409ec358695736638ff774ff89f905675c2381ccf9c7c7f5b0520580a15ce840ab5f1b2847d
7
+ data.tar.gz: f3cafeadeae9cf8e7576d5360fe113c804343f6659b14d8e14a5a679ca08a571a4ab36bee7353451101cd01544e45a571036efdad42cc01103805d2a1c355180
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="gem" name="New Gem">
5
+ <configuration>
6
+ <option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
7
+ <option name="GEM_APP_TEST_PATH" value="" />
8
+ <option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
9
+ </configuration>
10
+ </facet>
11
+ </component>
12
+ <component name="NewModuleRootManager">
13
+ <content url="file://$MODULE_DIR$">
14
+ <excludeFolder url="file://$MODULE_DIR$/.bundle" />
15
+ <excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
16
+ </content>
17
+ <orderEntry type="jdk" jdkName="RVM: ruby-2.2.1" jdkType="RUBY_SDK" />
18
+ <orderEntry type="sourceFolder" forTests="false" />
19
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.10.6, RVM: ruby-2.2.1) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="httparty (v0.13.7, RVM: ruby-2.2.1) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="json (v1.8.3, RVM: ruby-2.2.1) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="multi_xml (v0.5.5, RVM: ruby-2.2.1) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.2.1) [gem]" level="application" />
24
+ </component>
25
+ </module>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding">
4
+ <file url="PROJECT" charset="UTF-8" />
5
+ </component>
6
+ </project>
data/.idea/misc.xml ADDED
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
4
+ <OptionsSetting value="true" id="Add" />
5
+ <OptionsSetting value="true" id="Remove" />
6
+ <OptionsSetting value="true" id="Checkout" />
7
+ <OptionsSetting value="true" id="Update" />
8
+ <OptionsSetting value="true" id="Status" />
9
+ <OptionsSetting value="true" id="Edit" />
10
+ <ConfirmationsSetting value="0" id="Add" />
11
+ <ConfirmationsSetting value="0" id="Remove" />
12
+ </component>
13
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.3-p551 [carsonstreeth]" project-jdk-type="RUBY_SDK" />
14
+ </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$/.idea/connect_wise_rest.iml" filepath="$PROJECT_DIR$/.idea/connect_wise_rest.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,380 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="b3d96765-78e1-4b45-be3e-a5c76b47cdde" name="Default" comment="" />
5
+ <ignored path="connect_wise_rest.iws" />
6
+ <ignored path=".idea/workspace.xml" />
7
+ <ignored path=".idea/dataSources.local.xml" />
8
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9
+ <option name="TRACKING_ENABLED" value="true" />
10
+ <option name="SHOW_DIALOG" value="false" />
11
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
13
+ <option name="LAST_RESOLUTION" value="IGNORE" />
14
+ </component>
15
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
16
+ <component name="CreatePatchCommitExecutor">
17
+ <option name="PATCH_PATH" value="" />
18
+ </component>
19
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
20
+ <component name="FavoritesManager">
21
+ <favorites_list name="connect_wise_rest" />
22
+ </component>
23
+ <component name="FileEditorManager">
24
+ <leaf>
25
+ <file leaf-file-name="client.rb" pinned="false" current-in-tab="false">
26
+ <entry file="file://$PROJECT_DIR$/lib/connect_wise_rest/client.rb">
27
+ <provider selected="true" editor-type-id="text-editor">
28
+ <state relative-caret-position="0">
29
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
30
+ <folding />
31
+ </state>
32
+ </provider>
33
+ </entry>
34
+ </file>
35
+ <file leaf-file-name="connect_wise_rest.rb" pinned="false" current-in-tab="false">
36
+ <entry file="file://$PROJECT_DIR$/lib/connect_wise_rest.rb">
37
+ <provider selected="true" editor-type-id="text-editor">
38
+ <state relative-caret-position="135">
39
+ <caret line="9" column="0" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
40
+ <folding />
41
+ </state>
42
+ </provider>
43
+ </entry>
44
+ </file>
45
+ <file leaf-file-name="connect_wise_rest.gemspec" pinned="false" current-in-tab="true">
46
+ <entry file="file://$PROJECT_DIR$/connect_wise_rest.gemspec">
47
+ <provider selected="true" editor-type-id="text-editor">
48
+ <state relative-caret-position="210">
49
+ <caret line="14" column="27" selection-start-line="14" selection-start-column="27" selection-end-line="14" selection-end-column="27" />
50
+ <folding />
51
+ </state>
52
+ </provider>
53
+ </entry>
54
+ </file>
55
+ </leaf>
56
+ </component>
57
+ <component name="IdeDocumentHistory">
58
+ <option name="CHANGED_PATHS">
59
+ <list>
60
+ <option value="$PROJECT_DIR$/lib/connect_wise_rest/configuration.rb" />
61
+ <option value="$PROJECT_DIR$/lib/connect_wise_rest/client.rb" />
62
+ <option value="$PROJECT_DIR$/lib/connect_wise_rest.rb" />
63
+ <option value="$PROJECT_DIR$/connect_wise_rest.gemspec" />
64
+ </list>
65
+ </option>
66
+ </component>
67
+ <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
68
+ <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
69
+ <component name="JsGulpfileManager">
70
+ <detection-done>true</detection-done>
71
+ <sorting>DEFINITION_ORDER</sorting>
72
+ </component>
73
+ <component name="ProjectFrameBounds">
74
+ <option name="width" value="2560" />
75
+ <option name="height" value="1440" />
76
+ </component>
77
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
78
+ <OptionsSetting value="true" id="Add" />
79
+ <OptionsSetting value="true" id="Remove" />
80
+ <OptionsSetting value="true" id="Checkout" />
81
+ <OptionsSetting value="true" id="Update" />
82
+ <OptionsSetting value="true" id="Status" />
83
+ <OptionsSetting value="true" id="Edit" />
84
+ <ConfirmationsSetting value="0" id="Add" />
85
+ <ConfirmationsSetting value="0" id="Remove" />
86
+ </component>
87
+ <component name="ProjectView">
88
+ <navigator currentView="ProjectPane" proportions="" version="1">
89
+ <flattenPackages />
90
+ <showMembers />
91
+ <showModules />
92
+ <showLibraryContents />
93
+ <hideEmptyPackages />
94
+ <abbreviatePackageNames />
95
+ <autoscrollToSource />
96
+ <autoscrollFromSource />
97
+ <sortByType />
98
+ <manualOrder />
99
+ <foldersAlwaysOnTop value="true" />
100
+ </navigator>
101
+ <panes>
102
+ <pane id="Scope" />
103
+ <pane id="Scratches" />
104
+ <pane id="ProjectPane">
105
+ <subPane>
106
+ <PATH>
107
+ <PATH_ELEMENT>
108
+ <option name="myItemId" value="connect_wise_rest" />
109
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
110
+ </PATH_ELEMENT>
111
+ </PATH>
112
+ <PATH>
113
+ <PATH_ELEMENT>
114
+ <option name="myItemId" value="connect_wise_rest" />
115
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
116
+ </PATH_ELEMENT>
117
+ <PATH_ELEMENT>
118
+ <option name="myItemId" value="connect_wise_rest" />
119
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
120
+ </PATH_ELEMENT>
121
+ </PATH>
122
+ <PATH>
123
+ <PATH_ELEMENT>
124
+ <option name="myItemId" value="connect_wise_rest" />
125
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
126
+ </PATH_ELEMENT>
127
+ <PATH_ELEMENT>
128
+ <option name="myItemId" value="connect_wise_rest" />
129
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
130
+ </PATH_ELEMENT>
131
+ <PATH_ELEMENT>
132
+ <option name="myItemId" value="lib" />
133
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
134
+ </PATH_ELEMENT>
135
+ </PATH>
136
+ <PATH>
137
+ <PATH_ELEMENT>
138
+ <option name="myItemId" value="connect_wise_rest" />
139
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
140
+ </PATH_ELEMENT>
141
+ <PATH_ELEMENT>
142
+ <option name="myItemId" value="connect_wise_rest" />
143
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
144
+ </PATH_ELEMENT>
145
+ <PATH_ELEMENT>
146
+ <option name="myItemId" value="lib" />
147
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
148
+ </PATH_ELEMENT>
149
+ <PATH_ELEMENT>
150
+ <option name="myItemId" value="connect_wise_rest" />
151
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
152
+ </PATH_ELEMENT>
153
+ </PATH>
154
+ </subPane>
155
+ </pane>
156
+ </panes>
157
+ </component>
158
+ <component name="PropertiesComponent">
159
+ <property name="settings.editor.selected.configurable" value="reference.settingsdialog.IDE.editor.colors.Font" />
160
+ <property name="settings.editor.splitter.proportion" value="0.2" />
161
+ <property name="WebServerToolWindowFactoryState" value="false" />
162
+ <property name="FullScreen" value="true" />
163
+ <property name="js-jscs-nodeInterpreter" value="/usr/local/bin/node" />
164
+ </component>
165
+ <component name="RecentsManager">
166
+ <key name="CopyFile.RECENT_KEYS">
167
+ <recent name="$PROJECT_DIR$/lib/connect_wise_rest" />
168
+ </key>
169
+ </component>
170
+ <component name="RunManager">
171
+ <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
172
+ <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
173
+ <module name="" />
174
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
175
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
176
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
177
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
178
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
179
+ <envs />
180
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
181
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
182
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
183
+ <COVERAGE_PATTERN ENABLED="true">
184
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
185
+ </COVERAGE_PATTERN>
186
+ </EXTENSION>
187
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
188
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
189
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
190
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
191
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
192
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
193
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
194
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
195
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
196
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
197
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
198
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
199
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
200
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
201
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
202
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
203
+ <method />
204
+ </configuration>
205
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
206
+ <method />
207
+ </configuration>
208
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
209
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
210
+ <module name="" />
211
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
212
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
213
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
214
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
215
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
216
+ <envs />
217
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
218
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
219
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
220
+ <COVERAGE_PATTERN ENABLED="true">
221
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
222
+ </COVERAGE_PATTERN>
223
+ </EXTENSION>
224
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
225
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
226
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
227
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
228
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
229
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
230
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
231
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
232
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
233
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
234
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
235
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
236
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
237
+ <method />
238
+ </configuration>
239
+ <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
240
+ <module name="" />
241
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
242
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
243
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
244
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
245
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
246
+ <envs />
247
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
248
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
249
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
250
+ <COVERAGE_PATTERN ENABLED="true">
251
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
252
+ </COVERAGE_PATTERN>
253
+ </EXTENSION>
254
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
255
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
256
+ <method />
257
+ </configuration>
258
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
259
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
260
+ <module name="" />
261
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
262
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
263
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
264
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
265
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
266
+ <envs />
267
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
268
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
269
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
270
+ <COVERAGE_PATTERN ENABLED="true">
271
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
272
+ </COVERAGE_PATTERN>
273
+ </EXTENSION>
274
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
275
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
276
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
277
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
278
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
279
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
280
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
281
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
282
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
283
+ <method />
284
+ </configuration>
285
+ <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
286
+ <method />
287
+ </configuration>
288
+ <configuration default="true" type="js.build_tools.npm" factoryName="npm">
289
+ <command value="run-script" />
290
+ <scripts />
291
+ <node-interpreter value="project" />
292
+ <envs />
293
+ <method />
294
+ </configuration>
295
+ </component>
296
+ <component name="ShelveChangesManager" show_recycled="false">
297
+ <option name="remove_strategy" value="false" />
298
+ </component>
299
+ <component name="SvnConfiguration">
300
+ <configuration />
301
+ </component>
302
+ <component name="TaskManager">
303
+ <task active="true" id="Default" summary="Default task">
304
+ <changelist id="b3d96765-78e1-4b45-be3e-a5c76b47cdde" name="Default" comment="" />
305
+ <created>1468957837287</created>
306
+ <option name="number" value="Default" />
307
+ <option name="presentableId" value="Default" />
308
+ <updated>1468957837287</updated>
309
+ <workItem from="1468957838684" duration="1406000" />
310
+ </task>
311
+ <servers />
312
+ </component>
313
+ <component name="TimeTrackingManager">
314
+ <option name="totallyTimeSpent" value="1406000" />
315
+ </component>
316
+ <component name="ToolWindowManager">
317
+ <frame x="0" y="0" width="2560" height="1440" extended-state="0" />
318
+ <editor active="true" />
319
+ <layout>
320
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25178713" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
321
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
322
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
323
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
324
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
325
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.33022922" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
326
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
327
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
328
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
329
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
330
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
331
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
332
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
333
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
334
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
335
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
336
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
337
+ </layout>
338
+ </component>
339
+ <component name="VcsContentAnnotationSettings">
340
+ <option name="myLimit" value="2678400000" />
341
+ </component>
342
+ <component name="XDebuggerManager">
343
+ <breakpoint-manager />
344
+ <watches-manager />
345
+ </component>
346
+ <component name="editorHistoryManager">
347
+ <entry file="file://$PROJECT_DIR$/lib/connect_wise_rest/configuration.rb">
348
+ <provider selected="true" editor-type-id="text-editor">
349
+ <state relative-caret-position="405">
350
+ <caret line="27" column="3" selection-start-line="27" selection-start-column="3" selection-end-line="27" selection-end-column="3" />
351
+ <folding />
352
+ </state>
353
+ </provider>
354
+ </entry>
355
+ <entry file="file://$PROJECT_DIR$/lib/connect_wise_rest/client.rb">
356
+ <provider selected="true" editor-type-id="text-editor">
357
+ <state relative-caret-position="0">
358
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
359
+ <folding />
360
+ </state>
361
+ </provider>
362
+ </entry>
363
+ <entry file="file://$PROJECT_DIR$/lib/connect_wise_rest.rb">
364
+ <provider selected="true" editor-type-id="text-editor">
365
+ <state relative-caret-position="135">
366
+ <caret line="9" column="0" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
367
+ <folding />
368
+ </state>
369
+ </provider>
370
+ </entry>
371
+ <entry file="file://$PROJECT_DIR$/connect_wise_rest.gemspec">
372
+ <provider selected="true" editor-type-id="text-editor">
373
+ <state relative-caret-position="210">
374
+ <caret line="14" column="27" selection-start-line="14" selection-start-column="27" selection-end-line="14" selection-end-column="27" />
375
+ <folding />
376
+ </state>
377
+ </provider>
378
+ </entry>
379
+ </component>
380
+ </project>
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.1
4
+ before_install: gem install bundler -v 1.10.6
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in connect_wise_rest.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # ConnectWiseRest
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/connect_wise_rest`. 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 'connect_wise_rest'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install connect_wise_rest
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. Then, run `rake false` to run the tests. 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]/connect_wise_rest. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
36
+
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "connect_wise_rest"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'connect_wise_rest/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'connect_wise_rest'
8
+ spec.version = ConnectWiseRest::VERSION
9
+ spec.authors = ['Kevin Pheasey']
10
+ spec.email = ['kevin@kpheasey.com']
11
+
12
+ spec.summary = %q{REST client wrapper for Connect Wise.}
13
+ spec.description = %q{A dead simple REST client wrapper for Connect Wise.}
14
+ spec.homepage = 'https://github.com/MSPCFO/connect_wise_rest'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = 'exe'
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_development_dependency 'bundler', '~> 1.10'
23
+ spec.add_development_dependency 'rake', '~> 10.0'
24
+
25
+ spec.add_dependency 'httparty', '~> 0.13'
26
+ end
@@ -0,0 +1,32 @@
1
+ module ConnectWiseRest
2
+ class Client
3
+
4
+ attr_reader :options
5
+
6
+ DEFAULT_OPTIONS = {
7
+ company_id: ConnectWiseRest.configuration.company_id,
8
+ public_key: ConnectWiseRest.configuration.public_key,
9
+ private_key: ConnectWiseRest.configuration.private_key,
10
+ url_prefix: ConnectWiseRest.configuration.url_prefix,
11
+ version: ConnectWiseRest.configuration.version
12
+ }
13
+
14
+ def initialize(options = {})
15
+ @options = DEFAULT_OPTIONS.merge(options)
16
+ end
17
+
18
+ def get(resource)
19
+ HTTParty.get(url(resource), headers: { 'Accept' => 'application/json' }).parsed_response
20
+ end
21
+
22
+ def url(resource)
23
+ url = "https://#{options[:company_id]}+#{options[:public_key]}:#{options[:private_key]}"
24
+ url += "@#{options[:url_prefix]}"
25
+ url += "/v4_6_release/apis/#{options[:api_version]}"
26
+ url += resource
27
+
28
+ return url
29
+ end
30
+
31
+ end
32
+ end
@@ -0,0 +1,28 @@
1
+ module ConnectWiseRest
2
+
3
+ class << self
4
+ attr_accessor :configuration
5
+ end
6
+
7
+ def self.configuration
8
+ @configuration ||= Configuration.new
9
+ end
10
+
11
+ def self.configure
12
+ yield(configuration)
13
+ end
14
+
15
+ class Configuration
16
+ attr_accessor :company_id, :private_key, :public_key, :url_prefix, :version
17
+
18
+ def initialize
19
+ @version = '3.0'
20
+ end
21
+
22
+ def set(options = {})
23
+ options.each { |k, v| self.send("#{k.to_s}=", v) }
24
+ end
25
+
26
+ end
27
+
28
+ end
@@ -0,0 +1,3 @@
1
+ module ConnectWiseRest
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,9 @@
1
+ require 'httparty'
2
+
3
+ require 'connect_wise_rest/version'
4
+ require 'connect_wise_rest/configuration'
5
+ require 'connect_wise_rest/client'
6
+
7
+ module ConnectWiseRest
8
+
9
+ end
metadata ADDED
@@ -0,0 +1,104 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: connect_wise_rest
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Kevin Pheasey
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-07-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: httparty
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.13'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.13'
55
+ description: A dead simple REST client wrapper for Connect Wise.
56
+ email:
57
+ - kevin@kpheasey.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".idea/connect_wise_rest.iml"
64
+ - ".idea/encodings.xml"
65
+ - ".idea/misc.xml"
66
+ - ".idea/modules.xml"
67
+ - ".idea/workspace.xml"
68
+ - ".travis.yml"
69
+ - CODE_OF_CONDUCT.md
70
+ - Gemfile
71
+ - README.md
72
+ - Rakefile
73
+ - bin/console
74
+ - bin/setup
75
+ - connect_wise_rest.gemspec
76
+ - lib/connect_wise_rest.rb
77
+ - lib/connect_wise_rest/client.rb
78
+ - lib/connect_wise_rest/configuration.rb
79
+ - lib/connect_wise_rest/version.rb
80
+ homepage: https://github.com/MSPCFO/connect_wise_rest
81
+ licenses:
82
+ - MIT
83
+ metadata: {}
84
+ post_install_message:
85
+ rdoc_options: []
86
+ require_paths:
87
+ - lib
88
+ required_ruby_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ requirements: []
99
+ rubyforge_project:
100
+ rubygems_version: 2.5.0
101
+ signing_key:
102
+ specification_version: 4
103
+ summary: REST client wrapper for Connect Wise.
104
+ test_files: []