Git Product home page Git Product logo

pagerduty-sdk's People

Contributors

darron avatar dfarrell-bloom avatar hollow avatar kryptek avatar scarytom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pagerduty-sdk's Issues

net-http >ruby 1.9.3 seems required

got a net-http error when using 1.9.3:

/Users/dfarrell/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/net/http.rb:1861:in `initialize': undefined method `empty?' for #<URI::HTTPS:0x007f93e19223a0> (NoMethodError)
    from /Users/dfarrell/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/net/http.rb:2094:in `initialize'
    from /Users/dfarrell/.rvm/gems/ruby-1.9.3-p484/gems/pagerduty-sdk-1.0.5/lib/pagerduty/core.rb:49:in `new'
    from /Users/dfarrell/.rvm/gems/ruby-1.9.3-p484/gems/pagerduty-sdk-1.0.5/lib/pagerduty/core.rb:49:in `curl'
    from /Users/dfarrell/.rvm/gems/ruby-1.9.3-p484/gems/pagerduty-sdk-1.0.5/lib/pagerduty/pagerduty.rb:595:in `get_log_entries'
    from incidentsearch.rb:9:in `<main>'

looks like 1.9.3 doesn't handle URI quite as intelligently:
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/net/http/rdoc/Net/HTTPGenericRequest.html#method-c-new

switching to ruby 2.1.0 seems to have fixed the problem
http://www.ruby-doc.org/stdlib-2.1.1/libdoc/net/http/rdoc/Net/HTTPGenericRequest.html#method-c-new

Api V2

How long until this supports V2 of the api?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.