bootlace 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module Bootlace
10
10
  end
11
11
 
12
12
  @logger.formatter = proc do |severity, datetime, progname, msg|
13
- "[#{progname}] #{severity}: #{msg}\n"
13
+ "[bootlace] #{severity}: #{msg}\n"
14
14
  end
15
15
 
16
16
  @logger
@@ -14,7 +14,7 @@ module Bootlace
14
14
  end
15
15
 
16
16
  logger.info("Executing rake task '#{task}'")
17
- system "#{detect_bundle} rake #{task}".strip
17
+ system "#{detect_bundle} rake -s #{task}".strip
18
18
  end
19
19
 
20
20
  private
@@ -1,3 +1,3 @@
1
1
  module Bootlace
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -16,14 +16,14 @@ class RakeTest < Test::Unit::TestCase
16
16
 
17
17
  def test_rake_task_no_gemfile
18
18
  File.stubs(:exist?).with('Gemfile').returns(false)
19
- bootstrap.expects(:system).with("rake foo:bar:baz")
19
+ bootstrap.expects(:system).with("rake -s foo:bar:baz")
20
20
  bootstrap.rake "foo:bar:baz"
21
21
  assert_match /Executing rake task 'foo:bar:baz'/, last_log
22
22
  end
23
23
 
24
24
  def test_rake_task_with_gemfile
25
25
  File.stubs(:exist?).with('Gemfile').returns(true)
26
- bootstrap.expects(:system).with("bundle exec rake foo:bar:baz")
26
+ bootstrap.expects(:system).with("bundle exec rake -s foo:bar:baz")
27
27
  bootstrap.rake "foo:bar:baz"
28
28
  assert_match /Executing rake task 'foo:bar:baz'/, last_log
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootlace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mocha
16
- requirement: &70201076898840 !ruby/object:Gem::Requirement
16
+ requirement: &70229665837960 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70201076898840
24
+ version_requirements: *70229665837960
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: activesupport
27
- requirement: &70201076897300 !ruby/object:Gem::Requirement
27
+ requirement: &70229665836580 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70201076897300
35
+ version_requirements: *70229665836580
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: turn
38
- requirement: &70201076895780 !ruby/object:Gem::Requirement
38
+ requirement: &70229665835020 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70201076895780
46
+ version_requirements: *70229665835020
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: pry
49
- requirement: &70201077316640 !ruby/object:Gem::Requirement
49
+ requirement: &70229665976540 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70201077316640
57
+ version_requirements: *70229665976540
58
58
  description: Simple gem for bootstrapping Ruby applications
59
59
  email:
60
60
  - will@highgroove.com
@@ -95,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  segments:
97
97
  - 0
98
- hash: 4064085767876468573
98
+ hash: -1560755192255842632
99
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  none: false
101
101
  requirements:
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  segments:
106
106
  - 0
107
- hash: 4064085767876468573
107
+ hash: -1560755192255842632
108
108
  requirements: []
109
109
  rubyforge_project:
110
110
  rubygems_version: 1.8.16