spout 0.3.0.rc → 0.3.0.rc2

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
  SHA1:
3
- metadata.gz: ac53c71982fc81b63947e6de99639a70f1a4c0e9
4
- data.tar.gz: 4f13cfb9b25c7a07acec482ddf6ee57bb72cc7d2
3
+ metadata.gz: d5671a8b41975a9ab290e27c97afd2e145e3b268
4
+ data.tar.gz: de9fbced0d2dd9f7b926cf266a3d7f44c64102de
5
5
  SHA512:
6
- metadata.gz: a81fcf660ba4a79ad38d64dec2d9bbde2a5a0702a513036f9f79f508ff78df83c007f2e551f81bfefb270d254ac3820d3f324dfadd35af2229d355070a15b410
7
- data.tar.gz: b041c265cea682d7729b0ca7d2149d1c143c7399d23b8a190e500ee259ea76eb9e845b0b920e4c271c539ed56fedaf59f005d9d33a9da1be70f742fba54db812
6
+ metadata.gz: 92c999b5af0fb4832ba0f3fb1d9ab4302e060d7d4da38232a86358eae4e4de18c69390bf034cf672ee98a6250ce95d34b9a6ad05fd015ca29a20361dc49bf833
7
+ data.tar.gz: b6dc0ec67ca26940e11be22af04179b34cfceef4484bd16413d773977a642c435ab33633e41c2aaf6602c5f6cccdfab966871f8d5fa3fdda4a41b7e4631278ef
@@ -2,7 +2,7 @@
2
2
 
3
3
  ### Enhancements
4
4
  - Tests now hide passing tests by default
5
- - To show all tests, use `spout tv`, or verbose tests
5
+ - To show all tests, use `spout tv`, or `bundle exec rake`
6
6
  - Exports will now create a folder based on the version specified in the `VERSION` file located in the root of the data dictionary
7
7
  - If a version is specified, `spout export 1.0.1` then the command line version is used
8
8
  - If no version is specified, and no `VERSION` file exists, then the default `1.0.0` is used
@@ -8,9 +8,9 @@ module Spout
8
8
  when '--version', '-v', '-ve', '-ver', 'version', 'v', 've', 'ver'
9
9
  puts "Spout #{Spout::VERSION::STRING}"
10
10
  when 'test', 't', 'te', 'tes', '--test', '-t', '-te', '-tes'
11
- system "bundle exec rake"
11
+ system "bundle exec rake HIDE_PASSING_TESTS=true"
12
12
  when 'tv'
13
- system "bundle exec rake VERBOSE_TESTS=true"
13
+ system "bundle exec rake"
14
14
  when 'import', 'i', 'im', 'imp', '--import', '-i', '-im', '-imp'
15
15
  import_from_csv(argv)
16
16
  when 'import_domain', '--import_domain', 'import_domains', '--import_domains'
@@ -17,13 +17,13 @@ module Spout
17
17
  # Character to put in front of backtrace.
18
18
  TRACE_MARK = '@ '
19
19
 
20
- def initialize(show_passing = false)
20
+ def initialize(hide_passing_tests)
21
21
  @io = $stdout
22
22
  @trace = nil
23
23
  @natural = nil
24
24
  @verbose = nil
25
25
  @mark = 0
26
- @show_passing = show_passing
26
+ @hide_passing_tests = hide_passing_tests
27
27
  end
28
28
 
29
29
  # At the very start, before any testcases are run, this is called.
@@ -56,7 +56,7 @@ module Spout
56
56
 
57
57
  # Invoked when a test passes.
58
58
  def pass(message=nil)
59
- if @show_passing
59
+ unless @hide_passing_tests
60
60
  banner PASS
61
61
 
62
62
  if message
@@ -24,7 +24,7 @@ require 'spout/hidden_reporter'
24
24
  module Turn
25
25
  class Configuration
26
26
  def reporter
27
- @reporter ||= Spout::HiddenReporter.new(ENV['VERBOSE_TESTS'] == 'true')
27
+ @reporter ||= Spout::HiddenReporter.new(ENV['HIDE_PASSING_TESTS'] == 'true')
28
28
  end
29
29
  end
30
30
  end
@@ -3,7 +3,7 @@ module Spout
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
5
  TINY = 0
6
- BUILD = "rc" # nil, "pre", "rc", "rc2"
6
+ BUILD = "rc2" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.rc
4
+ version: 0.3.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller