packs-rails-minitest 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0af4760c8ebd6d083516a7f4be43c417f00e37e1eb7a764c01eec643e045883d
4
- data.tar.gz: 9cb08376463bd7fe2a7756df2c693f1ddf94b9e972a429ec5c527e091b0cfb9a
3
+ metadata.gz: '096f9352f62c9c220cd67c01cd64df1d36860e76c2c4ef8fc661163d0be58edd'
4
+ data.tar.gz: 58bc4532e0107064c941464b7fb7e499e49a399b9dceb2ac56b6cfba2324c0b9
5
5
  SHA512:
6
- metadata.gz: 6988173415813cef847aa6b632f12f748bc91d7a0fdda83a02e9dcf92ea867294dd2621fccfd144140982b86c60caed3ef7eda6fcb3becbcd588b1a2092d8ba7
7
- data.tar.gz: 92f984cf364fd9a33e21021d5028cff4108d585550f96d3b0f873eacef7c91a70f8ed69cd99229c8165b7730114ac658cc57e0dbb1b879c8a24a5ed7de80faed
6
+ metadata.gz: 7c317a94d61bbd85c8490f04d75d92ebe4a16311f24dc53637d2527ecda3bf8735e9f529155e7634d21b40f5c8a973238dd9755be3abcfdda752e2d848360f81
7
+ data.tar.gz: ef9f7e1828dcae3dee7d0f874b91a86db4bd46eaeff65d2eca9a3c4c05c56363f39e354ab7324ce90ad9a7abfcd74e764aab4af14a7169cf6bbaa8b4de34a178
@@ -1,7 +1,7 @@
1
1
  module Packs
2
2
  module Rails
3
3
  module Minitest
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.5"
5
5
  end
6
6
  end
7
7
  end
@@ -1,4 +1,7 @@
1
- run_tests = ->(*args) { system("rails", "test", *args) || exit($?.exitstatus) }
1
+ run_tests = ->(*args) do
2
+ opts = ENV.key?("TESTOPTS") ? ENV["TESTOPTS"].shellsplit : []
3
+ system("rails", "test", *args, *opts) || exit($?.exitstatus)
4
+ end
2
5
 
3
6
  namespace :packs do
4
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packs-rails-minitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Graham Rogers