cos 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: df9a6fa79870d91c4a1a07b359167035111bde83
4
+ data.tar.gz: 739349acefe5ae42ff7097d096ca056f66de475b
5
+ SHA512:
6
+ metadata.gz: cdda13350455e45f20598a9daf5d89354a89cbfd7d2c254392e06f3a3e1aa46f31b827e89ee9f488d3c07b854b8684a146a7f5f7e82fc481be81e3211763c4d0
7
+ data.tar.gz: aba7fb36c4dc670f921d625595aff93ed7735f4631ab9701790728800aafab639ed40d6c9a0ea6d5d36d1c9146c114d4bc80dffaa152efc49bc8abe1a7ff2116
@@ -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 @@
1
+ cos
@@ -0,0 +1,49 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="gem" name="Ruby Gem">
5
+ <configuration>
6
+ <option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
7
+ <option name="GEM_APP_TEST_PATH" value="$MODULE_DIR$/test" />
8
+ <option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
9
+ </configuration>
10
+ </facet>
11
+ </component>
12
+ <component name="ModuleRunConfigurationManager">
13
+ <configuration default="false" name="build: cos" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
14
+ <module name="cos" />
15
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
16
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
17
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
18
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
19
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
20
+ <envs />
21
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
22
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
23
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
24
+ <COVERAGE_PATTERN ENABLED="true">
25
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
26
+ </COVERAGE_PATTERN>
27
+ </EXTENSION>
28
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="build" />
29
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
30
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
31
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
32
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
33
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
34
+ <method />
35
+ </configuration>
36
+ </component>
37
+ <component name="NewModuleRootManager">
38
+ <content url="file://$MODULE_DIR$">
39
+ <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
40
+ <excludeFolder url="file://$MODULE_DIR$/.bundle" />
41
+ <excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
42
+ </content>
43
+ <orderEntry type="jdk" jdkName="RVM: ruby-2.2.3" jdkType="RUBY_SDK" />
44
+ <orderEntry type="sourceFolder" forTests="false" />
45
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.11.2, RVM: ruby-2.2.3) [gem]" level="application" />
46
+ <orderEntry type="library" scope="PROVIDED" name="minitest (v5.8.3, RVM: ruby-2.2.3) [gem]" level="application" />
47
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.2.3) [gem]" level="application" />
48
+ </component>
49
+ </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>
@@ -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="ruby-2.0.0-p645" project-jdk-type="RUBY_SDK" />
14
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/cos.iml" filepath="$PROJECT_DIR$/.idea/cos.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,465 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="8cd9e2ad-bb27-4c7a-8738-3aceed3555d2" name="Default" comment="">
5
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.gitignore" />
6
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/.name" />
7
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/cos.iml" />
8
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/encodings.xml" />
9
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
10
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/modules.xml" />
11
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
12
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.travis.yml" />
13
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Gemfile" />
14
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/README.md" />
15
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Rakefile" />
16
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/bin/console" />
17
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/bin/setup" />
18
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/cos.gemspec" />
19
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/cos.rb" />
20
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/cos/version.rb" />
21
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/test/cos_test.rb" />
22
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/test/test_helper.rb" />
23
+ </list>
24
+ <ignored path="cos.iws" />
25
+ <ignored path=".idea/workspace.xml" />
26
+ <ignored path=".idea/dataSources.local.xml" />
27
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
28
+ <option name="TRACKING_ENABLED" value="true" />
29
+ <option name="SHOW_DIALOG" value="false" />
30
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
31
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
32
+ <option name="LAST_RESOLUTION" value="IGNORE" />
33
+ </component>
34
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
35
+ <component name="CoverageDataManager">
36
+ <SUITE FILE_PATH="coverage/cos@build__cos.coverage" NAME="build: cos Coverage Results" MODIFIED="1451480161357" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="cos" />
37
+ </component>
38
+ <component name="CreatePatchCommitExecutor">
39
+ <option name="PATCH_PATH" value="" />
40
+ </component>
41
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
42
+ <component name="FavoritesManager">
43
+ <favorites_list name="cos" />
44
+ </component>
45
+ <component name="FileEditorManager">
46
+ <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
47
+ <file leaf-file-name="cos.gemspec" pinned="false" current-in-tab="true">
48
+ <entry file="file://$PROJECT_DIR$/cos.gemspec">
49
+ <provider selected="true" editor-type-id="text-editor">
50
+ <state vertical-scroll-proportion="0.35135135">
51
+ <caret line="13" column="53" selection-start-line="13" selection-start-column="53" selection-end-line="13" selection-end-column="53" />
52
+ <folding />
53
+ </state>
54
+ </provider>
55
+ </entry>
56
+ </file>
57
+ <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
58
+ <entry file="file://$PROJECT_DIR$/lib/cos/version.rb">
59
+ <provider selected="true" editor-type-id="text-editor">
60
+ <state vertical-scroll-proportion="0.0">
61
+ <caret line="2" column="3" selection-start-line="2" selection-start-column="3" selection-end-line="2" selection-end-column="3" />
62
+ <folding />
63
+ </state>
64
+ </provider>
65
+ </entry>
66
+ </file>
67
+ <file leaf-file-name="console" pinned="false" current-in-tab="false">
68
+ <entry file="file://$PROJECT_DIR$/bin/console">
69
+ <provider selected="true" editor-type-id="text-editor">
70
+ <state vertical-scroll-proportion="0.0">
71
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
72
+ <folding />
73
+ </state>
74
+ </provider>
75
+ </entry>
76
+ </file>
77
+ <file leaf-file-name="setup" pinned="false" current-in-tab="false">
78
+ <entry file="file://$PROJECT_DIR$/bin/setup">
79
+ <provider selected="true" editor-type-id="text-editor">
80
+ <state vertical-scroll-proportion="0.0">
81
+ <caret line="3" column="7" selection-start-line="3" selection-start-column="7" selection-end-line="3" selection-end-column="7" />
82
+ <folding />
83
+ </state>
84
+ </provider>
85
+ </entry>
86
+ </file>
87
+ <file leaf-file-name="cos.rb" pinned="false" current-in-tab="false">
88
+ <entry file="file://$PROJECT_DIR$/lib/cos.rb">
89
+ <provider selected="true" editor-type-id="text-editor">
90
+ <state vertical-scroll-proportion="0.0">
91
+ <caret line="4" column="3" selection-start-line="4" selection-start-column="3" selection-end-line="4" selection-end-column="3" />
92
+ <folding />
93
+ </state>
94
+ </provider>
95
+ </entry>
96
+ </file>
97
+ </leaf>
98
+ </component>
99
+ <component name="Git.Settings">
100
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
101
+ </component>
102
+ <component name="IdeDocumentHistory">
103
+ <option name="CHANGED_PATHS">
104
+ <list>
105
+ <option value="$PROJECT_DIR$/cos.gemspec" />
106
+ </list>
107
+ </option>
108
+ </component>
109
+ <component name="JsBuildToolGruntFileManager" detection-done="true" />
110
+ <component name="JsBuildToolPackageJson" detection-done="true" />
111
+ <component name="JsGulpfileManager">
112
+ <detection-done>true</detection-done>
113
+ </component>
114
+ <component name="ProjectFrameBounds">
115
+ <option name="y" value="23" />
116
+ <option name="width" value="1280" />
117
+ <option name="height" value="773" />
118
+ </component>
119
+ <component name="ProjectLevelVcsManager" settingsEditedManually="true">
120
+ <OptionsSetting value="true" id="Add" />
121
+ <OptionsSetting value="true" id="Remove" />
122
+ <OptionsSetting value="true" id="Checkout" />
123
+ <OptionsSetting value="true" id="Update" />
124
+ <OptionsSetting value="true" id="Status" />
125
+ <OptionsSetting value="true" id="Edit" />
126
+ <ConfirmationsSetting value="0" id="Add" />
127
+ <ConfirmationsSetting value="0" id="Remove" />
128
+ </component>
129
+ <component name="ProjectView">
130
+ <navigator currentView="ProjectPane" proportions="" version="1">
131
+ <flattenPackages />
132
+ <showMembers />
133
+ <showModules />
134
+ <showLibraryContents />
135
+ <hideEmptyPackages />
136
+ <abbreviatePackageNames />
137
+ <autoscrollToSource />
138
+ <autoscrollFromSource />
139
+ <sortByType />
140
+ <manualOrder />
141
+ <foldersAlwaysOnTop value="true" />
142
+ </navigator>
143
+ <panes>
144
+ <pane id="Scratches" />
145
+ <pane id="Scope" />
146
+ <pane id="ProjectPane">
147
+ <subPane>
148
+ <PATH>
149
+ <PATH_ELEMENT>
150
+ <option name="myItemId" value="cos" />
151
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
152
+ </PATH_ELEMENT>
153
+ </PATH>
154
+ <PATH>
155
+ <PATH_ELEMENT>
156
+ <option name="myItemId" value="cos" />
157
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
158
+ </PATH_ELEMENT>
159
+ <PATH_ELEMENT>
160
+ <option name="myItemId" value="cos" />
161
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
162
+ </PATH_ELEMENT>
163
+ </PATH>
164
+ <PATH>
165
+ <PATH_ELEMENT>
166
+ <option name="myItemId" value="cos" />
167
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
168
+ </PATH_ELEMENT>
169
+ <PATH_ELEMENT>
170
+ <option name="myItemId" value="cos" />
171
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
172
+ </PATH_ELEMENT>
173
+ <PATH_ELEMENT>
174
+ <option name="myItemId" value="lib" />
175
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
176
+ </PATH_ELEMENT>
177
+ </PATH>
178
+ <PATH>
179
+ <PATH_ELEMENT>
180
+ <option name="myItemId" value="cos" />
181
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
182
+ </PATH_ELEMENT>
183
+ <PATH_ELEMENT>
184
+ <option name="myItemId" value="cos" />
185
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
186
+ </PATH_ELEMENT>
187
+ <PATH_ELEMENT>
188
+ <option name="myItemId" value="lib" />
189
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
190
+ </PATH_ELEMENT>
191
+ <PATH_ELEMENT>
192
+ <option name="myItemId" value="cos" />
193
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
194
+ </PATH_ELEMENT>
195
+ </PATH>
196
+ <PATH>
197
+ <PATH_ELEMENT>
198
+ <option name="myItemId" value="cos" />
199
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
200
+ </PATH_ELEMENT>
201
+ <PATH_ELEMENT>
202
+ <option name="myItemId" value="cos" />
203
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
204
+ </PATH_ELEMENT>
205
+ <PATH_ELEMENT>
206
+ <option name="myItemId" value="bin" />
207
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
208
+ </PATH_ELEMENT>
209
+ </PATH>
210
+ </subPane>
211
+ </pane>
212
+ </panes>
213
+ </component>
214
+ <component name="PropertiesComponent">
215
+ <property name="WebServerToolWindowFactoryState" value="false" />
216
+ <property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
217
+ <property name="settings.editor.splitter.proportion" value="0.2" />
218
+ <property name="RakeTaksPopup.undocumentedIncluded" value="false" />
219
+ </component>
220
+ <component name="RunManager" selected="Rake.build: cos">
221
+ <configuration default="false" name="build: cos" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
222
+ <module name="cos" />
223
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
224
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
225
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
226
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
227
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
228
+ <envs />
229
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
230
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
231
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
232
+ <COVERAGE_PATTERN ENABLED="true">
233
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
234
+ </COVERAGE_PATTERN>
235
+ </EXTENSION>
236
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="build" />
237
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
238
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
239
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
240
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
241
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
242
+ <method />
243
+ </configuration>
244
+ <configuration default="true" type="CommandRunConfigurationType" factoryName="Gem Command">
245
+ <module name="cos" />
246
+ <COMMAND_RUN_CONFIGURATION NAME="RUBY_ARGS" VALUE="" />
247
+ <COMMAND_RUN_CONFIGURATION NAME="WORK DIR" VALUE="" />
248
+ <COMMAND_RUN_CONFIGURATION NAME="SHOULD_USE_SDK" VALUE="false" />
249
+ <COMMAND_RUN_CONFIGURATION NAME="ALTERN_SDK_NAME" VALUE="RVM: ruby-2.2.3" />
250
+ <COMMAND_RUN_CONFIGURATION NAME="myPassParentEnvs" VALUE="true" />
251
+ <envs />
252
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
253
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
254
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
255
+ <COVERAGE_PATTERN ENABLED="true">
256
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
257
+ </COVERAGE_PATTERN>
258
+ </EXTENSION>
259
+ <COMMAND_CONFIG_SETTINGS_ID NAME="GEM_NAME" VALUE="" />
260
+ <COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_NAME" VALUE="" />
261
+ <COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="" />
262
+ <COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="" />
263
+ <method />
264
+ </configuration>
265
+ <configuration default="true" type="RakeRunConfigurationType" factoryName="Rake">
266
+ <module name="" />
267
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
268
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
269
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
270
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
271
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
272
+ <envs />
273
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
274
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
275
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
276
+ <COVERAGE_PATTERN ENABLED="true">
277
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
278
+ </COVERAGE_PATTERN>
279
+ </EXTENSION>
280
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="" />
281
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
282
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
283
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
284
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
285
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
286
+ <method />
287
+ </configuration>
288
+ <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
289
+ <module name="cos" />
290
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
291
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
292
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="true" />
293
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="RVM: ruby-2.2.3" />
294
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
295
+ <envs />
296
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
297
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
298
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
299
+ <COVERAGE_PATTERN ENABLED="true">
300
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
301
+ </COVERAGE_PATTERN>
302
+ </EXTENSION>
303
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
304
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
305
+ <method />
306
+ </configuration>
307
+ <list size="1">
308
+ <item index="0" class="java.lang.String" itemvalue="Rake.build: cos" />
309
+ </list>
310
+ <recent_temporary>
311
+ <list size="1">
312
+ <item index="0" class="java.lang.String" itemvalue="Rake.build: cos" />
313
+ </list>
314
+ </recent_temporary>
315
+ </component>
316
+ <component name="ShelveChangesManager" show_recycled="false" />
317
+ <component name="SvnConfiguration">
318
+ <configuration />
319
+ </component>
320
+ <component name="TaskManager">
321
+ <task active="true" id="Default" summary="Default task">
322
+ <changelist id="8cd9e2ad-bb27-4c7a-8738-3aceed3555d2" name="Default" comment="" />
323
+ <created>1451477975591</created>
324
+ <option name="number" value="Default" />
325
+ <updated>1451477975591</updated>
326
+ </task>
327
+ <servers />
328
+ </component>
329
+ <component name="ToolWindowManager">
330
+ <frame x="0" y="23" width="1280" height="773" extended-state="6" />
331
+ <editor active="true" />
332
+ <layout>
333
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25767368" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
334
+ <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" />
335
+ <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" />
336
+ <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="3" side_tool="false" content_ui="tabs" />
337
+ <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" />
338
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32876712" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
339
+ <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" />
340
+ <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="7" side_tool="false" content_ui="tabs" />
341
+ <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" />
342
+ <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" />
343
+ <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" />
344
+ <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" />
345
+ <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" />
346
+ <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" />
347
+ <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" />
348
+ <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" />
349
+ <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" />
350
+ </layout>
351
+ </component>
352
+ <component name="VcsContentAnnotationSettings">
353
+ <option name="myLimit" value="2678400000" />
354
+ </component>
355
+ <component name="XDebuggerManager">
356
+ <breakpoint-manager />
357
+ <watches-manager />
358
+ </component>
359
+ <component name="editorHistoryManager">
360
+ <entry file="file://$PROJECT_DIR$/cos.gemspec">
361
+ <provider selected="true" editor-type-id="text-editor">
362
+ <state vertical-scroll-proportion="0.0">
363
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
364
+ <folding />
365
+ </state>
366
+ </provider>
367
+ </entry>
368
+ <entry file="file://$PROJECT_DIR$/lib/cos/version.rb">
369
+ <provider selected="true" editor-type-id="text-editor">
370
+ <state vertical-scroll-proportion="0.0">
371
+ <caret line="2" column="3" selection-start-line="2" selection-start-column="3" selection-end-line="2" selection-end-column="3" />
372
+ <folding />
373
+ </state>
374
+ </provider>
375
+ </entry>
376
+ <entry file="file://$PROJECT_DIR$/bin/console">
377
+ <provider selected="true" editor-type-id="text-editor">
378
+ <state vertical-scroll-proportion="0.0">
379
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
380
+ <folding />
381
+ </state>
382
+ </provider>
383
+ </entry>
384
+ <entry file="file://$PROJECT_DIR$/bin/setup">
385
+ <provider selected="true" editor-type-id="text-editor">
386
+ <state vertical-scroll-proportion="0.0">
387
+ <caret line="3" column="7" selection-start-line="3" selection-start-column="7" selection-end-line="3" selection-end-column="7" />
388
+ <folding />
389
+ </state>
390
+ </provider>
391
+ </entry>
392
+ <entry file="file://$PROJECT_DIR$/lib/cos.rb">
393
+ <provider selected="true" editor-type-id="text-editor">
394
+ <state vertical-scroll-proportion="0.0">
395
+ <caret line="4" column="3" selection-start-line="4" selection-start-column="3" selection-end-line="4" selection-end-column="3" />
396
+ <folding />
397
+ </state>
398
+ </provider>
399
+ </entry>
400
+ <entry file="file://$PROJECT_DIR$/.travis.yml">
401
+ <provider selected="true" editor-type-id="text-editor">
402
+ <state vertical-scroll-proportion="0.0">
403
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
404
+ <folding />
405
+ </state>
406
+ </provider>
407
+ </entry>
408
+ <entry file="file://$PROJECT_DIR$/test/cos_test.rb">
409
+ <provider selected="true" editor-type-id="text-editor">
410
+ <state vertical-scroll-proportion="0.0">
411
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
412
+ <folding />
413
+ </state>
414
+ </provider>
415
+ </entry>
416
+ <entry file="file://$PROJECT_DIR$/.gitignore">
417
+ <provider selected="true" editor-type-id="text-editor">
418
+ <state vertical-scroll-proportion="0.0">
419
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
420
+ <folding />
421
+ </state>
422
+ </provider>
423
+ </entry>
424
+ <entry file="file://$PROJECT_DIR$/lib/cos.rb">
425
+ <provider selected="true" editor-type-id="text-editor">
426
+ <state vertical-scroll-proportion="0.0">
427
+ <caret line="4" column="3" selection-start-line="4" selection-start-column="3" selection-end-line="4" selection-end-column="3" />
428
+ <folding />
429
+ </state>
430
+ </provider>
431
+ </entry>
432
+ <entry file="file://$PROJECT_DIR$/lib/cos/version.rb">
433
+ <provider selected="true" editor-type-id="text-editor">
434
+ <state vertical-scroll-proportion="0.0">
435
+ <caret line="2" column="3" selection-start-line="2" selection-start-column="3" selection-end-line="2" selection-end-column="3" />
436
+ <folding />
437
+ </state>
438
+ </provider>
439
+ </entry>
440
+ <entry file="file://$PROJECT_DIR$/bin/console">
441
+ <provider selected="true" editor-type-id="text-editor">
442
+ <state vertical-scroll-proportion="0.0">
443
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
444
+ <folding />
445
+ </state>
446
+ </provider>
447
+ </entry>
448
+ <entry file="file://$PROJECT_DIR$/bin/setup">
449
+ <provider selected="true" editor-type-id="text-editor">
450
+ <state vertical-scroll-proportion="0.0">
451
+ <caret line="3" column="7" selection-start-line="3" selection-start-column="7" selection-end-line="3" selection-end-column="7" />
452
+ <folding />
453
+ </state>
454
+ </provider>
455
+ </entry>
456
+ <entry file="file://$PROJECT_DIR$/cos.gemspec">
457
+ <provider selected="true" editor-type-id="text-editor">
458
+ <state vertical-scroll-proportion="0.35135135">
459
+ <caret line="13" column="53" selection-start-line="13" selection-start-column="53" selection-end-line="13" selection-end-column="53" />
460
+ <folding />
461
+ </state>
462
+ </provider>
463
+ </entry>
464
+ </component>
465
+ </project>
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.3
4
+ before_install: gem install bundler -v 1.11.2
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in cos.gemspec
4
+ gemspec
@@ -0,0 +1,36 @@
1
+ # Cos
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/cos`. 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 'cos'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install cos
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 test` 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]/cos.
36
+
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "cos"
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
@@ -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,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'cos/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "cos"
8
+ spec.version = Cos::VERSION
9
+ spec.authors = ["RaymondChou"]
10
+ spec.email = ["freezestart@gmail.com"]
11
+
12
+ spec.summary = %q{Tencent Cloud Object Service Ruby SDK.}
13
+ spec.description = %q{Tencent Cloud Object Service Ruby SDK.}
14
+ spec.homepage = "http://github.com/RaymondChou"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.11"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "minitest", "~> 5.0"
24
+ end
@@ -0,0 +1,5 @@
1
+ require "cos/version"
2
+
3
+ module Cos
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module Cos
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cos
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - RaymondChou
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-12-30 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: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ description: Tencent Cloud Object Service Ruby SDK.
56
+ email:
57
+ - freezestart@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".idea/.name"
64
+ - ".idea/cos.iml"
65
+ - ".idea/encodings.xml"
66
+ - ".idea/misc.xml"
67
+ - ".idea/modules.xml"
68
+ - ".idea/workspace.xml"
69
+ - ".travis.yml"
70
+ - Gemfile
71
+ - README.md
72
+ - Rakefile
73
+ - bin/console
74
+ - bin/setup
75
+ - cos.gemspec
76
+ - lib/cos.rb
77
+ - lib/cos/version.rb
78
+ homepage: http://github.com/RaymondChou
79
+ licenses: []
80
+ metadata: {}
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubyforge_project:
97
+ rubygems_version: 2.4.5.1
98
+ signing_key:
99
+ specification_version: 4
100
+ summary: Tencent Cloud Object Service Ruby SDK.
101
+ test_files: []