onceover 3.0.0 → 3.0.1
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.
- checksums.yaml +4 -4
- data/controlrepo.gemspec +1 -1
- data/lib/onceover/runner.rb +5 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24a0daba1f95f2baf8a8945bab9b1fa801d71d35
|
|
4
|
+
data.tar.gz: 23052bb474ab460391981a324a4541a0fde4ec38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05659f5eb12f3f93154c59514e34e0bc5cc4e5be91a72473252cc62fa81caaf22dfbf2f364ef0feeab04939b55e861c6d5d5b7db175d4bfc945d825031d39431
|
|
7
|
+
data.tar.gz: 6b1d54ab5020abf811182a090aceedd323196ae0913bb17f8d13858255da13f715245afef5dc8931654ce2898935198431f7cad33b568ae423062736bdcb8db2
|
data/controlrepo.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "onceover"
|
|
6
|
-
s.version = "3.0.
|
|
6
|
+
s.version = "3.0.1"
|
|
7
7
|
s.authors = ["Dylan Ratcliffe"]
|
|
8
8
|
s.email = ["dylan.ratcliffe@puppet.com"]
|
|
9
9
|
s.homepage = "https://github.com/dylanratcliffe/onceover"
|
data/lib/onceover/runner.rb
CHANGED
|
@@ -7,6 +7,7 @@ class Onceover
|
|
|
7
7
|
@repo = repo
|
|
8
8
|
@config = config
|
|
9
9
|
@mode = [mode].flatten
|
|
10
|
+
@command_prefix = ENV['BUNDLE_GEMFILE'] ? 'bundle exec ' : ''
|
|
10
11
|
end
|
|
11
12
|
|
|
12
13
|
def prepare!
|
|
@@ -73,8 +74,8 @@ class Onceover
|
|
|
73
74
|
Dir.chdir(@repo.tempdir) do
|
|
74
75
|
#`bundle install --binstubs`
|
|
75
76
|
#`bin/rake spec_standalone`
|
|
76
|
-
logger.debug "Running
|
|
77
|
-
exec("
|
|
77
|
+
logger.debug "Running #{@command_prefix}rake spec_standalone from #{@repo.tempdir}"
|
|
78
|
+
exec("#{@command_prefix}rake spec_standalone")
|
|
78
79
|
end
|
|
79
80
|
end
|
|
80
81
|
|
|
@@ -82,8 +83,8 @@ class Onceover
|
|
|
82
83
|
Dir.chdir(@repo.tempdir) do
|
|
83
84
|
#`bundle install --binstubs`
|
|
84
85
|
#`bin/rake spec_standalone`
|
|
85
|
-
logger.debug "Running
|
|
86
|
-
exec("
|
|
86
|
+
logger.debug "Running #{@command_prefix}rake acceptance from #{@repo.tempdir}"
|
|
87
|
+
exec("#{@command_prefix}rake acceptance")
|
|
87
88
|
end
|
|
88
89
|
end
|
|
89
90
|
end
|