minitest_visible 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 5c6e12ee17634c48d5e34e78ec50bf272615e7a6
4
- data.tar.gz: 7a0987886872168b0f6a0493841d3f5551188e4d
3
+ metadata.gz: 5ada91a454e6dd8ce8428397e1a624e867d09339
4
+ data.tar.gz: cc79c1ab2b28698c6de0be4b3963bf603f8eddf0
5
5
  SHA512:
6
- metadata.gz: 1fb67c02b3f850cd324cecef6239287f21b93aff5b3536f27052973c19f61fe7a1b2f8d898b227529d2e470a1523b7701610398de65d7242da8570c7b910e318
7
- data.tar.gz: cad6bb5e7821204485b6cd267d89494164d6c2762d3d63865bca7cca64edbb2e55a703fe98a17f1f416cff781659e789335091b82844079435ec9c0e71dea5ba
6
+ metadata.gz: 8194e10b11a6b55cf974aa895b8414376e3b27dba0e1e1a0e7902d2600ba44d6eec3e42b1f6bb2a828f4b2f02dcc93869416e815be2f13f244cd6303306210f5
7
+ data.tar.gz: c9d47d3d9455f51447233d2723f3e9b25b614f19922e249f65495ba684ac8a1445d3b63f3217288fc6b83d667fb41fd1ccd3195e18fb7f0aaf795492f0fef5fe
data/README.md CHANGED
@@ -78,6 +78,15 @@ While this is a bit more ceremony than is desirable, test files have a fair bit
78
78
  of boilerplate stuff as it is. The template folder has the file xyzzy_test.rb
79
79
  which is my template for creating test files. Copy, rename and use as you wish.
80
80
 
81
+ ## Compatibility
82
+
83
+ The API of this gem is new compared to how it was under versions before 0.1.0.
84
+ Code using the older API will continue to work and tests will not suddenly
85
+ break (at least not due to minitest_visible). However, test files using the
86
+ obsolete API will now generate the following warning:
87
+
88
+ The track method is deprecated. Use include MinitestVisible instead.
89
+
81
90
  ## Contributing
82
91
 
83
92
  1. Fork it
@@ -14,6 +14,10 @@ module MinitestVisible
14
14
  puts "MiniTest version = #{MiniTest::Unit::VERSION}"
15
15
  end
16
16
 
17
+ unless defined? $minitest_visible_once_per_file
18
+ $minitest_visible_once_per_file = nil
19
+ end
20
+
17
21
  if $minitest_visible_once_per_file != file
18
22
  puts "\nRunning test file: #{File.split(file)[1]}"
19
23
  $minitest_visible_once_per_file = file
@@ -1,4 +1,4 @@
1
1
  module MinitestVisible
2
2
  #The version of this module.
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest_visible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Camilleri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-17 00:00:00.000000000 Z
11
+ date: 2016-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler