Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Remove circular require #113

Merged
merged 1 commit into from
Mar 7, 2019
Merged

Remove circular require #113

merged 1 commit into from
Mar 7, 2019

Conversation

johantell
Copy link
Contributor

As they are considered harmful and causes warnings

@tobiashm
Copy link
Contributor

tobiashm commented Mar 6, 2019

Looks good. Could you rebase or merge master, as the Travis CI build issues should be fixed.

@@ -1,5 +1,4 @@
require 'net/http'
require 'openid'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you'll need to require 'openid/version' instead, as OpenID::VERSION is referenced further down in this file.

@johantell
Copy link
Contributor Author

@tobiashm your comments have been adressed.

Thank you for taking a look at this!

@tobiashm tobiashm merged commit 941a829 into openid:master Mar 7, 2019
@tobiashm
Copy link
Contributor

tobiashm commented Mar 7, 2019

Thanks for the work @johantell

@johantell johantell deleted the fix_circular_require branch March 7, 2019 08:25
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Nov 18, 2019
Update ruby-ruby-openid package to version 2.9.2.


## 2.9.2

* Perform all checks before verifying endpoints.
  [#126](openid/ruby-openid#126)

## 2.9.1

* Updated CHANGELOG.md

## 2.9.0

* Remove deprecated `autorequire` from gemspec.
  [#123](openid/ruby-openid#123)
* Rescue from `Yadis::XRI::XRIHTTPError` on discovery.
  [#106](openid/ruby-openid#106)
* Avoid SSRF for claimed_id request.
  [#121](openid/ruby-openid#121)
* Updated documentation.
  [#115](openid/ruby-openid#115), [#116](openid/ruby-openid#116), [#117](openid/ruby-openid#117), [#118](openid/ruby-openid#118)
* Reduce warnings output in test runs.
  [#119](openid/ruby-openid#119)
* Drop deprecated option from gemspec.
  [#120](openid/ruby-openid#120)
* Remove circular require.
  [#113](openid/ruby-openid#113)
* Updated Travis CI config with Ruby 2.6
  [#114](openid/ruby-openid#114)
* Simplify Bundler require; remove need for extra `:require`.
  [#112](openid/ruby-openid#112)

## 2.8.0

* Fix `admin/mkassoc` script.
  See openid/ruby-openid#103
* Allow specifying timeout for `OpenID::StandardFetcher` in environment variables.
  See openid/ruby-openid#109
* Fixed some documentation.
  See openid/ruby-openid#111
* Fixed example server.
  See openid/ruby-openid#91
* Fixed tests.
  See openid/ruby-openid#86
* Misc. changes to the CI setup.
  See
  - openid/ruby-openid#110
  - openid/ruby-openid#108
  - openid/ruby-openid#107
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants