starting_blocks 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/sb +3 -1
  2. data/lib/starting_blocks/version.rb +1 -1
  3. metadata +3 -3
data/bin/sb CHANGED
@@ -51,7 +51,9 @@ end
51
51
 
52
52
  if ARGV.include? '--watch'
53
53
  files = Dir['**/*']
54
- location = File.expand_path(File.dirname(Dir['**/*_spec.rb*'].first))
54
+ segments = File.expand_path(Dir['*'].first).split('/')
55
+ segments.pop
56
+ location = segments.join('/')
55
57
  FSSM.monitor(location, '**/*') do
56
58
  update {|base, relative| run_it relative, files }
57
59
  delete {|base, relative| delete_it relative, files }
@@ -1,3 +1,3 @@
1
1
  module StartingBlocks
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -91,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  segments:
93
93
  - 0
94
- hash: 955735476637216004
94
+ hash: -2812715350246724971
95
95
  required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  segments:
102
102
  - 0
103
- hash: 955735476637216004
103
+ hash: -2812715350246724971
104
104
  requirements: []
105
105
  rubyforge_project:
106
106
  rubygems_version: 1.8.25