dir_dsl 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWM0YzUzYWE4ZWY1ZWNlMzJkYTk1NTAwOTg5ZTc1ZmFmZTViY2MyOQ==
4
+ ZDA2ZTZmMDllY2E0MGFhYWM5OWMyMDg0Y2M3ZDhhNmIzZjgxODQxNg==
5
5
  data.tar.gz: !binary |-
6
- YzExMDdlMDRjYmZiMTA5NWFmNDNhOWIyNDRiOTBhNzExMmU2ZjM5Mg==
6
+ NzViMWFhNjkzYzE0OGFlMjMxYzcxYjE5MWU2MWIyOWFhYTY3YTA4YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTE3MWZiMmIwNzVmYjVlODY0OWE2YzQ4YmIzMGRlNjE1ODI0YWUzM2QyYmRl
10
- NWIwM2VmNTRjOTM1ZTQ4ODU1ZTc5M2EzZWM4MWJjN2ZjYjU1YTkxMGZlNjUy
11
- MWQ3NzE0Y2IwZDE3MTA5MDEyMWM4ZDMzYzM5NzFmNzE0MmM5ZDI=
9
+ OTk4NGE5OWIyYmY5MGY5ZTNjOTRkZWVkNTk0MWQ4NWY3NjFlNDJiNWI1ZDFl
10
+ ZjI2MGNhMTNkYjk4ZDU1M2IwMzcyMTVkM2Q1Y2UzODBjMjJjMmE1YzExOWRl
11
+ N2JhYjE1ZDFmMThiZDRkN2JjMGM5MzU1NzFhOTM1NTdhZDExYTQ=
12
12
  data.tar.gz: !binary |-
13
- MDAyZTZhOGNlMWIwMjczNjU0ZjE3YTA0ODcxMTQyNGMzY2UwY2NjYzQ5MDk1
14
- YjgwOGU1MTAzMDM0ZDg1YzA0ZDYyM2IyYjdlOGNjMWM2ZTM3YWExOGY1MWI4
15
- MzU5MDBiZGFlMGE5M2EyNTY5NmMyNjc4MTIxZDFkMTJkY2IwMTM=
13
+ NWFjNjY4YWE3MjNlMDUxMWQ3ZTFmNzg0ODFhZjczNGY1MzA5OTBiODk2ZGFi
14
+ OGZiZmMxOGYzMjlhNTYwN2QyMDI2YWIzOTc2YTI5MzczNzQ3YTBmZDNmODE4
15
+ MDNiMTliMWVlZjRjMjI0MTNjYTNjZGQxNzllOTMzZjk5ZTA2OTI=
data/.idea/dir_dsl.iml CHANGED
@@ -201,20 +201,20 @@
201
201
  </component>
202
202
  <component name="NewModuleRootManager">
203
203
  <content url="file://$MODULE_DIR$" />
204
- <orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p545 [dir_dsl]" jdkType="RUBY_SDK" />
204
+ <orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p550 [dir_dsl]" jdkType="RUBY_SDK" />
205
205
  <orderEntry type="sourceFolder" forTests="false" />
206
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.5.3, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
207
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
208
- <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
209
- <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
210
- <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
211
- <orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.1.0, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
212
- <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.4, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
213
- <orderEntry type="library" scope="PROVIDED" name="mocha (v1.0.0, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
214
- <orderEntry type="library" scope="PROVIDED" name="rspec (v2.14.1, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
215
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.14.8, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
216
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.14.5, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
217
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.14.6, RVM: ruby-1.9.3-p545 [dir_dsl]) [gem]" level="application" />
206
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.4, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
207
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
208
+ <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
209
+ <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
210
+ <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
211
+ <orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.1.0, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
212
+ <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.4, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
213
+ <orderEntry type="library" scope="PROVIDED" name="mocha (v1.0.0, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
214
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v2.14.1, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
215
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.1.7, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
216
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.1.2, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
217
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.1.3, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
218
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.1.2, RVM: ruby-1.9.3-p550 [dir_dsl]) [gem]" level="application" />
218
219
  </component>
