minitest-metadata 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.travis.yml +2 -2
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/HISTORY.md +5 -0
- data/README.md +1 -0
- data/lib/minitest/metadata.rb +5 -1
- data/lib/minitest/metadata/version.rb +1 -1
- data/minitest-metadata.gemspec +1 -1
- data/test/{minitest-metadata_test.rb → minitest/metadata_test.rb} +1 -1
- metadata +22 -28
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7764efa24108b81da50e0084a4421f64035b72f6
|
4
|
+
data.tar.gz: 160d65c9374d032cc5720c7363f3ca0279081745
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ed1ed748034eccdb80cc0f404992428b63315395d755e80b4f16749099e235c913f08626b2adddfde3fcb05c11d783f4e56dac62c3b06cda46954e24b472dfcc
|
7
|
+
data.tar.gz: 55393cfbc7e1afc2c7d29210763c47653716f17b5a6bb156cba4e07639c67b98a5711e082042d857faa47e5427a8d88223936e9f07059194b8e97e6fa1552328
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -2,12 +2,12 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
minitest-metadata (0.4.0)
|
5
|
-
minitest (
|
5
|
+
minitest (>= 4.7, < 6.0)
|
6
6
|
|
7
7
|
GEM
|
8
|
-
remote:
|
8
|
+
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
minitest (
|
10
|
+
minitest (5.3.1)
|
11
11
|
rake (0.9.2.2)
|
12
12
|
|
13
13
|
PLATFORMS
|
data/HISTORY.md
CHANGED
data/README.md
CHANGED
data/lib/minitest/metadata.rb
CHANGED
@@ -21,15 +21,19 @@ module MiniTest::Metadata
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def _compute_metadata(metadata)
|
24
|
-
metadata.
|
24
|
+
metadata.inject({}) { |hash, key|
|
25
25
|
if key.is_a?(Hash)
|
26
26
|
hash.merge!(key)
|
27
27
|
else
|
28
28
|
hash[key] = true
|
29
29
|
end
|
30
|
+
hash
|
30
31
|
}
|
31
32
|
end
|
32
33
|
end
|
34
|
+
|
35
|
+
# MiniTest 5 compatibility, https://github.com/wojtekmach/minitest-metadata/issues/7
|
36
|
+
alias_method :__name__, :name unless method_defined? :__name__
|
33
37
|
end
|
34
38
|
super
|
35
39
|
end
|
data/minitest-metadata.gemspec
CHANGED
@@ -18,7 +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", "
|
21
|
+
s.add_dependency "minitest", ">= 4.7", "< 6.0"
|
22
22
|
|
23
23
|
s.add_development_dependency "rake"
|
24
24
|
end
|
metadata
CHANGED
@@ -1,46 +1,47 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-metadata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Wojciech Mach
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-03-27 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
|
21
19
|
version: '4.7'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '6.0'
|
22
23
|
type: :runtime
|
23
24
|
prerelease: false
|
24
25
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '4.7'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '6.0'
|
30
33
|
- !ruby/object:Gem::Dependency
|
31
34
|
name: rake
|
32
35
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
36
|
requirements:
|
35
|
-
- -
|
37
|
+
- - ">="
|
36
38
|
- !ruby/object:Gem::Version
|
37
39
|
version: '0'
|
38
40
|
type: :development
|
39
41
|
prerelease: false
|
40
42
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
43
|
requirements:
|
43
|
-
- -
|
44
|
+
- - ">="
|
44
45
|
- !ruby/object:Gem::Version
|
45
46
|
version: '0'
|
46
47
|
description: Metadata (key-value) support for minitest/spec
|
@@ -50,9 +51,9 @@ executables: []
|
|
50
51
|
extensions: []
|
51
52
|
extra_rdoc_files: []
|
52
53
|
files:
|
53
|
-
- .gitignore
|
54
|
-
- .travis.yml
|
55
|
-
- .yardopts
|
54
|
+
- ".gitignore"
|
55
|
+
- ".travis.yml"
|
56
|
+
- ".yardopts"
|
56
57
|
- Gemfile
|
57
58
|
- Gemfile.lock
|
58
59
|
- HISTORY.md
|
@@ -62,36 +63,29 @@ files:
|
|
62
63
|
- lib/minitest/metadata.rb
|
63
64
|
- lib/minitest/metadata/version.rb
|
64
65
|
- minitest-metadata.gemspec
|
65
|
-
- test/minitest
|
66
|
+
- test/minitest/metadata_test.rb
|
66
67
|
homepage: ''
|
67
68
|
licenses: []
|
69
|
+
metadata: {}
|
68
70
|
post_install_message:
|
69
71
|
rdoc_options: []
|
70
72
|
require_paths:
|
71
73
|
- lib
|
72
74
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
75
|
requirements:
|
75
|
-
- -
|
76
|
+
- - ">="
|
76
77
|
- !ruby/object:Gem::Version
|
77
78
|
version: '0'
|
78
|
-
segments:
|
79
|
-
- 0
|
80
|
-
hash: 2550979206973276031
|
81
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
80
|
requirements:
|
84
|
-
- -
|
81
|
+
- - ">="
|
85
82
|
- !ruby/object:Gem::Version
|
86
83
|
version: '0'
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
hash: 2550979206973276031
|
90
84
|
requirements: []
|
91
85
|
rubyforge_project: minitest-metadata
|
92
|
-
rubygems_version:
|
86
|
+
rubygems_version: 2.2.2
|
93
87
|
signing_key:
|
94
|
-
specification_version:
|
88
|
+
specification_version: 4
|
95
89
|
summary: Metadata (key-value) support for minitest/spec
|
96
90
|
test_files:
|
97
|
-
- test/minitest
|
91
|
+
- test/minitest/metadata_test.rb
|