Skip to content

Commit 986cd0f

Browse files
authored
Merge pull request #97 from diogot/update-dependencies
Update dependencies and fix RuboCop offenses
2 parents 51bf8cf + 3657b8d commit 986cd0f

File tree

4 files changed

+60
-47
lines changed

4 files changed

+60
-47
lines changed

Gemfile.lock

Lines changed: 53 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ GEM
1010
specs:
1111
addressable (2.8.7)
1212
public_suffix (>= 2.0.2, < 7.0)
13-
ast (2.4.2)
13+
ast (2.4.3)
14+
base64 (0.3.0)
1415
claide (1.1.0)
1516
claide-plugins (0.9.2)
1617
cork
@@ -20,7 +21,8 @@ GEM
2021
colored2 (3.1.2)
2122
cork (0.3.0)
2223
colored2 (~> 3.1)
23-
danger (9.5.0)
24+
danger (9.5.1)
25+
base64 (~> 0.2)
2426
claide (~> 1.0)
2527
claide-plugins (>= 0.9.2)
2628
colored2 (~> 3.1)
@@ -31,28 +33,32 @@ GEM
3133
kramdown (~> 2.3)
3234
kramdown-parser-gfm (~> 1.0)
3335
octokit (>= 4.0)
36+
pstore (~> 0.1)
3437
terminal-table (>= 1, < 4)
3538
danger-plugin-api (1.0.0)
3639
danger (> 2.0)
37-
diff-lcs (1.5.1)
38-
faraday (2.11.0)
39-
faraday-net_http (>= 2.0, < 3.4)
40+
diff-lcs (1.6.2)
41+
faraday (2.13.1)
42+
faraday-net_http (>= 2.0, < 3.5)
43+
json
4044
logger
4145
faraday-http-cache (2.5.1)
4246
faraday (>= 0.8)
43-
faraday-net_http (3.3.0)
44-
net-http
45-
ffi (1.17.0)
47+
faraday-net_http (3.4.1)
48+
net-http (>= 0.5.0)
49+
ffi (1.17.2)
4650
formatador (1.1.0)
4751
git (1.19.1)
4852
addressable (~> 2.8)
4953
rchardet (~> 1.8)
50-
guard (2.18.1)
54+
guard (2.19.1)
5155
formatador (>= 0.2.4)
5256
listen (>= 2.7, < 4.0)
57+
logger (~> 1.6)
5358
lumberjack (>= 1.0.12, < 2.0)
5459
nenv (~> 0.1)
5560
notiffany (~> 0.0)
61+
ostruct (~> 0.6)
5662
pry (>= 0.13.0)
5763
shellany (~> 0.0)
5864
thor (>= 0.18.1)
@@ -61,81 +67,88 @@ GEM
6167
guard (~> 2.1)
6268
guard-compat (~> 1.1)
6369
rspec (>= 2.99.0, < 4.0)
64-
json (2.7.2)
65-
kramdown (2.4.0)
66-
rexml
70+
json (2.12.2)
71+
kramdown (2.5.1)
72+
rexml (>= 3.3.9)
6773
kramdown-parser-gfm (1.1.0)
6874
kramdown (~> 2.0)
69-
language_server-protocol (3.17.0.3)
75+
language_server-protocol (3.17.0.5)
76+
lint_roller (1.1.0)
7077
listen (3.9.0)
7178
rb-fsevent (~> 0.10, >= 0.10.3)
7279
rb-inotify (~> 0.9, >= 0.9.10)
73-
logger (1.6.1)
80+
logger (1.7.0)
7481
lumberjack (1.2.10)
7582
method_source (1.1.0)
7683
nap (1.1.0)
7784
nenv (0.3.0)
78-
net-http (0.4.1)
85+
net-http (0.6.0)
7986
uri
8087
notiffany (0.1.3)
8188
nenv (~> 0.1)
8289
shellany (~> 0.0)
83-
octokit (9.1.0)
90+
octokit (10.0.0)
8491
faraday (>= 1, < 3)
8592
sawyer (~> 0.9)
8693
open4 (1.3.4)
87-
parallel (1.26.3)
88-
parser (3.3.5.0)
94+
ostruct (0.6.1)
95+
parallel (1.27.0)
96+
parser (3.3.8.0)
8997
ast (~> 2.4.1)
9098
racc
91-
pry (0.14.2)
99+
prism (1.4.0)
100+
pry (0.15.2)
92101
coderay (~> 1.1)
93102
method_source (~> 1.0)
94-
public_suffix (6.0.1)
103+
pstore (0.2.0)
104+
public_suffix (6.0.2)
95105
racc (1.8.1)
96106
rainbow (3.1.1)
97-
rake (13.2.1)
107+
rake (13.3.0)
98108
rb-fsevent (0.11.2)
99109
rb-inotify (0.11.1)
100110
ffi (~> 1.0)
101-
rchardet (1.8.0)
102-
regexp_parser (2.9.2)
103-
rexml (3.3.7)
104-
rspec (3.13.0)
111+
rchardet (1.9.0)
112+
regexp_parser (2.10.0)
113+
rexml (3.4.1)
114+
rspec (3.13.1)
105115
rspec-core (~> 3.13.0)
106116
rspec-expectations (~> 3.13.0)
107117
rspec-mocks (~> 3.13.0)
108-
rspec-core (3.13.1)
118+
rspec-core (3.13.4)
109119
rspec-support (~> 3.13.0)
110-
rspec-expectations (3.13.2)
120+
rspec-expectations (3.13.5)
111121
diff-lcs (>= 1.2.0, < 2.0)
112122
rspec-support (~> 3.13.0)
113-
rspec-mocks (3.13.1)
123+
rspec-mocks (3.13.5)
114124
diff-lcs (>= 1.2.0, < 2.0)
115125
rspec-support (~> 3.13.0)
116-
rspec-support (3.13.1)
117-
rubocop (1.66.1)
126+
rspec-support (3.13.4)
127+
rubocop (1.76.1)
118128
json (~> 2.3)
119-
language_server-protocol (>= 3.17.0)
129+
language_server-protocol (~> 3.17.0.2)
130+
lint_roller (~> 1.1.0)
120131
parallel (~> 1.10)
121132
parser (>= 3.3.0.2)
122133
rainbow (>= 2.2.2, < 4.0)
123-
regexp_parser (>= 2.4, < 3.0)
124-
rubocop-ast (>= 1.32.2, < 2.0)
134+
regexp_parser (>= 2.9.3, < 3.0)
135+
rubocop-ast (>= 1.45.0, < 2.0)
125136
ruby-progressbar (~> 1.7)
126-
unicode-display_width (>= 2.4.0, < 3.0)
127-
rubocop-ast (1.32.2)
128-
parser (>= 3.3.1.0)
137+
unicode-display_width (>= 2.4.0, < 4.0)
138+
rubocop-ast (1.45.1)
139+
parser (>= 3.3.7.2)
140+
prism (~> 1.4)
129141
ruby-progressbar (1.13.0)
130142
sawyer (0.9.2)
131143
addressable (>= 2.3.5)
132144
faraday (>= 0.17.3, < 3)
133145
shellany (0.0.1)
134-
terminal-table (3.0.2)
135-
unicode-display_width (>= 1.1.1, < 3)
146+
terminal-table (1.6.0)
136147
thor (1.3.2)
137-
unicode-display_width (2.5.0)
138-
uri (0.13.1)
148+
unicode-display_width (3.1.4)
149+
unicode-emoji (~> 4.0, >= 4.0.4)
150+
unicode-emoji (4.0.4)
151+
uri (1.0.3)
139152
xcresult (0.2.2)
140153
yard (0.9.37)
141154

