value_semantics 3.2.0 → 3.2.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: bcbb8468dcb54cae31c758fd34f4560e83efd8817a7d5eeb242e8b15293a12f5
4
- data.tar.gz: 9cc2375503098535a28735cf97b044a8374fe819b41a8d4ebc0e43df0125ac0c
3
+ metadata.gz: f122fa566277c213c7eb2a31b38af94d4287b1688d91da91bd5eea8044a041ba
4
+ data.tar.gz: 371bc15f0cc7449042b19d5064e4a28f76ec1d6c0aae2c64622adf3252621045
5
5
  SHA512:
6
- metadata.gz: 0235750ae8ccce0830e75cf1b5be71b5bfb1417d71beb035484288648e26b07877538c47adf871f7b7725a736448192ce21884446aa2b58b8ce56edb4eed6013
7
- data.tar.gz: d8f9c0cf27b34aa724e628129f883baf4b0d3ef7ae9772ee55c7904691e68deb6723b824b5b50456f73a4093f7a2b2ca48c907c938f14cb75a1deb8786a46fde
6
+ metadata.gz: a7ebe03be2de318e43027cc4d27ed737111654a5d74c0646f62691076e0f51938eb55966a3f04105f4a4c86d242a0134ca3f5fafa27089aedd4c51f2fb45abd9
7
+ data.tar.gz: ac4e7a9f938e0bd9193d4260a8c211db6a05554463b6312a6409499a8d22c7a34b281093cf2c487676fefd58915b21027a47c99a75619fb2b80c457672ced57e
@@ -4,14 +4,15 @@ script: bin/test
4
4
  # test old Ruby versions WITHOUT mutation testing
5
5
  rvm:
6
6
  - 2.3.8
7
- - 2.4.5
8
- - 2.5.3
7
+ - 2.4.10
8
+ - 2.5.8
9
+ - 2.6.6
9
10
  env: MUTATION_TEST=false
10
11
 
11
12
  # test the latest Ruby version WITH mutation testing
12
13
  matrix:
13
14
  include:
14
- - rvm: 2.6.0
15
+ - rvm: 2.7.1
15
16
  env: MUTATION_TEST=true
16
17
 
17
18
  # deploy gem on tagged commits, on the latest Ruby version only
@@ -5,6 +5,11 @@ Notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+
9
+ ## [3.2.1] - 2020-07-11
10
+ ### Fixed
11
+ - Fix warnings new to Ruby 2.7 about keyword arguments
12
+
8
13
  ## [3.2.0] - 2019-09-30
9
14
  ### Added
10
15
  - `ValueSemantics::Struct`, a convenience for creating a new class and mixing
@@ -294,13 +294,13 @@ module ValueSemantics
294
294
  ArrayOf.new(element_validator)
295
295
  end
296
296
 
297
- def def_attr(*args)
298
- __attributes << Attribute.define(*args)
297
+ def def_attr(*args, **kwargs)
298
+ __attributes << Attribute.define(*args, **kwargs)
299
299
  end
300
300
 
301
- def method_missing(name, *args)
301
+ def method_missing(name, *args, **kwargs)
302
302
  if respond_to_missing?(name)
303
- def_attr(name, *args)
303
+ def_attr(name, *args, **kwargs)
304
304
  else
305
305
  super
306
306
  end
@@ -1,3 +1,3 @@
1
1
  module ValueSemantics
2
- VERSION = "3.2.0"
2
+ VERSION = "3.2.1"
3
3
  end
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ["lib"]
27
27
 
28
- spec.add_development_dependency "bundler", "~> 1.15"
29
- spec.add_development_dependency "rspec", "~> 3.7.0"
28
+ spec.add_development_dependency "bundler", ">= 1.15"
29
+ spec.add_development_dependency "rspec", "~> 3.7"
30
30
  spec.add_development_dependency "mutant-rspec"
31
31
  spec.add_development_dependency "yard"
32
32
  spec.add_development_dependency "byebug"
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: value_semantics
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Dalling
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-30 00:00:00.000000000 Z
11
+ date: 2020-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.15'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.15'
27
27
  - !ruby/object:Gem::Dependency
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 3.7.0
33
+ version: '3.7'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 3.7.0
40
+ version: '3.7'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mutant-rspec
43
43
  requirement: !ruby/object:Gem::Requirement