219
- </module>
220
-
220
+ </module>
data/.idea/workspace.xml CHANGED
@@ -1,9 +1,20 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
- <list default="true" id="926fa2c3-b388-4ecb-b462-c1ec2e5a539e" name="Default" comment="" />
4
+ <list default="true" id="926fa2c3-b388-4ecb-b462-c1ec2e5a539e" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile.lock" afterPath="$PROJECT_DIR$/Gemfile.lock" />
7
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/dir_dsl.iml" afterPath="$PROJECT_DIR$/.idea/dir_dsl.iml" />
9
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/dir_dsl/dir_dsl.rb" afterPath="$PROJECT_DIR$/lib/dir_dsl/dir_dsl.rb" />
10
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/dir_dsl_spec.rb" afterPath="$PROJECT_DIR$/spec/dir_dsl_spec.rb" />
11
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/dir_dsl/version.rb" afterPath="$PROJECT_DIR$/lib/dir_dsl/version.rb" />
12
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
13
+ </list>
5
14
  <ignored path="dir_dsl.iws" />
6
15
  <ignored path=".idea/workspace.xml" />
16
+ <ignored path=".idea/dataSources.local.xml" />
17
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
7
18
  <option name="TRACKING_ENABLED" value="true" />
8
19
  <option name="SHOW_DIALOG" value="false" />
9
20
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -12,7 +23,7 @@
12
23
  </component>
13
24
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
14
25
  <component name="CoverageDataManager">
15
- <SUITE FILE_PATH="coverage/dir_dsl@dir_dsl_spec.coverage" NAME="dir_dsl_spec Coverage Results" MODIFIED="1395779940920" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="dir_dsl" />
26
+ <SUITE FILE_PATH="coverage/dir_dsl@dir_dsl_spec.coverage" NAME="dir_dsl_spec Coverage Results" MODIFIED="1415037628761" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="dir_dsl" />
16
27
  </component>
17
28
  <component name="CreatePatchCommitExecutor">
18
29
  <option name="PATCH_PATH" value="" />
@@ -26,60 +37,90 @@
26
37
  </component>
27
38
  <component name="FileEditorManager">
28
39
  <leaf>
29
- <file leaf-file-name="dir_dsl.rb" pinned="false" current="false" current-in-tab="false">
40
+ <file leaf-file-name="dir_dsl.rb" pinned="false" current-in-tab="false">
30
41
  <entry file="file://$PROJECT_DIR$/lib/dir_dsl/dir_dsl.rb">
31
42
  <provider selected="true" editor-type-id="text-editor">
32
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2310">
33
- <caret line="17" column="5" selection-start-line="17" selection-start-column="5" selection-end-line="17" selection-end-column="5" />
43
+ <state vertical-scroll-proportion="-9.807693" vertical-offset="0" max-vertical-offset="2601">
44
+ <caret line="15" column="37" selection-start-line="15" selection-start-column="4" selection-end-line="15" selection-end-column="37" />
34
45
  <folding />
35
46
  </state>
36
47
  </provider>
37
48
  </entry>
38
49
  </file>
39
- <file leaf-file-name="dir_dsl.rb" pinned="false" current="false" current-in-tab="false">
50
+ <file leaf-file-name="dir_dsl.rb" pinned="false" current-in-tab="false">
40
51
  <entry file="file://$PROJECT_DIR$/lib/dir_dsl.rb">
41
52
  <provider selected="true" editor-type-id="text-editor">
42
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="105">
53
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="119">
43
54
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="25" />
44
55
  <folding />
45
56
  </state>
46
57
  </provider>
47
58
  </entry>
48
59
  </file>
49
- <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
60
+ <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
50
61
  <entry file="file://$PROJECT_DIR$/lib/dir_dsl/version.rb">
51
62
  <provider selected="true" editor-type-id="text-editor">
52
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
63
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="153">
53
64
  <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
54
65
  <folding />
55
66
  </state>
56
67
  </provider>
57
68
  </entry>
58
69
  </file>
59
- <file leaf-file-name="CHANGES" pinned="false" current="true" current-in-tab="true">
70
+ <file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
71
+ <entry file="file://$PROJECT_DIR$/Gemfile">
72
+ <provider selected="true" editor-type-id="text-editor">
73
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="357">
74
+ <caret line="4" column="0" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="32" />
75
+ <folding />
76
+ </state>
77
+ </provider>
78
+ </entry>
79
+ </file>
80
+ <file leaf-file-name="CHANGES" pinned="false" current-in-tab="true">
60
81
  <entry file="file://$PROJECT_DIR$/CHANGES">
61
82
  <provider selected="true" editor-type-id="text-editor">
62
- <state vertical-scroll-proportion="0.5651491" vertical-offset="0" max-vertical-offset="637">
63
- <caret line="24" column="0" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="36" />
83
+ <state vertical-scroll-proportion="0.6547455" vertical-offset="0" max-vertical-offset="727">
84
+ <caret line="28" column="1" selection-start-line="28" selection-start-column="1" selection-end-line="28" selection-end-column="35" />
64
85
  <folding />
65
86
  </state>
66
87
  </provider>
67
88
  </entry>
68
89
  </file>
69
- <file leaf-file-name="dir_dsl_spec.rb" pinned="false" current="false" current-in-tab="false">
90
+ <file leaf-file-name="dir_dsl_spec.rb" pinned="false" current-in-tab="false">
70
91
  <entry file="file://$PROJECT_DIR$/spec/dir_dsl_spec.rb">
71
92
  <provider selected="true" editor-type-id="text-editor">
72
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1455">
73
- <caret line="2" column="17" selection-start-line="2" selection-start-column="17" selection-end-line="2" selection-end-column="17" />
93
+ <state vertical-scroll-proportion="-8.423077" vertical-offset="189" max-vertical-offset="1649">
94
+ <caret line="24" column="0" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
95
+ <folding />
96
+ </state>
97
+ </provider>
98
+ </entry>
99
+ </file>
100
+ <file leaf-file-name="spec_helper.rb" pinned="false" current-in-tab="false">
101
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
102
+ <provider selected="true" editor-type-id="text-editor">
103
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="119">
104
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
105
+ <folding />
106
+ </state>
107
+ </provider>
108
+ </entry>
109
+ </file>
110
+ <file leaf-file-name="core.rb" pinned="false" current-in-tab="false">
111
+ <entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p550@dir_dsl/gems/meta_methods-1.2.0/lib/meta_methods/core.rb">
112
+ <provider selected="true" editor-type-id="text-editor">
113
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="969">
114
+ <caret line="2" column="0" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
74
115
  <folding />
75
116
  </state>
76
117
  </provider>
77
118
  </entry>
78
119
  </file>
79
- <file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
120
+ <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
80
121
  <entry file="file://$PROJECT_DIR$/README.md">
81
122
  <provider editor-type-id="text-editor">
82
- <state vertical-scroll-proportion="0.0" vertical-offset="412" max-vertical-offset="1065">
123
+ <state vertical-scroll-proportion="0.0" vertical-offset="969" max-vertical-offset="1207">
83
124
  <caret line="57" column="41" selection-start-line="57" selection-start-column="41" selection-end-line="57" selection-end-column="41" />
84
125
  <folding />
85
126
  </state>
@@ -104,28 +145,14 @@
104
145
  <MyDateState />
105
146
  </option>
106
147
  </component>
107
- <component name="IdeDocumentHistory">
108
- <option name="changedFiles">
109
- <list>
110
- <option value="$PROJECT_DIR$/.ruby-gemset" />
111
- <option value="$PROJECT_DIR$/lib/dir_dsl/directory_builder.rb" />
112
- <option value="$PROJECT_DIR$/Rakefile" />
113
- <option value="$PROJECT_DIR$/spec/dir_dsl_spec.rb" />
114
- <option value="$PROJECT_DIR$/Gemfile" />
115
- <option value="$PROJECT_DIR$/dir_dsl.gemspec.erb" />
116
- <option value="$PROJECT_DIR$/README.md" />
117
- <option value="$PROJECT_DIR$/lib/dir_dsl/dir_dsl.rb" />
118
- <option value="$PROJECT_DIR$/lib/dir_dsl.rb" />
119
- <option value="$PROJECT_DIR$/lib/dir_dsl/version.rb" />
120
- <option value="$PROJECT_DIR$/CHANGES" />
121
- </list>
122
- </option>
148
+ <component name="JsGulpfileManager">
149
+ <detection-done>true</detection-done>
123
150
  </component>
124
151
  <component name="ProjectFrameBounds">
125
- <option name="x" value="188" />
152
+ <option name="x" value="48" />
126
153
  <option name="y" value="22" />
