Skip to content

Commit 3fbb045

Browse files
committed
Gemfile refactoring
1 parent 36c7b39 commit 3fbb045

File tree

2 files changed

+36
-13
lines changed

2 files changed

+36
-13
lines changed

Gemfile

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,38 @@
11
# frozen_string_literal: true
22

3-
source "https://rubygems.org"
3+
source 'https://rubygems.org'
44

55
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
66

7-
gem 'cocoapods'
8-
gem 'danger'
9-
gem 'danger-commit_lint'
10-
gem 'fastlane'
11-
gem 'fastlane-plugin-lizard'
7+
gem 'danger', group: :danger_dependencies
8+
gem 'fastlane', group: :fastlane_dependencies
129
gem 'jazzy'
1310
gem 'json'
14-
gem 'plist'
15-
gem 'rubocop', '1.38'
16-
gem 'rubocop-performance'
17-
gem 'rubocop-require_tools'
18-
gem 'sinatra'
11+
gem 'rubocop', '1.38', group: :rubocop_dependencies
12+
gem 'sinatra', group: :sinatra_dependencies
1913
gem 'slather'
20-
gem 'xcode-install'
21-
gem 'xctest_list'
2214

2315
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
2416
eval_gemfile(plugins_path) if File.exist?(plugins_path)
17+
18+
group :fastlane_dependencies do
19+
gem 'cocoapods'
20+
gem 'fastlane-plugin-lizard'
21+
gem 'plist'
22+
gem 'xcode-install'
23+
gem 'xctest_list'
24+
end
25+
26+
group :sinatra_dependencies do
27+
gem 'puma'
28+
gem 'rackup'
29+
end
30+
31+
group :rubocop_dependencies do
32+
gem 'rubocop-performance'
33+
gem 'rubocop-require_tools'
34+
end
35+
36+
group :danger_dependencies do
37+
gem 'danger-commit_lint'
38+
end

Gemfile.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ GEM
285285
nap (1.1.0)
286286
naturally (2.2.1)
287287
netrc (0.11.0)
288+
nio4r (2.7.0)
288289
no_proxy_fix (0.1.2)
289290
nokogiri (1.16.0)
290291
mini_portile2 (~> 2.8.2)
@@ -304,13 +305,18 @@ GEM
304305
coderay (~> 1.1)
305306
method_source (~> 1.0)
306307
public_suffix (4.0.7)
308+
puma (6.4.2)
309+
nio4r (~> 2.0)
307310
racc (1.7.3)
308311
rack (3.0.8)
309312
rack-protection (4.0.0)
310313
base64 (>= 0.1.0)
311314
rack (>= 3.0.0, < 4)
312315
rack-session (2.0.0)
313316
rack (>= 3.0.0)
317+
rackup (2.1.0)
318+
rack (>= 3)
319+
webrick (~> 1.8)
314320
rainbow (3.1.1)
315321
rake (13.1.0)
316322
rchardet (1.8.0)
@@ -387,6 +393,7 @@ GEM
387393
concurrent-ruby (~> 1.0)
388394
uber (0.1.0)
389395
unicode-display_width (2.5.0)
396+
webrick (1.8.1)
390397
word_wrap (1.0.0)
391398
xcinvoke (0.3.0)
392399
liferaft (~> 0.0.6)
@@ -422,6 +429,8 @@ DEPENDENCIES
422429
jazzy
423430
json
424431
plist
432+
puma
433+
rackup
425434
rubocop (= 1.38)
426435
rubocop-performance
427436
rubocop-require_tools

0 commit comments

Comments
 (0)