starting_blocks 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
data/bin/sb CHANGED
@@ -11,6 +11,10 @@ if ARGV.include? '--verbose'
11
11
  options[:verbose] = true
12
12
  end
13
13
 
14
+ if ARGV.include? '--no-vendor'
15
+ options[:no_vendor] = true
16
+ end
17
+
14
18
  if ARGV.include? '--bundler'
15
19
  options[:use_bundler] = true
16
20
  end
@@ -6,11 +6,12 @@ module StartingBlocks
6
6
  def initialize options
7
7
  @verbose = options[:verbose]
8
8
  @use_bundler = options[:use_bundler]
9
+ @include_vendor = options[:no_vendor] != true
9
10
  end
10
11
 
11
12
  def run_files files
12
13
  display "Files to run: #{files.inspect}"
13
- files = files.select { |x| x.include?('/vendor/') == false }
14
+ files = files.select { |x| @include_vendor || x.include?('/vendor/') == false }
14
15
  StartingBlocks::Publisher.publish_files_to_run files
15
16
  results = execute_these_files files
16
17
  StartingBlocks::Publisher.publish_results results
@@ -1,3 +1,3 @@
1
1
  module StartingBlocks
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  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.25
4
+ version: 0.0.26
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-07-08 00:00:00.000000000 Z
12
+ date: 2013-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -148,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  segments:
150
150
  - 0
151
- hash: 3348457877798293657
151
+ hash: 3113847271716035815
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  none: false
154
154
  requirements:
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  segments:
159
159
  - 0
160
- hash: 3348457877798293657
160
+ hash: 3113847271716035815
161
161
  requirements: []
162
162
  rubyforge_project:
163
163
  rubygems_version: 1.8.24