minispec-metadata 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rvmrc +1 -1
- data/.travis.yml +7 -0
- data/gemfiles/minitest-4.gemfile +5 -0
- data/lib/core_extensions.rb +7 -0
- data/lib/minispec-metadata/spec_with_metadata.rb +2 -2
- data/lib/minispec-metadata/version.rb +1 -1
- data/lib/minispec-metadata.rb +1 -0
- data/spec/spec_with_metadata.spec.rb +1 -1
- metadata +15 -21
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3cce2a61ca40964ed06d9e2e649c1002133b9b8f
|
4
|
+
data.tar.gz: 285a42529861f70d7cc3a2d0c900ba6a4ce4a0af
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 42b1922f175708ff7e050bdab7905cb34ab50d275ab5e02fdb26721ecec836c13d4dc6bed76d8aa7a49dde0d422bba9d63befd4a7007723921212c52ca006630
|
7
|
+
data.tar.gz: e7abea1f81addc0bd9fea33e5cc4af02d8ca2744fdcd2834546ee53d0ff502d6aa591b94ed39673859f48ec2641fe5ddf8a943e58502393e5a8b35d62366dea2
|
data/.rvmrc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rvm --create
|
1
|
+
rvm --create 2.0.0-p0@minispec-metadata
|
data/.travis.yml
CHANGED
@@ -15,12 +15,12 @@ module MiniSpecMetadata
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def metadata
|
18
|
-
description_metadata.merge @@metadata.fetch(
|
18
|
+
description_metadata.merge @@metadata.fetch(name, {})
|
19
19
|
end
|
20
20
|
|
21
21
|
# First arg passed to it block.
|
22
22
|
def spec_name
|
23
|
-
@@spec_names[
|
23
|
+
@@spec_names[name]
|
24
24
|
end
|
25
25
|
|
26
26
|
# Description args passed to describe.
|
data/lib/minispec-metadata.rb
CHANGED
metadata
CHANGED
@@ -1,62 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minispec-metadata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jared Ning
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-07-19 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: '0'
|
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
|
29
26
|
version: '0'
|
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: rake
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
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
|
61
54
|
version: '0'
|
62
55
|
description: MiniTest::Spec metadata
|
@@ -73,6 +66,8 @@ files:
|
|
73
66
|
- LICENSE.txt
|
74
67
|
- README.md
|
75
68
|
- Rakefile
|
69
|
+
- gemfiles/minitest-4.gemfile
|
70
|
+
- lib/core_extensions.rb
|
76
71
|
- lib/minispec-metadata.rb
|
77
72
|
- lib/minispec-metadata/describe_with_metadata.rb
|
78
73
|
- lib/minispec-metadata/spec_with_metadata.rb
|
@@ -83,27 +78,26 @@ files:
|
|
83
78
|
- spec/spec_with_metadata.spec.rb
|
84
79
|
homepage: https://github.com/ordinaryzelig/minispec-metadata
|
85
80
|
licenses: []
|
81
|
+
metadata: {}
|
86
82
|
post_install_message:
|
87
83
|
rdoc_options: []
|
88
84
|
require_paths:
|
89
85
|
- lib
|
90
86
|
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
87
|
requirements:
|
93
|
-
- -
|
88
|
+
- - '>='
|
94
89
|
- !ruby/object:Gem::Version
|
95
90
|
version: '0'
|
96
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
92
|
requirements:
|
99
|
-
- -
|
93
|
+
- - '>='
|
100
94
|
- !ruby/object:Gem::Version
|
101
95
|
version: '0'
|
102
96
|
requirements: []
|
103
97
|
rubyforge_project:
|
104
|
-
rubygems_version:
|
98
|
+
rubygems_version: 2.0.0
|
105
99
|
signing_key:
|
106
|
-
specification_version:
|
100
|
+
specification_version: 4
|
107
101
|
summary: Pass metadata to MiniTest::Spec descriptions and specs like in RSpec.
|
108
102
|
test_files:
|
109
103
|
- spec/describe_with_metadata.spec.rb
|