127
- <option name="width" value="1492" />
128
- <option name="height" value="1028" />
154
+ <option name="width" value="1872" />
155
+ <option name="height" value="1178" />
129
156
  </component>
130
157
  <component name="ProjectLevelVcsManager" settingsEditedManually="true">
131
158
  <OptionsSetting value="true" id="Add" />
@@ -153,6 +180,7 @@
153
180
  <sortByType />
154
181
  </navigator>
155
182
  <panes>
183
+ <pane id="Scope" />
156
184
  <pane id="ProjectPane">
157
185
  <subPane>
158
186
  <PATH>
@@ -219,7 +247,6 @@
219
247
  </PATH>
220
248
  </subPane>
221
249
  </pane>
222
- <pane id="Scope" />
223
250
  </panes>
224
251
  </component>
225
252
  <component name="PropertiesComponent">
@@ -530,6 +557,12 @@
530
557
  <configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" working-dir="">
531
558
  <method />
532
559
  </configuration>
560
+ <configuration default="true" type="cucumber.js" factoryName="Cucumber.js">
561
+ <option name="cucumberJsArguments" value="" />
562
+ <option name="executablePath" />
563
+ <option name="filePath" />
564
+ <method />
565
+ </configuration>
533
566
  <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
534
567
  <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
535
568
  <module name="" />
@@ -567,6 +600,9 @@
567
600
  <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
568
601
  <method />
569
602
  </configuration>
603
+ <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
604
+ <method />
605
+ </configuration>
570
606
  <list size="5">
571
607
  <item index="0" class="java.lang.String" itemvalue="RSpec.DirDSL should display files in current directory" />
572
608
  <item index="1" class="java.lang.String" itemvalue="RSpec.DirDSL should display files in specified subdirectory" />
@@ -606,80 +642,99 @@
606
642
  <task active="true" id="Default" summary="Default task">
607
643
  <changelist id="926fa2c3-b388-4ecb-b462-c1ec2e5a539e" name="Default" comment="" />
608
644
  <created>1380572290543</created>
645
+ <option name="number" value="Default" />
609
646
  <updated>1380572290543</updated>
610
647
  </task>
611
648
  <task id="LOCAL-00001" summary="initial release">
612
649
  <created>1380573596216</created>
650
+ <option name="number" value="00001" />
651
+ <option name="project" value="LOCAL" />
613
652
  <updated>1380573596216</updated>
614
653
  </task>
615
654
  <task id="LOCAL-00002" summary="initial release">
616
655
  <created>1380573952346</created>
656
+ <option name="number" value="00002" />
657
+ <option name="project" value="LOCAL" />
617
658
  <updated>1380573952346</updated>
618
659
  </task>
619
660
  <task id="LOCAL-00003" summary="Bug fixes">
620
661
  <created>1380642341355</created>
662
+ <option name="number" value="00003" />
663
+ <option name="project" value="LOCAL" />
621
664
  <updated>1380642341355</updated>
622
665
  </task>
623
666
  <task id="LOCAL-00004" summary="Bug fixes">
624
667
  <created>1380642357759</created>
668
+ <option name="number" value="00004" />
669
+ <option name="project" value="LOCAL" />
625
670
  <updated>1380642357759</updated>
626
671
  </task>
627
672
  <task id="LOCAL-00005" summary="Bug fixes">
628
673
  <created>1380642634659</created>
674
+ <option name="number" value="00005" />
675
+ <option name="project" value="LOCAL" />
629
676
  <updated>1380642634659</updated>
630
677
  </task>
631
678
  <task id="LOCAL-00006" summary="Bug fixes">
632
679
  <created>1380654002759</created>
680
+ <option name="number" value="00006" />
681
+ <option name="project" value="LOCAL" />
633
682
  <updated>1380654002759</updated>
634
683
  </task>
635
684
  <task id="LOCAL-00007" summary="Bug fixes">
636
685
  <created>1380731930686</created>
686
+ <option name="number" value="00007" />
687
+ <option name="project" value="LOCAL" />
637
688
  <updated>1380731930686</updated>
638
689
  </task>
639
690
  <task id="LOCAL-00008" summary="Bug fixes">
640
691
  <created>1380922709449</created>
692
+ <option name="number" value="00008" />
693
+ <option name="project" value="LOCAL" />
641
694
  <updated>1380922709449</updated>
