tf 0.4.3 → 0.4.4

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: c0ad90618f6a22346298578d1274cc104d7b6a93
4
- data.tar.gz: 3a5d94d57773fa4d1e4537a4cf00455cd71bf707
3
+ metadata.gz: 4e7b35b04d0c553449a1f6a4c52bd4deba810252
4
+ data.tar.gz: 7c6a5027d3022db9b7fea175c722faad2ce55949
5
5
  SHA512:
6
- metadata.gz: b3eaf9260056de425f0bd5cc98bce472c4de3b628fd3493bf03108d9d4ba8f724ce1ebdbc224264599f67e32f59ea8c4f3c4ecf8f703adfcfefdc66c23c31db8
7
- data.tar.gz: 21a9b5f78adc8ec6c2c6707bc49141a6a179ed611a6993cd633cbd0ece8b77cd2bd75f08623ca96eed4f056e6403258bdc81d97ba0f39a88a42f770cc480c1d4
6
+ metadata.gz: 0e3975166acb896e8b3d10f779ac2578bcf7df19a755beb3c786f2dd427da412389262d667ef837d5f33634c050f754256754564e536990ed60bb27772a51a19
7
+ data.tar.gz: 235c4d9c6b0a8204f81fd9c4308b1e879cf8bf95808c4f523da39c7d36bdc1b2edbd042f9b12960a348ab650ca16752ad02753c079e3c6022b44e6ddf0be7403
data/README.md CHANGED
@@ -13,7 +13,7 @@ to TF. TF is the skeleton upon which all other tf-* gems build.
13
13
 
14
14
  ## Comment tests
15
15
 
16
- Filename has to end with _comment_test.sh
16
+ Filename has to end with `_comment_test.sh`
17
17
 
18
18
  Example test file:
19
19
 
@@ -3,7 +3,7 @@ class TF::StatsOutput
3
3
  GREEN = `tput setaf 2`
4
4
  YELLOW = `tput setaf 3`
5
5
  BLUE = `tput setaf 4`
6
- RESET = `tput setaf 9`
6
+ RESET = `tput sgr0`
7
7
 
8
8
  def self.argument_matches? argument
9
9
  [:load] if argument == "--text"
data/lib/tf.rb CHANGED
@@ -76,6 +76,9 @@ class TF
76
76
  process_command_tests _stdout.string, _stderr.string, _stdboth.string, _status, _env, tests
77
77
  end
78
78
  @plugins.output_plugins(:end_test, test)
79
+ rescue SystemExit, Interrupt
80
+ shell.close!
81
+ raise
79
82
  end
80
83
 
81
84
  def process_command_tests _stdout, _stderr, _stdboth, _status, env, tests
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Papis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-23 00:00:00.000000000 Z
11
+ date: 2017-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: session
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.1'
27
27
  description: Testing Framework solely based on plugins. For now only tests using Bash.
@@ -31,22 +31,22 @@ executables:
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
- - lib/tf.rb
35
- - lib/tf/environment.rb
36
- - lib/tf/active_patches.rb
37
- - lib/tf/plugins.rb
38
- - lib/plugins/tf/error_summary_output.rb
39
- - lib/plugins/tf/text_output.rb
40
- - lib/plugins/tf/output_match_test.rb
34
+ - LICENSE
35
+ - README.md
36
+ - bin/tf
37
+ - lib/plugins/tf/comment_test_input.rb
38
+ - lib/plugins/tf/env_arr_test.rb
41
39
  - lib/plugins/tf/env_match_test.rb
42
40
  - lib/plugins/tf/env_type_test.rb
41
+ - lib/plugins/tf/error_summary_output.rb
42
+ - lib/plugins/tf/output_match_test.rb
43
43
  - lib/plugins/tf/stats_output.rb
44
- - lib/plugins/tf/comment_test_input.rb
45
- - lib/plugins/tf/env_arr_test.rb
46
44
  - lib/plugins/tf/status_test.rb
47
- - bin/tf
48
- - LICENSE
49
- - README.md
45
+ - lib/plugins/tf/text_output.rb
46
+ - lib/tf.rb
47
+ - lib/tf/active_patches.rb
48
+ - lib/tf/environment.rb
49
+ - lib/tf/plugins.rb
50
50
  homepage: http://github.com/mpapis/tf
51
51
  licenses: []
52
52
  metadata: {}
@@ -56,17 +56,17 @@ require_paths:
56
56
  - lib
57
57
  required_ruby_version: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  requirements:
64
- - - '>='
64
+ - - ">="
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
68
  rubyforge_project:
69
- rubygems_version: 2.0.3
69
+ rubygems_version: 2.6.8
70
70
  signing_key:
71
71
  specification_version: 4
72
72
  summary: Testing Framework