dashbot 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.idea/dashbot_ruby_sdk.iml +12 -0
- data/.idea/jsLibraryMappings.xml +6 -0
- data/.idea/misc.xml +27 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +306 -0
- data/lib/dashbot.rb +29 -6
- data/lib/dashbot/version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc798c7cb84aa647244ba4fa431b77edfe886f21
|
|
4
|
+
data.tar.gz: 9e7c05f91b2f79fa23478590687511b722e1473e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51d61ba0bdd98303b741429e80cc991853e6a9505eb832581b2e2c69f12746a880c3b52eb6acf215b3b5058a2ab62e66d58ef1fbb3cdf1f2feb847b79fba96b8
|
|
7
|
+
data.tar.gz: '08af26580453681d6f4cbdfcce75ca03bc401dbdc4b8e8f785815e89c6328132bfd3e5e25fceae471f95fcaf89bd86c06cc0475093b086c3015380e590ed045a'
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
</content>
|
|
9
|
+
<orderEntry type="inheritedJdk" />
|
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
+
</component>
|
|
12
|
+
</module>
|
data/.idea/misc.xml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
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="JsFlowSettings">
|
|
7
|
+
<service-enabled>true</service-enabled>
|
|
8
|
+
<exe-path />
|
|
9
|
+
<annotation-enable>false</annotation-enable>
|
|
10
|
+
<other-services-enabled>true</other-services-enabled>
|
|
11
|
+
</component>
|
|
12
|
+
<component name="masterDetails">
|
|
13
|
+
<states>
|
|
14
|
+
<state key="ScopeChooserConfigurable.UI">
|
|
15
|
+
<settings>
|
|
16
|
+
<splitter-proportions>
|
|
17
|
+
<option name="proportions">
|
|
18
|
+
<list>
|
|
19
|
+
<option value="0.2" />
|
|
20
|
+
</list>
|
|
21
|
+
</option>
|
|
22
|
+
</splitter-proportions>
|
|
23
|
+
</settings>
|
|
24
|
+
</state>
|
|
25
|
+
</states>
|
|
26
|
+
</component>
|
|
27
|
+
</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/dashbot_ruby_sdk.iml" filepath="$PROJECT_DIR$/.idea/dashbot_ruby_sdk.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="3d039c84-2b25-4f6a-9e3a-62e34e65f61f" name="Default" comment="">
|
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/dashbot.rb" afterPath="$PROJECT_DIR$/lib/dashbot.rb" />
|
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/dashbot/version.rb" afterPath="$PROJECT_DIR$/lib/dashbot/version.rb" />
|
|
7
|
+
</list>
|
|
8
|
+
<ignored path="$PROJECT_DIR$/.tmp/" />
|
|
9
|
+
<ignored path="$PROJECT_DIR$/temp/" />
|
|
10
|
+
<ignored path="$PROJECT_DIR$/tmp/" />
|
|
11
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
12
|
+
<option name="TRACKING_ENABLED" value="true" />
|
|
13
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
14
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
15
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
16
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
17
|
+
</component>
|
|
18
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
|
19
|
+
<component name="FileEditorManager">
|
|
20
|
+
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
|
21
|
+
<file leaf-file-name="dashbot.rb" pinned="false" current-in-tab="true">
|
|
22
|
+
<entry file="file://$PROJECT_DIR$/lib/dashbot.rb">
|
|
23
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
24
|
+
<state relative-caret-position="947">
|
|
25
|
+
<caret line="193" column="9" lean-forward="true" selection-start-line="193" selection-start-column="9" selection-end-line="193" selection-end-column="9" />
|
|
26
|
+
<folding />
|
|
27
|
+
</state>
|
|
28
|
+
</provider>
|
|
29
|
+
</entry>
|
|
30
|
+
</file>
|
|
31
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
|
|
32
|
+
<entry file="file://$PROJECT_DIR$/lib/dashbot/version.rb">
|
|
33
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
34
|
+
<state relative-caret-position="45">
|
|
35
|
+
<caret line="3" column="0" lean-forward="true" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
|
36
|
+
<folding />
|
|
37
|
+
</state>
|
|
38
|
+
</provider>
|
|
39
|
+
</entry>
|
|
40
|
+
</file>
|
|
41
|
+
</leaf>
|
|
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/dashbot/version.rb" />
|
|
50
|
+
<option value="$PROJECT_DIR$/lib/dashbot.rb" />
|
|
51
|
+
</list>
|
|
52
|
+
</option>
|
|
53
|
+
</component>
|
|
54
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
|
55
|
+
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
|
56
|
+
<component name="JsGulpfileManager">
|
|
57
|
+
<detection-done>true</detection-done>
|
|
58
|
+
<sorting>DEFINITION_ORDER</sorting>
|
|
59
|
+
</component>
|
|
60
|
+
<component name="ProjectFrameBounds">
|
|
61
|
+
<option name="x" value="2778" />
|
|
62
|
+
<option name="y" value="-755" />
|
|
63
|
+
<option name="width" value="1671" />
|
|
64
|
+
<option name="height" value="1669" />
|
|
65
|
+
</component>
|
|
66
|
+
<component name="ProjectView">
|
|
67
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
|
68
|
+
<flattenPackages />
|
|
69
|
+
<showMembers />
|
|
70
|
+
<showModules />
|
|
71
|
+
<showLibraryContents />
|
|
72
|
+
<hideEmptyPackages />
|
|
73
|
+
<abbreviatePackageNames />
|
|
74
|
+
<autoscrollToSource />
|
|
75
|
+
<autoscrollFromSource />
|
|
76
|
+
<sortByType />
|
|
77
|
+
<manualOrder />
|
|
78
|
+
<foldersAlwaysOnTop value="true" />
|
|
79
|
+
</navigator>
|
|
80
|
+
<panes>
|
|
81
|
+
<pane id="Scope" />
|
|
82
|
+
<pane id="Scratches" />
|
|
83
|
+
<pane id="ProjectPane">
|
|
84
|
+
<subPane>
|
|
85
|
+
<PATH>
|
|
86
|
+
<PATH_ELEMENT>
|
|
87
|
+
<option name="myItemId" value="dashbot_ruby_sdk" />
|
|
88
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
89
|
+
</PATH_ELEMENT>
|
|
90
|
+
<PATH_ELEMENT>
|
|
91
|
+
<option name="myItemId" value="dashbot_ruby_sdk" />
|
|
92
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
93
|
+
</PATH_ELEMENT>
|
|
94
|
+
</PATH>
|
|
95
|
+
<PATH>
|
|
96
|
+
<PATH_ELEMENT>
|
|
97
|
+
<option name="myItemId" value="dashbot_ruby_sdk" />
|
|
98
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
99
|
+
</PATH_ELEMENT>
|
|
100
|
+
<PATH_ELEMENT>
|
|
101
|
+
<option name="myItemId" value="dashbot_ruby_sdk" />
|
|
102
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
103
|
+
</PATH_ELEMENT>
|
|
104
|
+
<PATH_ELEMENT>
|
|
105
|
+
<option name="myItemId" value="lib" />
|
|
106
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
107
|
+
</PATH_ELEMENT>
|
|
108
|
+
</PATH>
|
|
109
|
+
<PATH>
|
|
110
|
+
<PATH_ELEMENT>
|
|
111
|
+
<option name="myItemId" value="dashbot_ruby_sdk" />
|
|
112
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
113
|
+
</PATH_ELEMENT>
|
|
114
|
+
<PATH_ELEMENT>
|
|
115
|
+
<option name="myItemId" value="dashbot_ruby_sdk" />
|
|
116
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
117
|
+
</PATH_ELEMENT>
|
|
118
|
+
<PATH_ELEMENT>
|
|
119
|
+
<option name="myItemId" value="lib" />
|
|
120
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
121
|
+
</PATH_ELEMENT>
|
|
122
|
+
<PATH_ELEMENT>
|
|
123
|
+
<option name="myItemId" value="dashbot" />
|
|
124
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
125
|
+
</PATH_ELEMENT>
|
|
126
|
+
</PATH>
|
|
127
|
+
</subPane>
|
|
128
|
+
</pane>
|
|
129
|
+
</panes>
|
|
130
|
+
</component>
|
|
131
|
+
<component name="PropertiesComponent">
|
|
132
|
+
<property name="settings.editor.selected.configurable" value="settings.nodejs" />
|
|
133
|
+
<property name="nodejs_interpreter_path" value="$USER_HOME$/.nvm/versions/node/v7.0.0/bin/node" />
|
|
134
|
+
<property name="javascript.nodejs.core.library.configured.version" value="7.0.0" />
|
|
135
|
+
<property name="JavaScriptPreferStrict" value="false" />
|
|
136
|
+
<property name="JavaScriptWeakerCompletionTypeGuess" value="true" />
|
|
137
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
138
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
139
|
+
</component>
|
|
140
|
+
<component name="RunDashboard">
|
|
141
|
+
<option name="ruleStates">
|
|
142
|
+
<list>
|
|
143
|
+
<RuleState>
|
|
144
|
+
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
|
145
|
+
</RuleState>
|
|
146
|
+
<RuleState>
|
|
147
|
+
<option name="name" value="StatusDashboardGroupingRule" />
|
|
148
|
+
</RuleState>
|
|
149
|
+
</list>
|
|
150
|
+
</option>
|
|
151
|
+
</component>
|
|
152
|
+
<component name="RunManager">
|
|
153
|
+
<configuration default="true" type="DartCommandLineRunConfigurationType" factoryName="Dart Command Line Application">
|
|
154
|
+
<method />
|
|
155
|
+
</configuration>
|
|
156
|
+
<configuration default="true" type="DartTestRunConfigurationType" factoryName="Dart Test">
|
|
157
|
+
<method />
|
|
158
|
+
</configuration>
|
|
159
|
+
<configuration default="true" type="JavaScriptTestRunnerJest" factoryName="Jest">
|
|
160
|
+
<node-interpreter value="project" />
|
|
161
|
+
<working-dir value="" />
|
|
162
|
+
<envs />
|
|
163
|
+
<scope-kind value="ALL" />
|
|
164
|
+
<method />
|
|
165
|
+
</configuration>
|
|
166
|
+
<configuration default="true" type="JavaScriptTestRunnerKarma" factoryName="Karma">
|
|
167
|
+
<config-file value="" />
|
|
168
|
+
<node-interpreter value="project" />
|
|
169
|
+
<envs />
|
|
170
|
+
<method />
|
|
171
|
+
</configuration>
|
|
172
|
+
<configuration default="true" type="JavaScriptTestRunnerProtractor" factoryName="Protractor">
|
|
173
|
+
<config-file value="" />
|
|
174
|
+
<node-interpreter value="project" />
|
|
175
|
+
<envs />
|
|
176
|
+
<method />
|
|
177
|
+
</configuration>
|
|
178
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
|
179
|
+
<method />
|
|
180
|
+
</configuration>
|
|
181
|
+
<configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="project" working-dir="">
|
|
182
|
+
<method />
|
|
183
|
+
</configuration>
|
|
184
|
+
<configuration default="true" type="cucumber.js" factoryName="Cucumber.js">
|
|
185
|
+
<option name="cucumberJsArguments" value="" />
|
|
186
|
+
<option name="executablePath" />
|
|
187
|
+
<option name="filePath" />
|
|
188
|
+
<method />
|
|
189
|
+
</configuration>
|
|
190
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
|
191
|
+
<method />
|
|
192
|
+
</configuration>
|
|
193
|
+
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
|
|
194
|
+
<command value="run" />
|
|
195
|
+
<scripts />
|
|
196
|
+
<node-interpreter value="project" />
|
|
197
|
+
<envs />
|
|
198
|
+
<method />
|
|
199
|
+
</configuration>
|
|
200
|
+
<configuration default="true" type="mocha-javascript-test-runner" factoryName="Mocha">
|
|
201
|
+
<node-interpreter>project</node-interpreter>
|
|
202
|
+
<node-options />
|
|
203
|
+
<working-directory />
|
|
204
|
+
<pass-parent-env>true</pass-parent-env>
|
|
205
|
+
<envs />
|
|
206
|
+
<ui />
|
|
207
|
+
<extra-mocha-options />
|
|
208
|
+
<test-kind>DIRECTORY</test-kind>
|
|
209
|
+
<test-directory />
|
|
210
|
+
<recursive>false</recursive>
|
|
211
|
+
<method />
|
|
212
|
+
</configuration>
|
|
213
|
+
</component>
|
|
214
|
+
<component name="ShelveChangesManager" show_recycled="false">
|
|
215
|
+
<option name="remove_strategy" value="false" />
|
|
216
|
+
</component>
|
|
217
|
+
<component name="TaskManager">
|
|
218
|
+
<task active="true" id="Default" summary="Default task">
|
|
219
|
+
<changelist id="3d039c84-2b25-4f6a-9e3a-62e34e65f61f" name="Default" comment="" />
|
|
220
|
+
<created>1528148435663</created>
|
|
221
|
+
<option name="number" value="Default" />
|
|
222
|
+
<option name="presentableId" value="Default" />
|
|
223
|
+
<updated>1528148435663</updated>
|
|
224
|
+
<workItem from="1528148437100" duration="4059000" />
|
|
225
|
+
</task>
|
|
226
|
+
<servers />
|
|
227
|
+
</component>
|
|
228
|
+
<component name="TimeTrackingManager">
|
|
229
|
+
<option name="totallyTimeSpent" value="5566000" />
|
|
230
|
+
</component>
|
|
231
|
+
<component name="ToolWindowManager">
|
|
232
|
+
<frame x="2778" y="-755" width="1671" height="1669" extended-state="0" />
|
|
233
|
+
<editor active="true" />
|
|
234
|
+
<layout>
|
|
235
|
+
<window_info id="PlantUML" 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="3" side_tool="false" content_ui="tabs" />
|
|
236
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25168815" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
237
|
+
<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" />
|
|
238
|
+
<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="7" side_tool="true" content_ui="tabs" />
|
|
239
|
+
<window_info id="Run" 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="2" side_tool="false" content_ui="tabs" />
|
|
240
|
+
<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="7" side_tool="false" content_ui="tabs" />
|
|
241
|
+
<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" />
|
|
242
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2669626" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
243
|
+
<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" />
|
|
244
|
+
<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="2" side_tool="true" content_ui="tabs" />
|
|
245
|
+
<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" />
|
|
246
|
+
<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" />
|
|
247
|
+
<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" />
|
|
248
|
+
<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" />
|
|
249
|
+
<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" />
|
|
250
|
+
<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" />
|
|
251
|
+
<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" />
|
|
252
|
+
</layout>
|
|
253
|
+
</component>
|
|
254
|
+
<component name="TypeScriptGeneratedFilesManager">
|
|
255
|
+
<option name="processedProjectFiles" value="true" />
|
|
256
|
+
</component>
|
|
257
|
+
<component name="VcsContentAnnotationSettings">
|
|
258
|
+
<option name="myLimit" value="2678400000" />
|
|
259
|
+
</component>
|
|
260
|
+
<component name="XDebuggerManager">
|
|
261
|
+
<breakpoint-manager />
|
|
262
|
+
<watches-manager />
|
|
263
|
+
</component>
|
|
264
|
+
<component name="editorHistoryManager">
|
|
265
|
+
<entry file="file://$PROJECT_DIR$/lib/dashbot.rb">
|
|
266
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
267
|
+
<state relative-caret-position="0">
|
|
268
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
269
|
+
<folding />
|
|
270
|
+
</state>
|
|
271
|
+
</provider>
|
|
272
|
+
</entry>
|
|
273
|
+
<entry file="file://$PROJECT_DIR$/lib/dashbot.rb">
|
|
274
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
275
|
+
<state relative-caret-position="149">
|
|
276
|
+
<caret line="10" column="6" lean-forward="true" selection-start-line="10" selection-start-column="6" selection-end-line="10" selection-end-column="6" />
|
|
277
|
+
<folding />
|
|
278
|
+
</state>
|
|
279
|
+
</provider>
|
|
280
|
+
</entry>
|
|
281
|
+
<entry file="file://$PROJECT_DIR$/lib/dashbot/version.rb">
|
|
282
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
283
|
+
<state relative-caret-position="45">
|
|
284
|
+
<caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
|
285
|
+
<folding />
|
|
286
|
+
</state>
|
|
287
|
+
</provider>
|
|
288
|
+
</entry>
|
|
289
|
+
<entry file="file://$PROJECT_DIR$/lib/dashbot/version.rb">
|
|
290
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
291
|
+
<state relative-caret-position="45">
|
|
292
|
+
<caret line="3" column="0" lean-forward="true" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
|
293
|
+
<folding />
|
|
294
|
+
</state>
|
|
295
|
+
</provider>
|
|
296
|
+
</entry>
|
|
297
|
+
<entry file="file://$PROJECT_DIR$/lib/dashbot.rb">
|
|
298
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
299
|
+
<state relative-caret-position="947">
|
|
300
|
+
<caret line="193" column="9" lean-forward="true" selection-start-line="193" selection-start-column="9" selection-end-line="193" selection-end-column="9" />
|
|
301
|
+
<folding />
|
|
302
|
+
</state>
|
|
303
|
+
</provider>
|
|
304
|
+
</entry>
|
|
305
|
+
</component>
|
|
306
|
+
</project>
|
data/lib/dashbot.rb
CHANGED
|
@@ -7,7 +7,7 @@ module Dashbot
|
|
|
7
7
|
|
|
8
8
|
class DashbotSDK
|
|
9
9
|
|
|
10
|
-
def initialize(apiKey, session)
|
|
10
|
+
def initialize(apiKey, session = nil)
|
|
11
11
|
|
|
12
12
|
@apiKey = ''
|
|
13
13
|
@session = nil
|
|
@@ -17,8 +17,8 @@ module Dashbot
|
|
|
17
17
|
@source = 'gem'
|
|
18
18
|
@version = Dashbot::VERSION
|
|
19
19
|
|
|
20
|
-
if
|
|
21
|
-
puts "ERROR: invalid
|
|
20
|
+
if apiKey == nil or apiKey.length == 0
|
|
21
|
+
puts "ERROR: invalid apiKey passed"
|
|
22
22
|
return
|
|
23
23
|
end
|
|
24
24
|
|
|
@@ -144,30 +144,53 @@ module Dashbot
|
|
|
144
144
|
end
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
-
def logIncoming(event)
|
|
147
|
+
def logIncoming(event, context = nil)
|
|
148
148
|
url = @urlRoot + '?apiKey=' + @apiKey + '&type=incoming&platform='+ @platform + '&v=' + @version + '-' + @source
|
|
149
149
|
|
|
150
150
|
if @debug
|
|
151
151
|
puts 'Dashbot Incoming:'+url
|
|
152
152
|
puts event
|
|
153
153
|
end
|
|
154
|
+
|
|
155
|
+
begin
|
|
156
|
+
event = JSON.parse(event)
|
|
157
|
+
rescue
|
|
158
|
+
event = event
|
|
159
|
+
end
|
|
160
|
+
|
|
154
161
|
data={
|
|
155
162
|
event:event,
|
|
163
|
+
context:context
|
|
156
164
|
}
|
|
157
165
|
|
|
158
166
|
makeRequest(url,data)
|
|
159
167
|
end
|
|
160
168
|
|
|
161
|
-
def logOutgoing(event,response)
|
|
169
|
+
def logOutgoing(event,response,context = nil)
|
|
162
170
|
url = @urlRoot + '?apiKey=' + @apiKey + '&type=outgoing&platform='+ @platform + '&v=' + @version + '-' + @source
|
|
163
171
|
|
|
164
172
|
if @debug
|
|
165
173
|
puts 'Dashbot Outgoing:'+url
|
|
166
174
|
puts event
|
|
175
|
+
puts response
|
|
167
176
|
end
|
|
177
|
+
|
|
178
|
+
begin
|
|
179
|
+
event = JSON.parse(event)
|
|
180
|
+
rescue
|
|
181
|
+
event = event
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
begin
|
|
185
|
+
response = JSON.parse(response)
|
|
186
|
+
rescue
|
|
187
|
+
response = response
|
|
188
|
+
end
|
|
189
|
+
|
|
168
190
|
data={
|
|
169
191
|
event:event,
|
|
170
|
-
response:response
|
|
192
|
+
response:response,
|
|
193
|
+
context:context
|
|
171
194
|
}
|
|
172
195
|
|
|
173
196
|
makeRequest(url,data)
|
data/lib/dashbot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dashbot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ryanmdashbot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-06-
|
|
11
|
+
date: 2018-06-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -60,6 +60,12 @@ extensions: []
|
|
|
60
60
|
extra_rdoc_files: []
|
|
61
61
|
files:
|
|
62
62
|
- ".gitignore"
|
|
63
|
+
- ".idea/dashbot_ruby_sdk.iml"
|
|
64
|
+
- ".idea/jsLibraryMappings.xml"
|
|
65
|
+
- ".idea/misc.xml"
|
|
66
|
+
- ".idea/modules.xml"
|
|
67
|
+
- ".idea/vcs.xml"
|
|
68
|
+
- ".idea/workspace.xml"
|
|
63
69
|
- CODE_OF_CONDUCT.md
|
|
64
70
|
- LICENSE
|
|
65
71
|
- README.md
|