saharspec 0.0.6 → 0.0.7

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: 9467b45b9c26592854a9ce9ef7b9e5a549229a357602a3bf03241d5398f9cfcb
4
- data.tar.gz: 0b981cb23146042faa5e584400bd941012a9ab57f8d5f68a080add82d443e23c
3
+ metadata.gz: 0721274eeb44f375081b16acdc0096a4568c33438981d089b542c8ab0962fa79
4
+ data.tar.gz: 77f87039cb08a1eaad47a0351494139d1ef5a4b95102fa5357bc5f1c356cd148
5
5
  SHA512:
6
- metadata.gz: fef4a6f67cf9db940fcd906f6c3b3edf924c26577d2d504202776b1bcbaad35027f9071bd2658afae22d081800ae8997fe70ae73ca3b165726a7d2b630484975
7
- data.tar.gz: b55ed52e2842a7cf4b00ce01c8c2bf8c8fd91b53833dbf86498ead0febf55ed5cd86ab42b8c130e3a538ae5e0300df25c5beb114a778ae808cecf225d9198777
6
+ metadata.gz: 5334a10cad536a2ae6d8c43f0e81638cc65f651e1bd524ad24cc97f6c7f56608b127fe74e3b2efabee9dc9b41d37451ccaf4d9ccc4d3302d1eabb46bb51f7593
7
+ data.tar.gz: acd913e42ec0acf3ad8cbe501cd3524cfc078f1a5dcba56282bc5ca5f09799fb84657500331f98567e165f8dca58db835aa344bb15e55f5164e324c412c899be
@@ -1,5 +1,9 @@
1
1
  # Saharspec history
2
2
 
3
+ ## 0.0.7 -- 2020-04-11
4
+
5
+ * Allow `its_call` to work properly with keyword args on Ruby 2.7
6
+
3
7
  ## 0.0.6 -- 2019-10-05
4
8
 
5
9
  * Fix `dont.send_message` combination behavior (and generally, behavior of `dont.` with matchers
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'ruby2_keywords'
4
+
3
5
  module Saharspec
4
6
  module Its
5
7
  module Call
@@ -25,7 +27,7 @@ module Saharspec
25
27
  # its_call(5) { is_expected.to change(array, :length).by(1) }
26
28
  # end
27
29
  #
28
- def its_call(*args, &block)
30
+ ruby2_keywords def its_call(*args, &block)
29
31
  # rubocop:disable Lint/NestedMethodDefinition
30
32
  describe("(#{args.map(&:inspect).join(', ')})") do
31
33
  let(:__call_subject) do
@@ -3,6 +3,6 @@
3
3
  module Saharspec
4
4
  MAJOR = 0
5
5
  MINOR = 0
6
- PATCH = 6
6
+ PATCH = 7
7
7
  VERSION = [MAJOR, MINOR, PATCH].join('.')
8
8
  end
@@ -25,6 +25,8 @@ Gem::Specification.new do |s|
25
25
 
26
26
  s.required_ruby_version = '>= 2.3.0'
27
27
 
28
+ s.add_runtime_dependency 'ruby2_keywords'
29
+
28
30
  s.add_development_dependency 'rubocop', '~> 0.75'
29
31
  s.add_development_dependency 'rspec', '~> 3.7.0'
30
32
  s.add_development_dependency 'rspec-its'
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saharspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Shepelev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-05 00:00:00.000000000 Z
11
+ date: 2020-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ruby2_keywords
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rubocop
15
29
  requirement: !ruby/object:Gem::Requirement