onceover-octocatalog-diff 0.1.6 → 0.1.7

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: f0457bcc4f5c3efc091ed7596a99bde39a501af4
4
- data.tar.gz: 9eb05d24a9e322eee21214360ec365a32b34abfb
3
+ metadata.gz: a927c3f520818509682594260993509a3bc06abf
4
+ data.tar.gz: ba4bca6bee064e8bd658dd1827a62f5b2d5a4caf
5
5
  SHA512:
6
- metadata.gz: 7c9dd44b08702d4c149d85571b022e8887c8b4747da5f30d62356e48426271b495e29e17f2cc705b49cfb939cd0d7ad49877edd94919fde144972a07ad307021
7
- data.tar.gz: 495d99145707f8eb4038eb43e0038dff06490f151bef1ddbc1b489967637c5ec95dcf9ad16b870c75227e0c27c4dd2d0aa0593f2d03a01f57505e9c1dae4636d
6
+ metadata.gz: e1d6976ca531274fd23809818a30b0788030d5dd2a60ced421f5eae7b154df8ef58aca9a68fea42e54842ce2ce88bdc98db5fc0903db188bc0b4894f24b672bb
7
+ data.tar.gz: 1a9faa40436de49b7a51875174ec327634e3f0b9a0363503951ee1ac9bd8521739b4e6309c468e4065fb10840b15a3e0dcdf99bc236ff821b697aa2009f1bfc3
@@ -58,7 +58,8 @@ revisions to compare between.
58
58
  end
59
59
 
60
60
  deduped_factsets.each do |basename,path|
61
- FileUtils.cp(path,"#{tempdir}/spec/factsets/")
61
+ facts = JSON.load(File.read(path))
62
+ File.open("#{tempdir}/spec/factsets/#{File.basename(path,'.*')}.yaml", 'w') { |f| f.write facts.to_yaml }
62
63
  end
63
64
 
64
65
  if File.directory?("#{r10k_cache_dir}/modules")
@@ -95,7 +96,7 @@ revisions to compare between.
95
96
 
96
97
  command_args = [
97
98
  '--fact-file',
98
- "#{tempdir}/spec/factsets/#{test.nodes[0].name}.json",
99
+ "#{tempdir}/spec/factsets/#{test.nodes[0].name}.yaml",
99
100
  '--from',
100
101
  opts[:from],
101
102
  '--to',
@@ -1,7 +1,7 @@
1
1
  class Onceover
2
2
  module Octocatalog
3
3
  module Diff
4
- VERSION = "0.1.6"
4
+ VERSION = "0.1.7"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onceover-octocatalog-diff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Ratcliffe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-20 00:00:00.000000000 Z
11
+ date: 2017-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler