edge_csv 0.0.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.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/edge_csv.iml +22 -0
- data/.idea/misc.xml +14 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +589 -0
- data/Gemfile +4 -0
- data/README.md +34 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/edge_csv.gemspec +31 -0
- data/lib/edge_csv/export.rb +35 -0
- data/lib/edge_csv/version.rb +3 -0
- data/lib/edge_csv.rb +13 -0
- data/lib/helpers/export_helpert.rb +22 -0
- metadata +90 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fedb6c17d3f1b82a23cee031e854d889ef328e11
|
4
|
+
data.tar.gz: 6e24ffbfe45efb6a5ca21b9b86b8296112d1cd9e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c3e494f8da4c1df459088664caf88239e2e3c00c74c5d53bb00a90efb492616dbcb6754978848b8db8719d92585edaabf867d90f659868e08280ee5697a8da8b
|
7
|
+
data.tar.gz: 8682a5873c1601bfb984e8e8953e2f9bde4ab895353311ad37c4a3389ac140bf3475864683b50a73e9c31add9b6972a7f57ccad1cc82ce656eeee93cb863853e
|
data/.gitignore
ADDED
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build edge_csv-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install edge_csv-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install edge_csv-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push edge_csv-0.1.0.gem to Rubygems" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/.idea/edge_csv.iml
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="FacetManager">
|
4
|
+
<facet type="gem" name="New Gem">
|
5
|
+
<configuration>
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
9
|
+
</configuration>
|
10
|
+
</facet>
|
11
|
+
</component>
|
12
|
+
<component name="NewModuleRootManager">
|
13
|
+
<content url="file://$MODULE_DIR$">
|
14
|
+
<excludeFolder url="file://$MODULE_DIR$/.bundle" />
|
15
|
+
<excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
|
16
|
+
</content>
|
17
|
+
<orderEntry type="inheritedJdk" />
|
18
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.13.7, RVM: ruby-2.3.0) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
21
|
+
</component>
|
22
|
+
</module>
|
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.0" project-jdk-type="RUBY_SDK" />
|
14
|
+
</project>
|
data/.idea/modules.xml
ADDED
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,589 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="fd515e82-a949-4b98-a4c3-95206c4be8c5" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
6
|
+
</list>
|
7
|
+
<ignored path="edge_csv.iws" />
|
8
|
+
<ignored path=".idea/workspace.xml" />
|
9
|
+
<ignored path="$PROJECT_DIR$/.bundle/" />
|
10
|
+
<ignored path="$PROJECT_DIR$/vendor/bundle/" />
|
11
|
+
<ignored path=".idea/dataSources.local.xml" />
|
12
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
13
|
+
<option name="TRACKING_ENABLED" value="true" />
|
14
|
+
<option name="SHOW_DIALOG" value="false" />
|
15
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
16
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
17
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
18
|
+
</component>
|
19
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
20
|
+
<component name="CreatePatchCommitExecutor">
|
21
|
+
<option name="PATCH_PATH" value="" />
|
22
|
+
</component>
|
23
|
+
<component name="DatabaseView">
|
24
|
+
<option name="GROUP_SCHEMA" value="true" />
|
25
|
+
<option name="GROUP_CONTENTS" value="false" />
|
26
|
+
<option name="SORT_POSITIONED" value="false" />
|
27
|
+
<option name="SHOW_TABLE_DETAILS" value="true" />
|
28
|
+
<option name="SHOW_EMPTY_GROUPS" value="false" />
|
29
|
+
</component>
|
30
|
+
<component name="FavoritesManager">
|
31
|
+
<favorites_list name="edge_csv" />
|
32
|
+
</component>
|
33
|
+
<component name="FileEditorManager">
|
34
|
+
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
35
|
+
<file leaf-file-name="edge_csv.gemspec" pinned="false" current-in-tab="true">
|
36
|
+
<entry file="file://$PROJECT_DIR$/edge_csv.gemspec">
|
37
|
+
<provider selected="true" editor-type-id="text-editor">
|
38
|
+
<state relative-caret-position="300">
|
39
|
+
<caret line="15" column="64" selection-start-line="15" selection-start-column="64" selection-end-line="15" selection-end-column="65" />
|
40
|
+
<folding />
|
41
|
+
</state>
|
42
|
+
</provider>
|
43
|
+
</entry>
|
44
|
+
</file>
|
45
|
+
<file leaf-file-name="edge_csv.rb" pinned="false" current-in-tab="false">
|
46
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv.rb">
|
47
|
+
<provider selected="true" editor-type-id="text-editor">
|
48
|
+
<state relative-caret-position="160">
|
49
|
+
<caret line="8" column="22" selection-start-line="8" selection-start-column="22" selection-end-line="8" selection-end-column="22" />
|
50
|
+
<folding />
|
51
|
+
</state>
|
52
|
+
</provider>
|
53
|
+
</entry>
|
54
|
+
</file>
|
55
|
+
<file leaf-file-name="export.rb" pinned="false" current-in-tab="false">
|
56
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv/export.rb">
|
57
|
+
<provider selected="true" editor-type-id="text-editor">
|
58
|
+
<state relative-caret-position="500">
|
59
|
+
<caret line="25" column="21" selection-start-line="25" selection-start-column="21" selection-end-line="25" selection-end-column="21" />
|
60
|
+
<folding />
|
61
|
+
</state>
|
62
|
+
</provider>
|
63
|
+
</entry>
|
64
|
+
</file>
|
65
|
+
<file leaf-file-name="export_helpert.rb" pinned="false" current-in-tab="false">
|
66
|
+
<entry file="file://$PROJECT_DIR$/lib/helpers/export_helpert.rb">
|
67
|
+
<provider selected="true" editor-type-id="text-editor">
|
68
|
+
<state relative-caret-position="240">
|
69
|
+
<caret line="12" column="7" selection-start-line="10" selection-start-column="4" selection-end-line="12" selection-end-column="7" />
|
70
|
+
<folding />
|
71
|
+
</state>
|
72
|
+
</provider>
|
73
|
+
</entry>
|
74
|
+
</file>
|
75
|
+
</leaf>
|
76
|
+
</component>
|
77
|
+
<component name="Git.Settings">
|
78
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
79
|
+
</component>
|
80
|
+
<component name="IdeDocumentHistory">
|
81
|
+
<option name="CHANGED_PATHS">
|
82
|
+
<list>
|
83
|
+
<option value="$PROJECT_DIR$/lib/export.rb" />
|
84
|
+
<option value="$PROJECT_DIR$/lib/edge_csv/import.rb" />
|
85
|
+
<option value="$PROJECT_DIR$/lib/edge_csv.rb" />
|
86
|
+
<option value="$PROJECT_DIR$/.gitignore" />
|
87
|
+
<option value="$PROJECT_DIR$/README.md" />
|
88
|
+
<option value="$PROJECT_DIR$/lib/edge_csv/export.rb" />
|
89
|
+
<option value="$PROJECT_DIR$/lib/helpers/export_helpert.rb" />
|
90
|
+
<option value="$PROJECT_DIR$/edge_csv.gemspec" />
|
91
|
+
</list>
|
92
|
+
</option>
|
93
|
+
</component>
|
94
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" />
|
95
|
+
<component name="JsBuildToolPackageJson" detection-done="true" />
|
96
|
+
<component name="JsGulpfileManager">
|
97
|
+
<detection-done>true</detection-done>
|
98
|
+
</component>
|
99
|
+
<component name="ProjectFrameBounds">
|
100
|
+
<option name="x" value="65" />
|
101
|
+
<option name="y" value="-4" />
|
102
|
+
<option name="width" value="1855" />
|
103
|
+
<option name="height" value="1084" />
|
104
|
+
</component>
|
105
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
106
|
+
<OptionsSetting value="true" id="Add" />
|
107
|
+
<OptionsSetting value="true" id="Remove" />
|
108
|
+
<OptionsSetting value="true" id="Checkout" />
|
109
|
+
<OptionsSetting value="true" id="Update" />
|
110
|
+
<OptionsSetting value="true" id="Status" />
|
111
|
+
<OptionsSetting value="true" id="Edit" />
|
112
|
+
<ConfirmationsSetting value="0" id="Add" />
|
113
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
114
|
+
</component>
|
115
|
+
<component name="ProjectView">
|
116
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
117
|
+
<flattenPackages />
|
118
|
+
<showMembers />
|
119
|
+
<showModules />
|
120
|
+
<showLibraryContents />
|
121
|
+
<hideEmptyPackages />
|
122
|
+
<abbreviatePackageNames />
|
123
|
+
<autoscrollToSource />
|
124
|
+
<autoscrollFromSource />
|
125
|
+
<sortByType />
|
126
|
+
<manualOrder />
|
127
|
+
<foldersAlwaysOnTop value="true" />
|
128
|
+
</navigator>
|
129
|
+
<panes>
|
130
|
+
<pane id="ProjectPane">
|
131
|
+
<subPane>
|
132
|
+
<PATH>
|
133
|
+
<PATH_ELEMENT>
|
134
|
+
<option name="myItemId" value="edge_csv" />
|
135
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
136
|
+
</PATH_ELEMENT>
|
137
|
+
<PATH_ELEMENT>
|
138
|
+
<option name="myItemId" value="External Libraries" />
|
139
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
|
140
|
+
</PATH_ELEMENT>
|
141
|
+
</PATH>
|
142
|
+
<PATH>
|
143
|
+
<PATH_ELEMENT>
|
144
|
+
<option name="myItemId" value="edge_csv" />
|
145
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
146
|
+
</PATH_ELEMENT>
|
147
|
+
<PATH_ELEMENT>
|
148
|
+
<option name="myItemId" value="edge_csv" />
|
149
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
150
|
+
</PATH_ELEMENT>
|
151
|
+
</PATH>
|
152
|
+
<PATH>
|
153
|
+
<PATH_ELEMENT>
|
154
|
+
<option name="myItemId" value="edge_csv" />
|
155
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
156
|
+
</PATH_ELEMENT>
|
157
|
+
<PATH_ELEMENT>
|
158
|
+
<option name="myItemId" value="edge_csv" />
|
159
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
160
|
+
</PATH_ELEMENT>
|
161
|
+
<PATH_ELEMENT>
|
162
|
+
<option name="myItemId" value="lib" />
|
163
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
164
|
+
</PATH_ELEMENT>
|
165
|
+
</PATH>
|
166
|
+
</subPane>
|
167
|
+
</pane>
|
168
|
+
<pane id="Scratches" />
|
169
|
+
<pane id="Scope" />
|
170
|
+
</panes>
|
171
|
+
</component>
|
172
|
+
<component name="PropertiesComponent">
|
173
|
+
<property name="settings.editor.selected.configurable" value="preferences.sourceCode.JavaScript" />
|
174
|
+
<property name="settings.editor.splitter.proportion" value="0.2" />
|
175
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
176
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
177
|
+
<property name="js-jscs-nodeInterpreter" value="/usr/bin/node" />
|
178
|
+
</component>
|
179
|
+
<component name="RecentsManager">
|
180
|
+
<key name="MoveFile.RECENT_KEYS">
|
181
|
+
<recent name="$PROJECT_DIR$/lib/edge_csv" />
|
182
|
+
</key>
|
183
|
+
</component>
|
184
|
+
<component name="RunManager">
|
185
|
+
<configuration default="true" type="BashConfigurationType" factoryName="Bash">
|
186
|
+
<option name="INTERPRETER_OPTIONS" value="" />
|
187
|
+
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
188
|
+
<option name="WORKING_DIRECTORY" value="" />
|
189
|
+
<option name="PARENT_ENVS" value="true" />
|
190
|
+
<option name="SCRIPT_NAME" value="" />
|
191
|
+
<option name="PARAMETERS" value="" />
|
192
|
+
<module name="" />
|
193
|
+
<envs />
|
194
|
+
<method />
|
195
|
+
</configuration>
|
196
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
197
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
198
|
+
<module name="" />
|
199
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
200
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
201
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
202
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
203
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
204
|
+
<envs />
|
205
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
206
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
207
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
208
|
+
<COVERAGE_PATTERN ENABLED="true">
|
209
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
210
|
+
</COVERAGE_PATTERN>
|
211
|
+
</EXTENSION>
|
212
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
213
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
214
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
215
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
216
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
217
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
218
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
219
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
220
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
221
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
222
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
223
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
224
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
225
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
226
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
227
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
228
|
+
<method />
|
229
|
+
</configuration>
|
230
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
231
|
+
<method />
|
232
|
+
</configuration>
|
233
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
234
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
235
|
+
<module name="" />
|
236
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
237
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
238
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
239
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
240
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
241
|
+
<envs />
|
242
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
243
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
244
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
245
|
+
<COVERAGE_PATTERN ENABLED="true">
|
246
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
247
|
+
</COVERAGE_PATTERN>
|
248
|
+
</EXTENSION>
|
249
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
250
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
251
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
252
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
253
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
254
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
255
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
256
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
257
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
258
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
259
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
260
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
261
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
262
|
+
<method />
|
263
|
+
</configuration>
|
264
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
265
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
266
|
+
<module name="" />
|
267
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
268
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
269
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
270
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
271
|
+
<RTEST_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
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
281
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
282
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
283
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
284
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
285
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
286
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
287
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
288
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
289
|
+
<method />
|
290
|
+
</configuration>
|
291
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
292
|
+
<node-interpreter>project</node-interpreter>
|
293
|
+
<node-options />
|
294
|
+
<gulpfile />
|
295
|
+
<tasks />
|
296
|
+
<arguments />
|
297
|
+
<envs />
|
298
|
+
<method />
|
299
|
+
</configuration>
|
300
|
+
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
|
301
|
+
<command value="run-script" />
|
302
|
+
<scripts />
|
303
|
+
<node-interpreter value="project" />
|
304
|
+
<envs />
|
305
|
+
<method />
|
306
|
+
</configuration>
|
307
|
+
</component>
|
308
|
+
<component name="ShelveChangesManager" show_recycled="false">
|
309
|
+
<option name="remove_strategy" value="false" />
|
310
|
+
</component>
|
311
|
+
<component name="TaskManager">
|
312
|
+
<task active="true" id="Default" summary="Default task">
|
313
|
+
<changelist id="fd515e82-a949-4b98-a4c3-95206c4be8c5" name="Default" comment="" />
|
314
|
+
<created>1484390064424</created>
|
315
|
+
<option name="number" value="Default" />
|
316
|
+
<option name="presentableId" value="Default" />
|
317
|
+
<updated>1484390064424</updated>
|
318
|
+
<workItem from="1484390065775" duration="10892000" />
|
319
|
+
<workItem from="1484583017767" duration="2648000" />
|
320
|
+
<workItem from="1487696894790" duration="374000" />
|
321
|
+
<workItem from="1487698507949" duration="123000" />
|
322
|
+
</task>
|
323
|
+
<servers />
|
324
|
+
</component>
|
325
|
+
<component name="TimeTrackingManager">
|
326
|
+
<option name="totallyTimeSpent" value="14037000" />
|
327
|
+
</component>
|
328
|
+
<component name="ToolWindowManager">
|
329
|
+
<frame x="65" y="-4" width="1855" height="1084" extended-state="6" />
|
330
|
+
<editor active="false" />
|
331
|
+
<layout>
|
332
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.18076286" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
|
333
|
+
<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" />
|
334
|
+
<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.3174442" sideWeight="0.50193477" order="10" side_tool="true" content_ui="tabs" />
|
335
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.19458264" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
336
|
+
<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.27281946" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
337
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2498618" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
338
|
+
<window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.39249492" sideWeight="0.49806523" order="9" side_tool="false" content_ui="tabs" />
|
339
|
+
<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="0" side_tool="true" content_ui="tabs" />
|
340
|
+
<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" />
|
341
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4888438" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
342
|
+
<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" />
|
343
|
+
<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" />
|
344
|
+
<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" />
|
345
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3296146" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
346
|
+
<window_info id="Thumbnails" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3296146" sideWeight="0.5" order="11" 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.22008114" 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
|
+
<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" />
|
351
|
+
</layout>
|
352
|
+
<layout-to-restore>
|
353
|
+
<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" />
|
354
|
+
<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" />
|
355
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4888438" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
356
|
+
<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" />
|
357
|
+
<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" />
|
358
|
+
<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.3174442" sideWeight="0.50193477" order="10" side_tool="true" content_ui="tabs" />
|
359
|
+
<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" />
|
360
|
+
<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.27281946" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
361
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3296146" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
362
|
+
<window_info id="Thumbnails" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3296146" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
|
363
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.39249492" sideWeight="0.49806523" order="9" side_tool="false" content_ui="tabs" />
|
364
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.21503593" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
|
365
|
+
<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" />
|
366
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.19458264" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
367
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.22008114" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
368
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2498618" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
369
|
+
<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" />
|
370
|
+
<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="0" side_tool="true" content_ui="tabs" />
|
371
|
+
<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" />
|
372
|
+
</layout-to-restore>
|
373
|
+
</component>
|
374
|
+
<component name="Vcs.Log.UiProperties">
|
375
|
+
<option name="RECENTLY_FILTERED_USER_GROUPS">
|
376
|
+
<collection />
|
377
|
+
</option>
|
378
|
+
<option name="RECENTLY_FILTERED_BRANCH_GROUPS">
|
379
|
+
<collection />
|
380
|
+
</option>
|
381
|
+
</component>
|
382
|
+
<component name="VcsContentAnnotationSettings">
|
383
|
+
<option name="myLimit" value="2678400000" />
|
384
|
+
</component>
|
385
|
+
<component name="XDebuggerManager">
|
386
|
+
<breakpoint-manager />
|
387
|
+
<watches-manager />
|
388
|
+
</component>
|
389
|
+
<component name="editorHistoryManager">
|
390
|
+
<entry file="file://$PROJECT_DIR$/edge_csv.gemspec">
|
391
|
+
<provider selected="true" editor-type-id="text-editor">
|
392
|
+
<state relative-caret-position="0">
|
393
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
394
|
+
<folding />
|
395
|
+
</state>
|
396
|
+
</provider>
|
397
|
+
</entry>
|
398
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv.rb">
|
399
|
+
<provider selected="true" editor-type-id="text-editor">
|
400
|
+
<state relative-caret-position="160">
|
401
|
+
<caret line="8" column="22" selection-start-line="8" selection-start-column="22" selection-end-line="8" selection-end-column="22" />
|
402
|
+
<folding />
|
403
|
+
</state>
|
404
|
+
</provider>
|
405
|
+
</entry>
|
406
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv/export.rb">
|
407
|
+
<provider selected="true" editor-type-id="text-editor">
|
408
|
+
<state relative-caret-position="500">
|
409
|
+
<caret line="25" column="21" selection-start-line="25" selection-start-column="21" selection-end-line="25" selection-end-column="21" />
|
410
|
+
<folding />
|
411
|
+
</state>
|
412
|
+
</provider>
|
413
|
+
</entry>
|
414
|
+
<entry file="file://$PROJECT_DIR$/lib/helpers/export_helpert.rb">
|
415
|
+
<provider selected="true" editor-type-id="text-editor">
|
416
|
+
<state relative-caret-position="240">
|
417
|
+
<caret line="12" column="7" selection-start-line="10" selection-start-column="4" selection-end-line="12" selection-end-column="7" />
|
418
|
+
<folding />
|
419
|
+
</state>
|
420
|
+
</provider>
|
421
|
+
</entry>
|
422
|
+
<entry file="file://$PROJECT_DIR$/edge_csv.gemspec">
|
423
|
+
<provider selected="true" editor-type-id="text-editor">
|
424
|
+
<state relative-caret-position="260">
|
425
|
+
<caret line="13" column="24" selection-start-line="13" selection-start-column="24" selection-end-line="13" selection-end-column="24" />
|
426
|
+
<folding />
|
427
|
+
</state>
|
428
|
+
</provider>
|
429
|
+
</entry>
|
430
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv.rb">
|
431
|
+
<provider selected="true" editor-type-id="text-editor">
|
432
|
+
<state relative-caret-position="160">
|
433
|
+
<caret line="8" column="22" selection-start-line="8" selection-start-column="22" selection-end-line="8" selection-end-column="22" />
|
434
|
+
<folding />
|
435
|
+
</state>
|
436
|
+
</provider>
|
437
|
+
</entry>
|
438
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv/export.rb">
|
439
|
+
<provider selected="true" editor-type-id="text-editor">
|
440
|
+
<state relative-caret-position="0">
|
441
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
442
|
+
<folding />
|
443
|
+
</state>
|
444
|
+
</provider>
|
445
|
+
</entry>
|
446
|
+
<entry file="file://$PROJECT_DIR$/lib/helpers/export_helpert.rb">
|
447
|
+
<provider selected="true" editor-type-id="text-editor">
|
448
|
+
<state relative-caret-position="240">
|
449
|
+
<caret line="12" column="7" selection-start-line="10" selection-start-column="4" selection-end-line="12" selection-end-column="7" />
|
450
|
+
<folding />
|
451
|
+
</state>
|
452
|
+
</provider>
|
453
|
+
</entry>
|
454
|
+
<entry file="file://$PROJECT_DIR$/edge_csv.gemspec">
|
455
|
+
<provider selected="true" editor-type-id="text-editor">
|
456
|
+
<state relative-caret-position="0">
|
457
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
458
|
+
<folding />
|
459
|
+
</state>
|
460
|
+
</provider>
|
461
|
+
</entry>
|
462
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv.rb">
|
463
|
+
<provider selected="true" editor-type-id="text-editor">
|
464
|
+
<state relative-caret-position="160">
|
465
|
+
<caret line="8" column="14" selection-start-line="8" selection-start-column="14" selection-end-line="8" selection-end-column="14" />
|
466
|
+
<folding />
|
467
|
+
</state>
|
468
|
+
</provider>
|
469
|
+
</entry>
|
470
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv/export.rb">
|
471
|
+
<provider selected="true" editor-type-id="text-editor">
|
472
|
+
<state relative-caret-position="160">
|
473
|
+
<caret line="8" column="38" selection-start-line="8" selection-start-column="38" selection-end-line="8" selection-end-column="38" />
|
474
|
+
<folding />
|
475
|
+
</state>
|
476
|
+
</provider>
|
477
|
+
</entry>
|
478
|
+
<entry file="file://$PROJECT_DIR$/lib/helpers/export_helpert.rb">
|
479
|
+
<provider selected="true" editor-type-id="text-editor">
|
480
|
+
<state relative-caret-position="60">
|
481
|
+
<caret line="3" column="59" selection-start-line="3" selection-start-column="59" selection-end-line="3" selection-end-column="59" />
|
482
|
+
<folding />
|
483
|
+
</state>
|
484
|
+
</provider>
|
485
|
+
</entry>
|
486
|
+
<entry file="file://$PROJECT_DIR$/edge_csv.gemspec">
|
487
|
+
<provider selected="true" editor-type-id="text-editor">
|
488
|
+
<state relative-caret-position="0">
|
489
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
490
|
+
<folding />
|
491
|
+
</state>
|
492
|
+
</provider>
|
493
|
+
</entry>
|
494
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv.rb">
|
495
|
+
<provider selected="true" editor-type-id="text-editor">
|
496
|
+
<state relative-caret-position="160">
|
497
|
+
<caret line="8" column="14" selection-start-line="8" selection-start-column="14" selection-end-line="8" selection-end-column="14" />
|
498
|
+
<folding />
|
499
|
+
</state>
|
500
|
+
</provider>
|
501
|
+
</entry>
|
502
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv/export.rb">
|
503
|
+
<provider selected="true" editor-type-id="text-editor">
|
504
|
+
<state relative-caret-position="160">
|
505
|
+
<caret line="8" column="38" selection-start-line="8" selection-start-column="38" selection-end-line="8" selection-end-column="38" />
|
506
|
+
<folding />
|
507
|
+
</state>
|
508
|
+
</provider>
|
509
|
+
</entry>
|
510
|
+
<entry file="file://$PROJECT_DIR$/lib/helpers/export_helpert.rb">
|
511
|
+
<provider selected="true" editor-type-id="text-editor">
|
512
|
+
<state relative-caret-position="60">
|
513
|
+
<caret line="3" column="59" selection-start-line="3" selection-start-column="59" selection-end-line="3" selection-end-column="59" />
|
514
|
+
<folding />
|
515
|
+
</state>
|
516
|
+
</provider>
|
517
|
+
</entry>
|
518
|
+
<entry file="file://$PROJECT_DIR$/bin/setup">
|
519
|
+
<provider selected="true" editor-type-id="text-editor">
|
520
|
+
<state relative-caret-position="0">
|
521
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
522
|
+
</state>
|
523
|
+
</provider>
|
524
|
+
</entry>
|
525
|
+
<entry file="file://$PROJECT_DIR$/bin/console">
|
526
|
+
<provider selected="true" editor-type-id="text-editor">
|
527
|
+
<state relative-caret-position="0">
|
528
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
529
|
+
</state>
|
530
|
+
</provider>
|
531
|
+
</entry>
|
532
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv/import.rb" />
|
533
|
+
<entry file="file://$PROJECT_DIR$/edge_csv-0.1.0.gem" />
|
534
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv/version.rb">
|
535
|
+
<provider selected="true" editor-type-id="text-editor">
|
536
|
+
<state relative-caret-position="0">
|
537
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
538
|
+
</state>
|
539
|
+
</provider>
|
540
|
+
</entry>
|
541
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
542
|
+
<provider selected="true" editor-type-id="text-editor">
|
543
|
+
<state relative-caret-position="40">
|
544
|
+
<caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
|
545
|
+
<folding />
|
546
|
+
</state>
|
547
|
+
</provider>
|
548
|
+
</entry>
|
549
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
550
|
+
<provider selected="true" editor-type-id="text-editor">
|
551
|
+
<state relative-caret-position="249">
|
552
|
+
<caret line="23" column="7" selection-start-line="23" selection-start-column="7" selection-end-line="23" selection-end-column="7" />
|
553
|
+
</state>
|
554
|
+
</provider>
|
555
|
+
</entry>
|
556
|
+
<entry file="file://$PROJECT_DIR$/lib/helpers/export_helpert.rb">
|
557
|
+
<provider selected="true" editor-type-id="text-editor">
|
558
|
+
<state relative-caret-position="240">
|
559
|
+
<caret line="12" column="7" selection-start-line="10" selection-start-column="4" selection-end-line="12" selection-end-column="7" />
|
560
|
+
<folding />
|
561
|
+
</state>
|
562
|
+
</provider>
|
563
|
+
</entry>
|
564
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv/export.rb">
|
565
|
+
<provider selected="true" editor-type-id="text-editor">
|
566
|
+
<state relative-caret-position="500">
|
567
|
+
<caret line="25" column="21" selection-start-line="25" selection-start-column="21" selection-end-line="25" selection-end-column="21" />
|
568
|
+
<folding />
|
569
|
+
</state>
|
570
|
+
</provider>
|
571
|
+
</entry>
|
572
|
+
<entry file="file://$PROJECT_DIR$/lib/edge_csv.rb">
|
573
|
+
<provider selected="true" editor-type-id="text-editor">
|
574
|
+
<state relative-caret-position="160">
|
575
|
+
<caret line="8" column="22" selection-start-line="8" selection-start-column="22" selection-end-line="8" selection-end-column="22" />
|
576
|
+
<folding />
|
577
|
+
</state>
|
578
|
+
</provider>
|
579
|
+
</entry>
|
580
|
+
<entry file="file://$PROJECT_DIR$/edge_csv.gemspec">
|
581
|
+
<provider selected="true" editor-type-id="text-editor">
|
582
|
+
<state relative-caret-position="300">
|
583
|
+
<caret line="15" column="64" selection-start-line="15" selection-start-column="64" selection-end-line="15" selection-end-column="65" />
|
584
|
+
<folding />
|
585
|
+
</state>
|
586
|
+
</provider>
|
587
|
+
</entry>
|
588
|
+
</component>
|
589
|
+
</project>
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# EdgeCsv
|
2
|
+
|
3
|
+
There is the gem which make your work with csv and database pretty simple, by using just only two commands: EdgeCsv.export({}) and EdgeCsv.import({}).
|
4
|
+
|
5
|
+
## Getting Started
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'edge_csv'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install edge_csv
|
20
|
+
|
21
|
+
## Documentation
|
22
|
+
Params for export:
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
{
|
26
|
+
"subjects": @products,
|
27
|
+
"fileds": %w(price name),
|
28
|
+
"sequince": %w(name price),
|
29
|
+
"headers": false,
|
30
|
+
"header_names": {
|
31
|
+
"name": "Product Name",
|
32
|
+
"price": "Product Price"
|
33
|
+
}
|
34
|
+
}
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "edge_csv"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/edge_csv.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'edge_csv/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "edge_csv"
|
8
|
+
spec.version = EdgeCsv::VERSION
|
9
|
+
spec.authors = ["Dmitry Gusev", "Arvid Stahovskiy", "Igor Potapov"]
|
10
|
+
spec.email = ["dmitriy.gusev@duniceedge.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{A warning so people will logoff and go to bed!.}
|
13
|
+
spec.description = %q{A warning so people will logoff and go to bed!}
|
14
|
+
spec.homepage = "http://rubygems.org/gems/edge_cs'"
|
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
|
+
# if spec.respond_to?(:metadata)
|
19
|
+
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
20
|
+
# else
|
21
|
+
# raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
22
|
+
# end
|
23
|
+
|
24
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25
|
+
spec.bindir = "exe"
|
26
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ["lib"]
|
28
|
+
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
30
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
31
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
class Export
|
2
|
+
include ExportHelper
|
3
|
+
|
4
|
+
def initialize data
|
5
|
+
@name = data['name'] || 'new_csv'
|
6
|
+
@auto_send = data['auto_send'] || true
|
7
|
+
@headers = data['headers'] || true
|
8
|
+
@subjects = data['subjects'] || []
|
9
|
+
@fields = data['fields'] || get_fields(@subjects[0])
|
10
|
+
@sequence = data['sequence'] || []
|
11
|
+
end
|
12
|
+
|
13
|
+
def start
|
14
|
+
puts("Started export #{@name}")
|
15
|
+
if @auto_send
|
16
|
+
send_data(collect_csv, :filename => "#{@name}.csv", :type => "text/csv")
|
17
|
+
else
|
18
|
+
collect_csv
|
19
|
+
end
|
20
|
+
puts("Completed export #{@name}")
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def collect_csv
|
26
|
+
header = convert_headers(@fields, @headers)
|
27
|
+
keys = sequences_headers(@sequence, @fields)
|
28
|
+
CSV.generate(headers: true) do |csv|
|
29
|
+
csv << header if @headers
|
30
|
+
@subjects.each{ |subject| csv << keys.map{ |key| subject[key] } }
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
|
35
|
+
end
|
data/lib/edge_csv.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
module ExportHelper
|
2
|
+
|
3
|
+
def get_fields instance
|
4
|
+
instance = instance.attributes if instance.class != 'Hash'
|
5
|
+
internal_headers = instance.keys
|
6
|
+
internal_headers
|
7
|
+
end
|
8
|
+
|
9
|
+
def convert_headers(fields, headers)
|
10
|
+
fields.map{ |field| field.sub!('_', ' ').split(' ').map(&:capitalize).join(' ') }
|
11
|
+
headers.each do |initial, new|
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def sequences_headers(sequence, fields)
|
17
|
+
keys = sequence
|
18
|
+
keys << fields - sequence
|
19
|
+
keys.flatten
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: edge_csv
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dmitry Gusev
|
8
|
+
- Arvid Stahovskiy
|
9
|
+
- Igor Potapov
|
10
|
+
autorequire:
|
11
|
+
bindir: exe
|
12
|
+
cert_chain: []
|
13
|
+
date: 2017-02-21 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: bundler
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - "~>"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.12'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - "~>"
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '1.12'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: rake
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - "~>"
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '10.0'
|
36
|
+
type: :development
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '10.0'
|
43
|
+
description: A warning so people will logoff and go to bed!
|
44
|
+
email:
|
45
|
+
- dmitriy.gusev@duniceedge.com
|
46
|
+
executables: []
|
47
|
+
extensions: []
|
48
|
+
extra_rdoc_files: []
|
49
|
+
files:
|
50
|
+
- ".gitignore"
|
51
|
+
- ".idea/.rakeTasks"
|
52
|
+
- ".idea/edge_csv.iml"
|
53
|
+
- ".idea/misc.xml"
|
54
|
+
- ".idea/modules.xml"
|
55
|
+
- ".idea/vcs.xml"
|
56
|
+
- ".idea/workspace.xml"
|
57
|
+
- Gemfile
|
58
|
+
- README.md
|
59
|
+
- Rakefile
|
60
|
+
- bin/console
|
61
|
+
- bin/setup
|
62
|
+
- edge_csv.gemspec
|
63
|
+
- lib/edge_csv.rb
|
64
|
+
- lib/edge_csv/export.rb
|
65
|
+
- lib/edge_csv/version.rb
|
66
|
+
- lib/helpers/export_helpert.rb
|
67
|
+
homepage: http://rubygems.org/gems/edge_cs'
|
68
|
+
licenses: []
|
69
|
+
metadata: {}
|
70
|
+
post_install_message:
|
71
|
+
rdoc_options: []
|
72
|
+
require_paths:
|
73
|
+
- lib
|
74
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
requirements: []
|
85
|
+
rubyforge_project:
|
86
|
+
rubygems_version: 2.6.3
|
87
|
+
signing_key:
|
88
|
+
specification_version: 4
|
89
|
+
summary: A warning so people will logoff and go to bed!.
|
90
|
+
test_files: []
|