hiera-mock 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 470d3d4642bec2bb54df8dcc04b4faf76997c765
4
- data.tar.gz: 32655b1c4268a83b1b07bafd95ef54763effb582
3
+ metadata.gz: 05a6a637e930b9c43ee82968ef117085f0e15c3f
4
+ data.tar.gz: 72d8f961bcd2466fa4376fcc72591bf2bcccd46c
5
5
  SHA512:
6
- metadata.gz: c74a75994120335c839e2dfe9e529e3efed0cadda6ab467477a75b5a2f486383fcfc04ebac2a57e5610e90b1bd48a16ccb93e2958db077f334c89f15a6e17647
7
- data.tar.gz: bd915948fd57e5c6c2e9d3e40cca863399b2f91420e2e301c286b5080ec4d7b59b24bb1436e77f05994ca5fb896d416591d5c0eb285e3394962bb2706f60298b
6
+ metadata.gz: 6b1d41e9ceb41abd712b4ae5aea243a65bb79e2c8317af4f2c5dfac7a4710361d94a28a6964148ed293685c1357953832f6c0e5c69b725c1289d6f663d72019c
7
+ data.tar.gz: bb524dd36907384abeb765d645ef84bc7e72efdba7cafbccf38d968e1a4163457b31ced98cb3ea211268d807501ceacd08b0765393e6b85f4b28beae61479177
@@ -58,7 +58,7 @@ class Hiera
58
58
  def random_string
59
59
  chars = ['a'..'z', 'A'..'Z', '0'..'9'].flat_map(&:to_a)
60
60
  size = rand(6..16)
61
- return chars.sample(size).join
61
+ return 'mocked-' + chars.sample(size).join
62
62
  end
63
63
  end
64
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera-mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Vandeginste