zip_dsl 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a1c3f5b288074a8f9db7f89f138ba701a32a87a
4
- data.tar.gz: 6410542e0e928c63b185541a934d52fc214b7d79
3
+ metadata.gz: 061bcccc16971dd981584b6f0605e0af7f5a5e35
4
+ data.tar.gz: ca52faecb6aae2b56991fe57c392517bd071489e
5
5
  SHA512:
6
- metadata.gz: c252a333a411cbc4a0b7847f6a6c6851382af691b9b58c06de266a13b8d2cefb29264db6b71a1b304e6e6fb4738c01f93f3a1a0213abef873f089d9bea43be36
7
- data.tar.gz: bcc6f2f8a94e6bcb58e50832759f671d37e9313d48c750b9b33ec2f272409ba36ef865e04e67c3a221fbbd7be64daf04567c4e9891087ec9c60ad673dd8d703a
6
+ metadata.gz: 4ec1f850b731b7cd40cd0f9b92f4d7a1f61be4caac71823d8676229c89808c71d27cbf1d17dd15b896109d0db795500882a2956a1b4919c35f34f3ec1cf2a2e8
7
+ data.tar.gz: c8ffec9d59376eba671fecc6d155e2e3deeb37e7a9aae38cafda841e54344d6a782125b40eef5ac52ceca977fed15cb88a948343c11769301fcfd5f5f171ec20
@@ -1,7 +1,13 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
- <list default="true" id="aafa5aec-b597-47d5-af91-f7b63300321f" name="Default" comment="" />
4
+ <list default="true" id="aafa5aec-b597-47d5-af91-f7b63300321f" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/zip_dsl/version.rb" afterPath="$PROJECT_DIR$/lib/zip_dsl/version.rb" />
7
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/zip_dsl.iml" afterPath="$PROJECT_DIR$/.idea/zip_dsl.iml" />
9
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb" afterPath="$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb" />
10
+ </list>
5
11
  <ignored path="zip_dsl.iws" />
6
12
  <ignored path=".idea/workspace.xml" />
7
13
  <ignored path="build" />
@@ -16,19 +22,19 @@
16
22
  </component>
17
23
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
18
24
  <component name="CoverageDataManager">
25
+ <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_creates_new_zip_file_with_files_at_particular_folder__zip_dsl.coverage" NAME="ZipDSL#build creates new zip file with files at particular folder: zip_dsl Coverage Results" MODIFIED="1424538224974" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
26
+ <SUITE FILE_PATH="coverage/zip_dsl@Run_spec__zip_dsl_spec___zip_dsl.coverage" NAME="Run spec 'zip_dsl_spec': zip_dsl Coverage Results" MODIFIED="1424542284086" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
27
+ <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_excludes_specified_directory__zip_dsl.coverage" NAME="ZipDSL#build excludes specified directory: zip_dsl Coverage Results" MODIFIED="1424540231784" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
28
+ <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_list_should_display_files_in_specified_subdirectory__zip_dsl.coverage" NAME="ZipDSL#list should display files in specified subdirectory: zip_dsl Coverage Results" MODIFIED="1424537287519" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
19
29
  <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_should_create_new_zip_file_with_new_empty_folder__zip_dsl.coverage" NAME="ZipDSL#build should create new zip file with new empty folder: zip_dsl Coverage Results" MODIFIED="1424538277963" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
30
+ <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_creates_new_zip_file_with_file_created_from_string__zip_dsl.coverage" NAME="ZipDSL#build creates new zip file with file created from string: zip_dsl Coverage Results" MODIFIED="1424538266337" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
20
31
  <SUITE FILE_PATH="coverage/zip_dsl@zip_dsl_spec.coverage" NAME="zip_dsl_spec Coverage Results" MODIFIED="1415037337345" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
21
- <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_read__zip_dsl.coverage" NAME="ZipDSL#read: zip_dsl Coverage Results" MODIFIED="1384208377079" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
22
- <SUITE FILE_PATH="coverage/zip_dsl@Run_spec__zip_dsl_spec___zip_dsl.coverage" NAME="Run spec 'zip_dsl_spec': zip_dsl Coverage Results" MODIFIED="1424542284086" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
23
- <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_creates_new_zip_file_with_files_at_particular_folder__zip_dsl.coverage" NAME="ZipDSL#build creates new zip file with files at particular folder: zip_dsl Coverage Results" MODIFIED="1424538224974" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
24
- <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_updates_existing_zip_file__zip_dsl.coverage" NAME="ZipDSL#build updates existing zip file: zip_dsl Coverage Results" MODIFIED="1424538293630" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
25
32
  <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_should_update_existing_zip_file.coverage" NAME="ZipDSL should update existing zip file Coverage Results" MODIFIED="1383424005082" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
