flutter 0.2.2 → 0.2.3

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: d3929d7a4586b20232226e254f271162bba4ee4a8212bd65a59b1a06c371d9f3
4
- data.tar.gz: ed09b644a323dd8fc4dccb380a6212d272fb283708e9edbdc42487cd82728513
3
+ metadata.gz: 0daff4637dd21ecf8d1b03a3a63462f8a4d2cdabd36323348093e4d94dbba057
4
+ data.tar.gz: 6245d89c2e32a14c419dd888822766c2e99e9423d38d57280c6586a357649023
5
5
  SHA512:
6
- metadata.gz: d696e398b4e0130b48ffa9f36b5fc7371ab62b9b37670a652e736f56c202df95ca0bef74c934cc8d2c802818b10d90e80b99c902e04b3ebdcf12601d14c0a752
7
- data.tar.gz: fc2e7556e864e626b9670344ef44c5d12c62321b63a48be5637082fc1213422184ee54d53ad42c9f0f7852420f1ce923d58bf2fdbfebeac6104a2307b7668f93
6
+ metadata.gz: cc30fd26343a5668793299c43a7361edb635f45f62693a8cbb9383d2eb910dd021cb738746cca92cd56b24a6fecbabb002e4d0e4f2476624aa8d5965ab9271b8
7
+ data.tar.gz: 572a637813788adb8ef674b97381976e3b4e56adc75ba70aa903e20f38bd564b956f092b8e8a1388844f139bf96cea868d18c188d5eb5333dd0f7e4bdeb3c2e1
data/CHANGELOG.md CHANGED
@@ -5,13 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## Unreleased
8
+ ## 0.2.3 - 2022-10-04
9
+ ### Fixed
10
+ - Disable filtering when Flutter.enabled=false
11
+
8
12
  ## 0.2.2 - 2022-10-03
9
13
  ### Added
10
14
  - Document configuration options in README
11
15
 
12
16
  ### Changed
13
- - Delay requiring source files explicitely and only in the case where
14
- - Ensure the previous test->coverage mapping is merged with current
17
+ - Delay requiring source files explicitely and only in the case where the constant cannot be found
18
+ - Ensure the previous test->coverage mapping is merged with current one when the test fails.
15
19
 
16
20
  ## 0.2.1
17
21
  ### Fixed
@@ -42,6 +42,8 @@ module Flutter
42
42
  module Hooks
43
43
  module ClassMethods
44
44
  def runnable_methods
45
+ return super unless ::Flutter.enabled
46
+
45
47
  Flutter::Minitest.filtered ||= 0
46
48
  Flutter::Minitest.total ||= 0
47
49
  default = super()
data/lib/flutter/rspec.rb CHANGED
@@ -17,6 +17,8 @@ module Flutter
17
17
 
18
18
  module ClassMethods
19
19
  def filtered_examples
20
+ return super unless Flutter.enabled
21
+
20
22
  Flutter::RSpec.filtered ||= Set.new
21
23
  Flutter::RSpec.total ||= Set.new
22
24
  Flutter::RSpec.tracker.reset! if Flutter.enabled && Flutter.config.reset_storage
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # :nocov:
4
+
3
5
  module Flutter
4
- VERSION = "0.2.2"
6
+ VERSION = "0.2.3"
5
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flutter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali-Akber Saifee