Skip to content

Commit ad6bfd8

Browse files
authored
[Gemspec] Restrict public_suffix to version 2.0.x (fastlane#10168)
public_suffix a gem which we require transitively through google-api-client -> adressable -> public_suffix recently released version 3.x, which removes support for ruby 2.0.0. Because addressable requires <= 4.0.0, >= 2.0.2, it is safe to pin this to the 2.x versions for now, to fix installation of fastlane on macOS system ruby. If preferred, we could also make this conditional based on the ruby version, but I am not a fan of complicating dependency graphs.
1 parent 4bf92b1 commit ad6bfd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fastlane.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Gem::Specification.new do |spec|
4141
spec.add_dependency 'multipart-post', '~> 2.0.0' # Needed for uploading builds to appetize
4242
spec.add_dependency 'word_wrap', '~> 1.0.0' # to add line breaks for tables with long strings
4343

44+
spec.add_dependency 'public_suffix', '~> 2.0.0' # https://github.com/fastlane/fastlane/issues/10162
45+
4446
# TTY dependencies
4547
spec.add_dependency 'tty-screen', '~> 0.5.0' # detect the terminal width
4648

0 commit comments

Comments
 (0)