642
695
  </task>
643
696
  <task id="LOCAL-00009" summary="Bug fixes">
644
697
  <created>1380923004320</created>
698
+ <option name="number" value="00009" />
699
+ <option name="project" value="LOCAL" />
645
700
  <updated>1380923004320</updated>
646
701
  </task>
647
702
  <task id="LOCAL-00010" summary="update README">
648
703
  <created>1383426047308</created>
704
+ <option name="number" value="00010" />
705
+ <option name="project" value="LOCAL" />
649
706
  <updated>1383426047308</updated>
650
707
  </task>
651
- <task id="LOCAL-00011" summary="* Changing meta_methods gem version.">
652
- <created>1395780004098</created>
653
- <updated>1395780004098</updated>
654
- </task>
655
- <option name="localTasksCounter" value="12" />
708
+ <option name="localTasksCounter" value="11" />
656
709
  <servers />
657
710
  </component>
658
711
  <component name="ToolWindowManager">
659
- <frame x="188" y="22" width="1492" height="1028" extended-state="0" />
660
- <editor active="true" />
712
+ <frame x="48" y="22" width="1872" height="1178" extended-state="6" />
713
+ <editor active="false" />
661
714
  <layout>
662
- <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" />
663
- <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.28724545" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
664
- <window_info id="Terminal" 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" />
715
+ <window_info id="Changes" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.28706327" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
716
+ <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" />
665
717
  <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" />
666
718
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3990878" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
667
719
  <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" />
668
720
  <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" />
669
721
  <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3283582" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
670
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32764506" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
671
722
  <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" />
672
723
  <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="false" content_ui="tabs" />
673
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.17517242" sideWeight="0.8235294" order="0" side_tool="false" content_ui="combo" />
674
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32690248" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
724
+ <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" />
725
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.17704917" sideWeight="0.8235294" order="0" side_tool="false" content_ui="combo" />
726
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32672334" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
727
+ <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" />
675
728
  <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" />
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" />
676
730
  <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" />
677
731
  <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" />
678
- <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" />
679
732
  <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25655645" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
733
+ <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" />
734
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32764506" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
680
735
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
681
- <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" />
682
736
  <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" />
737
+ <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" />
683
738
  </layout>
684
739
  </component>
685
740
  <component name="Vcs.Log.UiProperties">
@@ -700,8 +755,7 @@
700
755
  <MESSAGE value="initial release" />
701
756
  <MESSAGE value="Bug fixes" />
702
757
  <MESSAGE value="update README" />
703
- <MESSAGE value="* Changing meta_methods gem version." />
704
- <option name="LAST_COMMIT_MESSAGE" value="* Changing meta_methods gem version." />
758
+ <option name="LAST_COMMIT_MESSAGE" value="update README" />
705
759
  </component>
706
760
  <component name="XDebuggerManager">
707
761
  <breakpoint-manager>
@@ -714,8 +768,60 @@
714
768
  </breakpoints>
715
769
  <option name="time" value="25" />
716
770
  </breakpoint-manager>
771
+ <watches-manager />
717
772
  </component>
718
773
  <component name="editorHistoryManager">
