smart_specs 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.idea/workspace.xml CHANGED
@@ -2,13 +2,55 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="d1b53eed-4217-450f-8d82-ae55f184ac5f" name="Default" comment="">
5
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/bin/rspec!" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
5
7
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile.lock" afterPath="$PROJECT_DIR$/Gemfile.lock" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/smart_specs/cli.rb" afterPath="$PROJECT_DIR$/lib/smart_specs/cli.rb" />
9
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/smart_specs.iml" afterPath="$PROJECT_DIR$/.idea/smart_specs.iml" />
10
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/smart_specs/version.rb" afterPath="$PROJECT_DIR$/lib/smart_specs/version.rb" />
6
11
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
7
12
  </list>
8
13
  <ignored path="smart_specs.iws" />
9
14
  <ignored path=".idea/workspace.xml" />
10
- <file path="/Dummy.txt" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359741821199" ignored="false" />
15
+ <file path="/Dummy.txt" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1360018107836" ignored="false" />
11
16
  <file path="/.gitignore" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359741770811" ignored="false" />
17
+ <file path="/cli.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359842377608" ignored="false" />
18
+ <file path="$PROJECT_DIR$/../etv/bin/ffgrab" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359914585560" ignored="false" />
19
+ <file path="/ffgrab" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359914511677" ignored="false" />
20
+ <file path="$PROJECT_DIR$/../etv/Gemfile" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359842022639" ignored="false" />
21
+ <file path="/Gemfile" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359841841768" ignored="false" />
22
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p374@etv/gems/rspec-core-2.12.2/lib/rspec/core.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359842016821" ignored="false" />
23
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p374@etv/gems/json_pure-1.7.6/lib/json/common.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359842016821" ignored="false" />
24
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p374@etv/gems/highline-1.6.15/lib/highline.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359842016821" ignored="false" />
25
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p374@etv/gems/resource_accessor-1.0.0/lib/resource_accessor/resource_accessor.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359900920390" ignored="false" />
26
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p374@etv/gems/rspec-core-2.12.2/lib/rspec/core/shared_example_group.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359842016821" ignored="false" />
27
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p374@etv/gems/rspec-core-2.12.2/lib/rspec/core/extensions/kernel.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359842016821" ignored="false" />
28
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p374@etv/gems/rspec-core-2.12.2/lib/rspec/core/subject.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359842016821" ignored="false" />
29
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p374@etv/gems/mocha-0.13.2/lib/mocha/object_methods.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359842016821" ignored="false" />
30
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p374@etv/gems/russian-0.6.0/lib/russian.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359842016821" ignored="false" />
31
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p374@etv/gems/smart_specs-1.0.0/lib/smart_specs/cli.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1360016836834" ignored="false" />
32
+ <file path="$PROJECT_DIR$/../etv/lib/etv/engine/cookie_helper.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359912007630" ignored="false" />
33
+ <file path="/cookie_helper.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359911981101" ignored="false" />
34
+ <file path="$PROJECT_DIR$/../etv/lib/etv/main.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359899359478" ignored="false" />
35
+ <file path="/main.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359893240333" ignored="false" />
36
+ <file path="$PROJECT_DIR$/../etv/lib/etv/engine/page/access_page.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359911518156" ignored="false" />
37
+ <file path="/access_page.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359911509849" ignored="false" />
38
+ <file path="/resource_accessor.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359900693631" ignored="false" />
39
+ <file path="/fragment.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359900832714" ignored="false" />
40
+ <file path="/temp.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359908673872" ignored="false" />
41
+ <file path="/link_info.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359908927368" ignored="false" />
42
+ <file path="$PROJECT_DIR$/../etv/lib/etv/engine/link_info.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359908973940" ignored="false" />
43
+ <file path="/a.dummy" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359909562920" ignored="false" />
44
+ <file path="$PROJECT_DIR$/../etv/spec/etv_spec.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359909616927" ignored="false" />
45
+ <file path="/etv_spec.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359909616543" ignored="false" />
46
+ <file path="$PROJECT_DIR$/../etv/lib/media_adapter.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1360017036869" ignored="false" />
47
+ <file path="/media_adapter.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1360017023235" ignored="false" />
48
+ <file path="$PROJECT_DIR$/../etv/lib/etv/engine/cookie.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359914188516" ignored="false" />
49
+ <file path="/cookie.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359914184557" ignored="false" />
50
+ <file path="$PROJECT_DIR$/../etv/spec/resource_accessor_spec.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359917312620" ignored="false" />
51
+ <file path="$PROJECT_DIR$/../etv/spec/media_adapter_spec.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1360017004572" ignored="false" />
52
+ <file path="/media_adapter_spec.rb" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1359918508144" ignored="false" />
53
+ <file path="/CHANGES" changelist="d1b53eed-4217-450f-8d82-ae55f184ac5f" time="1360018136574" ignored="false" />
12
54
  <option name="TRACKING_ENABLED" value="true" />
