rspec-github 1.0.0 → 2.0.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/github/formatter.rb +3 -4
- data/lib/rspec/github/version.rb +2 -2
- data/lib/rspec/github.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05b5657c8bfed1cd2a4d022c48ab829cf4c2f283dbf450d347380c2c187e17f2
|
4
|
+
data.tar.gz: 07a78f3aca65611c525349e501dcda46cc87c2947192fef8773331c2a040b2d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 228aaa29974a2dc3be7f2d8f3545a84070f2db531c4aacfc89d724c5a2f06afe23f390c8d92672731743606b0f7cf2425a3a6542792840f89c83b79ccd867e8a
|
7
|
+
data.tar.gz: 0a39b2ac417b839f9f368ac44aa038e524a55e82afc0d882a0a7374161d2298ee8ccbf4db927e51dd6aec7c5e4cab5fd26dd8d7877f3450a31f4fa208815bd7c
|
@@ -1,20 +1,19 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'rspec/core
|
3
|
+
require 'rspec/core'
|
4
|
+
require 'rspec/core/formatters/base_formatter'
|
4
5
|
|
5
6
|
module RSpec
|
6
7
|
module Github
|
7
|
-
class Formatter < RSpec::Core::Formatters::
|
8
|
+
class Formatter < RSpec::Core::Formatters::BaseFormatter
|
8
9
|
RSpec::Core::Formatters.register self, :example_failed, :example_pending
|
9
10
|
|
10
11
|
def example_failed(failure)
|
11
|
-
super
|
12
12
|
file, line = failure.example.location.split(':')
|
13
13
|
output.puts "::error file=#{file},line=#{line}::#{failure.message_lines.join('%0A')}"
|
14
14
|
end
|
15
15
|
|
16
16
|
def example_pending(pending)
|
17
|
-
super
|
18
17
|
file, line = pending.example.location.split(':')
|
19
18
|
output.puts "::warning file=#{file},line=#{line}::#{pending.example.full_description}"
|
20
19
|
end
|
data/lib/rspec/github/version.rb
CHANGED
data/lib/rspec/github.rb
CHANGED
metadata
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.rc.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stef Schenkelaars
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: rspec
|
14
|
+
name: rspec-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.0'
|
20
|
-
type: :
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
@@ -66,9 +66,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
version: 2.3.0
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- - "
|
69
|
+
- - ">"
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version:
|
71
|
+
version: 1.3.1
|
72
72
|
requirements: []
|
73
73
|
rubygems_version: 3.1.2
|
74
74
|
signing_key:
|