danger-xcode_summary.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
lib = File.expand_path('lib', __dir__)
44

55
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6-
require 'xcode_summary/gem_version.rb'
6+
require 'xcode_summary/gem_version'
77

88
Gem::Specification.new do |spec|
99
spec.name = 'danger-xcode_summary'
@@ -21,10 +21,10 @@ Gem::Specification.new do |spec|
2121
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
2222
spec.require_paths = ['lib']
2323

24-
spec.required_ruby_version = ">= 2.4.0"
24+
spec.required_ruby_version = '>= 2.4.0'
2525

26+
spec.add_dependency 'danger-plugin-api', '~> 1.0'
2627
spec.add_dependency 'xcresult', '~> 0.2.2'
27-
spec.add_runtime_dependency 'danger-plugin-api', '~> 1.0'
2828

2929
# General ruby development
3030
spec.add_development_dependency 'bundler', '>= 2.2.10'

lib/xcode_summary/plugin.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def sticky_summary
106106
end
107107

108108
def test_summary
109-
@test_summary.nil? ? true : @test_summary
109+
@test_summary.nil? || @test_summary
110110
end
111111

112112
def inline_mode
@@ -118,7 +118,7 @@ def ignores_warnings
118118
end
119119

120120
def strict
121-
@strict.nil? ? true : @strict
121+
@strict.nil? || @strict
122122
end
123123

124124
# Pick a Dangerfile plugin for a chosen request_source and cache it

spec/spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
require 'pathname'
44
ROOT = Pathname.new(File.expand_path('..', __dir__))
5-
$LOAD_PATH.unshift("#{ROOT}lib".to_s)
6-
$LOAD_PATH.unshift("#{ROOT}spec".to_s)
5+
$LOAD_PATH.unshift("#{ROOT}lib")
6+
$LOAD_PATH.unshift("#{ROOT}spec")
77

88
require 'bundler/setup'
99
require 'pry'

0 commit comments

Comments
 (0)