26
- <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_excludes_specified_directory__zip_dsl.coverage" NAME="ZipDSL#build excludes specified directory: zip_dsl Coverage Results" MODIFIED="1424540231784" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
27
- <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_excludes_specified_directories__zip_dsl.coverage" NAME="ZipDSL#build excludes specified directories: zip_dsl Coverage Results" MODIFIED="1424542431279" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
28
33
  <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_should_create_new_zip_file_with_files_at_particular_folder__zip_dsl.coverage" NAME="ZipDSL#build should create new zip file with files at particular folder: zip_dsl Coverage Results" MODIFIED="1424537013936" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
29
- <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_creates_new_zip_file_with_file_created_from_string__zip_dsl.coverage" NAME="ZipDSL#build creates new zip file with file created from string: zip_dsl Coverage Results" MODIFIED="1424538266337" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
34
+ <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_read__zip_dsl.coverage" NAME="ZipDSL#read: zip_dsl Coverage Results" MODIFIED="1384208377079" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
35
+ <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_excludes_specified_directories__zip_dsl.coverage" NAME="ZipDSL#build excludes specified directories: zip_dsl Coverage Results" MODIFIED="1424542431279" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
36
+ <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_build_updates_existing_zip_file__zip_dsl.coverage" NAME="ZipDSL#build updates existing zip file: zip_dsl Coverage Results" MODIFIED="1424538293630" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
30
37
  <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_should_display_files_in_specified_subdirectory__zip_dsl.coverage" NAME="ZipDSL should display files in specified subdirectory: zip_dsl Coverage Results" MODIFIED="1383423978042" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
31
- <SUITE FILE_PATH="coverage/zip_dsl@ZipDSL_list_should_display_files_in_specified_subdirectory__zip_dsl.coverage" NAME="ZipDSL#list should display files in specified subdirectory: zip_dsl Coverage Results" MODIFIED="1424537287519" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="zip_dsl" />
32
38
  </component>
33
39
  <component name="CreatePatchCommitExecutor">
34
40
  <option name="PATCH_PATH" value="" />
@@ -45,8 +51,8 @@
45
51
  <file leaf-file-name="zip_dsl_spec.rb" pinned="false" current-in-tab="false">
46
52
  <entry file="file://$PROJECT_DIR$/spec/zip_dsl_spec.rb">
47
53
  <provider selected="true" editor-type-id="text-editor">
48
- <state vertical-scroll-proportion="0.0" vertical-offset="1169" max-vertical-offset="2085">
49
- <caret line="90" column="58" selection-start-line="90" selection-start-column="58" selection-end-line="90" selection-end-column="58" />
54
+ <state vertical-scroll-proportion="0.0" vertical-offset="1683" max-vertical-offset="2363">
55
+ <caret line="99" column="47" selection-start-line="99" selection-start-column="47" selection-end-line="99" selection-end-column="47" />
50
56
  <folding />
51
57
  </state>
52
58
  </provider>
@@ -55,8 +61,8 @@
55
61
  <file leaf-file-name="zip_writer.rb" pinned="false" current-in-tab="false">
56
62
  <entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb">
57
63
  <provider selected="true" editor-type-id="text-editor">
58
- <state vertical-scroll-proportion="0.0" vertical-offset="1049" max-vertical-offset="2265">
59
- <caret line="81" column="0" selection-start-line="81" selection-start-column="0" selection-end-line="81" selection-end-column="0" />
64
+ <state vertical-scroll-proportion="0.0" vertical-offset="1513" max-vertical-offset="2737">
65
+ <caret line="101" column="54" selection-start-line="101" selection-start-column="54" selection-end-line="101" selection-end-column="54" />
60
66
  <folding />
61
67
  </state>
62
68
  </provider>
@@ -65,7 +71,7 @@
65
71
  <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
66
72
  <entry file="file://$PROJECT_DIR$/lib/zip_dsl/version.rb">
67
73
  <provider selected="true" editor-type-id="text-editor">
68
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
74
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="153">
69
75
  <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
70
76
  <folding />
71
77
  </state>
@@ -75,8 +81,18 @@
75
81
  <file leaf-file-name="CHANGES" pinned="false" current-in-tab="true">
76
82
  <entry file="file://$PROJECT_DIR$/CHANGES">
77
83
  <provider selected="true" editor-type-id="text-editor">
78
- <state vertical-scroll-proportion="1.1135135" vertical-offset="192" max-vertical-offset="945">
79
- <caret line="54" column="16" selection-start-line="54" selection-start-column="16" selection-end-line="54" selection-end-column="16" />
84
+ <state vertical-scroll-proportion="1.1084529" vertical-offset="291" max-vertical-offset="1139">
85
+ <caret line="58" column="9" selection-start-line="58" selection-start-column="1" selection-end-line="58" selection-end-column="9" />
86
+ <folding />
87
+ </state>
88
+ </provider>
89
+ </entry>
90
+ </file>
91
+ <file leaf-file-name="Gemfile.lock" pinned="false" current-in-tab="false">
92
+ <entry file="file://$PROJECT_DIR$/Gemfile.lock">
93
+ <provider selected="true" editor-type-id="text-editor">
94
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="765">
95
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
80
96
  <folding />
81
97
  </state>
82
98
  </provider>
@@ -85,9 +101,12 @@
85
101
  <file leaf-file-name="zip_dsl.rb" pinned="false" current-in-tab="false">
86
102
  <entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb">
87
103
  <provider selected="true" editor-type-id="text-editor">
88
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="945">
89
- <caret line="8" column="0" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
90
- <folding />
104
+ <state vertical-scroll-proportion="0.0" vertical-offset="170" max-vertical-offset="1071">
105
+ <caret line="10" column="0" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
106
+ <folding>
107
+ <marker date="1424541494000" expanded="true" signature="475:509" placeholder="{ ... }" />
108
+ <marker date="1424541494000" expanded="true" signature="558:584" placeholder="{ ... }" />
109
+ </folding>
91
110
  </state>
92
111
  </provider>
93
112
  </entry>
@@ -95,8 +114,8 @@
95
114
  <file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
96
115
  <entry file="file://$PROJECT_DIR$/Gemfile">
97
116
  <provider selected="true" editor-type-id="text-editor">
98
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="330">
99
- <caret line="5" column="20" selection-start-line="5" selection-start-column="20" selection-end-line="5" selection-end-column="20" />
117
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="374">
118
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="3" selection-end-column="11" />
100
119
  <folding />
101
120
  </state>
102
121
  </provider>
@@ -126,8 +145,8 @@
126
145
  <option value="$PROJECT_DIR$/lib/zip_dsl.rb" />
127
146
  <option value="$USER_HOME$/.rvm/gems/ruby-2.2.0@zip_dsl/gems/file_utils-1.1.0/lib/file_utils/directory_scanner.rb" />
128
147
  <option value="$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb" />
129
- <option value="$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb" />
130
148
  <option value="$PROJECT_DIR$/spec/zip_dsl_spec.rb" />
149
+ <option value="$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb" />
131
150
  <option value="$PROJECT_DIR$/lib/zip_dsl/version.rb" />
132
151
  <option value="$PROJECT_DIR$/CHANGES" />
133
152
  </list>
@@ -137,10 +156,10 @@
137
156
  <detection-done>true</detection-done>
138
157
  </component>
139
158
  <component name="ProjectFrameBounds">
140
- <option name="x" value="39" />
159
+ <option name="x" value="48" />
141
160
  <option name="y" value="23" />
142
- <option name="width" value="1401" />
143
- <option name="height" value="877" />
161
+ <option name="width" value="1599" />
162
+ <option name="height" value="995" />
144
163
  </component>
145
164
  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
146
165
  <OptionsSetting value="true" id="Add" />
@@ -168,7 +187,6 @@
168
187
  <sortByType />
169
188
  </navigator>
170
189
  <panes>
171
- <pane id="Scope" />
172
190
  <pane id="ProjectPane">
173
191
  <subPane>
174
192
  <PATH>
@@ -176,10 +194,6 @@
176
194
  <option name="myItemId" value="zip_dsl" />
177
195
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
178
196
  </PATH_ELEMENT>
179
- <PATH_ELEMENT>
180
- <option name="myItemId" value="External Libraries" />
181
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
182
- </PATH_ELEMENT>
183
197
  </PATH>
184
198
  <PATH>
185
199
  <PATH_ELEMENT>
@@ -239,6 +253,7 @@
239
253
  </PATH>
240
254
  </subPane>
241
255
  </pane>
256
+ <pane id="Scope" />
242
257
  </panes>
243
258
  </component>
244
259
  <component name="PropertiesComponent">
@@ -485,17 +500,6 @@
485
500
  <envs />
486
501
  <method />
487
502
  </configuration>
488
- <configuration default="true" type="ErlangApplicationRunConfiguration" factoryName="Erlang Application">
489
- <module name="" />
490
- <option name="erlFlags" value="" />
491
- <option name="moduleAndFunction" value="" />
492
- <option name="name" value="Erlang" />
493
- <option name="params" value="" />
494
- <option name="saveOutputToFile" value="false" />
495
- <option name="showConsoleOnStdErr" value="false" />
496
- <option name="showConsoleOnStdOut" value="false" />
497
- <method />
498
- </configuration>
499
503
  <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
500
504
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
501
505
  <module name="" />
@@ -528,16 +532,6 @@
528
532
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
529
533
  <method />
530
534
  </configuration>
531
- <configuration default="true" type="RebarEunitRunConfigurationType" factoryName="Erlang Rebar Eunit">
532
- <module name="" />
533
- <option name="command" value="eunit" />
534
- <option name="name" value="Erlang Rebar Eunit" />
535
- <option name="saveOutputToFile" value="false" />
536
- <option name="showConsoleOnStdErr" value="false" />
537
- <option name="showConsoleOnStdOut" value="false" />
538
- <option name="skipDependencies" value="true" />
539
- <method />
540
- </configuration>
541
535
  <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
542
536
  <module name="" />
543
537
  <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -561,21 +555,6 @@
561
555
  <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
562
556
  <method />
563
557
  </configuration>
564
- <configuration default="true" type="ErlangUnitRunConfigurationType" factoryName="Erlang Eunit">
565
- <module name="" />
566
- <option name="name" value="Erlang" />
567
- <option name="saveOutputToFile" value="false" />
568
- <option name="showConsoleOnStdErr" value="false" />
569
- <option name="showConsoleOnStdOut" value="false" />
570
- <option name="functionNames">
571
- <set />
572
- </option>
573
- <option name="kind" value="MODULE" />
574
- <option name="moduleNames">
575
- <set />
576
- </option>
577
- <method />
578
- </configuration>
579
558
  <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
580
559
  <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
581
560
  <module name="" />
@@ -607,11 +586,16 @@
607
586
  <configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" working-dir="">
608
587
  <method />
609
588
  </configuration>
589
+ <configuration default="true" type="cucumber.js" factoryName="Cucumber.js">
590
+ <option name="cucumberJsArguments" value="" />
591
+ <option name="executablePath" />
592
+ <option name="filePath" />
593
+ <method />
594
+ </configuration>
610
595
  <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
611
596
  <node-options />
612
597
  <gulpfile />
613
598
  <tasks />
614
- <arguments />
615
599
  <pass-parent-envs>true</pass-parent-envs>
616
600
  <envs />
617
601
  <method />
@@ -628,9 +612,9 @@
628
612
  <list size="5">
629
613
  <item index="0" class="java.lang.String" itemvalue="RSpec.ZipDSL#build excludes specified directories: zip_dsl" />
630
614
  <item index="1" class="java.lang.String" itemvalue="RSpec.Run spec 'zip_dsl_spec': zip_dsl" />
631
- <item index="2" class="java.lang.String" itemvalue="RSpec.ZipDSL#build excludes specified directory: zip_dsl" />
632
- <item index="3" class="java.lang.String" itemvalue="RSpec.ZipDSL#build updates existing zip file: zip_dsl" />
633
- <item index="4" class="java.lang.String" itemvalue="RSpec.ZipDSL#build should create new zip file with new empty folder: zip_dsl" />
615
+ <item index="2" class="java.lang.String" itemvalue="RSpec.ZipDSL#build updates existing zip file: zip_dsl" />
616
+ <item index="3" class="java.lang.String" itemvalue="RSpec.ZipDSL#build should create new zip file with new empty folder: zip_dsl" />
617
+ <item index="4" class="java.lang.String" itemvalue="RSpec.ZipDSL#build excludes specified directory: zip_dsl" />
634
618
  </list>
