Skip to content
Commits on Nov 18, 2015
  1. @aphyr

    0.2.6

    aphyr committed
Commits on Nov 2, 2015
  1. @aphyr

    Merge pull request #22 from agile/client_should_yield_self

    aphyr committed
    Client should yield self
  2. @agile
  3. @agile
  4. @agile

    Close sockets after yield

    agile committed
  5. @agile

    Yield self to block given to new Client

    agile committed
    eg:
    ```ruby
    Riemann::Client.new do |c|
      c.tcp << {
        :state => 'ok',
        :service => 'test',
        :time => Time.now.to_i,
      }
    end
    ```
  6. @agile

    Accept riemann ip/port from env var for testing

    agile committed
    eg: to support running tests against riemann running in a vm or container on
    non-standard ports.
Commits on Jul 24, 2015
  1. @aphyr

    Merge pull request #21 from pikselpalette/master

    aphyr committed
    Allow TCP sockets to work on Windows
  2. @sgran

    Allow TCP sockets to work on Windows

    sgran committed
    Windows doesn't seem to have F_SETFD and FD_CLOEXEC.  Try to stumble
    along regardless.
    
    Signed-off-by: Stephen Gran <stephen.gran@piksel.com>
Commits on Apr 17, 2015
  1. @aphyr

    Merge pull request #20 from squarism/master

    aphyr committed
    README hash syntax fix
Commits on Mar 30, 2015
  1. @squarism

    README hash syntax fix

    squarism committed
Commits on Feb 5, 2015
  1. @aphyr

    0.2.5

    aphyr committed
Commits on Feb 3, 2015
  1. @aphyr

    0.2.4

    aphyr committed
  2. @aphyr

    Merge pull request #19 from peterneubauer/patch-1

    aphyr committed
    Tightening beefcake requirement
  3. @peterneubauer
Commits on Jan 6, 2015
  1. @aphyr

    Merge pull request #18 from RKelln/rkelln/refactor

    aphyr committed
    Fix for #17, plus test and connection refactor
Commits on Jan 5, 2015
  1. @RKelln

    Improvements from @eric review.

    RKelln committed
    	See #18
    
    	* deprecation message changed to use warn
    	* UDP#with_connection removed
    	* UDP#connect removed and replaced by UDP#socket
    	* UDP#connected? test fixed
    	* test updated to reflect changes
      ** added truthy and falsey helpers
    	** TCP test improved
Commits on May 3, 2014
  1. @RKelln
Commits on Apr 30, 2014
  1. @aphyr

    Version 0.2.3

    aphyr committed
Commits on Apr 17, 2014
  1. @RKelln

    Remove Client#connect

    RKelln committed
    TCP transport does not have a connect method, so this was incorrect.
    Not being used by anything, and seems safe to remove.
  2. @RKelln

    Add Gemfile and gemspec

    RKelln committed
       NOTE: gemspec should match Rakefile
Commits on Apr 16, 2014
  1. @RKelln

    Refactor Message#encode_with_length

    RKelln committed
    Use encoded string rather than Beefcake Buffer.
    
    Use << to concat strings for slight performance gain.
  2. @RKelln

    UDP refactor: #close, #connected and #with_connection

    RKelln committed
    Remove code in #close: UDP has no close method.
    
    #connected? returns a boolean: true if socket exists, false if nil.
    Protect with mutex.
    
    DRY rescues in #with_connection and set @socket to nil if it fails.
  3. @RKelln

    TCP#connected? refactor

    RKelln committed
    Change #connected? to return boolean: true if socket and socket is not
    closed, false otherwise.
    Reuse this method in #close and #socket.
  4. @RKelln

    spec/client.rb refactor: add UDP support

    RKelln committed
    Refactor bacon tests so that TCP and UDP transports are tested
    separately (using shared examples).
    
    Separate 'survive inactivity' and 'survive local close' test for TCP and
    UDP.
    
    Added 'raise Riemann::Client::Unsupported exception on query' to UDP
    transport.
    
    Added 'be connected after sending' test.
    
    Use should.equal instead of should ==.
  5. @RKelln

    Fixes #17: Rubinius error with UDP send_maybe_recv

    RKelln committed
    Send the encoded string, not the Beefcake buffer, to UDP socket #send
Commits on Mar 17, 2014
  1. @aphyr

    Merge pull request #16 from eric/close-connection-on-any-error

    aphyr committed
    Ensure that we close the connection if we got an error back
  2. @eric
Commits on Mar 14, 2014
  1. @aphyr

    Merge pull request #15 from eric/1.8-support

    aphyr committed
    String#clear doesn't exist in 1.8
  2. @eric

    String#clear doesn't exist in 1.8

    eric committed
  3. @aphyr

    Merge pull request #14 from eric/tcp-client-with-timeouts

    aphyr committed
    Tcp client with timeouts
  4. @eric

    Catch errors from the socket

    eric committed
  5. @eric

    Provide TCP socket with timeouts

    eric committed
Commits on May 28, 2013
  1. @aphyr

    Version 0.2.2

    aphyr committed
Commits on May 26, 2013
  1. @aphyr

    Merge pull request #11 from gsandie/update_readme_with_timeout

    aphyr committed
    Update README with timeout information
Something went wrong with that request. Please try again.