m 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/m.rb +6 -6
  2. metadata +13 -13
data/lib/m.rb CHANGED
@@ -15,14 +15,14 @@
15
15
  #If you're using Bundler, you'll need to include it in your Gemfile. Toss it into the `test` group:
16
16
  #
17
17
  # group :test do
18
- # gem 'm', '~> 1.2'
18
+ # gem 'm', '~> 1.2.1'
19
19
  # end
20
20
  #
21
21
  #Developing a RubyGem? Add `m` as a development dependency.
22
22
  #
23
23
  # Gem::Specification.new do |gem|
24
24
  # # ...
25
- # gem.add_development_dependency "m", "~> 1.2"
25
+ # gem.add_development_dependency "m", "~> 1.2.1"
26
26
  # end
27
27
  #
28
28
  #`m` is Ruby 1.9+ only. Sorry, but `method_source`, `sourcify`, and `ruby_parser`
@@ -98,7 +98,7 @@
98
98
  ### M, your metal test runner
99
99
  # Maybe this gem should have a longer name? Metal?
100
100
  module M
101
- VERSION = "1.2.0" unless defined?(VERSION)
101
+ VERSION = "1.2.1" unless defined?(VERSION)
102
102
 
103
103
  # Accept arguments coming from bin/m and run tests.
104
104
  def self.run(argv)
@@ -187,10 +187,10 @@ module M
187
187
  test_arguments = ["-n", "/(#{test_names})/"]
188
188
 
189
189
  # directly run the tests from here and exit with the status of the tests passing or failing
190
- if defined?(Test)
191
- exit Test::Unit::AutoRunner.run(false, nil, test_arguments)
192
- elsif defined?(MiniTest)
190
+ if defined?(MiniTest)
193
191
  exit MiniTest::Unit.runner.run test_arguments
192
+ elsif defined?(Test)
193
+ exit Test::Unit::AutoRunner.run(false, nil, test_arguments)
194
194
  else
195
195
  not_supported
196
196
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: m
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: method_source
16
- requirement: &70302923866320 !ruby/object:Gem::Requirement
16
+ requirement: &70180267027540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.6.7
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70302923866320
24
+ version_requirements: *70180267027540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70302923874700 !ruby/object:Gem::Requirement
27
+ requirement: &70180267027020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -35,10 +35,10 @@ dependencies:
35
35
  version: 1.0.0
36
36
  type: :runtime
37
37
  prerelease: false
38
- version_requirements: *70302923874700
38
+ version_requirements: *70180267027020
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: activesupport
41
- requirement: &70302923893880 !ruby/object:Gem::Requirement
41
+ requirement: &70180271669780 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
44
  - - ! '>='
@@ -46,10 +46,10 @@ dependencies:
46
46
  version: '0'
47
47
  type: :development
48
48
  prerelease: false
49
- version_requirements: *70302923893880
49
+ version_requirements: *70180271669780
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: rdiscount
52
- requirement: &70302923912060 !ruby/object:Gem::Requirement
52
+ requirement: &70180271667380 !ruby/object:Gem::Requirement
53
53
  none: false
54
54
  requirements:
55
55
  - - ! '>='
@@ -57,10 +57,10 @@ dependencies:
57
57
  version: '0'
58
58
  type: :development
59
59
  prerelease: false
60
- version_requirements: *70302923912060
60
+ version_requirements: *70180271667380
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rocco
63
- requirement: &70302923918460 !ruby/object:Gem::Requirement
63
+ requirement: &70180271663080 !ruby/object:Gem::Requirement
64
64
  none: false
65
65
  requirements:
66
66
  - - ! '>='
@@ -68,10 +68,10 @@ dependencies:
68
68
  version: '0'
69
69
  type: :development
70
70
  prerelease: false
71
- version_requirements: *70302923918460
71
+ version_requirements: *70180271663080
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: minitest
74
- requirement: &70302923922180 !ruby/object:Gem::Requirement
74
+ requirement: &70180273292300 !ruby/object:Gem::Requirement
75
75
  none: false
76
76
  requirements:
77
77
  - - ! '>='
@@ -79,7 +79,7 @@ dependencies:
79
79
  version: '0'
80
80
  type: :development
81
81
  prerelease: false
82
- version_requirements: *70302923922180
82
+ version_requirements: *70180273292300
83
83
  description:
84
84
  email:
85
85
  - nick@quaran.to