635
619
  </recent_temporary>
636
620
  </component>
@@ -739,34 +723,35 @@
739
723
  <servers />
740
724
  </component>
741
725
  <component name="ToolWindowManager">
742
- <frame x="39" y="23" width="1401" height="877" extended-state="6" />
726
+ <frame x="48" y="23" width="1599" height="995" extended-state="0" />
743
727
  <editor active="false" />
744
728
  <layout>
745
- <window_info id="Changes" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2535211" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
746
- <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3290653" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
747
- <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="3" side_tool="false" content_ui="tabs" />
748
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39820743" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
749
- <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" />
750
- <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" />
751
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3295562" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
752
- <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" />
729
+ <window_info id="Dilbert" 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" />
730
+ <window_info id="Changes" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2522831" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
731
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.28424656" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
753
732
  <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" />
754
733
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.38189846" sideWeight="0.42694497" order="1" side_tool="true" content_ui="tabs" />
755
734
  <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
756
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.38189846" sideWeight="0.573055" order="0" side_tool="false" content_ui="combo" />
757
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32522407" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
758
- <window_info id="Tail" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
735
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3436095" sideWeight="0.573055" order="0" side_tool="false" content_ui="combo" />
736
+ <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" />
737
+ <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" />
738
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3295562" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
739
+ <window_info id="Copy/Paste" 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" />
759
740
  <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" />
741
+ <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="3" side_tool="false" content_ui="tabs" />
760
742
  <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" />
761
743
  <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" />
762
744
  <window_info id="Cabal" 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" />
745
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32522407" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
763
746
  <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" />
764
747
  <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" />
765
- <window_info id="Dilbert" 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" />
766
748
  <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" />
767
749
  <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3277849" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
768
750
  <window_info id="Heroku" 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" />
751
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39820743" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
752
+ <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" />
769
753
  <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" />
754
+ <window_info id="Tail" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
770
755
  <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" />
771
756
  </layout>
772
757
  <layout-to-restore>
@@ -848,7 +833,7 @@
848
833
  </line-breakpoint>
849
834
  <line-breakpoint enabled="true" type="ruby-line">
850
835
  <url>file://$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb</url>
851
- <line>64</line>
836
+ <line>105</line>
852
837
  <option name="timeStamp" value="35" />
853
838
  </line-breakpoint>
854
839
  </breakpoints>
@@ -869,7 +854,10 @@
869
854
  <provider selected="true" editor-type-id="text-editor">
870
855
  <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="915">
871
856
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
872
- <folding />
857
+ <folding>
858
+ <marker date="1424541494000" expanded="true" signature="475:509" placeholder="{ ... }" />
859
+ <marker date="1424541494000" expanded="true" signature="558:584" placeholder="{ ... }" />
860
+ </folding>
873
861
  </state>
874
862
  </provider>
875
863
  </entry>
@@ -905,7 +893,10 @@
905
893
  <provider selected="true" editor-type-id="text-editor">
906
894
  <state vertical-scroll-proportion="0.0" vertical-offset="540" max-vertical-offset="1050">
907
895
  <caret line="36" column="0" selection-start-line="36" selection-start-column="0" selection-end-line="36" selection-end-column="0" />
908
- <folding />
896
+ <folding>
897
+ <marker date="1424541494000" expanded="true" signature="475:509" placeholder="{ ... }" />
898
+ <marker date="1424541494000" expanded="true" signature="558:584" placeholder="{ ... }" />
899
+ </folding>
909
900
  </state>
910
901
  </provider>
911
902
  </entry>
@@ -956,7 +947,10 @@
956
947
  <provider selected="true" editor-type-id="text-editor">
957
948
  <state vertical-scroll-proportion="0.0" vertical-offset="540" max-vertical-offset="1050">
958
949
  <caret line="36" column="0" selection-start-line="36" selection-start-column="0" selection-end-line="36" selection-end-column="0" />
959
- <folding />
950
+ <folding>
951
+ <marker date="1424541494000" expanded="true" signature="475:509" placeholder="{ ... }" />
952
+ <marker date="1424541494000" expanded="true" signature="558:584" placeholder="{ ... }" />
953
+ </folding>
960
954
  </state>