774
+ <entry file="file://$PROJECT_DIR$/lib/dir_dsl/dir_dsl.rb">
775
+ <provider selected="true" editor-type-id="text-editor">
776
+ <state vertical-scroll-proportion="0.0" vertical-offset="289" max-vertical-offset="2618">
777
+ <caret line="17" column="5" selection-start-line="17" selection-start-column="5" selection-end-line="17" selection-end-column="5" />
778
+ <folding />
779
+ </state>
780
+ </provider>
781
+ </entry>
782
+ <entry file="file://$PROJECT_DIR$/lib/dir_dsl.rb">
783
+ <provider selected="true" editor-type-id="text-editor">
784
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="119">
785
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="25" />
786
+ <folding />
787
+ </state>
788
+ </provider>
789
+ </entry>
790
+ <entry file="file://$PROJECT_DIR$/lib/dir_dsl/version.rb">
791
+ <provider selected="true" editor-type-id="text-editor">
792
+ <state vertical-scroll-proportion="0.0" vertical-offset="17" max-vertical-offset="153">
793
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
794
+ <folding />
795
+ </state>
796
+ </provider>
797
+ </entry>
798
+ <entry file="file://$PROJECT_DIR$/CHANGES">
799
+ <provider selected="true" editor-type-id="text-editor">
800
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="100">
801
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
802
+ <folding />
803
+ </state>
804
+ </provider>
805
+ </entry>
806
+ <entry file="file://$PROJECT_DIR$/spec/dir_dsl_spec.rb">
807
+ <provider selected="true" editor-type-id="text-editor">
808
+ <state vertical-scroll-proportion="0.0" vertical-offset="34" max-vertical-offset="1649">
809
+ <caret line="2" column="17" selection-start-line="2" selection-start-column="17" selection-end-line="2" selection-end-column="17" />
810
+ <folding />
811
+ </state>
812
+ </provider>
813
+ </entry>
814
+ <entry file="file://$PROJECT_DIR$/README.md">
815
+ <provider editor-type-id="text-editor">
816
+ <state vertical-scroll-proportion="0.0" vertical-offset="969" max-vertical-offset="1207">
817
+ <caret line="57" column="41" selection-start-line="57" selection-start-column="41" selection-end-line="57" selection-end-column="41" />
818
+ <folding />
819
+ </state>
820
+ </provider>
821
+ <provider selected="true" editor-type-id="MarkdownPreviewEditor">
822
+ <state />
823
+ </provider>
824
+ </entry>
719
825
  <entry file="file://$PROJECT_DIR$/lib/dir_dsl/dir_dsl.rb">
720
826
  <provider selected="true" editor-type-id="text-editor">
721
827
  <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2310">
@@ -787,9 +893,6 @@
787
893
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
788
894
  </state>
789
895
  </provider>
790
- <provider editor-type-id="com.intellij.persistence.database.editor.CsvTableFileEditorProvider">
791
- <state />
792
- </provider>
793
896
  </entry>
794
897
  <entry file="file://$PROJECT_DIR$/Rakefile">
795
898
  <provider selected="true" editor-type-id="text-editor">
@@ -798,14 +901,6 @@
798
901
  </state>
799
902
  </provider>
800
903
  </entry>
801
- <entry file="file://$PROJECT_DIR$/Gemfile">
802
- <provider selected="true" editor-type-id="text-editor">
803
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
804
- <caret line="4" column="20" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
805
- <folding />
806
- </state>
807
- </provider>
808
- </entry>
809
904
  <entry file="file://$PROJECT_DIR$/dir_dsl.gemspec.erb">
810
905
  <provider selected="true" editor-type-id="text-editor">
811
906
  <state vertical-scroll-proportion="0.0" vertical-offset="240" max-vertical-offset="405">
@@ -824,26 +919,50 @@
824
919
  <state />
825
920
  </provider>
826
921
  </entry>
827
- <entry file="file://$PROJECT_DIR$/spec/dir_dsl_spec.rb">
922
+ <entry file="file://$PROJECT_DIR$/lib/dir_dsl.rb">
828
923
  <provider selected="true" editor-type-id="text-editor">
829
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1455">
830
- <caret line="2" column="17" selection-start-line="2" selection-start-column="17" selection-end-line="2" selection-end-column="17" />
924
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="105">
925
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="25" />
926
+ <folding />
927
+ </state>
928
+ </provider>
929
+ </entry>
930
+ <entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p550@dir_dsl/gems/meta_methods-1.2.0/lib/meta_methods/core.rb">
931
+ <provider selected="true" editor-type-id="text-editor">
932
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="969">
933
+ <caret line="2" column="0" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
934
+ <folding />
935
+ </state>
936
+ </provider>
937
+ </entry>
938
+ <entry file="file://$PROJECT_DIR$/Gemfile">
939
+ <provider selected="true" editor-type-id="text-editor">
940
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="357">
941
+ <caret line="4" column="0" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="32" />
942
+ <folding />
943
+ </state>
944
+ </provider>
945
+ </entry>
946
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
947
+ <provider selected="true" editor-type-id="text-editor">
948
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="685">
949
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
831
950
  <folding />
832
951
  </state>
833
952
  </provider>
834
953
  </entry>
835
954
  <entry file="file://$PROJECT_DIR$/lib/dir_dsl/dir_dsl.rb">
836
955
  <provider selected="true" editor-type-id="text-editor">
