Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gemfile refactoring #272

Merged
merged 2 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 27 additions & 13 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,36 @@ source 'https://rubygems.org'

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

gem 'badge'
gem 'cocoapods'
gem 'danger'
gem 'danger-commit_lint'
gem 'fastlane'
gem 'fastlane-plugin-lizard'
gem 'danger', group: :danger_dependencies
gem 'fastlane', group: :fastlane_dependencies
gem 'jazzy'
gem 'json'
gem 'plist'
gem 'rubocop', '1.38'
gem 'rubocop-performance'
gem 'rubocop-require_tools'
gem 'sinatra'
gem 'rubocop', '1.38', group: :rubocop_dependencies
gem 'sinatra', group: :sinatra_dependencies
gem 'slather'
gem 'xcode-install'
gem 'xctest_list'

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)

group :fastlane_dependencies do
gem 'badge'
gem 'cocoapods'
gem 'fastlane-plugin-lizard'
gem 'plist'
gem 'xcode-install'
gem 'xctest_list'
end

group :sinatra_dependencies do
gem 'puma'
gem 'rackup'
end

group :rubocop_dependencies do
gem 'rubocop-performance'
gem 'rubocop-require_tools'
end

group :danger_dependencies do
gem 'danger-commit_lint'
end
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ GEM
nap (1.1.0)
naturally (2.2.1)
netrc (0.11.0)
nio4r (2.7.0)
no_proxy_fix (0.1.2)
nokogiri (1.16.0)
mini_portile2 (~> 2.8.2)
Expand All @@ -307,13 +308,18 @@ GEM
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (4.0.7)
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.3)
rack (3.0.8)
rack-protection (4.0.0)
base64 (>= 0.1.0)
rack (>= 3.0.0, < 4)
rack-session (2.0.0)
rack (>= 3.0.0)
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
rainbow (3.1.1)
rake (13.1.0)
rchardet (1.8.0)
Expand Down Expand Up @@ -390,6 +396,7 @@ GEM
concurrent-ruby (~> 1.0)
uber (0.1.0)
unicode-display_width (2.5.0)
webrick (1.8.1)
word_wrap (1.0.0)
xcinvoke (0.3.0)
liferaft (~> 0.0.6)
Expand Down Expand Up @@ -425,6 +432,8 @@ DEPENDENCIES
jazzy
json
plist
puma
rackup
rubocop (= 1.38)
rubocop-performance
rubocop-require_tools
Expand Down
1 change: 1 addition & 0 deletions TestTools/Robots/Sinatra.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class Sinatra {
private func invokeSinatra(url: URL, body: [String: Any] = [:]) {
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.addValue("application/json", forHTTPHeaderField: "Content-Type")
request.httpBody = try? JSONSerialization.data(withJSONObject: body, options: [])
URLSession.shared.dataTask(with: request).resume()
}
Expand Down
Loading