zip_dsl 1.0.10 → 1.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.
- checksums.yaml +15 -0
- data/.idea/workspace.xml +142 -74
- data/.idea/zip_dsl.iml +9 -13
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +1 -1
- data/lib/zip_dsl/version.rb +1 -1
- data/lib/zip_dsl/zip_dsl.rb +5 -5
- data/lib/zip_dsl/zip_reader.rb +1 -1
- data/lib/zip_dsl/zip_writer.rb +1 -1
- data/spec/zip_builder_spec.rb +2 -2
- metadata +7 -18
- data/.rvmrc +0 -4
checksums.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
NTQwNzE2NjA2NDk4NTQ2YTE0NDk1OGFjYzczZGI3Y2U3MjliYmQyYg==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
NGNjMTljYzZkOWViMmI1MDY5MTViNTE0Mzg5YWZiMmM2MGEzNmU1MQ==
|
|
7
|
+
!binary "U0hBNTEy":
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
NThiYjI2MjFlNTg3OTZiNjA0MzUwZDQ4MjBlYjVjZmY0YTIxYThmOTA0OGQ1
|
|
10
|
+
ZTlkZTljMDM0ODI0NTY5MGI0ZGE5MzBhOGQwNDVmNWY3M2I5ZjAxM2I4ZGU1
|
|
11
|
+
YTE0ZmMwOGI3ZGU2OGVlNzdjZThkZmMxNzA3N2U4MTJmMGZlMjU=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
NDg2ZjMxMDIyNzllNGQ0MGRlOTI4MDIwZjBiMjhkZTE1OTQwNGU3YzRhMWVh
|
|
14
|
+
Y2RkMThlN2I5OWNiY2U5ZGE5NmMxYjk1YTczNjY2OTVkNWQ1YmRjOGU3YjBh
|
|
15
|
+
YmI2ZmJhN2I5NDYxZGRmZTZiN2Y1NjJlNDZkMDk5OWJjNjgyNWQ=
|
data/.idea/workspace.xml
CHANGED
|
@@ -2,12 +2,22 @@
|
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
4
|
<list default="true" id="aafa5aec-b597-47d5-af91-f7b63300321f" name="Default" comment="">
|
|
5
|
-
<change type="
|
|
5
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.ruby-gemset" />
|
|
6
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.ruby-version" />
|
|
7
|
+
<change type="DELETED" beforePath="$PROJECT_DIR$/.rvmrc" afterPath="" />
|
|
8
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
|
|
6
9
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/zip_dsl/version.rb" afterPath="$PROJECT_DIR$/lib/zip_dsl/version.rb" />
|
|
10
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
|
11
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/zip_builder_spec.rb" afterPath="$PROJECT_DIR$/spec/zip_builder_spec.rb" />
|
|
12
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/zip_dsl.iml" afterPath="$PROJECT_DIR$/.idea/zip_dsl.iml" />
|
|
13
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb" afterPath="$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb" />
|
|
14
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/zip_dsl/zip_reader.rb" afterPath="$PROJECT_DIR$/lib/zip_dsl/zip_reader.rb" />
|
|
7
15
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb" afterPath="$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb" />
|
|
8
16
|
</list>
|
|
9
17
|
<ignored path="zip_dsl.iws" />
|
|
10
18
|
<ignored path=".idea/workspace.xml" />
|
|
19
|
+
<file path="/Dummy.txt" changelist="aafa5aec-b597-47d5-af91-f7b63300321f" time="1368117187398" ignored="false" />
|
|
20
|
+
<file path="/a.dummy" changelist="aafa5aec-b597-47d5-af91-f7b63300321f" time="1368117546371" ignored="false" />
|
|
11
21
|
<option name="TRACKING_ENABLED" value="true" />
|
|
12
22
|
<option name="SHOW_DIALOG" value="false" />
|
|
13
23
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -21,96 +31,100 @@
|
|
|
21
31
|
<component name="DaemonCodeAnalyzer">
|
|
22
32
|
<disable_hints />
|
|
23
33
|
</component>
|
|
34
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
|
24
35
|
<component name="FavoritesManager">
|
|
25
36
|
<favorites_list name="zip_dsl" />
|
|
26
37
|
</component>
|
|
27
38
|
<component name="FileEditorManager">
|
|
28
39
|
<leaf>
|
|
29
|
-
<file leaf-file-name="
|
|
30
|
-
<entry file="file://$PROJECT_DIR$/
|
|
40
|
+
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
|
41
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
31
42
|
<provider selected="true" editor-type-id="text-editor">
|
|
32
|
-
<state line="
|
|
43
|
+
<state line="36" column="15" selection-start="723" selection-end="723" vertical-scroll-proportion="0.0">
|
|
33
44
|
<folding />
|
|
34
45
|
</state>
|
|
35
46
|
</provider>
|
|
36
47
|
</entry>
|
|
37
48
|
</file>
|
|
38
|
-
<file leaf-file-name="
|
|
39
|
-
<entry file="file://$PROJECT_DIR$/
|
|
49
|
+
<file leaf-file-name="directory_builder.rb" pinned="false" current="false" current-in-tab="false">
|
|
50
|
+
<entry file="file://$PROJECT_DIR$/lib/directory_builder.rb">
|
|
40
51
|
<provider selected="true" editor-type-id="text-editor">
|
|
41
|
-
<state line="
|
|
52
|
+
<state line="7" column="15" selection-start="136" selection-end="137" vertical-scroll-proportion="-4.3076925">
|
|
42
53
|
<folding />
|
|
43
54
|
</state>
|
|
44
55
|
</provider>
|
|
45
56
|
</entry>
|
|
46
57
|
</file>
|
|
47
|
-
<file leaf-file-name="
|
|
48
|
-
<entry file="file://$
|
|
58
|
+
<file leaf-file-name="zip_dsl.rb" pinned="false" current="false" current-in-tab="false">
|
|
59
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl.rb">
|
|
49
60
|
<provider selected="true" editor-type-id="text-editor">
|
|
50
|
-
<state line="
|
|
61
|
+
<state line="3" column="35" selection-start="84" selection-end="84" vertical-scroll-proportion="0.0">
|
|
51
62
|
<folding />
|
|
52
63
|
</state>
|
|
53
64
|
</provider>
|
|
54
65
|
</entry>
|
|
55
66
|
</file>
|
|
56
|
-
<file leaf-file-name="
|
|
57
|
-
<entry file="file://$PROJECT_DIR$/
|
|
67
|
+
<file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
|
|
68
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/version.rb">
|
|
58
69
|
<provider selected="true" editor-type-id="text-editor">
|
|
59
|
-
<state line="
|
|
70
|
+
<state line="1" column="17" selection-start="31" selection-end="31" vertical-scroll-proportion="0.02698145">
|
|
60
71
|
<folding />
|
|
61
72
|
</state>
|
|
62
73
|
</provider>
|
|
63
74
|
</entry>
|
|
64
75
|
</file>
|
|
65
|
-
<file leaf-file-name="
|
|
66
|
-
<entry file="file://$PROJECT_DIR$/
|
|
76
|
+
<file leaf-file-name="directory_builder_spec.rb" pinned="false" current="false" current-in-tab="false">
|
|
77
|
+
<entry file="file://$PROJECT_DIR$/spec/directory_builder_spec.rb">
|
|
67
78
|
<provider selected="true" editor-type-id="text-editor">
|
|
68
|
-
<state line="
|
|
79
|
+
<state line="39" column="33" selection-start="1180" selection-end="1180" vertical-scroll-proportion="0.0">
|
|
69
80
|
<folding />
|
|
70
81
|
</state>
|
|
71
82
|
</provider>
|
|
72
83
|
</entry>
|
|
73
84
|
</file>
|
|
74
|
-
<file leaf-file-name="
|
|
75
|
-
<entry file="file://$PROJECT_DIR$/
|
|
85
|
+
<file leaf-file-name="zip_dsl.rb" pinned="false" current="false" current-in-tab="false">
|
|
86
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb">
|
|
76
87
|
<provider selected="true" editor-type-id="text-editor">
|
|
77
|
-
<state line="
|
|
88
|
+
<state line="36" column="31" selection-start="1005" selection-end="1005" vertical-scroll-proportion="0.0">
|
|
78
89
|
<folding />
|
|
79
90
|
</state>
|
|
80
91
|
</provider>
|
|
81
92
|
</entry>
|
|
82
93
|
</file>
|
|
83
|
-
<file leaf-file-name="
|
|
84
|
-
<entry file="file://$PROJECT_DIR$/
|
|
94
|
+
<file leaf-file-name="zip_reader.rb" pinned="false" current="false" current-in-tab="false">
|
|
95
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_reader.rb">
|
|
85
96
|
<provider selected="true" editor-type-id="text-editor">
|
|
86
|
-
<state line="
|
|
97
|
+
<state line="33" column="48" selection-start="550" selection-end="550" vertical-scroll-proportion="0.0">
|
|
87
98
|
<folding />
|
|
88
99
|
</state>
|
|
89
100
|
</provider>
|
|
90
101
|
</entry>
|
|
91
102
|
</file>
|
|
92
|
-
<file leaf-file-name="
|
|
93
|
-
<entry file="file://$
|
|
103
|
+
<file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
|
|
104
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
105
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
|
106
|
+
<state />
|
|
107
|
+
</provider>
|
|
94
108
|
<provider selected="true" editor-type-id="text-editor">
|
|
95
|
-
<state line="
|
|
109
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.0">
|
|
96
110
|
<folding />
|
|
97
111
|
</state>
|
|
98
112
|
</provider>
|
|
99
113
|
</entry>
|
|
100
114
|
</file>
|
|
101
|
-
<file leaf-file-name="
|
|
102
|
-
<entry file="file://$
|
|
115
|
+
<file leaf-file-name="zip_builder_spec.rb" pinned="false" current="false" current-in-tab="false">
|
|
116
|
+
<entry file="file://$PROJECT_DIR$/spec/zip_builder_spec.rb">
|
|
103
117
|
<provider selected="true" editor-type-id="text-editor">
|
|
104
|
-
<state line="
|
|
118
|
+
<state line="4" column="12" selection-start="98" selection-end="98" vertical-scroll-proportion="0.0">
|
|
105
119
|
<folding />
|
|
106
120
|
</state>
|
|
107
121
|
</provider>
|
|
108
122
|
</entry>
|
|
109
123
|
</file>
|
|
110
|
-
<file leaf-file-name="
|
|
111
|
-
<entry file="file://$PROJECT_DIR$/
|
|
124
|
+
<file leaf-file-name="spec_helper.rb" pinned="false" current="false" current-in-tab="false">
|
|
125
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
|
112
126
|
<provider selected="true" editor-type-id="text-editor">
|
|
113
|
-
<state line="
|
|
127
|
+
<state line="1" column="28" selection-start="0" selection-end="59" vertical-scroll-proportion="0.0">
|
|
114
128
|
<folding />
|
|
115
129
|
</state>
|
|
116
130
|
</provider>
|
|
@@ -126,6 +140,11 @@
|
|
|
126
140
|
<component name="Git.Settings">
|
|
127
141
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
128
142
|
</component>
|
|
143
|
+
<component name="GitLogSettings">
|
|
144
|
+
<option name="myDateState">
|
|
145
|
+
<MyDateState />
|
|
146
|
+
</option>
|
|
147
|
+
</component>
|
|
129
148
|
<component name="IdeDocumentHistory">
|
|
130
149
|
<option name="changedFiles">
|
|
131
150
|
<list>
|
|
@@ -133,15 +152,18 @@
|
|
|
133
152
|
<option value="$PROJECT_DIR$/lib/zip_dsl.rb" />
|
|
134
153
|
<option value="$PROJECT_DIR$/spec/spec_helper.rb" />
|
|
135
154
|
<option value="$PROJECT_DIR$/zip_dsl.gemspec.erb" />
|
|
136
|
-
<option value="$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb" />
|
|
137
155
|
<option value="$PROJECT_DIR$/lib/directory_builder.rb" />
|
|
138
156
|
<option value="$PROJECT_DIR$/Rakefile" />
|
|
139
157
|
<option value="$PROJECT_DIR$/zip_dsl.gemspec" />
|
|
140
|
-
<option value="$PROJECT_DIR$/spec/zip_builder_spec.rb" />
|
|
141
158
|
<option value="$PROJECT_DIR$/spec/directory_builder_spec.rb" />
|
|
159
|
+
<option value="$PROJECT_DIR$/.ruby_version" />
|
|
160
|
+
<option value="$PROJECT_DIR$/.ruby-gemset" />
|
|
142
161
|
<option value="$PROJECT_DIR$/Gemfile" />
|
|
143
|
-
<option value="$PROJECT_DIR$/lib/zip_dsl/
|
|
162
|
+
<option value="$PROJECT_DIR$/lib/zip_dsl/zip_reader.rb" />
|
|
144
163
|
<option value="$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb" />
|
|
164
|
+
<option value="$PROJECT_DIR$/spec/zip_builder_spec.rb" />
|
|
165
|
+
<option value="$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb" />
|
|
166
|
+
<option value="$PROJECT_DIR$/lib/zip_dsl/version.rb" />
|
|
145
167
|
</list>
|
|
146
168
|
</option>
|
|
147
169
|
</component>
|
|
@@ -177,6 +199,7 @@
|
|
|
177
199
|
<sortByType />
|
|
178
200
|
</navigator>
|
|
179
201
|
<panes>
|
|
202
|
+
<pane id="Scope" />
|
|
180
203
|
<pane id="ProjectPane">
|
|
181
204
|
<subPane>
|
|
182
205
|
<PATH>
|
|
@@ -243,10 +266,10 @@
|
|
|
243
266
|
</PATH>
|
|
244
267
|
</subPane>
|
|
245
268
|
</pane>
|
|
246
|
-
<pane id="Scope" />
|
|
247
269
|
</panes>
|
|
248
270
|
</component>
|
|
249
271
|
<component name="PropertiesComponent">
|
|
272
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
250
273
|
<property name="recentsLimit" value="5" />
|
|
251
274
|
<property name="restartRequiresConfirmation" value="true" />
|
|
252
275
|
<property name="GoToClass.includeJavaFiles" value="false" />
|
|
@@ -270,11 +293,13 @@
|
|
|
270
293
|
<env name="JRUBY_OPTS" value="-X+O" />
|
|
271
294
|
</envs>
|
|
272
295
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
|
296
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
|
273
297
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
274
298
|
<COVERAGE_PATTERN ENABLED="true">
|
|
275
299
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
276
300
|
</COVERAGE_PATTERN>
|
|
277
301
|
</EXTENSION>
|
|
302
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
278
303
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
279
304
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/directory_builder_spec.rb" />
|
|
280
305
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
@@ -304,11 +329,13 @@
|
|
|
304
329
|
<env name="JRUBY_OPTS" value="-X+O" />
|
|
305
330
|
</envs>
|
|
306
331
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
|
332
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
|
307
333
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
308
334
|
<COVERAGE_PATTERN ENABLED="true">
|
|
309
335
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
310
336
|
</COVERAGE_PATTERN>
|
|
311
337
|
</EXTENSION>
|
|
338
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
312
339
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
313
340
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/directory_builder_spec.rb" />
|
|
314
341
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
@@ -336,11 +363,13 @@
|
|
|
336
363
|
<env name="JRUBY_OPTS" value="-X+O" />
|
|
337
364
|
</envs>
|
|
338
365
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
|
366
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
|
339
367
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
340
368
|
<COVERAGE_PATTERN ENABLED="true">
|
|
341
369
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
342
370
|
</COVERAGE_PATTERN>
|
|
343
371
|
</EXTENSION>
|
|
372
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
344
373
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
345
374
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/directory_builder_spec.rb" />
|
|
346
375
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
@@ -370,11 +399,13 @@
|
|
|
370
399
|
<env name="JRUBY_OPTS" value="-X+O" />
|
|
371
400
|
</envs>
|
|
372
401
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
|
402
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
|
373
403
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
374
404
|
<COVERAGE_PATTERN ENABLED="true">
|
|
375
405
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
376
406
|
</COVERAGE_PATTERN>
|
|
377
407
|
</EXTENSION>
|
|
408
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
378
409
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
379
410
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/zip_builder_spec.rb" />
|
|
380
411
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
@@ -402,11 +433,13 @@
|
|
|
402
433
|
<env name="JRUBY_OPTS" value="-X+O" />
|
|
403
434
|
</envs>
|
|
404
435
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
|
436
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
|
405
437
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
406
438
|
<COVERAGE_PATTERN ENABLED="true">
|
|
407
439
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
408
440
|
</COVERAGE_PATTERN>
|
|
409
441
|
</EXTENSION>
|
|
442
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
410
443
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
411
444
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/directory_builder_spec.rb" />
|
|
412
445
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
@@ -431,11 +464,13 @@
|
|
|
431
464
|
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
432
465
|
<envs />
|
|
433
466
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
467
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
|
434
468
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
435
469
|
<COVERAGE_PATTERN ENABLED="true">
|
|
436
470
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
437
471
|
</COVERAGE_PATTERN>
|
|
438
472
|
</EXTENSION>
|
|
473
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
439
474
|
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="" />
|
|
440
475
|
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
|
|
441
476
|
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
|
|
@@ -454,11 +489,13 @@
|
|
|
454
489
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
455
490
|
<envs />
|
|
456
491
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
492
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
|
457
493
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
458
494
|
<COVERAGE_PATTERN ENABLED="true">
|
|
459
495
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
460
496
|
</COVERAGE_PATTERN>
|
|
461
497
|
</EXTENSION>
|
|
498
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
462
499
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
463
500
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
464
501
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
@@ -481,11 +518,13 @@
|
|
|
481
518
|
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
|
482
519
|
<envs />
|
|
483
520
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
521
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
|
484
522
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
485
523
|
<COVERAGE_PATTERN ENABLED="true">
|
|
486
524
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
487
525
|
</COVERAGE_PATTERN>
|
|
488
526
|
</EXTENSION>
|
|
527
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
489
528
|
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
|
490
529
|
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
|
491
530
|
<method />
|
|
@@ -500,11 +539,13 @@
|
|
|
500
539
|
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
501
540
|
<envs />
|
|
502
541
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
542
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
|
503
543
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
504
544
|
<COVERAGE_PATTERN ENABLED="true">
|
|
505
545
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
506
546
|
</COVERAGE_PATTERN>
|
|
507
547
|
</EXTENSION>
|
|
548
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
508
549
|
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
509
550
|
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
510
551
|
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
|
@@ -523,11 +564,13 @@
|
|
|
523
564
|
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
524
565
|
<envs />
|
|
525
566
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
567
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
|
526
568
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
527
569
|
<COVERAGE_PATTERN ENABLED="true">
|
|
528
570
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
529
571
|
</COVERAGE_PATTERN>
|
|
530
572
|
</EXTENSION>
|
|
573
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
531
574
|
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="build" />
|
|
532
575
|
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
|
|
533
576
|
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
|
|
@@ -557,16 +600,24 @@
|
|
|
557
600
|
</recent_temporary>
|
|
558
601
|
</component>
|
|
559
602
|
<component name="ShelveChangesManager" show_recycled="false" />
|
|
603
|
+
<component name="TaskManager">
|
|
604
|
+
<task active="true" id="Default" summary="Default task">
|
|
605
|
+
<changelist id="aafa5aec-b597-47d5-af91-f7b63300321f" name="Default" comment="" />
|
|
606
|
+
<created>1368117187393</created>
|
|
607
|
+
<updated>1368117187393</updated>
|
|
608
|
+
</task>
|
|
609
|
+
<servers />
|
|
610
|
+
</component>
|
|
560
611
|
<component name="ToolWindowManager">
|
|
561
612
|
<frame x="332" y="142" width="1588" height="1058" extended-state="0" />
|
|
562
613
|
<editor active="true" />
|
|
563
614
|
<layout>
|
|
564
615
|
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3298647" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
565
|
-
<window_info id="CSS-X-Fire" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
566
616
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
|
617
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3298647" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
618
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
567
619
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
|
|
568
|
-
<window_info id="
|
|
569
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.67013526" order="0" side_tool="false" content_ui="combo" />
|
|
620
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2535668" sideWeight="0.67013526" order="0" side_tool="false" content_ui="combo" />
|
|
570
621
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39958376" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
571
622
|
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
|
572
623
|
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
|
@@ -575,8 +626,9 @@
|
|
|
575
626
|
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
|
576
627
|
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
577
628
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
578
|
-
<window_info id="
|
|
629
|
+
<window_info id="jenkinsBrowser" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
579
630
|
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3298647" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
631
|
+
<window_info id="CSS-X-Fire" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
580
632
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
581
633
|
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
|
582
634
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
|
@@ -604,20 +656,24 @@
|
|
|
604
656
|
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
|
605
657
|
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
|
606
658
|
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
|
607
|
-
<option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
|
|
608
659
|
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
|
609
660
|
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
|
610
661
|
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
|
611
662
|
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
|
|
612
|
-
<option name="
|
|
663
|
+
<option name="SHORT_DIFF_HORIZONTALLY" value="true" />
|
|
613
664
|
<option name="SHORT_DIFF_EXTRA_LINES" value="2" />
|
|
614
665
|
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
|
|
615
666
|
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
|
|
616
667
|
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
|
|
617
|
-
<option name="CREATE_PATCH_EXPAND_DETAILS_DEFAULT" value="true" />
|
|
618
668
|
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
|
|
619
669
|
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
|
|
620
|
-
<option name="
|
|
670
|
+
<option name="SHOW_DIRTY_RECURSIVELY" value="false" />
|
|
671
|
+
<option name="LIMIT_HISTORY" value="true" />
|
|
672
|
+
<option name="MAXIMUM_HISTORY_ROWS" value="1000" />
|
|
673
|
+
<option name="UPDATE_FILTER_SCOPE_NAME" />
|
|
674
|
+
<option name="USE_COMMIT_MESSAGE_MARGIN" value="false" />
|
|
675
|
+
<option name="COMMIT_MESSAGE_MARGIN_SIZE" value="72" />
|
|
676
|
+
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="false" />
|
|
621
677
|
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
|
622
678
|
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
|
|
623
679
|
<option name="LAST_COMMIT_MESSAGE" />
|
|
@@ -631,6 +687,7 @@
|
|
|
631
687
|
<option name="ACTIVE_VCS_NAME" />
|
|
632
688
|
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
|
633
689
|
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
|
690
|
+
<option name="UPDATE_FILTER_BY_SCOPE" value="false" />
|
|
634
691
|
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
|
635
692
|
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
|
636
693
|
</component>
|
|
@@ -673,106 +730,117 @@
|
|
|
673
730
|
</breakpoint-manager>
|
|
674
731
|
</component>
|
|
675
732
|
<component name="editorHistoryManager">
|
|
676
|
-
<entry file="file://$PROJECT_DIR$/
|
|
733
|
+
<entry file="file://$PROJECT_DIR$/zip_dsl.gemspec.erb">
|
|
677
734
|
<provider selected="true" editor-type-id="text-editor">
|
|
678
|
-
<state line="
|
|
735
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
|
679
736
|
<folding />
|
|
680
737
|
</state>
|
|
681
738
|
</provider>
|
|
682
739
|
</entry>
|
|
683
|
-
<entry file="file://$PROJECT_DIR$/
|
|
740
|
+
<entry file="file://$PROJECT_DIR$/zip_dsl.gemspec">
|
|
684
741
|
<provider selected="true" editor-type-id="text-editor">
|
|
685
|
-
<state line="
|
|
742
|
+
<state line="6" column="49" selection-start="217" selection-end="217" vertical-scroll-proportion="0.0">
|
|
743
|
+
<folding />
|
|
744
|
+
</state>
|
|
686
745
|
</provider>
|
|
687
746
|
</entry>
|
|
688
|
-
<entry file="file://$PROJECT_DIR
|
|
747
|
+
<entry file="file://$PROJECT_DIR$/.ruby-version">
|
|
689
748
|
<provider selected="true" editor-type-id="text-editor">
|
|
690
|
-
<state line="0" column="
|
|
749
|
+
<state line="0" column="15" selection-start="15" selection-end="15" vertical-scroll-proportion="0.0">
|
|
750
|
+
<folding />
|
|
751
|
+
</state>
|
|
691
752
|
</provider>
|
|
692
753
|
</entry>
|
|
693
|
-
<entry file="file://$PROJECT_DIR
|
|
754
|
+
<entry file="file://$PROJECT_DIR$/.ruby-gemset">
|
|
694
755
|
<provider selected="true" editor-type-id="text-editor">
|
|
695
|
-
<state line="1" column="
|
|
756
|
+
<state line="1" column="33" selection-start="8" selection-end="8" vertical-scroll-proportion="0.0">
|
|
757
|
+
<folding />
|
|
758
|
+
</state>
|
|
696
759
|
</provider>
|
|
697
760
|
</entry>
|
|
698
|
-
<entry file="file://$PROJECT_DIR$/
|
|
761
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
699
762
|
<provider selected="true" editor-type-id="text-editor">
|
|
700
|
-
<state line="
|
|
763
|
+
<state line="16" column="37" selection-start="241" selection-end="241" vertical-scroll-proportion="0.2813187">
|
|
764
|
+
<folding />
|
|
765
|
+
</state>
|
|
701
766
|
</provider>
|
|
702
767
|
</entry>
|
|
703
|
-
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/
|
|
768
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb">
|
|
704
769
|
<provider selected="true" editor-type-id="text-editor">
|
|
705
|
-
<state line="
|
|
770
|
+
<state line="2" column="9" selection-start="28" selection-end="28" vertical-scroll-proportion="0.0">
|
|
706
771
|
<folding />
|
|
707
772
|
</state>
|
|
708
773
|
</provider>
|
|
709
774
|
</entry>
|
|
710
|
-
<entry file="file://$
|
|
775
|
+
<entry file="file://$PROJECT_DIR$/lib/directory_builder.rb">
|
|
711
776
|
<provider selected="true" editor-type-id="text-editor">
|
|
712
|
-
<state line="
|
|
777
|
+
<state line="7" column="15" selection-start="136" selection-end="137" vertical-scroll-proportion="-4.3076925">
|
|
713
778
|
<folding />
|
|
714
779
|
</state>
|
|
715
780
|
</provider>
|
|
716
781
|
</entry>
|
|
717
|
-
<entry file="file://$
|
|
782
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl.rb">
|
|
718
783
|
<provider selected="true" editor-type-id="text-editor">
|
|
719
|
-
<state line="
|
|
784
|
+
<state line="3" column="35" selection-start="84" selection-end="84" vertical-scroll-proportion="0.0">
|
|
720
785
|
<folding />
|
|
721
786
|
</state>
|
|
722
787
|
</provider>
|
|
723
788
|
</entry>
|
|
724
|
-
<entry file="file://$
|
|
789
|
+
<entry file="file://$PROJECT_DIR$/spec/zip_builder_spec.rb">
|
|
725
790
|
<provider selected="true" editor-type-id="text-editor">
|
|
726
|
-
<state line="
|
|
791
|
+
<state line="4" column="12" selection-start="98" selection-end="98" vertical-scroll-proportion="0.0">
|
|
727
792
|
<folding />
|
|
728
793
|
</state>
|
|
729
794
|
</provider>
|
|
730
795
|
</entry>
|
|
731
|
-
<entry file="file://$PROJECT_DIR$/
|
|
796
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
|
732
797
|
<provider selected="true" editor-type-id="text-editor">
|
|
733
|
-
<state line="
|
|
798
|
+
<state line="1" column="28" selection-start="0" selection-end="59" vertical-scroll-proportion="0.0">
|
|
734
799
|
<folding />
|
|
735
800
|
</state>
|
|
736
801
|
</provider>
|
|
737
802
|
</entry>
|
|
738
|
-
<entry file="file://$PROJECT_DIR$/spec/
|
|
803
|
+
<entry file="file://$PROJECT_DIR$/spec/directory_builder_spec.rb">
|
|
739
804
|
<provider selected="true" editor-type-id="text-editor">
|
|
740
|
-
<state line="
|
|
805
|
+
<state line="39" column="33" selection-start="1180" selection-end="1180" vertical-scroll-proportion="0.0">
|
|
741
806
|
<folding />
|
|
742
807
|
</state>
|
|
743
808
|
</provider>
|
|
744
809
|
</entry>
|
|
745
|
-
<entry file="file://$PROJECT_DIR$/
|
|
810
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb">
|
|
746
811
|
<provider selected="true" editor-type-id="text-editor">
|
|
747
|
-
<state line="
|
|
812
|
+
<state line="36" column="31" selection-start="1005" selection-end="1005" vertical-scroll-proportion="0.0">
|
|
748
813
|
<folding />
|
|
749
814
|
</state>
|
|
750
815
|
</provider>
|
|
751
816
|
</entry>
|
|
752
|
-
<entry file="file://$PROJECT_DIR$/zip_dsl.
|
|
817
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_reader.rb">
|
|
753
818
|
<provider selected="true" editor-type-id="text-editor">
|
|
754
|
-
<state line="
|
|
819
|
+
<state line="33" column="48" selection-start="550" selection-end="550" vertical-scroll-proportion="0.0">
|
|
755
820
|
<folding />
|
|
756
821
|
</state>
|
|
757
822
|
</provider>
|
|
758
823
|
</entry>
|
|
759
|
-
<entry file="file://$PROJECT_DIR$/
|
|
824
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
825
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
|
826
|
+
<state />
|
|
827
|
+
</provider>
|
|
760
828
|
<provider selected="true" editor-type-id="text-editor">
|
|
761
|
-
<state line="
|
|
829
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
|
762
830
|
<folding />
|
|
763
831
|
</state>
|
|
764
832
|
</provider>
|
|
765
833
|
</entry>
|
|
766
|
-
<entry file="file://$PROJECT_DIR$/
|
|
834
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
767
835
|
<provider selected="true" editor-type-id="text-editor">
|
|
768
|
-
<state line="
|
|
836
|
+
<state line="36" column="15" selection-start="723" selection-end="723" vertical-scroll-proportion="0.0">
|
|
769
837
|
<folding />
|
|
770
838
|
</state>
|
|
771
839
|
</provider>
|
|
772
840
|
</entry>
|
|
773
841
|
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/version.rb">
|
|
774
842
|
<provider selected="true" editor-type-id="text-editor">
|
|
775
|
-
<state line="1" column="
|
|
843
|
+
<state line="1" column="17" selection-start="31" selection-end="31" vertical-scroll-proportion="0.02698145">
|
|
776
844
|
<folding />
|
|
777
845
|
</state>
|
|
778
846
|
</provider>
|
data/.idea/zip_dsl.iml
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="FacetManager">
|
|
4
|
+
<facet type="gem" name="Gem">
|
|
5
|
+
<configuration>
|
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="" />
|
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="" />
|
|
9
|
+
</configuration>
|
|
10
|
+
</facet>
|
|
11
|
+
</component>
|
|
3
12
|
<component name="NewModuleRootManager">
|
|
4
13
|
<content url="file://$MODULE_DIR$" />
|
|
5
14
|
<orderEntry type="inheritedJdk" />
|
|
6
15
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.1.3, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
8
|
-
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
9
|
-
<orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.4, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
10
|
-
<orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
11
|
-
<orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.0.2, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
12
|
-
<orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.0.3, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
13
|
-
<orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
14
|
-
<orderEntry type="library" scope="PROVIDED" name="mocha (v0.10.3, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
15
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec (v2.9.0, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
16
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.9.0, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
17
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.9.1, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
18
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.9.0, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
19
|
-
<orderEntry type="library" scope="PROVIDED" name="zip (v2.0.2, RVM: ruby-1.9.3-p194 [zip_dsl]) [gem]" level="application" />
|
|
20
16
|
</component>
|
|
21
17
|
</module>
|
|
22
18
|
|
data/.ruby-gemset
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
zip_dsl
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ruby-1.9.3-p392
|
data/Gemfile
CHANGED
data/lib/zip_dsl/version.rb
CHANGED
data/lib/zip_dsl/zip_dsl.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require 'meta_methods'
|
|
2
2
|
|
|
3
|
-
class
|
|
3
|
+
class ZipDSL
|
|
4
4
|
include MetaMethods
|
|
5
5
|
|
|
6
6
|
def initialize name, basedir
|
|
@@ -11,14 +11,14 @@ class Zip::DSL
|
|
|
11
11
|
def build(name=nil, &execute_block)
|
|
12
12
|
name = name.nil? ? @name : name
|
|
13
13
|
|
|
14
|
-
create_block = lambda {
|
|
14
|
+
create_block = lambda { ZipWriter.new(name, @basedir) }
|
|
15
15
|
destroy_block = lambda {|writer| writer.close }
|
|
16
16
|
|
|
17
17
|
evaluate_dsl(create_block, destroy_block, execute_block)
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
def entry_exist? entry_name
|
|
21
|
-
create_block = lambda {
|
|
21
|
+
create_block = lambda { ZipReader.new(@name) }
|
|
22
22
|
destroy_block = lambda {|reader| reader.close }
|
|
23
23
|
execute_block = lambda { |reader| reader.entry_exist?(entry_name) }
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ class Zip::DSL
|
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
def entries_size
|
|
29
|
-
create_block = lambda {
|
|
29
|
+
create_block = lambda { ZipReader.new(@name) }
|
|
30
30
|
destroy_block = lambda {|reader| reader.close }
|
|
31
31
|
execute_block = lambda { |reader| reader.entries_size }
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ class Zip::DSL
|
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
def list dir="."
|
|
37
|
-
create_block = lambda {
|
|
37
|
+
create_block = lambda { ZipReader.new(@name) }
|
|
38
38
|
destroy_block = lambda {|reader| reader.close }
|
|
39
39
|
execute_block = lambda { |reader| reader.list(dir) }
|
|
40
40
|
|
data/lib/zip_dsl/zip_reader.rb
CHANGED
data/lib/zip_dsl/zip_writer.rb
CHANGED
data/spec/zip_builder_spec.rb
CHANGED
|
@@ -2,10 +2,10 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
|
|
2
2
|
|
|
3
3
|
require 'zip_dsl'
|
|
4
4
|
|
|
5
|
-
describe
|
|
5
|
+
describe ZipDSL do
|
|
6
6
|
let(:basedir) { "#{File.dirname(__FILE__)}/.." }
|
|
7
7
|
|
|
8
|
-
subject {
|
|
8
|
+
subject { ZipDSL.new "../test.zip", basedir }
|
|
9
9
|
|
|
10
10
|
it "should create new zip file with files at particular folder" do
|
|
11
11
|
subject.build do
|
metadata
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zip_dsl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.1.0
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Alexander Shvets
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2013-05-09 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: meta_methods
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
17
|
- - ! '>='
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
@@ -22,7 +20,6 @@ dependencies:
|
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
24
|
- - ! '>='
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
@@ -30,7 +27,6 @@ dependencies:
|
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: zip
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
31
|
- - ! '>='
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
@@ -38,7 +34,6 @@ dependencies:
|
|
|
38
34
|
type: :runtime
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
38
|
- - ! '>='
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
@@ -46,7 +41,6 @@ dependencies:
|
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
|
47
42
|
name: file_utils
|
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
44
|
requirements:
|
|
51
45
|
- - ! '>='
|
|
52
46
|
- !ruby/object:Gem::Version
|
|
@@ -54,7 +48,6 @@ dependencies:
|
|
|
54
48
|
type: :runtime
|
|
55
49
|
prerelease: false
|
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
51
|
requirements:
|
|
59
52
|
- - ! '>='
|
|
60
53
|
- !ruby/object:Gem::Version
|
|
@@ -62,7 +55,6 @@ dependencies:
|
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
|
63
56
|
name: gemspec_deps_gen
|
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
|
65
|
-
none: false
|
|
66
58
|
requirements:
|
|
67
59
|
- - ! '>='
|
|
68
60
|
- !ruby/object:Gem::Version
|
|
@@ -70,7 +62,6 @@ dependencies:
|
|
|
70
62
|
type: :development
|
|
71
63
|
prerelease: false
|
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
-
none: false
|
|
74
65
|
requirements:
|
|
75
66
|
- - ! '>='
|
|
76
67
|
- !ruby/object:Gem::Version
|
|
@@ -78,7 +69,6 @@ dependencies:
|
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
|
79
70
|
name: gemcutter
|
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
|
81
|
-
none: false
|
|
82
72
|
requirements:
|
|
83
73
|
- - ! '>='
|
|
84
74
|
- !ruby/object:Gem::Version
|
|
@@ -86,7 +76,6 @@ dependencies:
|
|
|
86
76
|
type: :development
|
|
87
77
|
prerelease: false
|
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
-
none: false
|
|
90
79
|
requirements:
|
|
91
80
|
- - ! '>='
|
|
92
81
|
- !ruby/object:Gem::Version
|
|
@@ -108,7 +97,8 @@ files:
|
|
|
108
97
|
- .idea/vcs.xml
|
|
109
98
|
- .idea/workspace.xml
|
|
110
99
|
- .idea/zip_dsl.iml
|
|
111
|
-
- .
|
|
100
|
+
- .ruby-gemset
|
|
101
|
+
- .ruby-version
|
|
112
102
|
- Gemfile
|
|
113
103
|
- LICENSE
|
|
114
104
|
- README.md
|
|
@@ -127,27 +117,26 @@ files:
|
|
|
127
117
|
- zip_dsl.gemspec.erb
|
|
128
118
|
homepage: http://github.com/shvets/zip_dsl
|
|
129
119
|
licenses: []
|
|
120
|
+
metadata: {}
|
|
130
121
|
post_install_message:
|
|
131
122
|
rdoc_options: []
|
|
132
123
|
require_paths:
|
|
133
124
|
- lib
|
|
134
125
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
135
|
-
none: false
|
|
136
126
|
requirements:
|
|
137
127
|
- - ! '>='
|
|
138
128
|
- !ruby/object:Gem::Version
|
|
139
129
|
version: '0'
|
|
140
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
|
-
none: false
|
|
142
131
|
requirements:
|
|
143
132
|
- - ! '>='
|
|
144
133
|
- !ruby/object:Gem::Version
|
|
145
134
|
version: '0'
|
|
146
135
|
requirements: []
|
|
147
136
|
rubyforge_project:
|
|
148
|
-
rubygems_version:
|
|
137
|
+
rubygems_version: 2.0.3
|
|
149
138
|
signing_key:
|
|
150
|
-
specification_version:
|
|
139
|
+
specification_version: 4
|
|
151
140
|
summary: Library for working with zip file in DSL-way
|
|
152
141
|
test_files:
|
|
153
142
|
- spec/directory_builder_spec.rb
|
data/.rvmrc
DELETED