sinclair 1.6.6 → 1.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/config/check_specs.yml +3 -0
- data/config/yardstick.yml +7 -1
- data/lib/sinclair/matchers.rb +37 -10
- data/lib/sinclair/matchers/add_class_method.rb +16 -13
- data/lib/sinclair/matchers/add_class_method_to.rb +9 -23
- data/lib/sinclair/matchers/add_instance_method.rb +16 -18
- data/lib/sinclair/matchers/add_instance_method_to.rb +12 -16
- data/lib/sinclair/matchers/add_method.rb +13 -30
- data/lib/sinclair/matchers/add_method_to.rb +4 -56
- data/lib/sinclair/matchers/base.rb +45 -0
- data/lib/sinclair/matchers/change_class_method.rb +42 -0
- data/lib/sinclair/matchers/change_class_method_on.rb +64 -0
- data/lib/sinclair/matchers/change_instance_method.rb +42 -0
- data/lib/sinclair/matchers/change_instance_method_on.rb +98 -0
- data/lib/sinclair/matchers/change_method_on.rb +25 -0
- data/lib/sinclair/matchers/method_to.rb +82 -0
- data/lib/sinclair/version.rb +1 -1
- data/spec/lib/sinclair/matchers/add_class_method_to_spec.rb +40 -16
- data/spec/lib/sinclair/matchers/add_instance_method_to_spec.rb +36 -12
- data/spec/lib/sinclair/matchers/change_class_method_on_spec.rb +138 -0
- data/spec/lib/sinclair/matchers/change_class_method_spec.rb +38 -0
- data/spec/lib/sinclair/matchers/change_instance_method_on_spec.rb +149 -0
- data/spec/lib/sinclair/matchers/change_instance_method_spec.rb +38 -0
- data/spec/lib/sinclair/matchers_spec.rb +30 -0
- metadata +13 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinclair
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DarthJee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -289,6 +289,13 @@ files:
|
|
289
289
|
- lib/sinclair/matchers/add_instance_method_to.rb
|
290
290
|
- lib/sinclair/matchers/add_method.rb
|
291
291
|
- lib/sinclair/matchers/add_method_to.rb
|
292
|
+
- lib/sinclair/matchers/base.rb
|
293
|
+
- lib/sinclair/matchers/change_class_method.rb
|
294
|
+
- lib/sinclair/matchers/change_class_method_on.rb
|
295
|
+
- lib/sinclair/matchers/change_instance_method.rb
|
296
|
+
- lib/sinclair/matchers/change_instance_method_on.rb
|
297
|
+
- lib/sinclair/matchers/change_method_on.rb
|
298
|
+
- lib/sinclair/matchers/method_to.rb
|
292
299
|
- lib/sinclair/method_builder.rb
|
293
300
|
- lib/sinclair/method_builder/base.rb
|
294
301
|
- lib/sinclair/method_builder/block_method_builder.rb
|
@@ -341,6 +348,10 @@ files:
|
|
341
348
|
- spec/lib/sinclair/matchers/add_class_method_to_spec.rb
|
342
349
|
- spec/lib/sinclair/matchers/add_instance_method_spec.rb
|
343
350
|
- spec/lib/sinclair/matchers/add_instance_method_to_spec.rb
|
351
|
+
- spec/lib/sinclair/matchers/change_class_method_on_spec.rb
|
352
|
+
- spec/lib/sinclair/matchers/change_class_method_spec.rb
|
353
|
+
- spec/lib/sinclair/matchers/change_instance_method_on_spec.rb
|
354
|
+
- spec/lib/sinclair/matchers/change_instance_method_spec.rb
|
344
355
|
- spec/lib/sinclair/matchers_spec.rb
|
345
356
|
- spec/lib/sinclair/method_builder/block_method_builder_spec.rb
|
346
357
|
- spec/lib/sinclair/method_builder/string_method_builder_spec.rb
|