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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28a3e04c1fd378d28549e10d10894dd8558049d46bf405955bb0715eb445f2d0
4
- data.tar.gz: 489c9027cb9d8a1b79eaf84104736c1c772d99012dc15db5bbbb2d877ecb5d89
3
+ metadata.gz: 05b5657c8bfed1cd2a4d022c48ab829cf4c2f283dbf450d347380c2c187e17f2
4
+ data.tar.gz: 07a78f3aca65611c525349e501dcda46cc87c2947192fef8773331c2a040b2d9
5
5
  SHA512:
6
- metadata.gz: 824beadb093bdb64fa899da2375ab31b0ca6f6f5527fa568226fd438b200fbf2b22000c5a4a5cbc2c56646b6013e2e7bd63980cbf0e1ee5229f00623019dc98b
7
- data.tar.gz: d87a85b97475e413a68eb9d99b40154edc5426329d64685e88f2d278cd8b4c200990862562afcd646b83724870f008d76084a2f95a59b8697c673d8743e41434
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/formatters/documentation_formatter'
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::DocumentationFormatter
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
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module Rspec
3
+ module RSpec
4
4
  module Github
5
- VERSION = '1.0.0'
5
+ VERSION = '2.0.0.rc.1'
6
6
  end
7
7
  end
data/lib/rspec/github.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  require 'rspec/github/version'
4
4
  require 'rspec/github/formatter'
5
5
 
6
- module Rspec
6
+ module RSpec
7
7
  module Github
8
8
  end
9
9
  end
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: 1.0.0
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-02 00:00:00.000000000 Z
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: :development
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: '0'
71
+ version: 1.3.1
72
72
  requirements: []
73
73
  rubygems_version: 3.1.2
74
74
  signing_key: