dri 0.3.0 → 0.3.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: ebb53c09c3a4e7f7c6daa06acd9e8fb1be1c5aef4fffb97db6e84029aafe481e
4
- data.tar.gz: f7cb0fc63042a33766c02a787cb10af4188839fb9f96d9aa650f5addc279cac9
3
+ metadata.gz: 345d930ab1d8693abc08cea84c56059acf4617b7b98b3d585ce6838c2be76ed5
4
+ data.tar.gz: 43fe7a822eb463770ade0125528e3a18a58bf12b1c8dd0c83daffffb4fac01ff
5
5
  SHA512:
6
- metadata.gz: 01f7bbef2920e466cde321720d210541cbb60b377240ae28a74e6fdd66bd89f70a5b4aba5e69d622466d5379ed6e59adce3933844d08171449496b9638dfe1f6
7
- data.tar.gz: c263146aa4a230cab0b8cdebc7c2a6b1d278baa3cf63b5d356fa7c8ee3143472c0e69ec3eaa7006317f74249c66167f4e03a72dfccab0f2d52ea5fde4e1d972f
6
+ metadata.gz: 799aeafefdbf86bca0a6b317806cd8054df97b2871bba345d9c3c44c0a0ae716d152f85afd1e5536b2dafb3e4399f2b757912558d6a59bc3661bb2e6699fc120
7
+ data.tar.gz: b0a1e74085cd70be58b8fcef39f436cf9c16b0d49c39d48833a86d74814b6fe7b654fb833be252c6c26bd68945691d4465f3c351ee41837a7454bb17b601e820
data/.gitlab-ci.yml CHANGED
@@ -45,3 +45,11 @@ rspec:
45
45
  extends: .job_base
46
46
  script:
47
47
  - bundle exec rspec --color
48
+
49
+ rspec 3.0:
50
+ stage: test
51
+ extends: .job_base
52
+ image: ruby:3.0
53
+ script:
54
+ - bundle exec rspec --color
55
+
data/lib/dri/command.rb CHANGED
@@ -93,7 +93,7 @@ module Dri
93
93
  # @api public
94
94
  def command(**options)
95
95
  require 'tty-command'
96
- TTY::Command.new(options)
96
+ TTY::Command.new(**options)
97
97
  end
98
98
 
99
99
  # The cursor movement
@@ -123,7 +123,7 @@ module Dri
123
123
  # @api public
124
124
  def prompt(**options)
125
125
  require 'tty-prompt'
126
- TTY::Prompt.new(options.merge(interrupt: :exit))
126
+ TTY::Prompt.new(**options.merge(interrupt: :exit))
127
127
  end
128
128
  end
129
129
  end
data/lib/dri/report.rb CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  module Dri
4
4
  class Report # rubocop:disable Metrics/ClassLength
5
+ using Refinements
6
+
5
7
  attr_reader :header, :failures, :labels
6
8
 
7
9
  def initialize(config)
data/lib/dri/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dri
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Quality
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-11 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty