minitest-implicit-subject 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 80fffeb33d5cc4beb6072dbd1af351ba9c57278c
4
+ data.tar.gz: cd82e0f501946f62d499ab8fc6bad135bebdf6a5
5
+ SHA512:
6
+ metadata.gz: e42b75bd6641e3dd7ddd68053c9f0bf2b2c315e399c519480767d9bac33978c363d05c33b9cfd813cdc67571b1986397843969b82cdb8f89a766bcd17f1c7f36
7
+ data.tar.gz: 4375e55e0ffafaedcc6067ac1afd403c714637d98b72ccb1a623023616f5ea928fd87cda3a095ec11c779a275694539be280db4013149118092075393c599cb2
@@ -0,0 +1 @@
1
+ require File.expand_path('../minitest/implicit/subject', __FILE__)
@@ -4,6 +4,8 @@ require 'singleton'
4
4
  module Kernel
5
5
  alias_method :alias_describe, :describe
6
6
 
7
+ private
8
+
7
9
  def describe(*args, &block)
8
10
  cls = alias_describe(*args, &block)
9
11
  subject = args.first
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-implicit-subject
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
5
- prerelease:
4
+ version: 1.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Anton Lindqvist
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-14 00:00:00.000000000 Z
11
+ date: 2013-09-25 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: minitest
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,23 +27,20 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: awesome_print
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,17 +55,15 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  description: Implicit declaration of the test subject.
@@ -83,37 +74,31 @@ extensions: []
83
74
  extra_rdoc_files: []
84
75
  files:
85
76
  - lib/minitest/implicit/subject.rb
77
+ - lib/minitest-implicit-subject.rb
86
78
  - spec/lib/minitest/implicit/subject_spec.rb
87
79
  homepage: http://github.com/mptre/minitest-implicit-subject
88
80
  licenses:
89
81
  - MIT
82
+ metadata: {}
90
83
  post_install_message:
91
84
  rdoc_options: []
92
85
  require_paths:
93
86
  - lib
94
87
  required_ruby_version: !ruby/object:Gem::Requirement
95
- none: false
96
88
  requirements:
97
- - - ! '>='
89
+ - - '>='
98
90
  - !ruby/object:Gem::Version
99
91
  version: '0'
100
- segments:
101
- - 0
102
- hash: -2245938768643332688
103
92
  required_rubygems_version: !ruby/object:Gem::Requirement
104
- none: false
105
93
  requirements:
106
- - - ! '>='
94
+ - - '>='
107
95
  - !ruby/object:Gem::Version
108
96
  version: '0'
109
- segments:
110
- - 0
111
- hash: -2245938768643332688
112
97
  requirements: []
113
98
  rubyforge_project:
114
- rubygems_version: 1.8.25
99
+ rubygems_version: 2.0.3
115
100
  signing_key:
116
- specification_version: 3
101
+ specification_version: 4
117
102
  summary: Implicitly define the test subject as any non string argument pass to a describe
118
103
  block.
119
104
  test_files: