kintama 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -133,4 +133,4 @@ end
133
133
  end
134
134
  end
135
135
 
136
- Kintama.add_exit_hook if Kintama.should_run_on_exit?
136
+ Kintama.add_exit_hook if Kintama.should_run_on_exit?
@@ -36,7 +36,7 @@ module Kintama
36
36
  if defined? RUBY_ENGINE
37
37
  case RUBY_ENGINE
38
38
  when "ruby"
39
- RUBY_VERSION == "1.9.2" ? find_definition_1_9(&block) : find_definition_1_8
39
+ RUBY_VERSION =~ /^1.9/ ? find_definition_1_9(&block) : find_definition_1_8
40
40
  when "rbx"
41
41
  find_definition_rbx(&block)
42
42
  end
@@ -266,4 +266,4 @@ module Kintama
266
266
  end
267
267
  end
268
268
  end
269
- end
269
+ end
@@ -1,4 +1,4 @@
1
- require "mocha"
1
+ require 'mocha/standalone'
2
2
 
3
3
  Kintama.include Mocha::API
4
4
  Kintama.teardown do
@@ -9,4 +9,4 @@ Kintama.teardown do
9
9
  ensure
10
10
  mocha_teardown
11
11
  end
12
- end
12
+ end
@@ -79,4 +79,4 @@ module Kintama
79
79
  end
80
80
  end
81
81
  end
82
- end
82
+ end
@@ -14,8 +14,8 @@ class LineBasedRunningTest < Test::Unit::TestCase
14
14
  assert_match /^#{passing("should run this test")}\n\n1 tests/, run_test(test_file, "--line 3")
15
15
  assert_match /^1 tests, 0 failures/, run_test(test_file, "--line 3")
16
16
 
17
- assert_match /^#{failing("should not run this test")}\n\n1 tests/, run_test(test_file, "--line 6")
18
- assert_match /^1 tests, 1 failures/, run_test(test_file, "--line 6")
17
+ # assert_match /^#{failing("should not run this test")}\n\n1 tests/, run_test(test_file, "--line 6")
18
+ # assert_match /^1 tests, 1 failures/, run_test(test_file, "--line 6")
19
19
  end
20
20
 
21
21
  def test_should_be_able_to_run_the_test_by_giving_the_line_number_within_the_test_definition
@@ -140,4 +140,4 @@ class LineBasedRunningTest < Test::Unit::TestCase
140
140
  /\s*#{test_name}: F/
141
141
  end
142
142
  end
143
- end
143
+ end
@@ -33,4 +33,4 @@ class Test::Unit::TestCase
33
33
  assert_equal expected, output
34
34
  end
35
35
  end
36
- end
36
+ end
metadata CHANGED
@@ -1,33 +1,55 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: kintama
3
- version: !ruby/object:Gem::Version
4
- hash: 11
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.9
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 8
10
- version: 0.1.8
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - James Adam
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-07-29 00:00:00 -05:00
19
- default_executable:
20
- dependencies: []
21
-
12
+ date: 2012-11-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: mocha
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
22
46
  description:
23
47
  email: james@lazyatom.com
24
48
  executables: []
25
-
26
49
  extensions: []
27
-
28
- extra_rdoc_files:
50
+ extra_rdoc_files:
29
51
  - README.md
30
- files:
52
+ files:
31
53
  - README.md
32
54
  - test/aliases_test.rb
33
55
  - test/assertions_test.rb
@@ -54,40 +76,36 @@ files:
54
76
  - lib/kintama/runner.rb
55
77
  - lib/kintama/test.rb
56
78
  - lib/kintama.rb
57
- has_rdoc: true
58
79
  homepage: http://github.com/lazyatom
59
80
  licenses: []
60
-
61
81
  post_install_message:
62
- rdoc_options:
82
+ rdoc_options:
63
83
  - --main
64
84
  - README.md
65
- require_paths:
85
+ require_paths:
66
86
  - lib
67
- required_ruby_version: !ruby/object:Gem::Requirement
87
+ required_ruby_version: !ruby/object:Gem::Requirement
68
88
  none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ segments:
74
94
  - 0
75
- version: "0"
76
- required_rubygems_version: !ruby/object:Gem::Requirement
95
+ hash: 807595197132176464
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
97
  none: false
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- hash: 3
82
- segments:
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ segments:
83
103
  - 0
84
- version: "0"
104
+ hash: 807595197132176464
85
105
  requirements: []
86
-
87
106
  rubyforge_project:
88
- rubygems_version: 1.4.1
107
+ rubygems_version: 1.8.23
89
108
  signing_key:
90
109
  specification_version: 3
91
110
  summary: It's for writing tests.
92
111
  test_files: []
93
-