Permalink
Commits on Dec 29, 2016
  1. Test on Ruby 2.4.0.

    jcoglan committed Dec 29, 2016
Commits on Dec 27, 2016
  1. Merge pull request #48 from kbarrette/pure_ruby_masking

    Pure Ruby masking
    jcoglan committed on GitHub Dec 27, 2016
Commits on Dec 7, 2016
  1. Fall back to ruby

    kbarrette committed Nov 17, 2016
  2. Add Ruby mask implementation

    kbarrette committed Nov 4, 2016
Commits on Nov 21, 2016
Commits on Oct 26, 2016
Commits on Jul 19, 2016
Commits on May 20, 2016
  1. Bump version to 0.6.4.

    jcoglan committed May 20, 2016
Commits on May 19, 2016
  1. Revise uses of encoding APIs.

    When originally implemented, we still supported Ruby 1.8, which
    necessitated checking for encoding methods and using a regex to validate
    UTF-8. These checks are now gone.
    
    We tagged many strings as binary when not strictly necessary, either
    because we were just going to iterate their bytes or because we were
    going to hand them off to the caller which should just write them
    directly to a socket. Strings used as buffers to accumulate streaming
    input are still tagged as binary to avoid encoding
    collision/conversion.
    
    The places where we do need to tag as UTF-8 (i.e. just before emitting
    to the application) remain, but copy the string if necessary. This
    allows us to work with frozen strings.
    
    Finally, strings passed in via the Driver#text method should be
    *transcoded* to UTF-8 if necessary, not merely tagged. The Ruby
    String#encode method produces a new string so this should also be safe
    with frozen strings.
    jcoglan committed May 19, 2016
Commits on May 18, 2016
  1. Silence all -W2 warnings.

    jcoglan committed May 18, 2016
Commits on Apr 30, 2016
Commits on Nov 8, 2015
  1. Create CODE_OF_CONDUCT.md.

    jcoglan committed Nov 8, 2015
Commits on Nov 6, 2015
  1. Bump version to 0.6.3.

    jcoglan committed Nov 6, 2015
Commits on Oct 17, 2015
Commits on Oct 11, 2015
Commits on Oct 2, 2015
  1. Close the connection if a draft-76 client sends a Sec-WebSocket-Key h…

    …eader where the numeric value is a non-integer multiple of the number of spaces.
    jcoglan committed Oct 2, 2015
Commits on Sep 18, 2015
  1. Merge pull request #32 from amatsuda/warning

    "warning: instance variable @delegate not initialized"
    jcoglan committed Sep 18, 2015
Commits on Jul 21, 2015
Commits on Jul 18, 2015
  1. Bump version to 0.6.2.

    jcoglan committed Jul 18, 2015
Commits on Jul 17, 2015
Commits on Jul 16, 2015
Commits on Jul 13, 2015
  1. Bump version to 0.6.1.

    jcoglan committed Jul 13, 2015
Commits on Jul 11, 2015
  1. A few stylistic tweaks.

    jcoglan committed Jul 11, 2015
Commits on Jul 10, 2015
  1. Rather than implementing integer (un)packing ourselves, use the Array…

    …#pack and String#unpack methods.
    jcoglan committed Jul 10, 2015
  2. Adjust how on() calls add_listener(). This is necessary because faye-…

    …websocket overrides add_listener with one argument, so users with faye-websocket locked at < 0.10 will see errors.
    jcoglan committed Jul 10, 2015
Commits on Jul 8, 2015
  1. Bump the version to 0.6.0.

    jcoglan committed Jul 8, 2015
Commits on Jul 7, 2015