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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8aa3d9b58d0daa14aee75e1561e2b74525524c0a
4
- data.tar.gz: 86c3a7df65a1d3bbbf00335e86eaf8fc72e52e66
3
+ metadata.gz: 24a0daba1f95f2baf8a8945bab9b1fa801d71d35
4
+ data.tar.gz: 23052bb474ab460391981a324a4541a0fde4ec38
5
5
  SHA512:
6
- metadata.gz: 735d48410601305d2943c804441a8c092cddc7166a3af581ac03ec1a061d6452ac2b5a5ab988a34158de1d16ad9dcd16a3e5a995bf99d68632a1c8bd0c842b22
7
- data.tar.gz: 0bd02b2bbfb6b16565431511dfb433d706928aed3f4b09304ca07108d6e32b32d37802ef0b072fa9bd8f7b0bffc3e727e03d22ea09c4a91a97231fe6bd54a32c
6
+ metadata.gz: 05659f5eb12f3f93154c59514e34e0bc5cc4e5be91a72473252cc62fa81caaf22dfbf2f364ef0feeab04939b55e861c6d5d5b7db175d4bfc945d825031d39431
7
+ data.tar.gz: 6b1d54ab5020abf811182a090aceedd323196ae0913bb17f8d13858255da13f715245afef5dc8931654ce2898935198431f7cad33b568ae423062736bdcb8db2
@@ -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.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"
@@ -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 bundle exec rake spec_standalone from #{@repo.tempdir}"
77
- exec("bundle exec rake spec_standalone")
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 bundle exec rake acceptance from #{@repo.tempdir}"
86
- exec("bundle exec rake acceptance")
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onceover
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Ratcliffe