rspec-junit 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NGE0MmFlNGZlYWJjZTEwZjUzNmU0ZDQ2NjQ5NmIxZDRlOWQ2NDRlNA==
5
- data.tar.gz: !binary |-
6
- MTFhNDFkOWRhM2VlMDNlNmE2Y2YxNGQ1YjA1NjZhM2U4ZmU4MzIwMQ==
2
+ SHA1:
3
+ metadata.gz: 77f6eab6445be2f9528ab1baee322e8d444d9ea1
4
+ data.tar.gz: c94e5ea805b019f95581226b37827909ad8ae8c0
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZGEzNzRmN2UxNmQ5OGIzMDNiYTU0ZmNkZDA4NDcwMDYyYjA3MzBhYTg5ZWQx
10
- ZDQ0ZGRhN2M2Mjk3YmRhZjMxMWQ0YWIyOTdhMjc5OGY0ZTBjODYyZTAzNzA5
11
- ZDMyMTc4ZWNiZjc1NjM1ZDc5NTA3ZTdjYTNlMGI2Y2JhNDM5NjY=
12
- data.tar.gz: !binary |-
13
- YTNhZDcyZDMwOTYzODBlNTU3Mzc1ZjgxMzE4NDY5M2QyZjZmNTc1NmJlYjQ3
14
- YmYxOTIwODlhZTc0MDkwMmRmYWM1M2I1YzRlOWE4N2ZiNTQwODI2ZDU0MzE5
15
- MWJiMmFlNzM4ZmUwMWQyMGU4MmY4ZDU5MGUwOTY1N2IwYTEyZTY=
6
+ metadata.gz: c59f5c77f3b48b85bb1aec1593e1fba600d3641ffd01ea0c1b5a6e09d45067dc90ef986ff07413e7a33cf4d9d175e6b6b6390731e5d70d511094dd04f161bbe3
7
+ data.tar.gz: b2f835f84ed77e606db39c72c78055da24bbba199adff2ece86d72cd6fe0842f27283b9919a90fd5cf0fb5fcfc3546823018efe507906ac23a73021e52569ffe
@@ -20,16 +20,21 @@ module RSpec
20
20
  end
21
21
 
22
22
  def name
23
- @notification.metadata[:full_description]
23
+ metadata[:full_description]
24
24
  end
25
25
 
26
26
  def testsuite
27
- @notification.metadata[:example_group][:description]
27
+ metadata[:example_group][:description]
28
28
  end
29
29
 
30
30
  def run_time
31
- @notification.metadata[:execution_result].run_time
31
+ metadata[:execution_result].run_time
32
32
  end
33
+
34
+ private
35
+ def metadata
36
+ @_metadata ||= @notification.example.metadata
37
+ end
33
38
  end
34
39
  end
35
40
  end
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  class JUnit
3
- VERSION = '0.1.1'.freeze
3
+ VERSION = '0.1.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-junit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Serman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-30 00:00:00.000000000 Z
11
+ date: 2016-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.13'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.13'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '10.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '10.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: timecop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: Provides a JUnit formatter for RSpec
@@ -87,9 +87,9 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - .gitignore
91
- - .rspec
92
- - .travis.yml
90
+ - ".gitignore"
91
+ - ".rspec"
92
+ - ".travis.yml"
93
93
  - Gemfile
94
94
  - LICENSE.txt
95
95
  - README.md
@@ -116,12 +116,12 @@ require_paths:
116
116
  - lib
117
117
  required_ruby_version: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - ! '>='
119
+ - - ">="
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - ! '>='
124
+ - - ">="
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []