starting_blocks 0.0.29 → 0.0.30

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.
data/bin/sb CHANGED
@@ -7,25 +7,13 @@ options = {}
7
7
  def display value
8
8
  end
9
9
 
10
- if ARGV.include? '--blinky'
11
- require 'starting_blocks-blinky'
12
- end
13
-
14
- if ARGV.include? '--growl'
15
- require 'starting_blocks-growl'
16
- end
17
-
18
- if ARGV.include? '--verbose'
19
- options[:verbose] = true
20
- end
21
-
22
- if ARGV.include? '--no-vendor'
23
- options[:no_vendor] = true
24
- end
10
+ require 'starting_blocks-blinky' if ARGV.include? '--blinky'
11
+ require 'starting_blocks-growl' if ARGV.include? '--growl'
25
12
 
26
- if ARGV.include? '--bundler'
27
- options[:use_bundler] = true
28
- end
13
+ options[:verbose] = ARGV.include? '--verbose'
14
+ options[:no_vendor] = ARGV.include?('--vendor') == false
15
+ options[:use_bundler] = Dir['Gemfile'].count > 0
16
+ raise options.inspect
29
17
 
30
18
  def run_all_specs options
31
19
  files = ['**/*_spec.rb*', '**/*_test.rb*', '**/test_*.rb*'].map do |d|
@@ -1,3 +1,3 @@
1
1
  module StartingBlocks
2
- VERSION = "0.0.29"
2
+ VERSION = "0.0.30"
3
3
  end
@@ -24,5 +24,4 @@ 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'
28
27
  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.29
4
+ version: 0.0.30
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -148,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  segments:
150
150
  - 0
151
- hash: 277510206411069743
151
+ hash: -4170713173812812278
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  none: false
154
154
  requirements:
@@ -157,10 +157,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  segments:
159
159
  - 0
160
- hash: 277510206411069743
160
+ hash: -4170713173812812278
161
161
  requirements: []
162
162
  rubyforge_project:
163
- rubygems_version: 1.8.25
163
+ rubygems_version: 1.8.24
164
164
  signing_key:
165
165
  specification_version: 3
166
166
  summary: One command to run all tests, test watcher, etc.