onceover 3.3.0 → 3.3.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: 5e3d01548767f7131506d6a421d7c87d38fbd85b
4
- data.tar.gz: 17bb3e2bf387bd4dbb7032f2dddb8f0ed23b0215
3
+ metadata.gz: 16b8e87dd7f42d97a987d5ba6ea7df4882f792ac
4
+ data.tar.gz: 9654efc7739d62409e488b7f2651914b17e2831c
5
5
  SHA512:
6
- metadata.gz: e8c006df260af3879470b5a9593ef00b02ca76746fadf95cb3d923b52a254b12e652c51f2cec2f116db325c8dbe32af2f40d124044acbdfa627e1a17d9a53490
7
- data.tar.gz: 6941572c2ab56aaec5c572f8fa786d3b4bd6437c6cb8bf4efd4c90e9350d3299df2c33e470cb241a8b5740aeddad87469674243c231d6dea4dc88cf828ed50d0
6
+ metadata.gz: ccd6c5e3cd4f9749c6ef58ca8766cef9acfd93597283ab9bb2c67388ab43cd60d22c4bcd02ba45f2add5ba44153e3ffaad8dc8c94266521d3e6d02089bc151d9
7
+ data.tar.gz: 01d040074b62b0fcd2971be9cfa7d84720fdc1f3028bf68b630e3bbd48cbd2fa5fc045e9d534cb013a8ffb366878b005db632a15b12b1cf7e85a8a025885e804
data/README.md CHANGED
@@ -657,3 +657,4 @@ Cheers to all of those who helped out:
657
657
  - natemccurdy
658
658
  - aardvark
659
659
  - Mandos
660
+ - Nekototori
@@ -36,6 +36,7 @@ Then /^I see help for commands: "([^"]*)"$/ do |commands|
36
36
  end
37
37
 
38
38
  Then(/^I should not see any errors$/) do
39
+ puts @cmd.output unless @cmd.success?
39
40
  expect(@cmd.success?).to be true
40
41
  end
41
42
 
@@ -278,7 +278,15 @@ class Onceover
278
278
  modulepath.map! do |path|
279
279
  "#{environmentpath}/production/#{path}"
280
280
  end
281
- modulepath = modulepath.join(":")
281
+
282
+ # We need to select the right delimiter based on OS
283
+ require 'facter'
284
+ if Facter[:kernel].value == 'windows'
285
+ modulepath = modulepath.join(";")
286
+ else
287
+ modulepath = modulepath.join(':')
288
+ end
289
+
282
290
  repo.temp_modulepath = modulepath
283
291
 
284
292
  # Use an ERB template to write a spec test
data/onceover.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "onceover"
7
- s.version = "3.3.0"
7
+ s.version = "3.3.1"
8
8
  s.authors = ["Dylan Ratcliffe"]
9
9
  s.email = ["dylan.ratcliffe@puppet.com"]
10
10
  s.homepage = "https://github.com/dylanratcliffe/onceover"
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.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Ratcliffe