13
55
  <option name="SHOW_DIALOG" value="false" />
14
56
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -28,7 +70,7 @@
28
70
  <file leaf-file-name=".gitignore" pinned="false" current="false" current-in-tab="false">
29
71
  <entry file="file://$PROJECT_DIR$/.gitignore">
30
72
  <provider selected="true" editor-type-id="text-editor">
31
- <state line="10" column="17" selection-start="58" selection-end="58" vertical-scroll-proportion="0.0">
73
+ <state line="10" column="0" selection-start="58" selection-end="58" vertical-scroll-proportion="0.0">
32
74
  <folding />
33
75
  </state>
34
76
  </provider>
@@ -46,7 +88,7 @@
46
88
  <file leaf-file-name="smart_specs.gemspec.erb" pinned="false" current="false" current-in-tab="false">
47
89
  <entry file="file://$PROJECT_DIR$/smart_specs.gemspec.erb">
48
90
  <provider selected="true" editor-type-id="text-editor">
49
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.0">
91
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
50
92
  <folding />
51
93
  </state>
52
94
  </provider>
@@ -61,28 +103,28 @@
61
103
  </provider>
62
104
  </entry>
63
105
  </file>
64
- <file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
65
- <entry file="file://$PROJECT_DIR$/README.md">
106
+ <file leaf-file-name="cli.rb" pinned="false" current="false" current-in-tab="false">
107
+ <entry file="file://$PROJECT_DIR$/lib/smart_specs/cli.rb">
66
108
  <provider selected="true" editor-type-id="text-editor">
67
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
109
+ <state line="13" column="47" selection-start="279" selection-end="279" vertical-scroll-proportion="0.0">
68
110
  <folding />
69
111
  </state>
70
112
  </provider>
71
113
  </entry>
72
114
  </file>
73
- <file leaf-file-name="smart_specs.rb" pinned="false" current="false" current-in-tab="false">
74
- <entry file="file://$PROJECT_DIR$/lib/smart_specs.rb">
115
+ <file leaf-file-name="CHANGES" pinned="false" current="false" current-in-tab="false">
116
+ <entry file="file://$PROJECT_DIR$/CHANGES">
75
117
  <provider selected="true" editor-type-id="text-editor">
76
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
118
+ <state line="8" column="11" selection-start="92" selection-end="92" vertical-scroll-proportion="0.0">
77
119
  <folding />
78
120
  </state>
79
121
  </provider>
80
122
  </entry>
81
123
  </file>
82
- <file leaf-file-name="cli.rb" pinned="false" current="true" current-in-tab="true">
83
- <entry file="file://$PROJECT_DIR$/lib/smart_specs/cli.rb">
124
+ <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
125
+ <entry file="file://$PROJECT_DIR$/lib/smart_specs/version.rb">
84
126
  <provider selected="true" editor-type-id="text-editor">
85
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
127
+ <state line="3" column="18" selection-start="42" selection-end="42" vertical-scroll-proportion="0.07855974">
86
128
  <folding />
87
129
  </state>
88
130
  </provider>
@@ -117,12 +159,15 @@
117
159
  <option name="changedFiles">
118
160
  <list>
119
161
  <option value="$PROJECT_DIR$/.gitignore" />
162
+ <option value="$PROJECT_DIR$/lib/smart_specs/cli.rb" />
163
+ <option value="$PROJECT_DIR$/CHANGES" />
164
+ <option value="$PROJECT_DIR$/lib/smart_specs/version.rb" />
120
165
  </list>
121
166
  </option>
122
167
  </component>
123
168
  <component name="ProjectFrameBounds">
124
169
  <option name="x" value="239" />
125
- <option name="y" value="71" />
170
+ <option name="y" value="22" />
126
171
  <option name="width" value="1324" />
127
172
  <option name="height" value="1028" />
128
173
  </component>
@@ -152,7 +197,6 @@
152
197
  <sortByType />
153
198
  </navigator>
154
199
  <panes>
155
- <pane id="Scope" />
156
200
  <pane id="ProjectPane">
157
201
  <subPane>
158
202
  <PATH>
@@ -205,14 +249,16 @@
205
249
  </PATH>
206
250
  </subPane>
207
251
  </pane>
