zip_dsl 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.idea/workspace.xml +255 -97
- data/.idea/zip_dsl.iml +16 -16
- data/CHANGES +3 -0
- data/Gemfile +1 -1
- data/lib/zip_dsl/version.rb +1 -1
- data/lib/zip_dsl/zip_dsl.rb +7 -9
- data/spec/zip_dsl_spec.rb +21 -21
- data/zip_dsl.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmVlMzllMzZmMmQ3MDFhNzMwZmRiNzFjYWM2YTE2ZDQyODdkZTIyNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGI5Y2MwN2ZlY2QwODVjNWJlNTJjMjEyMGM1MDI2YTZlZDgyNTMzNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2JhYWZkMzZlZmZlMjRkYjkxMGZkN2IxM2Y3NTliNmEyYmJlNGMwNzliMjI3
|
10
|
+
MjZlZDM1NGYwMzc3NjVlODgyNDlmNmVmZDc5MmQ5OWIwYTA2MjBkNjRlZTYz
|
11
|
+
NDA3OTg0ZDg5NjY3ODY1YjIyYmEyODViZTBiZjIyYTE3MWM0YzA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Yzc4YzgxZjA5NTJkZjMwMmM5NTUzOTJkN2Y5Njg2MWQwZTFjZDAxM2Y3Nzg1
|
14
|
+
MTZlYzcxNTUyMDY5ZWQzMDI5ZTI1NDAyMWUwOTc5ODM2NmM5NTM0MTI3ZGFm
|
15
|
+
NmExNTZjZmNmNTZkYzliM2E0ZDFlZTgzZDY2Yjk1MjA0NGExYzQ=
|
data/.idea/workspace.xml
CHANGED
@@ -1,10 +1,15 @@
|
|
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$/lib/zip_dsl/version.rb" afterPath="$PROJECT_DIR$/lib/zip_dsl/version.rb" />
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/zip_dsl.gemspec" afterPath="$PROJECT_DIR$/zip_dsl.gemspec" />
|
7
|
+
</list>
|
5
8
|
<ignored path="zip_dsl.iws" />
|
6
9
|
<ignored path=".idea/workspace.xml" />
|
7
10
|
<ignored path="build" />
|
11
|
+
<ignored path=".idea/dataSources.local.xml" />
|
12
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
8
13
|
<option name="TRACKING_ENABLED" value="true" />
|
9
14
|
<option name="SHOW_DIALOG" value="false" />
|
10
15
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
@@ -13,11 +18,11 @@
|
|
13
18
|
</component>
|
14
19
|
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
15
20
|
<component name="CoverageDataManager">
|
21
|
+
<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" />
|
22
|
+
<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" />
|
23
|
+
<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="1415037141035" 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" />
|
16
24
|
<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" />
|
17
25
|
<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" />
|
18
|
-
<SUITE FILE_PATH="coverage/zip_dsl@zip_dsl_spec.coverage" NAME="zip_dsl_spec Coverage Results" MODIFIED="1395780163805" 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
|
-
<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" />
|
20
|
-
<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="1384277318541" 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
26
|
</component>
|
22
27
|
<component name="CreatePatchCommitExecutor">
|
23
28
|
<option name="PATCH_PATH" value="" />
|
@@ -31,94 +36,101 @@
|
|
31
36
|
</component>
|
32
37
|
<component name="FileEditorManager">
|
33
38
|
<leaf>
|
34
|
-
<file leaf-file-name="zip_dsl_spec.rb" pinned="false" current
|
39
|
+
<file leaf-file-name="zip_dsl_spec.rb" pinned="false" current-in-tab="false">
|
35
40
|
<entry file="file://$PROJECT_DIR$/spec/zip_dsl_spec.rb">
|
36
41
|
<provider selected="true" editor-type-id="text-editor">
|
37
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="
|
38
|
-
<caret line="
|
42
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2210">
|
43
|
+
<caret line="36" column="48" selection-start-line="36" selection-start-column="48" selection-end-line="36" selection-end-column="48" />
|
39
44
|
<folding />
|
40
45
|
</state>
|
41
46
|
</provider>
|
42
47
|
</entry>
|
43
48
|
</file>
|
44
|
-
<file leaf-file-name="
|
45
|
-
<entry file="file://$
|
49
|
+
<file leaf-file-name="memoized_helpers.rb" pinned="false" current-in-tab="false">
|
50
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p550@zip_dsl/gems/rspec-core-3.1.7/lib/rspec/core/memoized_helpers.rb">
|
46
51
|
<provider selected="true" editor-type-id="text-editor">
|
47
|
-
<state vertical-scroll-proportion="
|
48
|
-
<caret line="
|
52
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="1923" max-vertical-offset="8126">
|
53
|
+
<caret line="125" column="0" selection-start-line="125" selection-start-column="0" selection-end-line="125" selection-end-column="0" />
|
49
54
|
<folding />
|
50
55
|
</state>
|
51
56
|
</provider>
|
52
57
|
</entry>
|
53
58
|
</file>
|
54
|
-
<file leaf-file-name="
|
55
|
-
<entry file="file://$PROJECT_DIR$/
|
59
|
+
<file leaf-file-name="CHANGES" pinned="false" current-in-tab="true">
|
60
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
56
61
|
<provider selected="true" editor-type-id="text-editor">
|
57
|
-
<state vertical-scroll-proportion="
|
58
|
-
<caret line="
|
62
|
+
<state vertical-scroll-proportion="1.0840579" vertical-offset="0" max-vertical-offset="884">
|
63
|
+
<caret line="44" column="36" selection-start-line="44" selection-start-column="2" selection-end-line="44" selection-end-column="36" />
|
59
64
|
<folding />
|
60
65
|
</state>
|
61
66
|
</provider>
|
62
67
|
</entry>
|
63
68
|
</file>
|
64
|
-
<file leaf-file-name="
|
65
|
-
<entry file="file://$PROJECT_DIR$/
|
69
|
+
<file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
|
70
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
66
71
|
<provider selected="true" editor-type-id="text-editor">
|
67
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
68
|
-
<caret line="
|
72
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="374">
|
73
|
+
<caret line="5" column="32" selection-start-line="5" selection-start-column="32" selection-end-line="5" selection-end-column="32" />
|
69
74
|
<folding />
|
70
75
|
</state>
|
71
76
|
</provider>
|
72
77
|
</entry>
|
73
78
|
</file>
|
74
|
-
<file leaf-file-name="
|
75
|
-
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/
|
79
|
+
<file leaf-file-name="zip_dsl.rb" pinned="false" current-in-tab="false">
|
80
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb">
|
76
81
|
<provider selected="true" editor-type-id="text-editor">
|
77
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
78
|
-
<caret line="
|
82
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="410" max-vertical-offset="1190">
|
83
|
+
<caret line="36" column="0" selection-start-line="36" selection-start-column="0" selection-end-line="36" selection-end-column="0" />
|
79
84
|
<folding />
|
80
85
|
</state>
|
81
86
|
</provider>
|
82
87
|
</entry>
|
83
88
|
</file>
|
84
|
-
<file leaf-file-name="
|
85
|
-
<entry file="file://$
|
89
|
+
<file leaf-file-name="singleton.rb" pinned="false" current-in-tab="false">
|
90
|
+
<entry file="file://$USER_HOME$/.rvm/rubies/ruby-1.9.3-p550/lib/ruby/1.9.1/singleton.rb">
|
86
91
|
<provider selected="true" editor-type-id="text-editor">
|
87
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
88
|
-
<caret line="
|
92
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="2127" max-vertical-offset="3026">
|
93
|
+
<caret line="137" column="0" selection-start-line="137" selection-start-column="0" selection-end-line="137" selection-end-column="0" />
|
89
94
|
<folding />
|
90
95
|
</state>
|
91
96
|
</provider>
|
92
|
-
|
93
|
-
|
97
|
+
</entry>
|
98
|
+
</file>
|
99
|
+
<file leaf-file-name="dsl_builder.rb" pinned="false" current-in-tab="false">
|
100
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p550@zip_dsl/gems/meta_methods-1.2.0/lib/meta_methods/dsl_builder.rb">
|
101
|
+
<provider selected="true" editor-type-id="text-editor">
|
102
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="72" max-vertical-offset="680">
|
103
|
+
<caret line="20" column="0" selection-start-line="20" selection-start-column="0" selection-end-line="20" selection-end-column="0" />
|
104
|
+
<folding />
|
105
|
+
</state>
|
94
106
|
</provider>
|
95
107
|
</entry>
|
96
108
|
</file>
|
97
|
-
<file leaf-file-name="
|
98
|
-
<entry file="file://$
|
109
|
+
<file leaf-file-name="syntax.rb" pinned="false" current-in-tab="false">
|
110
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p550@zip_dsl/gems/rspec-expectations-3.1.2/lib/rspec/expectations/syntax.rb">
|
99
111
|
<provider selected="true" editor-type-id="text-editor">
|
100
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
101
|
-
<caret line="
|
112
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="546" max-vertical-offset="2346">
|
113
|
+
<caret line="44" column="0" selection-start-line="44" selection-start-column="0" selection-end-line="44" selection-end-column="0" />
|
102
114
|
<folding />
|
103
115
|
</state>
|
104
116
|
</provider>
|
105
117
|
</entry>
|
106
118
|
</file>
|
107
|
-
<file leaf-file-name="
|
108
|
-
<entry file="file://$
|
119
|
+
<file leaf-file-name="example.rb" pinned="false" current-in-tab="false">
|
120
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p550@zip_dsl/gems/rspec-core-3.1.7/lib/rspec/core/example.rb">
|
109
121
|
<provider selected="true" editor-type-id="text-editor">
|
110
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
111
|
-
<caret line="
|
122
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="2586" max-vertical-offset="8636">
|
123
|
+
<caret line="164" column="0" selection-start-line="164" selection-start-column="0" selection-end-line="164" selection-end-column="0" />
|
112
124
|
<folding />
|
113
125
|
</state>
|
114
126
|
</provider>
|
115
127
|
</entry>
|
116
128
|
</file>
|
117
|
-
<file leaf-file-name="version.rb" pinned="false" current
|
129
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
|
118
130
|
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/version.rb">
|
119
131
|
<provider selected="true" editor-type-id="text-editor">
|
120
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="
|
121
|
-
<caret line="
|
132
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="153">
|
133
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
122
134
|
<folding />
|
123
135
|
</state>
|
124
136
|
</provider>
|
@@ -139,33 +151,14 @@
|
|
139
151
|
<MyDateState />
|
140
152
|
</option>
|
141
153
|
</component>
|
142
|
-
<component name="
|
143
|
-
<
|
144
|
-
<list>
|
145
|
-
<option value="$PROJECT_DIR$/lib/zip_dsl.rb" />
|
146
|
-
<option value="$PROJECT_DIR$/spec/zip_builder_spec.rb" />
|
147
|
-
<option value="$PROJECT_DIR$/.ruby-version" />
|
148
|
-
<option value="$PROJECT_DIR$/.gitignore" />
|
149
|
-
<option value="$PROJECT_DIR$/Rakefile" />
|
150
|
-
<option value="$PROJECT_DIR$/Gemfile" />
|
151
|
-
<option value="$PROJECT_DIR$/zip_dsl.gemspec.erb" />
|
152
|
-
<option value="$PROJECT_DIR$/LICENSE" />
|
153
|
-
<option value="$PROJECT_DIR$/lib/zip_dsl/zip_updater.rb" />
|
154
|
-
<option value="$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb" />
|
155
|
-
<option value="$PROJECT_DIR$/spec/zip_dsl_spec.rb" />
|
156
|
-
<option value="$PROJECT_DIR$/README.md" />
|
157
|
-
<option value="$PROJECT_DIR$/lib/zip_dsl/zip_reader.rb" />
|
158
|
-
<option value="$PROJECT_DIR$/CHANGES" />
|
159
|
-
<option value="$PROJECT_DIR$/lib/zip_dsl/version.rb" />
|
160
|
-
<option value="$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb" />
|
161
|
-
</list>
|
162
|
-
</option>
|
154
|
+
<component name="JsGulpfileManager">
|
155
|
+
<detection-done>true</detection-done>
|
163
156
|
</component>
|
164
157
|
<component name="ProjectFrameBounds">
|
165
|
-
<option name="x" value="
|
158
|
+
<option name="x" value="48" />
|
166
159
|
<option name="y" value="22" />
|
167
|
-
<option name="width" value="
|
168
|
-
<option name="height" value="
|
160
|
+
<option name="width" value="1872" />
|
161
|
+
<option name="height" value="1178" />
|
169
162
|
</component>
|
170
163
|
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
171
164
|
<OptionsSetting value="true" id="Add" />
|
@@ -193,6 +186,7 @@
|
|
193
186
|
<sortByType />
|
194
187
|
</navigator>
|
195
188
|
<panes>
|
189
|
+
<pane id="Scope" />
|
196
190
|
<pane id="ProjectPane">
|
197
191
|
<subPane>
|
198
192
|
<PATH>
|
@@ -259,7 +253,6 @@
|
|
259
253
|
</PATH>
|
260
254
|
</subPane>
|
261
255
|
</pane>
|
262
|
-
<pane id="Scope" />
|
263
256
|
</panes>
|
264
257
|
</component>
|
265
258
|
<component name="PropertiesComponent">
|
@@ -577,6 +570,15 @@
|
|
577
570
|
<configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" working-dir="">
|
578
571
|
<method />
|
579
572
|
</configuration>
|
573
|
+
<configuration default="true" type="cucumber.js" factoryName="Cucumber.js">
|
574
|
+
<option name="cucumberJsArguments" value="" />
|
575
|
+
<option name="executablePath" />
|
576
|
+
<option name="filePath" />
|
577
|
+
<method />
|
578
|
+
</configuration>
|
579
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
580
|
+
<method />
|
581
|
+
</configuration>
|
580
582
|
<list size="6">
|
581
583
|
<item index="0" class="java.lang.String" itemvalue="Rake.rake" />
|
582
584
|
<item index="1" class="java.lang.String" itemvalue="RSpec.ZipDSL" />
|
@@ -600,82 +602,113 @@
|
|
600
602
|
<task active="true" id="Default" summary="Default task">
|
601
603
|
<changelist id="aafa5aec-b597-47d5-af91-f7b63300321f" name="Default" comment="" />
|
602
604
|
<created>1368117187393</created>
|
605
|
+
<option name="number" value="Default" />
|
603
606
|
<updated>1368117187393</updated>
|
604
607
|
</task>
|
605
608
|
<task id="LOCAL-00001" summary="Bug fixes">
|
606
609
|
<created>1380661967016</created>
|
610
|
+
<option name="number" value="00001" />
|
611
|
+
<option name="project" value="LOCAL" />
|
607
612
|
<updated>1380661967016</updated>
|
608
613
|
</task>
|
609
614
|
<task id="LOCAL-00002" summary="Bug fixes">
|
610
615
|
<created>1380661978616</created>
|
616
|
+
<option name="number" value="00002" />
|
617
|
+
<option name="project" value="LOCAL" />
|
611
618
|
<updated>1380661978616</updated>
|
612
619
|
</task>
|
613
620
|
<task id="LOCAL-00003" summary="Bug fixes">
|
614
621
|
<created>1380662487368</created>
|
622
|
+
<option name="number" value="00003" />
|
623
|
+
<option name="project" value="LOCAL" />
|
615
624
|
<updated>1380662487368</updated>
|
616
625
|
</task>
|
617
626
|
<task id="LOCAL-00004" summary="Bug fixes">
|
618
627
|
<created>1380664427013</created>
|
628
|
+
<option name="number" value="00004" />
|
629
|
+
<option name="project" value="LOCAL" />
|
619
630
|
<updated>1380664427013</updated>
|
620
631
|
</task>
|
621
632
|
<task id="LOCAL-00005" summary="Bug fixes">
|
622
633
|
<created>1380732048458</created>
|
634
|
+
<option name="number" value="00005" />
|
635
|
+
<option name="project" value="LOCAL" />
|
623
636
|
<updated>1380732048458</updated>
|
624
637
|
</task>
|
625
638
|
<task id="LOCAL-00006" summary="Bug fixes">
|
626
639
|
<created>1380732116843</created>
|
640
|
+
<option name="number" value="00006" />
|
641
|
+
<option name="project" value="LOCAL" />
|
627
642
|
<updated>1380732116844</updated>
|
628
643
|
</task>
|
629
644
|
<task id="LOCAL-00007" summary="updating README">
|
630
645
|
<created>1383424429406</created>
|
646
|
+
<option name="number" value="00007" />
|
647
|
+
<option name="project" value="LOCAL" />
|
631
648
|
<updated>1383424429406</updated>
|
632
649
|
</task>
|
633
650
|
<task id="LOCAL-00008" summary=" Adding each_entry method.">
|
634
651
|
<created>1384208984587</created>
|
652
|
+
<option name="number" value="00008" />
|
653
|
+
<option name="project" value="LOCAL" />
|
635
654
|
<updated>1384208984587</updated>
|
636
655
|
</task>
|
637
656
|
<task id="LOCAL-00009" summary="Changes in API">
|
638
657
|
<created>1384277734104</created>
|
658
|
+
<option name="number" value="00009" />
|
659
|
+
<option name="project" value="LOCAL" />
|
639
660
|
<updated>1384277734104</updated>
|
640
661
|
</task>
|
641
662
|
<task id="LOCAL-00010" summary="Changes in API ">
|
642
663
|
<created>1384277876551</created>
|
664
|
+
<option name="number" value="00010" />
|
665
|
+
<option name="project" value="LOCAL" />
|
643
666
|
<updated>1384277876551</updated>
|
644
667
|
</task>
|
645
668
|
<task id="LOCAL-00011" summary="Changing meta_methods gem version.">
|
646
|
-
<created>
|
647
|
-
<
|
669
|
+
<created>1415037380427</created>
|
670
|
+
<option name="number" value="00011" />
|
671
|
+
<option name="project" value="LOCAL" />
|
672
|
+
<updated>1415037380427</updated>
|
648
673
|
</task>
|
649
|
-
<
|
674
|
+
<task id="LOCAL-00012" summary="Changing meta_methods gem version.">
|
675
|
+
<created>1415037399072</created>
|
676
|
+
<option name="number" value="00012" />
|
677
|
+
<option name="project" value="LOCAL" />
|
678
|
+
<updated>1415037399072</updated>
|
679
|
+
</task>
|
680
|
+
<option name="localTasksCounter" value="13" />
|
650
681
|
<servers />
|
651
682
|
</component>
|
652
683
|
<component name="ToolWindowManager">
|
653
|
-
<frame x="
|
684
|
+
<frame x="48" y="22" width="1872" height="1178" extended-state="6" />
|
654
685
|
<editor active="false" />
|
655
686
|
<layout>
|
656
|
-
<window_info id="
|
657
|
-
<window_info id="
|
658
|
-
<window_info id="
|
687
|
+
<window_info id="Changes" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32200187" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
688
|
+
<window_info id="Terminal" 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" />
|
689
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3286119" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
659
690
|
<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" />
|
660
|
-
<window_info id="
|
661
|
-
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39957035" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
691
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39943343" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
662
692
|
<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" />
|
663
693
|
<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" />
|
664
|
-
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.
|
694
|
+
<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" />
|
665
695
|
<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" />
|
666
696
|
<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" />
|
667
697
|
<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" />
|
668
|
-
<window_info id="
|
669
|
-
<window_info id="
|
698
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
699
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.34590164" sideWeight="0.6728972" order="0" side_tool="false" content_ui="combo" />
|
700
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32766762" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
701
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
670
702
|
<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" />
|
703
|
+
<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" />
|
671
704
|
<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" />
|
672
705
|
<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" />
|
673
706
|
<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" />
|
674
707
|
<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" />
|
675
708
|
<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" />
|
676
709
|
<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" />
|
677
|
-
<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" />
|
678
710
|
<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" />
|
711
|
+
<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" />
|
679
712
|
</layout>
|
680
713
|
</component>
|
681
714
|
<component name="Vcs.Log.UiProperties">
|
@@ -726,19 +759,100 @@
|
|
726
759
|
</line-breakpoint>
|
727
760
|
<line-breakpoint enabled="true" type="ruby-line">
|
728
761
|
<url>file://$PROJECT_DIR$/spec/zip_dsl_spec.rb</url>
|
729
|
-
<line>
|
730
|
-
<option name="timeStamp" value="
|
762
|
+
<line>24</line>
|
763
|
+
<option name="timeStamp" value="9" />
|
731
764
|
</line-breakpoint>
|
732
765
|
<line-breakpoint enabled="true" type="ruby-line">
|
733
766
|
<url>file://$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb</url>
|
734
|
-
<line>
|
735
|
-
<option name="timeStamp" value="
|
767
|
+
<line>19</line>
|
768
|
+
<option name="timeStamp" value="10" />
|
769
|
+
</line-breakpoint>
|
770
|
+
<line-breakpoint enabled="true" type="ruby-line">
|
771
|
+
<url>file://$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb</url>
|
772
|
+
<line>36</line>
|
773
|
+
<option name="timeStamp" value="11" />
|
736
774
|
</line-breakpoint>
|
737
775
|
</breakpoints>
|
738
|
-
<option name="time" value="
|
776
|
+
<option name="time" value="12" />
|
739
777
|
</breakpoint-manager>
|
778
|
+
<watches-manager />
|
740
779
|
</component>
|
741
780
|
<component name="editorHistoryManager">
|
781
|
+
<entry file="file://$PROJECT_DIR$/spec/zip_dsl_spec.rb">
|
782
|
+
<provider selected="true" editor-type-id="text-editor">
|
783
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="17" max-vertical-offset="2210">
|
784
|
+
<caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
|
785
|
+
<folding />
|
786
|
+
</state>
|
787
|
+
</provider>
|
788
|
+
</entry>
|
789
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
790
|
+
<provider selected="true" editor-type-id="text-editor">
|
791
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="100">
|
792
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
793
|
+
<folding />
|
794
|
+
</state>
|
795
|
+
</provider>
|
796
|
+
</entry>
|
797
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_writer.rb">
|
798
|
+
<provider selected="true" editor-type-id="text-editor">
|
799
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="68" max-vertical-offset="1972">
|
800
|
+
<caret line="4" column="0" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
|
801
|
+
<folding />
|
802
|
+
</state>
|
803
|
+
</provider>
|
804
|
+
</entry>
|
805
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_reader.rb">
|
806
|
+
<provider selected="true" editor-type-id="text-editor">
|
807
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="255" max-vertical-offset="1394">
|
808
|
+
<caret line="15" column="36" selection-start-line="15" selection-start-column="36" selection-end-line="15" selection-end-column="36" />
|
809
|
+
<folding />
|
810
|
+
</state>
|
811
|
+
</provider>
|
812
|
+
</entry>
|
813
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_updater.rb">
|
814
|
+
<provider selected="true" editor-type-id="text-editor">
|
815
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="51" max-vertical-offset="1904">
|
816
|
+
<caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
817
|
+
<folding />
|
818
|
+
</state>
|
819
|
+
</provider>
|
820
|
+
</entry>
|
821
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
822
|
+
<provider selected="true" editor-type-id="text-editor">
|
823
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="1190" max-vertical-offset="1462">
|
824
|
+
<caret line="70" column="14" selection-start-line="70" selection-start-column="14" selection-end-line="70" selection-end-column="14" />
|
825
|
+
<folding />
|
826
|
+
</state>
|
827
|
+
</provider>
|
828
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
829
|
+
<state />
|
830
|
+
</provider>
|
831
|
+
</entry>
|
832
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl.rb">
|
833
|
+
<provider selected="true" editor-type-id="text-editor">
|
834
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="34" max-vertical-offset="170">
|
835
|
+
<caret line="2" column="24" selection-start-line="2" selection-start-column="24" selection-end-line="2" selection-end-column="24" />
|
836
|
+
<folding />
|
837
|
+
</state>
|
838
|
+
</provider>
|
839
|
+
</entry>
|
840
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb">
|
841
|
+
<provider selected="true" editor-type-id="text-editor">
|
842
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1224">
|
843
|
+
<caret line="0" column="21" selection-start-line="0" selection-start-column="21" selection-end-line="0" selection-end-column="21" />
|
844
|
+
<folding />
|
845
|
+
</state>
|
846
|
+
</provider>
|
847
|
+
</entry>
|
848
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/version.rb">
|
849
|
+
<provider selected="true" editor-type-id="text-editor">
|
850
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="51" max-vertical-offset="153">
|
851
|
+
<caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
852
|
+
<folding />
|
853
|
+
</state>
|
854
|
+
</provider>
|
855
|
+
</entry>
|
742
856
|
<entry file="file://$PROJECT_DIR$/spec/zip_dsl_spec.rb">
|
743
857
|
<provider selected="true" editor-type-id="text-editor">
|
744
858
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1950">
|
@@ -848,9 +962,6 @@
|
|
848
962
|
<caret line="21" column="63" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
849
963
|
</state>
|
850
964
|
</provider>
|
851
|
-
<provider editor-type-id="com.intellij.persistence.database.editor.CsvTableFileEditorProvider">
|
852
|
-
<state />
|
853
|
-
</provider>
|
854
965
|
</entry>
|
855
966
|
<entry file="file://$PROJECT_DIR$/lib/zip_dsl.rb">
|
856
967
|
<provider selected="true" editor-type-id="text-editor">
|
@@ -895,38 +1006,85 @@
|
|
895
1006
|
</state>
|
896
1007
|
</provider>
|
897
1008
|
</entry>
|
898
|
-
<entry file="file://$PROJECT_DIR$/
|
1009
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
899
1010
|
<provider selected="true" editor-type-id="text-editor">
|
900
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="
|
901
|
-
<caret line="
|
1011
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="374">
|
1012
|
+
<caret line="5" column="32" selection-start-line="5" selection-start-column="32" selection-end-line="5" selection-end-column="32" />
|
1013
|
+
<folding />
|
1014
|
+
</state>
|
1015
|
+
</provider>
|
1016
|
+
</entry>
|
1017
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p550@zip_dsl/gems/rspec-expectations-3.1.2/lib/rspec/expectations/syntax.rb">
|
1018
|
+
<provider selected="true" editor-type-id="text-editor">
|
1019
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="546" max-vertical-offset="2346">
|
1020
|
+
<caret line="44" column="0" selection-start-line="44" selection-start-column="0" selection-end-line="44" selection-end-column="0" />
|
1021
|
+
<folding />
|
1022
|
+
</state>
|
1023
|
+
</provider>
|
1024
|
+
</entry>
|
1025
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p550@zip_dsl/gems/rspec-core-3.1.7/lib/rspec/core/example.rb">
|
1026
|
+
<provider selected="true" editor-type-id="text-editor">
|
1027
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="2586" max-vertical-offset="8636">
|
1028
|
+
<caret line="164" column="0" selection-start-line="164" selection-start-column="0" selection-end-line="164" selection-end-column="0" />
|
1029
|
+
<folding />
|
1030
|
+
</state>
|
1031
|
+
</provider>
|
1032
|
+
</entry>
|
1033
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p550@zip_dsl/gems/rspec-core-3.1.7/lib/rspec/core/memoized_helpers.rb">
|
1034
|
+
<provider selected="true" editor-type-id="text-editor">
|
1035
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="1923" max-vertical-offset="8126">
|
1036
|
+
<caret line="125" column="0" selection-start-line="125" selection-start-column="0" selection-end-line="125" selection-end-column="0" />
|
902
1037
|
<folding />
|
903
1038
|
</state>
|
904
1039
|
</provider>
|
905
1040
|
</entry>
|
906
1041
|
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/zip_dsl.rb">
|
907
1042
|
<provider selected="true" editor-type-id="text-editor">
|
908
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
909
|
-
<caret line="
|
1043
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="410" max-vertical-offset="1190">
|
1044
|
+
<caret line="36" column="0" selection-start-line="36" selection-start-column="0" selection-end-line="36" selection-end-column="0" />
|
1045
|
+
<folding />
|
1046
|
+
</state>
|
1047
|
+
</provider>
|
1048
|
+
</entry>
|
1049
|
+
<entry file="file://$USER_HOME$/.rvm/rubies/ruby-1.9.3-p550/lib/ruby/1.9.1/singleton.rb">
|
1050
|
+
<provider selected="true" editor-type-id="text-editor">
|
1051
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="2127" max-vertical-offset="3026">
|
1052
|
+
<caret line="137" column="0" selection-start-line="137" selection-start-column="0" selection-end-line="137" selection-end-column="0" />
|
1053
|
+
<folding />
|
1054
|
+
</state>
|
1055
|
+
</provider>
|
1056
|
+
</entry>
|
1057
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p550@zip_dsl/gems/meta_methods-1.2.0/lib/meta_methods/dsl_builder.rb">
|
1058
|
+
<provider selected="true" editor-type-id="text-editor">
|
1059
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="72" max-vertical-offset="680">
|
1060
|
+
<caret line="20" column="0" selection-start-line="20" selection-start-column="0" selection-end-line="20" selection-end-column="0" />
|
910
1061
|
<folding />
|
911
1062
|
</state>
|
912
1063
|
</provider>
|
913
1064
|
</entry>
|
914
1065
|
<entry file="file://$PROJECT_DIR$/spec/zip_dsl_spec.rb">
|
915
1066
|
<provider selected="true" editor-type-id="text-editor">
|
916
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="
|
917
|
-
<caret line="
|
1067
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2210">
|
1068
|
+
<caret line="36" column="48" selection-start-line="36" selection-start-column="48" selection-end-line="36" selection-end-column="48" />
|
1069
|
+
<folding />
|
1070
|
+
</state>
|
1071
|
+
</provider>
|
1072
|
+
</entry>
|
1073
|
+
<entry file="file://$PROJECT_DIR$/lib/zip_dsl/version.rb">
|
1074
|
+
<provider selected="true" editor-type-id="text-editor">
|
1075
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="153">
|
1076
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
918
1077
|
<folding />
|
919
1078
|
</state>
|
920
1079
|
</provider>
|
921
1080
|
</entry>
|
922
1081
|
<entry file="file://$PROJECT_DIR$/CHANGES">
|
923
1082
|
<provider selected="true" editor-type-id="text-editor">
|
924
|
-
<state vertical-scroll-proportion="1.
|
925
|
-
<caret line="
|
1083
|
+
<state vertical-scroll-proportion="1.0840579" vertical-offset="0" max-vertical-offset="884">
|
1084
|
+
<caret line="44" column="36" selection-start-line="44" selection-start-column="2" selection-end-line="44" selection-end-column="36" />
|
926
1085
|
<folding />
|
927
1086
|
</state>
|
928
1087
|
</provider>
|
929
1088
|
</entry>
|
930
1089
|
</component>
|
931
|
-
</project>
|
932
|
-
|
1090
|
+
</project>
|
data/.idea/zip_dsl.iml
CHANGED
@@ -221,21 +221,21 @@
|
|
221
221
|
</component>
|
222
222
|
<component name="NewModuleRootManager">
|
223
223
|
<content url="file://$MODULE_DIR$" />
|
224
|
-
<orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-
|
224
|
+
<orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p550 [zip_dsl]" jdkType="RUBY_SDK" />
|
225
225
|
<orderEntry type="sourceFolder" forTests="false" />
|
226
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.
|
227
|
-
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-1.9.3-
|
228
|
-
<orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-1.9.3-
|
229
|
-
<orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-
|
230
|
-
<orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-1.9.3-
|
231
|
-
<orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.
|
232
|
-
<orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.4, RVM: ruby-1.9.3-
|
233
|
-
<orderEntry type="library" scope="PROVIDED" name="mocha (v1.
|
234
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec (
|
235
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-core (
|
236
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (
|
237
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (
|
238
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
226
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.4, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
227
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
228
|
+
<orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
229
|
+
<orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
230
|
+
<orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
231
|
+
<orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.2.0, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
232
|
+
<orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.4, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
233
|
+
<orderEntry type="library" scope="PROVIDED" name="mocha (v1.1.0, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
234
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.1.0, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
235
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.1.7, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
236
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.1.2, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
237
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.1.3, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
238
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.1.2, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
239
|
+
<orderEntry type="library" scope="PROVIDED" name="zip (v2.0.2, RVM: ruby-1.9.3-p550 [zip_dsl]) [gem]" level="application" />
|
239
240
|
</component>
|
240
|
-
</module>
|
241
|
-
|
241
|
+
</module>
|
data/CHANGES
CHANGED
data/Gemfile
CHANGED
data/lib/zip_dsl/version.rb
CHANGED
data/lib/zip_dsl/zip_dsl.rb
CHANGED
@@ -1,8 +1,6 @@
|
|
1
|
-
require 'meta_methods'
|
1
|
+
require 'meta_methods/dsl_builder'
|
2
2
|
|
3
3
|
class ZipDSL
|
4
|
-
include MetaMethods::Core
|
5
|
-
|
6
4
|
attr_reader :name, :from_dir
|
7
5
|
|
8
6
|
def initialize name, from_dir = nil
|
@@ -19,7 +17,7 @@ class ZipDSL
|
|
19
17
|
create_block = lambda { ZipWriter.new(name, from_dir) }
|
20
18
|
destroy_block = lambda {|writer| writer.close }
|
21
19
|
|
22
|
-
evaluate_dsl(create_block, destroy_block, execute_block)
|
20
|
+
MetaMethods::DslBuilder.instance.evaluate_dsl(create_block, destroy_block, execute_block)
|
23
21
|
end
|
24
22
|
|
25
23
|
def update(name=nil, &execute_block)
|
@@ -28,7 +26,7 @@ class ZipDSL
|
|
28
26
|
create_block = lambda { ZipUpdater.new(name, from_dir) }
|
29
27
|
destroy_block = lambda {|updater| updater.close }
|
30
28
|
|
31
|
-
evaluate_dsl(create_block, destroy_block, execute_block)
|
29
|
+
MetaMethods::DslBuilder.instance.evaluate_dsl(create_block, destroy_block, execute_block)
|
32
30
|
end
|
33
31
|
|
34
32
|
def entry_exist? entry_name
|
@@ -36,7 +34,7 @@ class ZipDSL
|
|
36
34
|
destroy_block = lambda {|reader| reader.close }
|
37
35
|
execute_block = lambda { |reader| reader.entry_exist?(entry_name) }
|
38
36
|
|
39
|
-
evaluate_dsl(create_block, destroy_block, execute_block)
|
37
|
+
MetaMethods::DslBuilder.instance.evaluate_dsl(create_block, destroy_block, execute_block)
|
40
38
|
end
|
41
39
|
|
42
40
|
def entries_size
|
@@ -44,7 +42,7 @@ class ZipDSL
|
|
44
42
|
destroy_block = lambda {|reader| reader.close }
|
45
43
|
execute_block = lambda { |reader| reader.entries_size }
|
46
44
|
|
47
|
-
evaluate_dsl(create_block, destroy_block, execute_block)
|
45
|
+
MetaMethods::DslBuilder.instance.evaluate_dsl(create_block, destroy_block, execute_block)
|
48
46
|
end
|
49
47
|
|
50
48
|
def list dir="."
|
@@ -52,7 +50,7 @@ class ZipDSL
|
|
52
50
|
destroy_block = lambda {|reader| reader.close }
|
53
51
|
execute_block = lambda { |reader| reader.list(dir) }
|
54
52
|
|
55
|
-
evaluate_dsl(create_block, destroy_block, execute_block)
|
53
|
+
MetaMethods::DslBuilder.instance.evaluate_dsl(create_block, destroy_block, execute_block)
|
56
54
|
end
|
57
55
|
|
58
56
|
def each_entry dir=".", &code
|
@@ -60,7 +58,7 @@ class ZipDSL
|
|
60
58
|
destroy_block = lambda {|reader| reader.close }
|
61
59
|
execute_block = lambda { |reader| reader.each_entry(dir, &code) }
|
62
60
|
|
63
|
-
evaluate_dsl(create_block, destroy_block, execute_block)
|
61
|
+
MetaMethods::DslBuilder.instance.evaluate_dsl(create_block, destroy_block, execute_block)
|
64
62
|
end
|
65
63
|
end
|
66
64
|
|
data/spec/zip_dsl_spec.rb
CHANGED
@@ -22,11 +22,11 @@ describe ZipDSL do
|
|
22
22
|
file :name => "spec/spec_helper.rb", :to_dir => "my_config"
|
23
23
|
end
|
24
24
|
|
25
|
-
subject.entry_exist?("Gemfile").
|
26
|
-
subject.entry_exist?("my_config/Rakefile").
|
27
|
-
subject.entry_exist?("my_config/spec_helper.rb").
|
25
|
+
expect(subject.entry_exist?("Gemfile")).to be_truthy
|
26
|
+
expect(subject.entry_exist?("my_config/Rakefile")).to be_truthy
|
27
|
+
expect(subject.entry_exist?("my_config/spec_helper.rb")).to be_truthy
|
28
28
|
|
29
|
-
subject.entries_size.
|
29
|
+
expect(subject.entries_size).to eq 3
|
30
30
|
end
|
31
31
|
|
32
32
|
it "should create new zip file with file created from string" do
|
@@ -34,8 +34,8 @@ describe ZipDSL do
|
|
34
34
|
content :name => "README", :source => "My README file content"
|
35
35
|
end
|
36
36
|
|
37
|
-
subject.entry_exist?("README").
|
38
|
-
subject.entries_size.
|
37
|
+
expect(subject.entry_exist?("README")).to be_truthy
|
38
|
+
expect(subject.entries_size).to eq 1
|
39
39
|
end
|
40
40
|
|
41
41
|
it "should create new zip file with file created from file" do
|
@@ -44,8 +44,8 @@ describe ZipDSL do
|
|
44
44
|
content :name => "Rakefile", :source => src
|
45
45
|
end
|
46
46
|
|
47
|
-
subject.entry_exist?("Rakefile").
|
48
|
-
subject.entries_size.
|
47
|
+
expect(subject.entry_exist?("Rakefile")).to be_truthy
|
48
|
+
expect(subject.entries_size).to eq 1
|
49
49
|
end
|
50
50
|
|
51
51
|
it "should create new zip file with new empty folder" do
|
@@ -53,8 +53,8 @@ describe ZipDSL do
|
|
53
53
|
directory :to_dir => "my_config"
|
54
54
|
end
|
55
55
|
|
56
|
-
subject.entry_exist?("my_config").
|
57
|
-
subject.entries_size.
|
56
|
+
expect(subject.entry_exist?("my_config")).to be_truthy
|
57
|
+
expect(subject.entries_size).to eq 1
|
58
58
|
end
|
59
59
|
|
60
60
|
it "should create new zip file with new folder" do
|
@@ -62,8 +62,8 @@ describe ZipDSL do
|
|
62
62
|
directory :from_dir => "spec", :to_dir => "my_config"
|
63
63
|
end
|
64
64
|
|
65
|
-
subject.entry_exist?("my_config").
|
66
|
-
subject.entries_size.
|
65
|
+
expect(subject.entry_exist?("my_config")).to be_truthy
|
66
|
+
expect(subject.entries_size).to be > 1
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
@@ -73,17 +73,17 @@ describe ZipDSL do
|
|
73
73
|
file :name => "Gemfile"
|
74
74
|
end
|
75
75
|
|
76
|
-
File.exist?(subject.name).
|
77
|
-
subject.entry_exist?("Gemfile").
|
76
|
+
expect(File.exist?(subject.name)).to be_truthy
|
77
|
+
expect(subject.entry_exist?("Gemfile")).to be_truthy
|
78
78
|
|
79
79
|
subject.update do
|
80
80
|
file :name => "README.md"
|
81
81
|
directory :from_dir => "lib"
|
82
82
|
end
|
83
83
|
|
84
|
-
subject.entry_exist?("Gemfile").
|
85
|
-
subject.entry_exist?("README.md").
|
86
|
-
subject.entry_exist?("lib/zip_dsl/version.rb").
|
84
|
+
expect(subject.entry_exist?("Gemfile")).to be_truthy
|
85
|
+
expect(subject.entry_exist?("README.md")).to be_truthy
|
86
|
+
expect(subject.entry_exist?("lib/zip_dsl/version.rb")).to be_truthy
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
@@ -93,7 +93,7 @@ describe ZipDSL do
|
|
93
93
|
directory :from_dir => "spec"
|
94
94
|
end
|
95
95
|
|
96
|
-
subject.list.
|
96
|
+
expect(subject.list).to include "spec/spec_helper.rb"
|
97
97
|
end
|
98
98
|
|
99
99
|
it "should display files in specified subdirectory" do
|
@@ -101,7 +101,7 @@ describe ZipDSL do
|
|
101
101
|
directory :from_dir => "lib"
|
102
102
|
end
|
103
103
|
|
104
|
-
subject.list("lib/zip_dsl").first.
|
104
|
+
expect(subject.list("lib/zip_dsl").first).to match %r{lib/zip_dsl/version.rb}
|
105
105
|
end
|
106
106
|
end
|
107
107
|
|
@@ -117,8 +117,8 @@ describe ZipDSL do
|
|
117
117
|
contents << content
|
118
118
|
end
|
119
119
|
|
120
|
-
contents.first.name.
|
121
|
-
contents.first.get_input_stream.read.
|
120
|
+
expect(contents.first.name).to eq "lib/zip_dsl/version.rb"
|
121
|
+
expect(contents.first.get_input_stream.read).to match %r{class ZipDSL}
|
122
122
|
end
|
123
123
|
end
|
124
124
|
end
|
data/zip_dsl.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
|
20
20
|
spec.add_runtime_dependency "zip", [">= 0"]
|
21
21
|
spec.add_runtime_dependency "file_utils", [">= 0"]
|
22
|
-
spec.add_runtime_dependency "meta_methods", ["
|
22
|
+
spec.add_runtime_dependency "meta_methods", ["~> 1.2.0"]
|
23
23
|
spec.add_development_dependency "gemspec_deps_gen", [">= 0"]
|
24
24
|
spec.add_development_dependency "gemcutter", [">= 0"]
|
25
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zip_dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Shvets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03
|
11
|
+
date: 2014-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zip
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: meta_methods
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.2.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.2.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: gemspec_deps_gen
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
137
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.
|
138
|
+
rubygems_version: 2.4.2
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Library for working with zip file in DSL-way
|