Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on May 18, 2015
  1. @tobiashm

    Merge pull request #91 from edithau/update_example_gemfile

    tobiashm authored
    fixed SessionRestoreError on example server restart
Commits on May 9, 2015
  1. @edithau
Commits on Mar 19, 2015
  1. @tobiashm

    Use newest revision of Ruby 2.1 & 2.2 on Travis

    tobiashm authored
    By not specifying patch level for Ruby 2.1 & 2.2, Travis should just select most recent version available.
    Also added Rubinius (in most recent version) build target.
Commits on Mar 5, 2015
  1. @dennisreimann

    Bump version to v2.7.0

    dennisreimann authored
    [skip ci]
  2. @dennisreimann

    Update CHANGELOG

    dennisreimann authored
  3. @dennisreimann
  4. @dennisreimann
  5. @dennisreimann

    Merge pull request #85 from tobiashm/master

    dennisreimann authored
    Use RFC 2396 compatible URI parser for trustroot.
  6. @dennisreimann

    Merge pull request #84 from tobiashm/openssl

    dennisreimann authored
    Use HMAC from OpenSSL rather than Digest.
  7. @tobiashm

    Trigger Travis build

    tobiashm authored
  8. @tobiashm

    Trigger Travis build

    tobiashm authored
Commits on Jan 9, 2015
  1. @tobiashm

    Don't test Ruby's build in methods.

    tobiashm authored
    This test became obsolete after openid/ruby-openid#61 was merged,
    since the code now uses Ruby's build in `String#start_with?` rather
    than a custom implementation.
  2. @tobiashm

    Don't use explicit `return` inside Proc.

    tobiashm authored
    An explicit return inside a Proc can return from the current scope.
    This fixes an issue with the test exiting before all tests are run.
  3. @tobiashm

    Added missing require statements in tests to run independently.

    tobiashm authored
    Now you can run all test files individually, because each now correctly
    requires everything it needs.
  4. @tobiashm

    Use RFC 2396 compatible URI parser for trustroot.

    tobiashm authored
    From Ruby 2.2 the default `URI.parse` method uses a new RFC 3986
    compatible parser, which will parse most of the “invalid” URLs in the
    trustroot test.
Commits on Jan 8, 2015
  1. @tobiashm

    Check if OpenSSL is loaded.

    tobiashm authored
    Since we changed from `Digest::HMAC` to `OpenSSL::HMAC`, we should check
    for if `OpenSSL` is loaded, and then we can safely assume that `HMAC` is
    available. Before `Digest` was always defined, so we had to check if
    it had loaded its submodules.
Commits on Jan 7, 2015
  1. @dennisreimann

    Merge pull request #62 from tobiashm/master

    dennisreimann authored
    Removed custom String#starts_with? and #ends_with?
  2. @tobiashm

    Merge remote-tracking branch 'upstream/master'

    tobiashm authored
    Conflicts:
    	test/test_extras.rb
Commits on Jan 6, 2015
  1. @tobiashm

    Use HMAC from OpenSSL rather than Digest.

    tobiashm authored
    The Digest::HMAC was an experimental implementation and has been removed
    from the latest Ruby version (2.2).
  2. @dennisreimann

    Merge pull request #83 from tobiashm/patch-1

    dennisreimann authored
    Avoid checking ancestors for constant
  3. @tobiashm

    Avoid checking ancestors for constant

    tobiashm authored
    When checking if `Digest::HMAC` is defined, we should not check ancestors,
    we're only interested if `HMAC` is defined on `Digest`.
    
    This will fix an issue in Ruby 2.2 where `Digest::HMAC` has been removed, but the
    current check will result in the `Digest` library trying to load `digest/hmac` in 
    `Digest.const_missing` and thus causing an error.
Commits on Nov 9, 2014
  1. @dennisreimann

    Merge pull request #82 from ktdreyer/minitest

    dennisreimann authored
    Switch to Minitest, and misc test cleanups
  2. @ktdreyer

    tests: mixin OverrideMethod for test_no_services

    ktdreyer authored
    test_no_services() makes use of the with_method_overridden() function.
    Depending on the order in which the tests ran, this function might or
    might not be present.
  3. @ktdreyer

    tests: set all fetch() params in test_redirect_limit

    ktdreyer authored
    The default values of body and headers ought to be "nil", but in fact
    they end up as the string "0" in test_redirect_limit.
    
    This causes all sorts of problems. When body is defined as "0", we
    follow the conditional that leads us to conn.request_post instead of
    conn.request_get, and request_post crashes since it expects a key-value
    string instead of simply "0". The unexpected string for the headers
    variable wreaks havoc as well; when headers is "0", the hash value
    assignment at the beginning of fetch() fails, because Ruby can't convert
    the string to a hash.
    
    I'm not sure why these values are "0" instead of nil, but setting them
    explicitly during the call fixes the bug.
  4. @ktdreyer

    tests: switch to minitest

    ktdreyer authored
    Drop Ruby 1.9.2 from Travis, since this has issues with the latest
    verison of Minitest, and Ruby 1.9.2 is not supported upstream any more.
    
    Remove admin/runtest.rb, since this is deprecated in favor of simply
    running "rake" to execute the test suite.
Commits on Oct 27, 2014
  1. @dennisreimann

    Bump version to v2.6.0

    dennisreimann authored
  2. @dennisreimann

    Merge pull request #80 from jeaye/master

    dennisreimann authored
    More safely build filenames
  3. @dennisreimann

    Merge pull request #76 from vivek/master

    dennisreimann authored
    Handle AX boolean value properly
Commits on Oct 4, 2014
  1. @dennisreimann

    Merge pull request #79 from tsukasaoishi/json_session

    dennisreimann authored
    Objects change to Hash object before storing into session.
Commits on Sep 22, 2014
  1. @jeaye

    More safely build filenames

    jeaye authored
    This avoids an error I was getting while parsing
    http://localhost:8095/foo
    
    `invalid value for Integer(): ":"`
Commits on Sep 11, 2014
  1. @tsukasaoishi

    forgot to_session_value

    tsukasaoishi authored
Commits on Sep 10, 2014
  1. @tsukasaoishi

    The session serializer of Rails4.1 is json.

    tsukasaoishi authored
    OpenId::OpenIDServiceEndpoint and OpenID::Consumer::DiscoveredServices
    objects are lost when these store into the session.
    
    These objects change to Hash object before storing into session.
Commits on May 9, 2014
  1. @vivek

    Handle boolean value to fix signature issue

    vivek authored
    If an AX attribute is set to boolean(true) value it results in 
    undefined method `gsub' for true:TrueClass error. 
    
    If it's set to false then its replaced by empty string resulting in 
    to signature mismatch on the consumer, because the server still computes 
    false AX value.
    
    Fix is to set val to empty string if it's nil and if it's
    boolean type then convert it to string.
Commits on Jan 29, 2014
  1. @dennisreimann

    Bump version to v2.5.0

    dennisreimann authored
  2. @dennisreimann

    Merge pull request #73 from grosser/grosser/revert

    dennisreimann authored
    revert serializer changes
Something went wrong with that request. Please try again.