252
+ <pane id="Scope" />
208
253
  </panes>
209
254
  </component>
210
255
  <component name="PropertiesComponent">
211
256
  <property name="options.splitter.main.proportions" value="0.3" />
212
257
  <property name="WebServerToolWindowFactoryState" value="false" />
213
258
  <property name="options.lastSelected" value="project.propVCSSupport.Mappings" />
214
- <property name="options.searchVisible" value="true" />
259
+ <property name="FullScreen" value="false" />
215
260
  <property name="options.splitter.details.proportions" value="0.2" />
261
+ <property name="options.searchVisible" value="true" />
216
262
  </component>
217
263
  <component name="RunManager">
218
264
  <list size="0" />
@@ -254,27 +300,27 @@
254
300
  <servers />
255
301
  </component>
256
302
  <component name="ToolWindowManager">
257
- <frame x="239" y="71" width="1324" height="1028" extended-state="0" />
303
+ <frame x="239" y="22" width="1324" height="1028" extended-state="0" />
258
304
  <editor active="true" />
259
305
  <layout>
260
- <window_info id="Messages" 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" />
261
- <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24330118" sideWeight="0.98435056" order="-1" side_tool="false" content_ui="tabs" />
306
+ <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.31511253" sideWeight="0.98435056" order="7" side_tool="false" content_ui="tabs" />
262
307
  <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" />
263
- <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
308
+ <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" />
264
309
  <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" />
265
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.20970266" sideWeight="0.75669885" order="0" side_tool="false" content_ui="combo" />
310
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.22691706" sideWeight="0.68488747" order="0" side_tool="false" content_ui="combo" />
266
311
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
267
- <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="-1" side_tool="false" content_ui="tabs" />
268
- <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32946298" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
312
+ <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="false" content_ui="tabs" />
313
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32946298" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
269
314
  <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
270
- <window_info id="Version Control" 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" />
315
+ <window_info id="Version Control" 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" />
271
316
  <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" />
272
317
  <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" />
273
- <window_info id="Find" 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" />
274
318
  <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" />
319
+ <window_info id="Find" 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" />
320
+ <window_info id="Messages" 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" />
275
321
  <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" />
276
- <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" />
277
322
  <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" />
323
+ <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" />
278
324
  </layout>
279
325
  </component>
280
326
  <component name="VcsContentAnnotationSettings">
@@ -334,21 +380,33 @@
334
380
  <breakpoint-manager />
335
381
  </component>
336
382
  <component name="editorHistoryManager">
337
- <entry file="file://$PROJECT_DIR$/.gitignore">
383
+ <entry file="file://$PROJECT_DIR$/smart_specs.gemspec">
384
+ <provider selected="true" editor-type-id="text-editor">
385
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
386
+ <folding />
387
+ </state>
388
+ </provider>
389
+ </entry>
390
+ <entry file="file://$PROJECT_DIR$/smart_specs.gemspec.erb">
338
391
  <provider selected="true" editor-type-id="text-editor">
339
- <state line="10" column="17" selection-start="58" selection-end="58" vertical-scroll-proportion="0.0">
392
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
340
393
  <folding />
341
394
  </state>
342
395
  </provider>
343
396
  </entry>
344
- <entry file="file://$PROJECT_DIR$/smart_specs.gemspec">
397
+ <entry file="file://$PROJECT_DIR$/Rakefile">
345
398
  <provider selected="true" editor-type-id="text-editor">
346
399
  <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
347
400
  <folding />
348
401
  </state>
349
402
  </provider>
350
403
  </entry>
351
- <entry file="file://$PROJECT_DIR$/smart_specs.gemspec.erb">
404
+ <entry file="file://$PROJECT_DIR$/lib/smart_specs.rb">
405
+ <provider selected="true" editor-type-id="text-editor">
406
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
407
+ </provider>
408
+ </entry>
409
+ <entry file="file://$PROJECT_DIR$/lib/smart_specs/cli.rb">
352
410
  <provider selected="true" editor-type-id="text-editor">
353
411
  <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
354
412
  <folding />
@@ -362,21 +420,45 @@
362
420
  </state>
363
421
  </provider>
364
422
  </entry>
365
- <entry file="file://$PROJECT_DIR$/Rakefile">
423
+ <entry file="file://$PROJECT_DIR$/.gitignore">
424
+ <provider selected="true" editor-type-id="text-editor">
425
+ <state line="10" column="0" selection-start="58" selection-end="58" vertical-scroll-proportion="0.0">
426
+ <folding />
427
+ </state>
428
+ </provider>
429
+ </entry>
430
+ <entry file="file://$PROJECT_DIR$/smart_specs.gemspec">
366
431
  <provider selected="true" editor-type-id="text-editor">