837
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2310">
838
- <caret line="17" column="5" selection-start-line="17" selection-start-column="5" selection-end-line="17" selection-end-column="5" />
956
+ <state vertical-scroll-proportion="-9.807693" vertical-offset="0" max-vertical-offset="2601">
957
+ <caret line="15" column="37" selection-start-line="15" selection-start-column="4" selection-end-line="15" selection-end-column="37" />
839
958
  <folding />
840
959
  </state>
841
960
  </provider>
842
961
  </entry>
843
- <entry file="file://$PROJECT_DIR$/lib/dir_dsl.rb">
962
+ <entry file="file://$PROJECT_DIR$/spec/dir_dsl_spec.rb">
844
963
  <provider selected="true" editor-type-id="text-editor">
845
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="105">
846
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="25" />
964
+ <state vertical-scroll-proportion="-8.423077" vertical-offset="189" max-vertical-offset="1649">
965
+ <caret line="24" column="0" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
847
966
  <folding />
848
967
  </state>
849
968
  </provider>
@@ -858,12 +977,11 @@
858
977
  </entry>
859
978
  <entry file="file://$PROJECT_DIR$/CHANGES">
860
979
  <provider selected="true" editor-type-id="text-editor">
861
- <state vertical-scroll-proportion="0.5651491" vertical-offset="0" max-vertical-offset="637">
862
- <caret line="24" column="0" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="36" />
980
+ <state vertical-scroll-proportion="0.6547455" vertical-offset="0" max-vertical-offset="727">
981
+ <caret line="28" column="1" selection-start-line="28" selection-start-column="1" selection-end-line="28" selection-end-column="35" />
863
982
  <folding />
864
983
  </state>
865
984
  </provider>
866
985
  </entry>
867
986
  </component>
868
- </project>
869
-
987
+ </project>
data/CHANGES CHANGED
@@ -22,4 +22,8 @@
22
22
 
23
23
  == Version 1.0.5
24
24
 
25
+ * Changing meta_methods gem version.
26
+
27
+ == Version 1.0.6
28
+
25
29
  * Changing meta_methods gem version.
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source "https://rubygems.org"
2
2
 
3
3
  group :default do
4
4
  gem "file_utils"
5
- gem "meta_methods"
5
+ gem "meta_methods", "~> 1.2.0"
6
6
  end
7
7
 
8
8
  group :development do
data/Gemfile.lock CHANGED
@@ -7,18 +7,22 @@ GEM
7
7
  gemspec_deps_gen (1.1.2)
8
8
  bundler
9
9
  file_utils
10
- meta_methods (1.1.0)
10
+ meta_methods (1.2.0)
11
11
  metaclass (0.0.4)
12
- mocha (1.0.0)
12
+ mocha (1.1.0)
13
13
  metaclass (~> 0.0.1)
14
- rspec (2.14.1)
15
- rspec-core (~> 2.14.0)
16
- rspec-expectations (~> 2.14.0)
17
- rspec-mocks (~> 2.14.0)
18
- rspec-core (2.14.8)
19
- rspec-expectations (2.14.5)
20
- diff-lcs (>= 1.1.3, < 2.0)
21
- rspec-mocks (2.14.6)
14
+ rspec (3.1.0)
15
+ rspec-core (~> 3.1.0)
16
+ rspec-expectations (~> 3.1.0)
17
+ rspec-mocks (~> 3.1.0)
18
+ rspec-core (3.1.7)
19
+ rspec-support (~> 3.1.0)
20
+ rspec-expectations (3.1.2)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.1.0)
23
+ rspec-mocks (3.1.3)
24
+ rspec-support (~> 3.1.0)
25
+ rspec-support (3.1.2)
22
26
 
23
27
  PLATFORMS
24
28
  ruby
@@ -27,6 +31,6 @@ DEPENDENCIES
27
31
  file_utils
28
32
  gemcutter
29
33
  gemspec_deps_gen
30
- meta_methods
34
+ meta_methods (~> 1.2.0)
31
35
  mocha
32
36
  rspec
data/dir_dsl.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
 
19
19
 
20
20
  spec.add_runtime_dependency "file_utils", [">= 0"]
21
- spec.add_runtime_dependency "meta_methods", [">= 0"]
21
+ spec.add_runtime_dependency "meta_methods", ["~> 1.2.0"]
22
22
  spec.add_development_dependency "gemspec_deps_gen", [">= 0"]
