govuk_schemas 4.1.0 → 4.1.1

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
  SHA256:
3
- metadata.gz: f4a5f71d0e8bc0b3e6450b64b35d1048b0d357a5c6582ff852b632209f70d7b3
4
- data.tar.gz: 94b066d781c22310f6e2781de937eacef3788a7d469447c5f48740bbf7f92eca
3
+ metadata.gz: 8123e8bc3461346b31359b47c260930e11505206315aedbfde7532b1601a1e7e
4
+ data.tar.gz: 3ad819db46a04377edda67d60f3a49c08493723a9b40eefd0d72eade6e1b752c
5
5
  SHA512:
6
- metadata.gz: 8c2df58d688b43d6c27ffc31b29ce86ca4d0fe2f066f6dfc86aad651f2874f36290eb58168268de3fc3c81efaf118a86d4b6aed52025d749170b02b90b7696d7
7
- data.tar.gz: d9acb23ed9baaf8b21afae83bdbcf428e973068ae81bab374c98f57897c650bec3fb3d1240cb1d8b4a5287b10111dfaa7f589d74b907975153b9b979d8fbeed1
6
+ metadata.gz: ad57ca91dbe8784fa643ebcab765565480523243fd21829240afc77337da373c0a40d25cfccb4efb225725cc7e40998192d44bb262992170b56fa1aeb38bbe2a
7
+ data.tar.gz: 2cb1d9f10a775ece8e9143a8de21738484d44f1702c14312da55579c8c0cbbad439b28e0eb554ec840a3c8bee3c551340c3ad5d3efd5273cbf4ad46deaac3afb
@@ -0,0 +1,17 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: /
5
+ schedule:
6
+ interval: daily
7
+ allow:
8
+ # Internal gems
9
+ - dependency-name: "govuk*"
10
+ dependency-type: direct
11
+ - dependency-name: rubocop-govuk
12
+ dependency-type: direct
13
+ # Framework gems
14
+ - dependency-name: rake
15
+ dependency-type: direct
16
+ - dependency-name: rspec
17
+ dependency-type: direct
@@ -1,3 +1,7 @@
1
+ # 4.1.1
2
+
3
+ * Fix RandomSchemaGenerator.new always returning equivalent generators ([#60](https://github.com/alphagov/govuk_schemas/pull/60))
4
+
1
5
  # 4.1.0
2
6
 
3
7
  * Add `seed` parameter to `GovukSchemas::RandomExample` to make the random behaviour deterministic. Given the same seed, the same randomised outputs will be returned ([#56](https://github.com/alphagov/govuk_schemas/pull/56)).
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_dependency "json-schema", "~> 2.8.0"
23
23
 
24
24
  spec.add_development_dependency "pry-byebug"
25
- spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "rake", "~> 13.0"
26
26
  spec.add_development_dependency "rspec", "~> 3.4"
27
27
  spec.add_development_dependency "rubocop-govuk", "~> 3.8"
28
28
  spec.add_development_dependency "yard", "~> 0.8"
@@ -12,7 +12,7 @@ module GovukSchemas
12
12
  class RandomSchemaGenerator
13
13
  def initialize(schema:, seed: nil)
14
14
  @schema = schema
15
- @random = Random.new(seed || rand)
15
+ @random = Random.new(seed || Random.new_seed)
16
16
  @generator = RandomContentGenerator.new(random: @random)
17
17
  end
18
18
 
@@ -1,4 +1,4 @@
1
1
  module GovukSchemas
2
2
  # @private
3
- VERSION = "4.1.0".freeze
3
+ VERSION = "4.1.1".freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_schemas
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-27 00:00:00.000000000 Z
11
+ date: 2020-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -101,6 +101,7 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - ".github/dependabot.yml"
104
105
  - ".gitignore"
105
106
  - ".rspec"
106
107
  - ".rubocop.yml"