367
432
  <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
368
433
  <folding />
369
434
  </state>
370
435
  </provider>
371
436
  </entry>
372
- <entry file="file://$PROJECT_DIR$/README.md">
437
+ <entry file="file://$PROJECT_DIR$/smart_specs.gemspec.erb">
373
438
  <provider selected="true" editor-type-id="text-editor">
374
439
  <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
375
440
  <folding />
376
441
  </state>
377
442
  </provider>
378
443
  </entry>
444
+ <entry file="file://$PROJECT_DIR$/Gemfile">
445
+ <provider selected="true" editor-type-id="text-editor">
446
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
447
+ <folding />
448
+ </state>
449
+ </provider>
450
+ </entry>
451
+ <entry file="file://$PROJECT_DIR$/README.md">
452
+ <provider selected="true" editor-type-id="text-editor">
453
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
454
+ </provider>
455
+ </entry>
379
456
  <entry file="file://$PROJECT_DIR$/lib/smart_specs.rb">
457
+ <provider selected="true" editor-type-id="text-editor">
458
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
459
+ </provider>
460
+ </entry>
461
+ <entry file="file://$PROJECT_DIR$/Rakefile">
380
462
  <provider selected="true" editor-type-id="text-editor">
381
463
  <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
382
464
  <folding />
@@ -385,7 +467,21 @@
385
467
  </entry>
386
468
  <entry file="file://$PROJECT_DIR$/lib/smart_specs/cli.rb">
387
469
  <provider selected="true" editor-type-id="text-editor">
388
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
470
+ <state line="13" column="47" selection-start="279" selection-end="279" vertical-scroll-proportion="0.0">
471
+ <folding />
472
+ </state>
473
+ </provider>
474
+ </entry>
475
+ <entry file="file://$PROJECT_DIR$/CHANGES">
476
+ <provider selected="true" editor-type-id="text-editor">
477
+ <state line="8" column="11" selection-start="92" selection-end="92" vertical-scroll-proportion="0.0">
478
+ <folding />
479
+ </state>
480
+ </provider>
481
+ </entry>
482
+ <entry file="file://$PROJECT_DIR$/lib/smart_specs/version.rb">
483
+ <provider selected="true" editor-type-id="text-editor">
484
+ <state line="3" column="18" selection-start="42" selection-end="42" vertical-scroll-proportion="0.07855974">
389
485
  <folding />
390
486
  </state>
391
487
  </provider>
data/CHANGES CHANGED
@@ -3,3 +3,7 @@
3
3
  == Version 1.0.0
4
4
 
5
5
  * Initial release.
6
+
7
+ == Version 1.0.1
8
+
9
+ * Bug fixes.
data/bin/rspec! ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $:.unshift(File::join(File::dirname(File::dirname(__FILE__)), "/lib"))
4
+
5
+ require 'smart_specs'
6
+
7
+ trap(:INT) { exit }
8
+
9
+ SmartSpecs::Cli.new(".").run ARGV
@@ -65,7 +65,7 @@ module SmartSpecs
65
65
  arg = params[1]
66
66
 
67
67
  if arg =~ /(-l)|(--line)/
68
- line_number = params[2]
68
+ line_number = params[2].to_i
69
69
  end
70
70
  end
71
71
 
@@ -89,7 +89,9 @@ module SmartSpecs
89
89
  end
90
90
 
91
91
  def execute spec_name, line_number
92
- cmd = "spec"
92
+ spec_version = Gem.searcher.find("rspec").version.to_s
93
+
94
+ cmd = (spec_version =~ /^2/) ?"rspec" : "spec"
93
95
 
94
96
  cmd += " #{spec_name}"
95
97
 
@@ -1,3 +1,3 @@
1
1
  module SmartSpecs
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_specs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-02 00:00:00.000000000 Z
12
+ date: 2013-02-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: script_executor
@@ -83,6 +83,7 @@ files:
83
83
  - LICENSE
84
84
  - README.md
85
85
  - Rakefile
86
+ - bin/rspec!
86
87
  - bin/spec!
87
88
  - lib/smart_specs.rb
88
89
  - lib/smart_specs/cli.rb
@@ -109,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
110
  version: '0'
110
111
  requirements: []
111
112
  rubyforge_project:
112
- rubygems_version: 1.8.24
113
+ rubygems_version: 1.8.25
113
114
  signing_key:
114
115
  specification_version: 3
115
116
  summary: This tool helps to execute specs by pattern