speckins
speckins
There are at least two PRs for this, but the repo hasn't received a commit in over a year (Aug 2015), so it seems dead (or just sleeping?). At any...
You're setting the request.env values _after_ you've performed the GET request. You need to set them before you invoke the request.
Is that colon a typo? `PHPLDAPADMIN_HTTPS:=false` You can get this error when trying to access the application over HTTP when it's been configured for HTTPS (or vice versa).
Large one, cut down: https://gist.github.com/740642
At the time I was studying this format, I started writing a Perl script to read out the JPEG tiles from Zoomify files. However, if IIRC we discovered that one...
Okay, I finished the script and cleaned it up. It's pretty basic, but there are a few useful options such as changing the output prefix and only outputting certain levels/resolutions....
It's also not necessary to redefine `#call` since it's the same as the superclass. https://github.com/rack/rack/blob/ab9cd7416c1b5253cd280d75704bafd87510c120/lib/rack/builder.rb#L261-L263 If OmniAuth::Builder is intended to be used as shown in the [README](https://github.com/omniauth/omniauth#getting-started), maybe overridding `::new`...
Except that `OmniAuth::Builder` adds a few methods of its own, of which, the `#provider` method is probably the main reason for using it. https://github.com/omniauth/omniauth/blob/7d90ba21c26299df8001684cbfbb6c54ce8ea440/lib/omniauth/builder.rb#L29 What about this: ```ruby module OmniAuth...
The problem is that omniauth has been telling people to use `OmniAuth::Builder` as middleware. E.g., ```ruby use OmniAuth::Builder do provider :developer end ``` Any Rack-like `use(middleware, app, *args, &block)` implementation...
One more option -- rename the current Builder class to something else and define a new Builder to use it internally. ```ruby module OmniAuth class AuthBuilder < Rack::Builder # ...same...