minitest-metadata 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +4 -2
- data/HISTORY.md +8 -0
- data/lib/minitest-metadata/version.rb +1 -1
- data/lib/minitest-metadata.rb +3 -5
- data/minitest-metadata.gemspec +2 -1
- data/test/minitest-metadata_test.rb +0 -1
- metadata +23 -13
data/Gemfile.lock
CHANGED
@@ -2,15 +2,17 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
minitest-metadata (0.1.0)
|
5
|
+
minitest (>= 2.12)
|
5
6
|
|
6
7
|
GEM
|
7
8
|
remote: http://rubygems.org/
|
8
9
|
specs:
|
9
|
-
minitest (2.
|
10
|
+
minitest (2.12.0)
|
11
|
+
rake (0.9.2.2)
|
10
12
|
|
11
13
|
PLATFORMS
|
12
14
|
ruby
|
13
15
|
|
14
16
|
DEPENDENCIES
|
15
|
-
minitest (>= 2.5)
|
16
17
|
minitest-metadata!
|
18
|
+
rake
|
data/HISTORY.md
ADDED
data/lib/minitest-metadata.rb
CHANGED
@@ -19,11 +19,9 @@ class MiniTest::Spec
|
|
19
19
|
|
20
20
|
# @private
|
21
21
|
def it(description = "", metadata = {}, &block)
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
self.metadata[name] = metadata
|
26
|
-
ret
|
22
|
+
old_it(description, &block).tap do |name|
|
23
|
+
self.metadata[name] = metadata
|
24
|
+
end
|
27
25
|
end
|
28
26
|
end
|
29
27
|
end
|
data/minitest-metadata.gemspec
CHANGED
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
+
s.add_dependency "minitest", ">= 2.12"
|
22
|
+
|
21
23
|
s.add_development_dependency "rake"
|
22
|
-
s.add_development_dependency "minitest", ">= 2.5"
|
23
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-metadata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,30 +9,40 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement:
|
15
|
+
name: minitest
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
22
|
-
type: :
|
21
|
+
version: '2.12'
|
22
|
+
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.12'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
27
|
-
requirement:
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
31
36
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
37
|
+
version: '0'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
36
46
|
description: Metadata (key-value) support for minitest/spec
|
37
47
|
email:
|
38
48
|
- wojtek@wojtekmach.pl
|
@@ -45,6 +55,7 @@ files:
|
|
45
55
|
- .yardopts
|
46
56
|
- Gemfile
|
47
57
|
- Gemfile.lock
|
58
|
+
- HISTORY.md
|
48
59
|
- README.md
|
49
60
|
- Rakefile
|
50
61
|
- lib/minitest-metadata.rb
|
@@ -71,10 +82,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
82
|
version: '0'
|
72
83
|
requirements: []
|
73
84
|
rubyforge_project: minitest-metadata
|
74
|
-
rubygems_version: 1.8.
|
85
|
+
rubygems_version: 1.8.21
|
75
86
|
signing_key:
|
76
87
|
specification_version: 3
|
77
88
|
summary: Metadata (key-value) support for minitest/spec
|
78
89
|
test_files:
|
79
90
|
- test/minitest-metadata_test.rb
|
80
|
-
has_rdoc:
|