minispec-metadata 3.2.1 → 3.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91802508a243f68349f2a277cf1eff2e2356a3d1
4
- data.tar.gz: 6ae34af338ebcf477d4fe71b2af00423605358f8
3
+ metadata.gz: 02cc25356ebf5f117efc0b84adcad229785db15d
4
+ data.tar.gz: 1f2195229546e47021352d4b6602fb7f13aee5f2
5
5
  SHA512:
6
- metadata.gz: e66120c4e19e2da6d2c7319fd6028761fd1e3f015f7815dea40dce4a0dbc49c060894512e2128793f77690ca55cbabdb428def331a88deb81951e785d567007c
7
- data.tar.gz: 8a4ec979585cd7b0274b90631dd8fb95a9d970b50f4f611eed50b424157aed7afeeb5e507d8bddb1944f1e4f6380748fe725d5e7799952a5c9a591dd0f043eef
6
+ metadata.gz: f10f766426bd095ff27c08c6485a4b226e7e4b7bf4a1cffca377eb8214ef972514fb280978ed3ae5c0fd36711be7a909534abfb6c56f7c65fde4ee88ef534396
7
+ data.tar.gz: 5e44eba47f78b04360cc5fc3a0167f59d0b5e28ec5e4b69545f23d32bbc190d7658c2601719639a57c62d6a9e7ad3e0f44c750a2293dbae3a5377e58b7cc4c82
@@ -1 +1 @@
1
- ruby-2.1.2
1
+ ruby-2.4.0
@@ -28,13 +28,12 @@ module MinispecMetadata
28
28
  attr_reader :additional_desc
29
29
 
30
30
  def describe_metadata
31
- super_describe_metadata =
32
- if superclass.respond_to? :describe_metadata
33
- superclass.describe_metadata
34
- else
35
- {}
36
- end
37
- super_describe_metadata.merge(@describe_metadata)
31
+ @describe_metadata ||= {}
32
+ if superclass.respond_to?(:describe_metadata)
33
+ superclass.describe_metadata.merge(@describe_metadata)
34
+ else
35
+ @describe_metadata
36
+ end
38
37
  end
39
38
 
40
39
  def descs
@@ -1,3 +1,3 @@
1
1
  module MinispecMetadata
2
- VERSION = "3.2.1"
2
+ VERSION = "3.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minispec-metadata
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Ning
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-02 00:00:00.000000000 Z
11
+ date: 2017-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.2.2
107
+ rubygems_version: 2.6.8
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Pass metadata to MiniTest::Spec descriptions and specs like in RSpec.