Sha256: c7c690e82bf30f274f5a0e2e8093bb4013d47b3a21056585434f9f88be5cc437

Contents?: true

Size: 234 Bytes

Versions: 58

Compression:

Stored size: 234 Bytes

Contents

require 'sawyer'

patch = Module.new do
  def href(options=nil)
    # Temporary workaround for: https://github.com/octokit/octokit.rb/issues/727
    name.to_s == "ssh" ? @href : super
  end
end

Sawyer::Relation.send(:prepend, patch)

Version data entries

58 entries across 39 versions & 3 rubygems

Version Path
octokit-4.24.0 lib/ext/sawyer/relation.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/octokit-4.23.0/lib/ext/sawyer/relation.rb
octokit-4.23.0 lib/ext/sawyer/relation.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/octokit-4.22.0/lib/ext/sawyer/relation.rb
octokit-4.22.0 lib/ext/sawyer/relation.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/octokit-4.21.0/lib/ext/sawyer/relation.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/octokit-4.21.0/lib/ext/sawyer/relation.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/octokit-4.21.0/lib/ext/sawyer/relation.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/octokit-4.21.0/lib/ext/sawyer/relation.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/octokit-4.19.0/lib/ext/sawyer/relation.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/octokit-4.20.0/lib/ext/sawyer/relation.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/octokit-4.20.0/lib/ext/sawyer/relation.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/octokit-4.21.0/lib/ext/sawyer/relation.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/octokit-4.20.0/lib/ext/sawyer/relation.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/octokit-4.21.0/lib/ext/sawyer/relation.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/octokit-4.19.0/lib/ext/sawyer/relation.rb
octokit-4.21.0 lib/ext/sawyer/relation.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/octokit-4.19.0/lib/ext/sawyer/relation.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/octokit-4.19.0/lib/ext/sawyer/relation.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/octokit-4.20.0/lib/ext/sawyer/relation.rb