flutter 0.2.2 → 0.2.4

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: 0137e88be0b2d6f99518bde9e33497eb948d824778661410538a72b0bf852c97
4
+ data.tar.gz: 2842efb0848b384af7b2f23fa12c0974c229c72bc43d02b54e8866c85a4124f7
5
5
  SHA512:
6
- metadata.gz: d696e398b4e0130b48ffa9f36b5fc7371ab62b9b37670a652e736f56c202df95ca0bef74c934cc8d2c802818b10d90e80b99c902e04b3ebdcf12601d14c0a752
7
- data.tar.gz: fc2e7556e864e626b9670344ef44c5d12c62321b63a48be5637082fc1213422184ee54d53ad42c9f0f7852420f1ce923d58bf2fdbfebeac6104a2307b7668f93
6
+ metadata.gz: 2ac30e5299a8127650b95b7178b38a3d7b949c5d1c65674163d9c89c2e18f676b47acb4a3a20887b3ce9d13cf108f5365b81a95a917bd7e0eba339c9f6c3fddd
7
+ data.tar.gz: a3b8bfeab3a7681616e7aac4af9d086d60b3a0b783beaf50e15499e3e7575876a2eb68ae89c31d6a3c4b3ce98d4b0c3f0dfdce536cdf49da5e45ebbafafc1133
data/CHANGELOG.md CHANGED
@@ -5,13 +5,21 @@ 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.4 - 2022-10-04
9
+ ### Changed
10
+ - Relax version requirement for dry-configurable
11
+
12
+ ## 0.2.3 - 2022-10-04
13
+ ### Fixed
14
+ - Disable filtering when Flutter.enabled=false
15
+
8
16
  ## 0.2.2 - 2022-10-03
9
17
  ### Added
10
18
  - Document configuration options in README
11
19
 
12
20
  ### Changed
13
- - Delay requiring source files explicitely and only in the case where
14
- - Ensure the previous test->coverage mapping is merged with current
21
+ - Delay requiring source files explicitely and only in the case where the constant cannot be found
22
+ - Ensure the previous test->coverage mapping is merged with current one when the test fails.
15
23
 
16
24
  ## 0.2.1
17
25
  ### Fixed
data/README.md CHANGED
@@ -12,8 +12,8 @@
12
12
  (_/ \_)
13
13
 
14
14
  ```
15
- Flutter plugs in to your [RSpec](https://rspec.info/) or [Minitest](https://github.com/minitest/minitest) test suites and helps you run only the tests that exercise the
16
- code you have changed since the last run.
15
+ Flutter plugs in to your [RSpec](https://rspec.info/) or [Minitest](https://github.com/minitest/minitest) test suites to
16
+ run only the tests that exercise the code that has changed since the last run.
17
17
 
18
18
  It can be used in local development as a live incremental test runner in
19
19
  combination with [Guard](https://github.com/guard/guard) (See examples for [minitest](#with-guard) and [rspec](#with-guard-1) respectively)
@@ -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.4"
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.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali-Akber Saifee
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '0.15'
34
+ version: '0.11'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0.15'
41
+ version: '0.11'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: parser
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -53,9 +53,8 @@ dependencies:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '3.1'
56
- description: "Flutter plugs in to your RSpec or Minitest test suites\n and helps
57
- you run only the tests that exercise the code you have changed since the last run\n
58
- \ "
56
+ description: "Plug in for RSpec & Minitest test suites\n to run only the tests that
57
+ exercise the code that has changed\n "
59
58
  email:
60
59
  - ali@indydevs.org
61
60
  - ankita@indydevs.org