yrpc 0.1.1

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: c7dac8317aed77d43073b1528283c8829ef481cb
4
+ data.tar.gz: dd3f4a5bd2242126820fc0d03d9cbf7969fa0841
5
+ SHA512:
6
+ metadata.gz: 895a302650b6ac146551f4b723e17cd18cbdb12686ddda5cfc3d9c3f867a25a2e65fdc193baef323367b089d2be5084c62d4e2dd7967d0b6735def4de0732217
7
+ data.tar.gz: 88f28df2d1ecb298606f91d0b81a1fa6ca1ec35aa8075a97817855fd2f1a847ee7fdf5bee41bc593d896b070309542ca1e6635edcc90078da98b67a3ea2bf4fc
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
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-2.3.1" 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/yrpc.iml" filepath="$PROJECT_DIR$/.idea/yrpc.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,594 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="02e2ec4d-ca67-4b03-9858-19be219d43ba" name="Default" comment="" />
5
+ <ignored path="yrpc.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="CoverageDataManager">
16
+ <SUITE FILE_PATH="coverage/yrpc@yrpc.coverage" NAME="yrpc Coverage Results" MODIFIED="1523255978494" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib" MODULE_NAME="yrpc" />
17
+ </component>
18
+ <component name="CreatePatchCommitExecutor">
19
+ <option name="PATCH_PATH" value="" />
20
+ </component>
21
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
22
+ <component name="FavoritesManager">
23
+ <favorites_list name="yrpc" />
24
+ </component>
25
+ <component name="FileEditorManager">
26
+ <leaf>
27
+ <file leaf-file-name="server.rb" pinned="false" current-in-tab="false">
28
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/server.rb">
29
+ <provider selected="true" editor-type-id="text-editor">
30
+ <state relative-caret-position="285">
31
+ <caret line="19" column="0" selection-start-line="19" selection-start-column="0" selection-end-line="21" selection-end-column="7" />
32
+ <folding />
33
+ </state>
34
+ </provider>
35
+ </entry>
36
+ </file>
37
+ <file leaf-file-name="yrpc" pinned="false" current-in-tab="false">
38
+ <entry file="file://$PROJECT_DIR$/bin/yrpc">
39
+ <provider selected="true" editor-type-id="text-editor">
40
+ <state relative-caret-position="0">
41
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
42
+ <folding />
43
+ </state>
44
+ </provider>
45
+ </entry>
46
+ </file>
47
+ <file leaf-file-name="yrpc.gemspec" pinned="false" current-in-tab="true">
48
+ <entry file="file://$PROJECT_DIR$/yrpc.gemspec">
49
+ <provider selected="true" editor-type-id="text-editor">
50
+ <state relative-caret-position="240">
51
+ <caret line="16" column="90" selection-start-line="16" selection-start-column="90" selection-end-line="16" selection-end-column="90" />
52
+ <folding />
53
+ </state>
54
+ </provider>
55
+ </entry>
56
+ </file>
57
+ <file leaf-file-name="setup" pinned="false" current-in-tab="false">
58
+ <entry file="file://$PROJECT_DIR$/bin/setup">
59
+ <provider selected="true" editor-type-id="text-editor">
60
+ <state relative-caret-position="0">
61
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
62
+ <folding />
63
+ </state>
64
+ </provider>
65
+ </entry>
66
+ </file>
67
+ <file leaf-file-name="response.rb" pinned="false" current-in-tab="false">
68
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/controllers/response.rb">
69
+ <provider selected="true" editor-type-id="text-editor">
70
+ <state relative-caret-position="225">
71
+ <caret line="15" column="7" selection-start-line="15" selection-start-column="7" selection-end-line="15" selection-end-column="7" />
72
+ <folding />
73
+ </state>
74
+ </provider>
75
+ </entry>
76
+ </file>
77
+ <file leaf-file-name="executor.rb" pinned="false" current-in-tab="false">
78
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/executor/executor.rb">
79
+ <provider selected="true" editor-type-id="text-editor">
80
+ <state relative-caret-position="60">
81
+ <caret line="4" column="11" selection-start-line="4" selection-start-column="11" selection-end-line="4" selection-end-column="11" />
82
+ <folding />
83
+ </state>
84
+ </provider>
85
+ </entry>
86
+ </file>
87
+ <file leaf-file-name="configuration.rb" pinned="false" current-in-tab="false">
88
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/configuration.rb">
89
+ <provider selected="true" editor-type-id="text-editor">
90
+ <state relative-caret-position="630">
91
+ <caret line="45" column="7" selection-start-line="45" selection-start-column="7" selection-end-line="45" selection-end-column="7" />
92
+ <folding />
93
+ </state>
94
+ </provider>
95
+ </entry>
96
+ </file>
97
+ <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
98
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/version.rb">
99
+ <provider selected="true" editor-type-id="text-editor">
100
+ <state relative-caret-position="15">
101
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
102
+ <folding />
103
+ </state>
104
+ </provider>
105
+ </entry>
106
+ </file>
107
+ <file leaf-file-name="client.rb" pinned="false" current-in-tab="false">
108
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/client.rb">
109
+ <provider selected="true" editor-type-id="text-editor">
110
+ <state relative-caret-position="345">
111
+ <caret line="24" column="23" selection-start-line="24" selection-start-column="23" selection-end-line="24" selection-end-column="23" />
112
+ <folding />
113
+ </state>
114
+ </provider>
115
+ </entry>
116
+ </file>
117
+ <file leaf-file-name="yrpc.rb" pinned="false" current-in-tab="false">
118
+ <entry file="file://$PROJECT_DIR$/lib/yrpc.rb">
119
+ <provider selected="true" editor-type-id="text-editor">
120
+ <state relative-caret-position="225">
121
+ <caret line="15" column="43" selection-start-line="15" selection-start-column="43" selection-end-line="15" selection-end-column="43" />
122
+ <folding />
123
+ </state>
124
+ </provider>
125
+ </entry>
126
+ </file>
127
+ </leaf>
128
+ </component>
129
+ <component name="FileTemplateManagerImpl">
130
+ <option name="RECENT_TEMPLATES">
131
+ <list>
132
+ <option value="Ruby Class Template" />
133
+ </list>
134
+ </option>
135
+ </component>
136
+ <component name="IdeDocumentHistory">
137
+ <option name="CHANGED_PATHS">
138
+ <list>
139
+ <option value="$PROJECT_DIR$/lib/yrpc/intercepters/active_record.intercepter.rb" />
140
+ <option value="$PROJECT_DIR$/lib/yrpc/intercepters/active_record.ipt.rb" />
141
+ <option value="$PROJECT_DIR$/lib/yrpc/interceptors/active_record.ipt.rb" />
142
+ <option value="$PROJECT_DIR$/lib/yrpc/interceptors/active_record.rb" />
143
+ <option value="$PROJECT_DIR$/lib/yrpc/interceptors/register.rb" />
144
+ <option value="$PROJECT_DIR$/lib/yrpc/service.rb" />
145
+ <option value="$PROJECT_DIR$/lib/yrpc/executor/executor.rb" />
146
+ <option value="$PROJECT_DIR$/lib/yrpc/controllers/base.rb" />
147
+ <option value="$PROJECT_DIR$/lib/yrpc/controllers/request.rb" />
148
+ <option value="$PROJECT_DIR$/lib/yrpc/controllers/service_binder.rb" />
149
+ <option value="$PROJECT_DIR$/lib/yrpc/controllers/response.rb" />
150
+ <option value="$PROJECT_DIR$/lib/yrpc/client.rb" />
151
+ <option value="$PROJECT_DIR$/lib/yrpc.rb" />
152
+ <option value="$PROJECT_DIR$/lib/yrpc/configuration.rb" />
153
+ <option value="$PROJECT_DIR$/lib/yrpc/server.rb" />
154
+ <option value="$PROJECT_DIR$/bin/yrpc" />
155
+ <option value="$PROJECT_DIR$/lib/yrpc/version.rb" />
156
+ <option value="$PROJECT_DIR$/yrpc.gemspec" />
157
+ </list>
158
+ </option>
159
+ </component>
160
+ <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
161
+ <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
162
+ <component name="JsGulpfileManager">
163
+ <detection-done>true</detection-done>
164
+ <sorting>DEFINITION_ORDER</sorting>
165
+ </component>
166
+ <component name="ProjectFrameBounds">
167
+ <option name="x" value="2" />
168
+ <option name="y" value="48" />
169
+ <option name="width" value="1440" />
170
+ <option name="height" value="822" />
171
+ </component>
172
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
173
+ <OptionsSetting value="true" id="Add" />
174
+ <OptionsSetting value="true" id="Remove" />
175
+ <OptionsSetting value="true" id="Checkout" />
176
+ <OptionsSetting value="true" id="Update" />
177
+ <OptionsSetting value="true" id="Status" />
178
+ <OptionsSetting value="true" id="Edit" />
179
+ <ConfirmationsSetting value="0" id="Add" />
180
+ <ConfirmationsSetting value="0" id="Remove" />
181
+ </component>
182
+ <component name="ProjectView">
183
+ <navigator currentView="ProjectPane" proportions="" version="1">
184
+ <flattenPackages />
185
+ <showMembers />
186
+ <showModules />
187
+ <showLibraryContents />
188
+ <hideEmptyPackages />
189
+ <abbreviatePackageNames />
190
+ <autoscrollToSource />
191
+ <autoscrollFromSource />
192
+ <sortByType />
193
+ <manualOrder />
194
+ <foldersAlwaysOnTop value="true" />
195
+ </navigator>
196
+ <panes>
197
+ <pane id="ProjectPane">
198
+ <subPane>
199
+ <PATH>
200
+ <PATH_ELEMENT>
201
+ <option name="myItemId" value="yrpc" />
202
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
203
+ </PATH_ELEMENT>
204
+ </PATH>
205
+ <PATH>
206
+ <PATH_ELEMENT>
207
+ <option name="myItemId" value="yrpc" />
208
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
209
+ </PATH_ELEMENT>
210
+ <PATH_ELEMENT>
211
+ <option name="myItemId" value="yrpc" />
212
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
213
+ </PATH_ELEMENT>
214
+ </PATH>
215
+ <PATH>
216
+ <PATH_ELEMENT>
217
+ <option name="myItemId" value="yrpc" />
218
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
219
+ </PATH_ELEMENT>
220
+ <PATH_ELEMENT>
221
+ <option name="myItemId" value="yrpc" />
222
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
223
+ </PATH_ELEMENT>
224
+ <PATH_ELEMENT>
225
+ <option name="myItemId" value="bin" />
226
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
227
+ </PATH_ELEMENT>
228
+ </PATH>
229
+ </subPane>
230
+ </pane>
231
+ <pane id="Scope" />
232
+ <pane id="Scratches" />
233
+ </panes>
234
+ </component>
235
+ <component name="PropertiesComponent">
236
+ <property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
237
+ <property name="settings.editor.splitter.proportion" value="0.2" />
238
+ <property name="WebServerToolWindowFactoryState" value="false" />
239
+ <property name="js-jscs-nodeInterpreter" value="/usr/local/bin/node" />
240
+ <property name="last_opened_file_path" value="$PROJECT_DIR$/../gruf" />
241
+ </component>
242
+ <component name="RecentsManager">
243
+ <key name="CopyFile.RECENT_KEYS">
244
+ <recent name="$PROJECT_DIR$/bin" />
245
+ <recent name="$PROJECT_DIR$/lib/yrpc/controllers" />
246
+ </key>
247
+ </component>
248
+ <component name="RunManager" selected="Ruby.yrpc">
249
+ <configuration default="false" name="yrpc" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
250
+ <module name="yrpc" />
251
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
252
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
253
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
254
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
255
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
256
+ <envs />
257
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
258
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
259
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
260
+ <COVERAGE_PATTERN ENABLED="true">
261
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
262
+ </COVERAGE_PATTERN>
263
+ </EXTENSION>
264
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/yrpc.rb" />
265
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
266
+ <method />
267
+ </configuration>
268
+ <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
269
+ <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
270
+ <module name="" />
271
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
272
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
273
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
274
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
275
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
276
+ <envs />
277
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
278
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
279
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
280
+ <COVERAGE_PATTERN ENABLED="true">
281
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
282
+ </COVERAGE_PATTERN>
283
+ </EXTENSION>
284
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
285
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
286
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
287
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
288
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
289
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
290
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
291
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
292
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
293
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
294
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
295
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
296
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
297
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
298
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
299
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
300
+ <method />
301
+ </configuration>
302
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
303
+ <method />
304
+ </configuration>
305
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
306
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
307
+ <module name="" />
308
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
309
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
310
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
311
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
312
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
313
+ <envs />
314
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
315
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
316
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
317
+ <COVERAGE_PATTERN ENABLED="true">
318
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
319
+ </COVERAGE_PATTERN>
320
+ </EXTENSION>
321
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
322
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
323
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
324
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
325
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
326
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
327
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
328
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
329
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
330
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
331
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
332
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
333
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
334
+ <method />
335
+ </configuration>
336
+ <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
337
+ <module name="" />
338
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
339
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
340
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
341
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
342
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
343
+ <envs />
344
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
345
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
346
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
347
+ <COVERAGE_PATTERN ENABLED="true">
348
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
349
+ </COVERAGE_PATTERN>
350
+ </EXTENSION>
351
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
352
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
353
+ <method />
354
+ </configuration>
355
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
356
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
357
+ <module name="" />
358
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
359
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
360
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
361
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
362
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
363
+ <envs />
364
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
365
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
366
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
367
+ <COVERAGE_PATTERN ENABLED="true">
368
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
369
+ </COVERAGE_PATTERN>
370
+ </EXTENSION>
371
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
372
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
373
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
374
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
375
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
376
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
377
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
378
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
379
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
380
+ <method />
381
+ </configuration>
382
+ <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
383
+ <method />
384
+ </configuration>
385
+ <configuration default="true" type="js.build_tools.npm" factoryName="npm">
386
+ <command value="run-script" />
387
+ <scripts />
388
+ <node-interpreter value="project" />
389
+ <envs />
390
+ <method />
391
+ </configuration>
392
+ <list size="1">
393
+ <item index="0" class="java.lang.String" itemvalue="Ruby.yrpc" />
394
+ </list>
395
+ <recent_temporary>
396
+ <list size="1">
397
+ <item index="0" class="java.lang.String" itemvalue="Ruby.yrpc" />
398
+ </list>
399
+ </recent_temporary>
400
+ </component>
401
+ <component name="ShelveChangesManager" show_recycled="false">
402
+ <option name="remove_strategy" value="false" />
403
+ </component>
404
+ <component name="TaskManager">
405
+ <task active="true" id="Default" summary="Default task">
406
+ <changelist id="02e2ec4d-ca67-4b03-9858-19be219d43ba" name="Default" comment="" />
407
+ <created>1523176089036</created>
408
+ <option name="number" value="Default" />
409
+ <option name="presentableId" value="Default" />
410
+ <updated>1523176089036</updated>
411
+ <workItem from="1523176090405" duration="23632000" />
412
+ </task>
413
+ <servers />
414
+ </component>
415
+ <component name="TimeTrackingManager">
416
+ <option name="totallyTimeSpent" value="23632000" />
417
+ </component>
418
+ <component name="ToolWindowManager">
419
+ <frame x="2" y="48" width="1440" height="822" extended-state="0" />
420
+ <editor active="true" />
421
+ <layout>
422
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
423
+ <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" />
424
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32936507" sideWeight="0.5028612" order="-1" side_tool="true" content_ui="tabs" />
425
+ <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" />
426
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32804233" sideWeight="0.49713877" order="1" side_tool="false" content_ui="tabs" />
427
+ <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" />
428
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32936507" sideWeight="0.49713877" order="2" side_tool="false" content_ui="tabs" />
429
+ <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" />
430
+ <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" />
431
+ <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" />
432
+ <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" />
433
+ <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" />
434
+ <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" />
435
+ <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" />
436
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
437
+ <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" />
438
+ <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" />
439
+ </layout>
440
+ </component>
441
+ <component name="Vcs.Log.UiProperties">
442
+ <option name="RECENTLY_FILTERED_USER_GROUPS">
443
+ <collection />
444
+ </option>
445
+ <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
446
+ <collection />
447
+ </option>
448
+ </component>
449
+ <component name="VcsContentAnnotationSettings">
450
+ <option name="myLimit" value="2678400000" />
451
+ </component>
452
+ <component name="XDebuggerManager">
453
+ <breakpoint-manager />
454
+ <watches-manager />
455
+ </component>
456
+ <component name="editorHistoryManager">
457
+ <entry file="file://$APPLICATION_HOME_DIR$/rubystubs23/condition_variable.rb">
458
+ <provider selected="true" editor-type-id="text-editor">
459
+ <state relative-caret-position="294">
460
+ <caret line="31" column="6" selection-start-line="31" selection-start-column="6" selection-end-line="31" selection-end-column="6" />
461
+ <folding />
462
+ </state>
463
+ </provider>
464
+ </entry>
465
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/interceptors/register.rb">
466
+ <provider selected="true" editor-type-id="text-editor">
467
+ <state relative-caret-position="120">
468
+ <caret line="8" column="0" selection-start-line="8" selection-start-column="0" selection-end-line="15" selection-end-column="9" />
469
+ <folding />
470
+ </state>
471
+ </provider>
472
+ </entry>
473
+ <entry file="file://$PROJECT_DIR$/Gemfile">
474
+ <provider selected="true" editor-type-id="text-editor">
475
+ <state relative-caret-position="75">
476
+ <caret line="5" column="7" selection-start-line="5" selection-start-column="7" selection-end-line="5" selection-end-column="7" />
477
+ <folding />
478
+ </state>
479
+ </provider>
480
+ </entry>
481
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/controllers/request.rb">
482
+ <provider selected="true" editor-type-id="text-editor">
483
+ <state relative-caret-position="-511">
484
+ <caret line="19" column="9" selection-start-line="19" selection-start-column="9" selection-end-line="19" selection-end-column="9" />
485
+ <folding />
486
+ </state>
487
+ </provider>
488
+ </entry>
489
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/controllers/service_binder.rb">
490
+ <provider selected="true" editor-type-id="text-editor">
491
+ <state relative-caret-position="360">
492
+ <caret line="25" column="23" selection-start-line="25" selection-start-column="23" selection-end-line="25" selection-end-column="23" />
493
+ <folding />
494
+ </state>
495
+ </provider>
496
+ </entry>
497
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/controllers/base.rb">
498
+ <provider selected="true" editor-type-id="text-editor">
499
+ <state relative-caret-position="210">
500
+ <caret line="14" column="9" selection-start-line="14" selection-start-column="9" selection-end-line="14" selection-end-column="9" />
501
+ <folding />
502
+ </state>
503
+ </provider>
504
+ </entry>
505
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/interceptors/active_record.rb">
506
+ <provider selected="true" editor-type-id="text-editor">
507
+ <state relative-caret-position="315">
508
+ <caret line="21" column="11" selection-start-line="21" selection-start-column="11" selection-end-line="21" selection-end-column="11" />
509
+ <folding />
510
+ </state>
511
+ </provider>
512
+ </entry>
513
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/controllers/response.rb">
514
+ <provider selected="true" editor-type-id="text-editor">
515
+ <state relative-caret-position="225">
516
+ <caret line="15" column="7" selection-start-line="15" selection-start-column="7" selection-end-line="15" selection-end-column="7" />
517
+ <folding />
518
+ </state>
519
+ </provider>
520
+ </entry>
521
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/executor/executor.rb">
522
+ <provider selected="true" editor-type-id="text-editor">
523
+ <state relative-caret-position="60">
524
+ <caret line="4" column="11" selection-start-line="4" selection-start-column="11" selection-end-line="4" selection-end-column="11" />
525
+ <folding />
526
+ </state>
527
+ </provider>
528
+ </entry>
529
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/client.rb">
530
+ <provider selected="true" editor-type-id="text-editor">
531
+ <state relative-caret-position="345">
532
+ <caret line="24" column="23" selection-start-line="24" selection-start-column="23" selection-end-line="24" selection-end-column="23" />
533
+ <folding />
534
+ </state>
535
+ </provider>
536
+ </entry>
537
+ <entry file="file://$PROJECT_DIR$/lib/yrpc.rb">
538
+ <provider selected="true" editor-type-id="text-editor">
539
+ <state relative-caret-position="225">
540
+ <caret line="15" column="43" selection-start-line="15" selection-start-column="43" selection-end-line="15" selection-end-column="43" />
541
+ <folding />
542
+ </state>
543
+ </provider>
544
+ </entry>
545
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/configuration.rb">
546
+ <provider selected="true" editor-type-id="text-editor">
547
+ <state relative-caret-position="630">
548
+ <caret line="45" column="7" selection-start-line="45" selection-start-column="7" selection-end-line="45" selection-end-column="7" />
549
+ <folding />
550
+ </state>
551
+ </provider>
552
+ </entry>
553
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/server.rb">
554
+ <provider selected="true" editor-type-id="text-editor">
555
+ <state relative-caret-position="285">
556
+ <caret line="19" column="0" selection-start-line="19" selection-start-column="0" selection-end-line="21" selection-end-column="7" />
557
+ <folding />
558
+ </state>
559
+ </provider>
560
+ </entry>
561
+ <entry file="file://$PROJECT_DIR$/bin/setup">
562
+ <provider selected="true" editor-type-id="text-editor">
563
+ <state relative-caret-position="0">
564
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
565
+ <folding />
566
+ </state>
567
+ </provider>
568
+ </entry>
569
+ <entry file="file://$PROJECT_DIR$/bin/yrpc">
570
+ <provider selected="true" editor-type-id="text-editor">
571
+ <state relative-caret-position="0">
572
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
573
+ <folding />
574
+ </state>
575
+ </provider>
576
+ </entry>
577
+ <entry file="file://$PROJECT_DIR$/lib/yrpc/version.rb">
578
+ <provider selected="true" editor-type-id="text-editor">
579
+ <state relative-caret-position="15">
580
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
581
+ <folding />
582
+ </state>
583
+ </provider>
584
+ </entry>
585
+ <entry file="file://$PROJECT_DIR$/yrpc.gemspec">
586
+ <provider selected="true" editor-type-id="text-editor">
587
+ <state relative-caret-position="240">
588
+ <caret line="16" column="90" selection-start-line="16" selection-start-column="90" selection-end-line="16" selection-end-column="90" />
589
+ <folding />
590
+ </state>
591
+ </provider>
592
+ </entry>
593
+ </component>
594
+ </project>
data/.idea/yrpc.iml ADDED
@@ -0,0 +1,57 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="CompassSettings">
4
+ <option name="compassExecutableFilePath" value="$USER_HOME$/.rvm/gems/ruby-2.3.1/gems/compass-1.0.3/bin/compass" />
5
+ </component>
6
+ <component name="ModuleRunConfigurationManager">
7
+ <configuration default="false" name="yrpc" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
8
+ <module name="yrpc" />
9
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
10
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
11
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
12
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
13
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
14
+ <envs />
15
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
16
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
17
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
18
+ <COVERAGE_PATTERN ENABLED="true">
19
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
20
+ </COVERAGE_PATTERN>
21
+ </EXTENSION>
22
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/yrpc.rb" />
23
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
24
+ <method />
25
+ </configuration>
26
+ </component>
27
+ <component name="NewModuleRootManager">
28
+ <content url="file://$MODULE_DIR$" />
29
+ <orderEntry type="inheritedJdk" />
30
+ <orderEntry type="sourceFolder" forTests="false" />
31
+ <orderEntry type="library" scope="PROVIDED" name="activesupport (v4.0.13, RVM: ruby-2.3.1) [gem]" level="application" />
32
+ <orderEntry type="library" scope="PROVIDED" name="addressable (v2.5.2, RVM: ruby-2.3.1) [gem]" level="application" />
33
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.1, RVM: ruby-2.3.1) [gem]" level="application" />
34
+ <orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.0.5, RVM: ruby-2.3.1) [gem]" level="application" />
35
+ <orderEntry type="library" scope="PROVIDED" name="faraday (v0.14.0, RVM: ruby-2.3.1) [gem]" level="application" />
36
+ <orderEntry type="library" scope="PROVIDED" name="google-protobuf (v3.5.1.2, RVM: ruby-2.3.1) [gem]" level="application" />
37
+ <orderEntry type="library" scope="PROVIDED" name="googleapis-common-protos-types (v1.0.1, RVM: ruby-2.3.1) [gem]" level="application" />
38
+ <orderEntry type="library" scope="PROVIDED" name="googleauth (v0.6.2, RVM: ruby-2.3.1) [gem]" level="application" />
39
+ <orderEntry type="library" scope="PROVIDED" name="grpc (v1.10.0, RVM: ruby-2.3.1) [gem]" level="application" />
40
+ <orderEntry type="library" scope="PROVIDED" name="grpc-tools (v1.10.0, RVM: ruby-2.3.1) [gem]" level="application" />
41
+ <orderEntry type="library" scope="PROVIDED" name="i18n (v0.9.5, RVM: ruby-2.3.1) [gem]" level="application" />
42
+ <orderEntry type="library" scope="PROVIDED" name="jwt (v2.1.0, RVM: ruby-2.3.1) [gem]" level="application" />
43
+ <orderEntry type="library" scope="PROVIDED" name="little-plugger (v1.1.4, RVM: ruby-2.3.1) [gem]" level="application" />
44
+ <orderEntry type="library" scope="PROVIDED" name="logging (v2.2.2, RVM: ruby-2.3.1) [gem]" level="application" />
45
+ <orderEntry type="library" scope="PROVIDED" name="memoist (v0.16.0, RVM: ruby-2.3.1) [gem]" level="application" />
46
+ <orderEntry type="library" scope="PROVIDED" name="minitest (v4.7.5, RVM: ruby-2.3.1) [gem]" level="application" />
47
+ <orderEntry type="library" scope="PROVIDED" name="multi_json (v1.13.1, RVM: ruby-2.3.1) [gem]" level="application" />
48
+ <orderEntry type="library" scope="PROVIDED" name="multipart-post (v2.0.0, RVM: ruby-2.3.1) [gem]" level="application" />
49
+ <orderEntry type="library" scope="PROVIDED" name="os (v0.9.6, RVM: ruby-2.3.1) [gem]" level="application" />
50
+ <orderEntry type="library" scope="PROVIDED" name="public_suffix (v3.0.2, RVM: ruby-2.3.1) [gem]" level="application" />
51
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.3.1) [gem]" level="application" />
52
+ <orderEntry type="library" scope="PROVIDED" name="signet (v0.8.1, RVM: ruby-2.3.1) [gem]" level="application" />
53
+ <orderEntry type="library" scope="PROVIDED" name="slop (v4.6.2, RVM: ruby-2.3.1) [gem]" level="application" />
54
+ <orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, RVM: ruby-2.3.1) [gem]" level="application" />
55
+ <orderEntry type="library" scope="PROVIDED" name="tzinfo (v0.3.54, RVM: ruby-2.3.1) [gem]" level="application" />
56
+ </component>
57
+ </module>
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.16.1
@@ -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 351711778@qq.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 yrpc.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 icepoint0
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.
data/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # Yrpc
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/yrpc`. 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 'yrpc'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install yrpc
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 spec` 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]/yrpc. 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 Yrpc project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/yrpc/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "yrpc"
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(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ module Yrpc
2
+ VERSION = "0.1.1"
3
+ end
data/lib/yrpc.rb ADDED
@@ -0,0 +1,19 @@
1
+ require 'grpc'
2
+
3
+ require 'active_support/core_ext/module/delegation'
4
+ require 'active_support/concern'
5
+ require 'active_support/inflector'
6
+
7
+ require "yrpc/version"
8
+ require_relative "yrpc/client"
9
+ require_relative "yrpc/configuration"
10
+ require_relative "yrpc/executor/executor"
11
+ require_relative "yrpc/server"
12
+ require_relative "yrpc/controllers/base"
13
+ require_relative "yrpc/controllers/service_binder"
14
+ require_relative "yrpc/interceptors/register"
15
+ require_relative "yrpc/controllers/request"
16
+ require_relative "yrpc/controllers/response"
17
+ module Yrpc
18
+ extend Configuration
19
+ end
data/yrpc.gemspec ADDED
@@ -0,0 +1,33 @@
1
+ lib = File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "yrpc/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "yrpc"
7
+ spec.version = Yrpc::VERSION
8
+ spec.authors = ["icepoint0"]
9
+ spec.email = ["351711778@qq.com"]
10
+
11
+ spec.summary = "yprc"
12
+ spec.description = "yrpc"
13
+ spec.homepage = "http://ypr.com"
14
+ spec.license = "MIT"
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+
19
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
+ f.match(%r{^(test|spec|features)/})
21
+ end
22
+ spec.bindir = "bin"
23
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
24
+ spec.require_paths = ["lib"]
25
+
26
+ spec.add_development_dependency 'bundler', '~> 1.11'
27
+ spec.add_development_dependency 'rake', '~> 10.0'
28
+
29
+ spec.add_runtime_dependency 'grpc', '~> 1.10'
30
+ spec.add_runtime_dependency 'grpc-tools', '~> 1.10'
31
+ spec.add_runtime_dependency 'activesupport', '~> 4.0.0'
32
+ spec.add_runtime_dependency 'slop', '~> 4.6'
33
+ end
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yrpc
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - icepoint0
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-04-09 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.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
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: grpc
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.10'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.10'
55
+ - !ruby/object:Gem::Dependency
56
+ name: grpc-tools
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.10'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.10'
69
+ - !ruby/object:Gem::Dependency
70
+ name: activesupport
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 4.0.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 4.0.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: slop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '4.6'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '4.6'
97
+ description: yrpc
98
+ email:
99
+ - 351711778@qq.com
100
+ executables:
101
+ - console
102
+ - setup
103
+ extensions: []
104
+ extra_rdoc_files: []
105
+ files:
106
+ - ".gitignore"
107
+ - ".idea/misc.xml"
108
+ - ".idea/modules.xml"
109
+ - ".idea/workspace.xml"
110
+ - ".idea/yrpc.iml"
111
+ - ".rspec"
112
+ - ".travis.yml"
113
+ - CODE_OF_CONDUCT.md
114
+ - Gemfile
115
+ - LICENSE.txt
116
+ - README.md
117
+ - Rakefile
118
+ - bin/console
119
+ - bin/setup
120
+ - lib/yrpc.rb
121
+ - lib/yrpc/version.rb
122
+ - yrpc.gemspec
123
+ homepage: http://ypr.com
124
+ licenses:
125
+ - MIT
126
+ metadata: {}
127
+ post_install_message:
128
+ rdoc_options: []
129
+ require_paths:
130
+ - lib
131
+ required_ruby_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ requirements: []
142
+ rubyforge_project:
143
+ rubygems_version: 2.6.14
144
+ signing_key:
145
+ specification_version: 4
146
+ summary: yprc
147
+ test_files: []