starting_blocks 0.0.24 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,7 @@ module StartingBlocks
10
10
 
11
11
  def run_files files
12
12
  display "Files to run: #{files.inspect}"
13
+ files = files.select { |x| x.include?('/vendor/') == false }
13
14
  StartingBlocks::Publisher.publish_files_to_run files
14
15
  results = execute_these_files files
15
16
  StartingBlocks::Publisher.publish_results results
@@ -1,3 +1,3 @@
1
1
  module StartingBlocks
2
- VERSION = "0.0.24"
2
+ VERSION = "0.0.25"
3
3
  end
@@ -26,7 +26,7 @@ module StartingBlocks
26
26
  end
27
27
 
28
28
  def add_it(file_that_changed)
29
- return if file_that_changed.index('.git') == 0
29
+ return if this_is_a_file_we_are_not_concerned_about file_that_changed? file_that_changed
30
30
  display "Adding: #{file_that_changed}"
31
31
  @all_files << file_that_changed
32
32
  end
@@ -41,13 +41,17 @@ module StartingBlocks
41
41
  end
42
42
 
43
43
  def delete_it(file_that_changed)
44
- return if file_that_changed.index('.git') == 0
44
+ return if this_is_a_file_we_are_not_concerned_about? file_that_changed
45
45
  display "Deleting: #{file_that_changed}"
46
46
  @all_files.delete(file_that_changed)
47
47
  end
48
48
 
49
49
  private
50
50
 
51
+ def this_is_a_file_we_are_not_concerned_about? file
52
+ file.index('.git') == 0
53
+ end
54
+
51
55
  def set_up_the_runner options
52
56
  @runner = StartingBlocks::Runner.new(options)
53
57
  end
@@ -4,9 +4,9 @@ require_relative 'starting_blocks/runner'
4
4
  require_relative 'starting_blocks/watcher'
5
5
  require_relative 'starting_blocks/result_parser'
6
6
  require_relative 'starting_blocks/publisher'
7
- require_relative 'extensions/blinky'
7
+ #require_relative 'extensions/blinky'
8
8
 
9
9
  module StartingBlocks
10
10
  # Your code goes here...
11
11
  end
12
- StartingBlocks::Publisher.subscribers << StartingBlocks::Extensions::BlinkyLighting.new
12
+ #StartingBlocks::Publisher.subscribers << StartingBlocks::Extensions::BlinkyLighting.new
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "subtle"
25
25
  spec.add_development_dependency "mocha"
26
26
  spec.add_runtime_dependency 'listen', ">= 1.0"
27
- spec.add_runtime_dependency 'blinky'
27
+ #spec.add_runtime_dependency 'blinky'
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: starting_blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.25
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-05-20 00:00:00.000000000 Z
12
+ date: 2013-07-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -107,22 +107,6 @@ dependencies:
107
107
  - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
109
  version: '1.0'
110
- - !ruby/object:Gem::Dependency
111
- name: blinky
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
110
  description: Faster minitest TDD.
127
111
  email:
128
112
  - darren@cauthon.com
@@ -164,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
164
148
  version: '0'
165
149
  segments:
166
150
  - 0
167
- hash: 963577567588902619
151
+ hash: 3348457877798293657
168
152
  required_rubygems_version: !ruby/object:Gem::Requirement
169
153
  none: false
170
154
  requirements:
@@ -173,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
157
  version: '0'
174
158
  segments:
175
159
  - 0
176
- hash: 963577567588902619
160
+ hash: 3348457877798293657
177
161
  requirements: []
178
162
  rubyforge_project:
179
163
  rubygems_version: 1.8.24