961
955
  </provider>
962
956
  </entry>
@@ -993,7 +987,10 @@
993
987
  <provider selected="true" editor-type-id="text-editor">
994
988
  <state vertical-scroll-proportion="0.0" vertical-offset="540" max-vertical-offset="1050">
995
989
  <caret line="36" column="0" selection-start-line="36" selection-start-column="0" selection-end-line="36" selection-end-column="0" />
996
- <folding />
990
+ <folding>
991
+ <marker date="1424541494000" expanded="true" signature="475:509" placeholder="{ ... }" />
992
+ <marker date="1424541494000" expanded="true" signature="558:584" placeholder="{ ... }" />
993
+ </folding>
997
994
  </state>
998
995
  </provider>
999
996
  </entry>
@@ -1034,14 +1031,14 @@
1034
1031
  </provider>
1035
1032
  </entry>
1036
1033
  <entry file="file://$PROJECT_DIR$/README.md">
1037
- <provider editor-type-id="MarkdownPreviewEditor">
1038
- <state />
1039
- </provider>
1040
1034
  <provider selected="true" editor-type-id="text-editor">
1041
1035
  <state vertical-scroll-proportion="0.0" vertical-offset="1190" max-vertical-offset="1462">
1042
1036
  <caret line="70" column="14" selection-start-line="70" selection-start-column="14" selection-end-line="70" selection-end-column="14" />
1043
1037
  </state>
1044
1038
  </provider>
1039
+ <provider editor-type-id="MarkdownPreviewEditor">
1040
+ <state />
1041
+ </provider>
1045
1042
  </entry>
1046
1043
  <entry file="file://$PROJECT_DIR$/lib/zip_dsl.rb">
1047
1044
  <provider selected="true" editor-type-id="text-editor">
@@ -1054,7 +1051,10 @@
1054
1051
  <provider selected="true" editor-type-id="text-editor">
1055
1052
  <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1224">
1056
1053
  <caret line="0" column="21" selection-start-line="0" selection-start-column="21" selection-end-line="0" selection-end-column="21" />
1057
- <folding />
1054
+ <folding>
1055
+ <marker date="1424541494000" expanded="true" signature="475:509" placeholder="{ ... }" />
1056
+ <marker date="1424541494000" expanded="true" signature="558:584" placeholder="{ ... }" />
1057
+ </folding>
1058
1058
  </state>
1059
1059
  </provider>
1060
1060
  </entry>
@@ -1095,14 +1095,14 @@
1095
1095
  </provider>
1096
1096
  </entry>
1097
1097
  <entry file="file://$PROJECT_DIR$/README.md">
1098
- <provider editor-type-id="MarkdownPreviewEditor">
1099
- <state />
1100
- </provider>
1101
1098
  <provider selected="true" editor-type-id="text-editor">
1102
1099
  <state vertical-scroll-proportion="0.0" vertical-offset="1050" max-vertical-offset="1290">
1103
1100
  <caret line="70" column="14" selection-start-line="70" selection-start-column="14" selection-end-line="70" selection-end-column="14" />
1104
1101
  </state>
1105
1102
  </provider>
1103
+ <provider editor-type-id="MarkdownPreviewEditor">
1104
+ <state />
1105
+ </provider>
1106
1106
  </entry>
1107
1107
  <entry file="file://$PROJECT_DIR$/lib/zip_dsl.rb">
1108
1108
  <provider selected="true" editor-type-id="text-editor">
@@ -1115,7 +1115,10 @@
1115
1115
  <provider selected="true" editor-type-id="text-editor">
1116
1116
  <state vertical-scroll-proportion="0.0" vertical-offset="75" max-vertical-offset="1080">
1117
1117
  <caret line="5" column="0" selection-start-line="5" selection-start-column="0" selection-end-line="5" selection-end-column="0" />
1118
- <folding />
1118
+ <folding>
1119
+ <marker date="1424541494000" expanded="true" signature="475:509" placeholder="{ ... }" />
1120
+ <marker date="1424541494000" expanded="true" signature="558:584" placeholder="{ ... }" />
1121
+ </folding>
1119
1122
  </state>
1120
1123
  </provider>
1121
1124
  </entry>
@@ -1141,14 +1144,14 @@
1141
1144
  </provider>
1142
1145
  </entry>
