reciper 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +5 -2
- data/Gemfile.lock +7 -1
- data/Rakefile +2 -0
- data/lib/reciper/helpers.rb +2 -2
- data/lib/reciper/version.rb +1 -1
- data/spec/fixtures/ruby_app/Gemfile +4 -0
- data/spec/fixtures/ruby_app/Gemfile.lock +12 -0
- data/spec/reciper/helpers_spec.rb +0 -1
- metadata +7 -2
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/Rakefile
ADDED
data/lib/reciper/helpers.rb
CHANGED
@@ -19,7 +19,7 @@ module Reciper
|
|
19
19
|
|
20
20
|
def run_tests(options={})
|
21
21
|
Dir.chdir(@ruby_app_path) do
|
22
|
-
response = `rspec spec`
|
22
|
+
response = `bundle exec rspec spec`
|
23
23
|
|
24
24
|
if response =~ /([.FE]+)/
|
25
25
|
$1.split("").reject { |char| char == "." }.size
|
@@ -32,7 +32,7 @@ module Reciper
|
|
32
32
|
|
33
33
|
def run_rake_task(task)
|
34
34
|
Dir.chdir(@ruby_app_path) do
|
35
|
-
spawn("rake #{task}", :
|
35
|
+
spawn("bundle exec rake #{task}", :out => "/dev/null", :err => "/dev/null")
|
36
36
|
|
37
37
|
Process.wait
|
38
38
|
end
|
data/lib/reciper/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reciper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
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: 2012-04-
|
12
|
+
date: 2012-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: An awesome way to write recipes for a book chapter
|
15
15
|
email:
|
@@ -21,6 +21,7 @@ files:
|
|
21
21
|
- Gemfile
|
22
22
|
- Gemfile.lock
|
23
23
|
- LICENSE
|
24
|
+
- Rakefile
|
24
25
|
- lib/reciper.rb
|
25
26
|
- lib/reciper/helpers.rb
|
26
27
|
- lib/reciper/version.rb
|
@@ -28,6 +29,8 @@ files:
|
|
28
29
|
- spec/fixtures/recipe/failing_spec.rb
|
29
30
|
- spec/fixtures/recipe/file.rb
|
30
31
|
- spec/fixtures/recipe/my_name.rb
|
32
|
+
- spec/fixtures/ruby_app/Gemfile
|
33
|
+
- spec/fixtures/ruby_app/Gemfile.lock
|
31
34
|
- spec/fixtures/ruby_app/Rakefile
|
32
35
|
- spec/fixtures/ruby_app/lib/my_class.rb
|
33
36
|
- spec/fixtures/ruby_app/spec/true_spec.rb
|
@@ -61,6 +64,8 @@ test_files:
|
|
61
64
|
- spec/fixtures/recipe/failing_spec.rb
|
62
65
|
- spec/fixtures/recipe/file.rb
|
63
66
|
- spec/fixtures/recipe/my_name.rb
|
67
|
+
- spec/fixtures/ruby_app/Gemfile
|
68
|
+
- spec/fixtures/ruby_app/Gemfile.lock
|
64
69
|
- spec/fixtures/ruby_app/Rakefile
|
65
70
|
- spec/fixtures/ruby_app/lib/my_class.rb
|
66
71
|
- spec/fixtures/ruby_app/spec/true_spec.rb
|