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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/saharspec/its/call.rb +3 -1
- data/lib/saharspec/version.rb +1 -1
- data/saharspec.gemspec +2 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0721274eeb44f375081b16acdc0096a4568c33438981d089b542c8ab0962fa79
|
4
|
+
data.tar.gz: 77f87039cb08a1eaad47a0351494139d1ef5a4b95102fa5357bc5f1c356cd148
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5334a10cad536a2ae6d8c43f0e81638cc65f651e1bd524ad24cc97f6c7f56608b127fe74e3b2efabee9dc9b41d37451ccaf4d9ccc4d3302d1eabb46bb51f7593
|
7
|
+
data.tar.gz: acd913e42ec0acf3ad8cbe501cd3524cfc078f1a5dcba56282bc5ca5f09799fb84657500331f98567e165f8dca58db835aa344bb15e55f5164e324c412c899be
|
data/CHANGELOG.md
CHANGED
data/lib/saharspec/its/call.rb
CHANGED
@@ -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
|
data/lib/saharspec/version.rb
CHANGED
data/saharspec.gemspec
CHANGED
@@ -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.
|
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:
|
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
|