1143
1146
  <entry file="file://$PROJECT_DIR$/README.md">
1144
- <provider editor-type-id="MarkdownPreviewEditor">
1145
- <state />
1146
- </provider>
1147
1147
  <provider selected="true" editor-type-id="text-editor">
1148
1148
  <state vertical-scroll-proportion="0.0" vertical-offset="1050" max-vertical-offset="1290">
1149
1149
  <caret line="70" column="14" selection-start-line="70" selection-start-column="14" selection-end-line="70" selection-end-column="14" />
1150
1150
  </state>
1151
1151
  </provider>
1152
+ <provider editor-type-id="MarkdownPreviewEditor">
1153
+ <state />
1154
+ </provider>
1152
1155
  </entry>
1153
1156
  <entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_reader.rb">
1154
1157
  <provider selected="true" editor-type-id="text-editor">
@@ -1185,42 +1188,45 @@
1185
1188
  </state>
1186
1189
  </provider>
1187
1190
  </entry>
1188
- <entry file="file://$PROJECT_DIR$/Gemfile">
1191
+ <entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb">
1189
1192
  <provider selected="true" editor-type-id="text-editor">
1190
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="330">
1191
- <caret line="5" column="20" selection-start-line="5" selection-start-column="20" selection-end-line="5" selection-end-column="20" />
1192
- <folding />
1193
+ <state vertical-scroll-proportion="0.0" vertical-offset="170" max-vertical-offset="1071">
1194
+ <caret line="10" column="0" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
1195
+ <folding>
1196
+ <marker date="1424541494000" expanded="true" signature="475:509" placeholder="{ ... }" />
1197
+ <marker date="1424541494000" expanded="true" signature="558:584" placeholder="{ ... }" />
1198
+ </folding>
1193
1199
  </state>
1194
1200
  </provider>
1195
1201
  </entry>
1196
- <entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb">
1202
+ <entry file="file://$PROJECT_DIR$/spec/zip_dsl_spec.rb">
1197
1203
  <provider selected="true" editor-type-id="text-editor">
1198
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="945">
1199
- <caret line="8" column="0" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
1204
+ <state vertical-scroll-proportion="0.0" vertical-offset="1683" max-vertical-offset="2363">
1205
+ <caret line="99" column="47" selection-start-line="99" selection-start-column="47" selection-end-line="99" selection-end-column="47" />
1200
1206
  <folding />
1201
1207
  </state>
1202
1208
  </provider>
1203
1209
  </entry>
1204
- <entry file="file://$PROJECT_DIR$/spec/zip_dsl_spec.rb">
1210
+ <entry file="file://$PROJECT_DIR$/Gemfile.lock">
1205
1211
  <provider selected="true" editor-type-id="text-editor">
1206
- <state vertical-scroll-proportion="0.0" vertical-offset="1169" max-vertical-offset="2085">
1207
- <caret line="90" column="58" selection-start-line="90" selection-start-column="58" selection-end-line="90" selection-end-column="58" />
1212
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="765">
1213
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1208
1214
  <folding />
1209
1215
  </state>
1210
1216
  </provider>
1211
1217
  </entry>
1212
- <entry file="file://$USER_HOME$/.rvm/gems/ruby-2.2.0@zip_dsl/gems/file_utils-1.1.2/lib/file_utils/directory_scanner.rb">
1218
+ <entry file="file://$PROJECT_DIR$/Gemfile">
1213
1219
  <provider selected="true" editor-type-id="text-editor">
1214
- <state vertical-scroll-proportion="0.18036072" vertical-offset="0" max-vertical-offset="1170">
1215
- <caret line="6" column="0" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
1220
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="481">
1221
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="3" selection-end-column="11" />
1216
1222
  <folding />
1217
1223
  </state>
1218
1224
  </provider>
1219
1225
  </entry>
1220
1226
  <entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb">
1221
1227
  <provider selected="true" editor-type-id="text-editor">
1222
- <state vertical-scroll-proportion="0.0" vertical-offset="1049" max-vertical-offset="2265">
1223
- <caret line="81" column="0" selection-start-line="81" selection-start-column="0" selection-end-line="81" selection-end-column="0" />
1228
+ <state vertical-scroll-proportion="0.0" vertical-offset="1513" max-vertical-offset="2737">
1229
+ <caret line="101" column="54" selection-start-line="101" selection-start-column="54" selection-end-line="101" selection-end-column="54" />
1224
1230
  <folding />