23
23
  spec.add_development_dependency "gemcutter", [">= 0"]
24
24
 
@@ -1,9 +1,8 @@
1
1
  require 'file_utils/file_utils'
2
- require 'meta_methods'
2
+ require 'meta_methods/dsl_builder'
3
3
 
4
4
  class DirDSL
5
5
  include FileUtils
6
- include MetaMethods::Core
7
6
 
8
7
  attr_reader :from_root, :to_root
9
8
 
@@ -14,7 +13,7 @@ class DirDSL
14
13
  end
15
14
 
16
15
  def build(&block)
17
- evaluate_dsl(self, nil, block)
16
+ MetaMethods::DslBuilder.instance.evaluate_dsl(self, nil, block)
18
17
  end
19
18
 
20
19
  def global_ignore ignore
@@ -1,3 +1,3 @@
1
1
  class DirDSL
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
data/spec/dir_dsl_spec.rb CHANGED
@@ -22,11 +22,11 @@ describe DirDSL do
22
22
  file :name => "spec/spec_helper.rb", :to_dir => "my_config"
23
23
  end
24
24
 
25
- subject.entry_exist?("Gemfile").should be_true
26
- subject.entry_exist?("my_config/Rakefile").should be_true
27
- subject.entry_exist?("my_config/spec_helper.rb").should be_true
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.should == 3
29
+ expect(subject.entries_size).to eq 3
30
30
  end
31
31
 
32
32
  it "should create new directory with file created from string" do
@@ -34,8 +34,8 @@ describe DirDSL do
34
34
  content :name => "README", :source => "My README file content"
35
35
  end
36
36
 
37
- subject.entry_exist?("README").should be_true
38
- subject.entries_size.should == 1
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 directory with file created from file" do
@@ -44,8 +44,8 @@ describe DirDSL do
44
44
  content :name => "Rakefile", :source => src
45
45
  end
46
46
 
47
- subject.entry_exist?("Rakefile").should be_true
48
- subject.entries_size.should == 1
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 directory with new empty folder" do
@@ -53,7 +53,7 @@ describe DirDSL do
53
53
  directory :to_dir => "my_config"
54
54
  end
55
55
 
56
- subject.entry_exist?("my_config").should be_true
56
+ expect(subject.entry_exist?("my_config")).to be_truthy
57
57
  end
58
58
 
59
59
  it "should create new directory with new folder" do
@@ -61,7 +61,7 @@ describe DirDSL do
61
61
  directory :from_dir => "config", :to_dir => "my_config"
62
62
  end
63
63
 
64
- subject.entry_exist?("my_config").should be_true
64
+ expect(subject.entry_exist?("my_config")).to be_truthy
65
65
  end
66
66
 
67
67
  it "should display files in current directory" do
@@ -69,7 +69,7 @@ describe DirDSL do
69
69
  directory :from_dir => "spec"
70
70
  end
71
71
 
72
- subject.entry_exist?("spec/spec_helper.rb").should be_true
72
+ expect(subject.entry_exist?("spec/spec_helper.rb")).to be_truthy
73
73
  end
74
74
 
75
75
  it "should display files in specified subdirectory" do
@@ -77,7 +77,7 @@ describe DirDSL do
77
77
  directory :from_dir => "lib"
78
78
  end
79
79
 
80
- subject.entry_exist?("lib/dir_dsl.rb").should be_true
80
+ expect(subject.entry_exist?("lib/dir_dsl.rb")).to be_truthy
81
81
  end
82
82
 
83
83
  it "should exclude files from result" do
@@ -85,7 +85,7 @@ describe DirDSL do
85
85
  directory :from_dir => "lib", :excludes => "version.rb"
86
86
  end
87
87
 
88
- subject.entry_exist?("lib/version.rb").should be_false
88
+ expect(subject.entry_exist?("lib/version.rb")).to be_falsey
89
89
  end
90
90
 
91
91
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dir_dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
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-25 00:00:00.000000000 Z
11
+ date: 2014-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: file_utils
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: meta_methods
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 1.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 1.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: gemspec_deps_gen
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.2.2
120
+ rubygems_version: 2.4.2
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Library for working with files and directories file in DSL-way