typ-rspec-matcher 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bc7a71ea9f9b81cbbcb1ad16a48e6ef4cceba2624077264e9cb5246245dc254
4
- data.tar.gz: 5c982e6da79f11552a7ecd42eb58360d564a58ebacb34f0a0d91ad325523947d
3
+ metadata.gz: eb08fefcf8b6ccb92cdcefc43f7dd7fb7a7506d053116952be41805440b063c8
4
+ data.tar.gz: bd4a2573ee72e6175ce0cca7a4ff322be2cf6bbd2093580e28e1cf7fd251a68c
5
5
  SHA512:
6
- metadata.gz: 7776fb2aa0213419968851e20ac82af0e0f40900553f4ce491f530f330e86c25fbae9d2f2ade5d965191d0825159b5351be3493669645b9c4133848d8f5226ab
7
- data.tar.gz: 64664eb1ed2a1d6875377dfd3817d0b6d700649c44e1808b6543079c9677bdb06c756d3ef506a56bcd8c19dda54f8b8ecd68be83128a61a9fa744cb4cc33ad4e
6
+ metadata.gz: 4c91b5cc43fdefdf1cd1e395adb78f95157c518b88570c2fe8be9ca5ee8b18d8c8cb96510d328d25d6a529b07db3b3ad747c7423e7d4876346bbabbc041da127
7
+ data.tar.gz: ed1ea109d3e0dae3198a55c6df3dca9c3d901cc0a754da10478846fb19f63bc8f5f685ba07da4b5703117581fb53de5ffaea4220670d1ce590c8bf5f902f2485
data/Gemfile CHANGED
@@ -2,10 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem 'pry'
4
4
  gem 'awesome_print'
5
- gem 'byebug'
6
- gem 'pry-byebug'
7
- gem 'mutant'
8
- gem 'mutant-rspec'
9
5
  gem 'rspec'
10
6
 
11
7
  gemspec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- typ-rspec-matcher (0.0.2)
4
+ typ-rspec-matcher (0.1.0)
5
5
  awesome_print
6
6
  typ
7
7
  typ-formatter
@@ -9,107 +9,41 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- abstract_type (0.0.7)
13
- adamantium (0.2.0)
14
- ice_nine (~> 0.11.0)
15
- memoizable (~> 0.4.0)
16
- anima (0.3.0)
17
- abstract_type (~> 0.0.7)
18
- adamantium (~> 0.2)
19
- equalizer (~> 0.0.11)
20
- ast (2.4.0)
21
- awesome_print (1.8.0)
22
- byebug (10.0.2)
23
- coderay (1.1.2)
24
- concord (0.1.5)
25
- adamantium (~> 0.2.0)
26
- equalizer (~> 0.0.9)
27
- diff-lcs (1.3)
28
- equalizer (0.0.11)
29
- ice_nine (0.11.2)
30
- memoizable (0.4.2)
31
- thread_safe (~> 0.3, >= 0.3.1)
32
- method_source (0.9.0)
33
- morpher (0.2.6)
34
- abstract_type (~> 0.0.7)
35
- adamantium (~> 0.2.0)
36
- anima (~> 0.3.0)
37
- ast (~> 2.2)
38
- concord (~> 0.1.5)
39
- equalizer (~> 0.0.9)
40
- ice_nine (~> 0.11.0)
41
- procto (~> 0.0.2)
42
- mutant (0.8.14)
43
- abstract_type (~> 0.0.7)
44
- adamantium (~> 0.2.0)
45
- anima (~> 0.3.0)
46
- ast (~> 2.2)
47
- concord (~> 0.1.5)
48
- diff-lcs (~> 1.3)
49
- equalizer (~> 0.0.9)
50
- ice_nine (~> 0.11.1)
51
- memoizable (~> 0.4.2)
52
- morpher (~> 0.2.6)
53
- parallel (~> 1.3)
54
- parser (>= 2.3.1.4, < 2.5)
55
- procto (~> 0.0.2)
56
- regexp_parser (~> 0.4.3)
57
- unparser (~> 0.2.5)
58
- mutant-rspec (0.8.14)
59
- mutant (~> 0.8.14)
60
- rspec-core (>= 3.4.0, < 3.7.0)
61
- parallel (1.12.1)
62
- parser (2.4.0.2)
63
- ast (~> 2.3)
64
- procto (0.0.3)
65
- pry (0.11.3)
66
- coderay (~> 1.1.0)
67
- method_source (~> 0.9.0)
68
- pry-byebug (3.6.0)
69
- byebug (~> 10.0)
70
- pry (~> 0.10)
71
- rainbow (3.0.0)
72
- regexp_parser (0.4.13)
73
- rspec (3.6.0)
74
- rspec-core (~> 3.6.0)
75
- rspec-expectations (~> 3.6.0)
76
- rspec-mocks (~> 3.6.0)
77
- rspec-core (3.6.0)
78
- rspec-support (~> 3.6.0)
79
- rspec-expectations (3.6.0)
12
+ awesome_print (1.9.2)
13
+ coderay (1.1.3)
14
+ diff-lcs (1.5.0)
15
+ method_source (1.0.0)
16
+ pry (0.14.2)
17
+ coderay (~> 1.1)
18
+ method_source (~> 1.0)
19
+ rainbow (3.1.1)
20
+ rspec (3.12.0)
21
+ rspec-core (~> 3.12.0)
22
+ rspec-expectations (~> 3.12.0)
23
+ rspec-mocks (~> 3.12.0)
24
+ rspec-core (3.12.2)
25
+ rspec-support (~> 3.12.0)
26
+ rspec-expectations (3.12.3)
80
27
  diff-lcs (>= 1.2.0, < 2.0)
81
- rspec-support (~> 3.6.0)
82
- rspec-mocks (3.6.0)
28
+ rspec-support (~> 3.12.0)
29
+ rspec-mocks (3.12.6)
83
30
  diff-lcs (>= 1.2.0, < 2.0)
84
- rspec-support (~> 3.6.0)
85
- rspec-support (3.6.0)
31
+ rspec-support (~> 3.12.0)
32
+ rspec-support (3.12.1)
86
33
  string-indent (0.0.1)
87
- thread_safe (0.3.6)
88
- typ (0.0.3)
89
- typ-formatter (0.0.1)
34
+ typ (0.0.6)
35
+ typ-formatter (0.0.2)
90
36
  rainbow
91
37
  string-indent
92
- unparser (0.2.7)
93
- abstract_type (~> 0.0.7)
94
- adamantium (~> 0.2.0)
95
- concord (~> 0.1.5)
96
- diff-lcs (~> 1.3)
97
- equalizer (~> 0.0.9)
98
- parser (>= 2.3.1.2, < 2.6)
99
- procto (~> 0.0.2)
100
38
 
101
39
  PLATFORMS
102
- ruby
40
+ x86_64-linux
103
41
 
104
42
  DEPENDENCIES
105
43
  awesome_print
106
- byebug
107
- mutant
108
- mutant-rspec
109
44
  pry
110
- pry-byebug
111
45
  rspec
112
46
  typ-rspec-matcher!
113
47
 
114
48
  BUNDLED WITH
115
- 1.16.1
49
+ 2.4.15
@@ -1,5 +1,5 @@
1
1
  require_relative '../matcher'
2
2
 
3
- def typ typ_class
3
+ def pose typ_class
4
4
  Typ::RSpec::Matcher.new typ_class
5
5
  end
data/readme.adoc CHANGED
@@ -13,10 +13,3 @@ To run the specs:
13
13
  ----
14
14
  bundle exec rspec
15
15
  ----
16
-
17
- To perform mutation analysis:
18
-
19
- [source,bash]
20
- ----
21
- bundle exec mutant --use rspec 'Typ::RSpec::Matcher*'
22
- ----
data/spec/Matcher_spec.rb CHANGED
@@ -13,7 +13,7 @@ describe Typ::RSpec::Matcher do
13
13
  expect(bool).to be false
14
14
 
15
15
  failure_message = <<~S.chomp
16
- -1
16
+ \e[1;34m-1\e[0m
17
17
  #{Rainbow(Positive).red}
18
18
  #{Rainbow('is [:>, 0]').red}
19
19
  S
@@ -1,9 +1,10 @@
1
1
  Gem::Specification.new do |g|
2
2
  g.name = 'typ-rspec-matcher'
3
3
  g.files = `git ls-files`.split($/)
4
- g.version = '0.0.3'
4
+ g.version = '0.1.0'
5
5
  g.summary = 'A RSpec matcher to check objects with typs.'
6
- g.authors = ['Anatoly Chernow']
6
+ g.authors = ['Anatoly Chernov']
7
+ g.email = ["chertoly@gmail.com"]
7
8
 
8
9
  g.add_dependency 'awesome_print'
9
10
  g.add_dependency 'typ-formatter'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typ-rspec-matcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Anatoly Chernow
7
+ - Anatoly Chernov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-29 00:00:00.000000000 Z
11
+ date: 2023-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -53,7 +53,8 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description:
56
- email:
56
+ email:
57
+ - chertoly@gmail.com
57
58
  executables: []
58
59
  extensions: []
59
60
  extra_rdoc_files: []
@@ -61,7 +62,7 @@ files:
61
62
  - Gemfile
62
63
  - Gemfile.lock
63
64
  - lib/typ/rspec/matcher.rb
64
- - lib/typ/rspec/matcher/with_method.rb
65
+ - lib/typ/rspec/matcher/pose.rb
65
66
  - readme.adoc
66
67
  - spec/Matcher_spec.rb
67
68
  - spec/helper.rb
@@ -84,8 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
85
  - !ruby/object:Gem::Version
85
86
  version: '0'
86
87
  requirements: []
87
- rubyforge_project:
88
- rubygems_version: 2.7.6
88
+ rubygems_version: 3.4.15
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: A RSpec matcher to check objects with typs.