1225
1231
  </state>
1226
1232
  </provider>
@@ -1235,8 +1241,8 @@
1235
1241
  </entry>
1236
1242
  <entry file="file://$PROJECT_DIR$/CHANGES">
1237
1243
  <provider selected="true" editor-type-id="text-editor">
1238
- <state vertical-scroll-proportion="1.1135135" vertical-offset="192" max-vertical-offset="945">
1239
- <caret line="54" column="16" selection-start-line="54" selection-start-column="16" selection-end-line="54" selection-end-column="16" />
1244
+ <state vertical-scroll-proportion="1.1084529" vertical-offset="291" max-vertical-offset="1139">
1245
+ <caret line="58" column="9" selection-start-line="58" selection-start-column="1" selection-end-line="58" selection-end-column="9" />
1240
1246
  <folding />
1241
1247
  </state>
1242
1248
  </provider>
@@ -227,8 +227,9 @@
227
227
  <content url="file://$MODULE_DIR$" />
228
228
  <orderEntry type="jdk" jdkName="RVM: ruby-2.2.0 [zip_dsl]" jdkType="RUBY_SDK" />
229
229
  <orderEntry type="sourceFolder" forTests="false" />
230
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.9, RVM: ruby-2.2.0 [zip_dsl]) [gem]" level="application" />
230
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.11, RVM: ruby-2.2.0 [zip_dsl]) [gem]" level="application" />
231
231
  <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-2.2.0 [zip_dsl]) [gem]" level="application" />
232
+ <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.1.2, RVM: ruby-2.2.0 [zip_dsl]) [gem]" level="application" />
232
233
  <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-2.2.0 [zip_dsl]) [gem]" level="application" />
233
234
  <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-2.2.0 [zip_dsl]) [gem]" level="application" />
234
235
  <orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.3.0, RVM: ruby-2.2.0 [zip_dsl]) [gem]" level="application" />
data/CHANGES CHANGED
@@ -50,8 +50,12 @@
50
50
 
51
51
  == Version 1.5.0
52
52
 
53
- * Merging zip_updated into zip_writer.
53
+ * Merging zip_updated into zip_writer
54
54
  * Use directory_scanner
55
55
  * Introduce includes/excludes
56
56
 
57
+ == Version 1.5.1
58
+
59
+ * Bug fix.
60
+
57
61
 
@@ -1,3 +1,3 @@
1
1
  class ZipDSL
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
3
3
  end
@@ -29,7 +29,7 @@ class ZipWriter
29
29
  if @new_file
30
30
  add_file full_name(params[:name]), to_dir
31
31
  else
32
- add_or_replace_file full_name(params[:name]), "#{to_dir}/#{params[:name]}"
32
+ add_or_replace_file full_name(params[:name]), to_dir, params[:name]
33
33
  end
34
34
  end
35
35
 
@@ -65,12 +65,22 @@ class ZipWriter
65
65
  from1 + from2
66
66
  end
67
67
 
68
- def add_or_replace_file from_name, to_name
69
- begin
70
- @zipfile.add to_name, from_name
71
- rescue Zip::ZipEntryExistsError
68
+ def add_or_replace_file from_name, to_dir, name
69
+ to_name = "#{to_dir}/#{name}"
70
+
71
+ entry = @zipfile.find_entry(to_name)
72
+
73
+ if entry
72
74
  @zipfile.replace to_name, from_name
75
+ else
76
+ @zipfile.add to_name, from_name
73
77
  end
78
+
79
+ # begin
80
+ # @zipfile.add to_name, from_name
81
+ # rescue Zip::ZipEntryExistsError
82
+ # @zipfile.replace to_name, from_name
83
+ # end
74
84
  end
75
85
 
76
86
  def add_file name, to_dir = nil
@@ -89,9 +99,9 @@ class ZipWriter
89
99
  if @new_file
90
100
  add_file file_name, dir
91
101
  else
92
- to_name = "#{dir}/#{file_name[full_name(dir).size+1..-1]}"
102
+ to_name = "#{file_name[full_name(dir).size-11..-1]}"
93
103
 
94
- add_or_replace_file file_name, to_name
104
+ add_or_replace_file file_name, dir, to_name
95
105
  end
96
106
  end
97
107
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zip_dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets