This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Flapjack - Summary</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" href="/css/bootstrap.min.css" media="screen"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2013-11-06T15:45:47+10:30 [INFO] :: flapjack-api :: starting api - class | |
| 2013-11-06T15:45:47+10:30 [FATAL] :: flapjack-coordinator :: RuntimeError | |
| no acceptor (port is in use or requires root privileges) | |
| /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:526:in `start_tcp_server' | |
| /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:526:in `start_server' | |
| /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/thin-1.5.1/lib/thin/backends/tcp_server.rb:16:in `connect' | |
| /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/thin-1.5.1/lib/thin/backends/base.rb:55:in `block in start' | |
| /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/thin-1.5.1/lib/thin/backends/base.rb:61:in `call' | |
| /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/thin-1.5.1/lib/thin/backends/base.rb:61:in `start' | |
| /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/thin-1.5.1/lib/thin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jesse@Heart-of-Gold flapjack $ be rspec spec/lib/flapjack/gateways/pagerduty_spec.rb | |
| Run options: include {:focus=>true} | |
| All examples were filtered out; ignoring {:focus=>true} | |
| 1) Flapjack::Gateways::Pagerduty prompts the blocking redis connection to quit | |
| Failure/Error: EM::Hiredis.should_receive(:connect).and_return(shutdown_redis) | |
| NameError: | |
| uninitialized constant EventMachine::Hiredis | |
| # ./spec/lib/flapjack/gateways/pagerduty_spec.rb:16:in `block (2 levels) in <top (required)>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MockLogger | |
| attr_accessor :messages, :errors | |
| def initialize | |
| @messages = [] | |
| @errors = [] | |
| end | |
| %w(debug info warn).each do |level| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Coverage report generated for Cucumber Features, RSpec to /Users/jesse/src/flpjck/flapjack/coverage. 2754 / 3372 LOC (81.67%) covered. | |
| /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/json.rb:16:in `pretty_generate': In :strict mode all Hash keys must be Strings, not Symbol. (TypeError) | |
| from /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/json.rb:16:in `dump' | |
| from /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/last_run.rb:15:in `block in write' | |
| from /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/last_run.rb:14:in `open' | |
| from /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/last_run.rb:14:in `write' | |
| from /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/defaults.rb:78:in `block in <top (required)>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jesse@heart-of-gold flapjack $ be rake features | |
| /Users/jesse/.rbenv/versions/1.9.3-p448/bin/ruby -S bundle exec cucumber --format Cucumber::Formatter::Fuubar | |
| <internal:gem_prelude>:1:in `initialize': Interrupt | |
| from <internal:gem_prelude>:1:in `exception' | |
| from <internal:gem_prelude>:1:in `require' | |
| from <internal:gem_prelude>:1:in `<compiled>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jesse@heart-of-gold flapjack $ be cucumber features/rollup.feature:121 | |
| @rollup @notification_rules @resque @processor @notifier @events | |
| Feature: Rollup on a per contact, per media basis | |
| Background: # features/rollup.feature:4 | |
| Given the following users exist: # features/steps/events_steps.rb:327 | |
| | id | first_name | last_name | email | sms | timezone | | |
| | 1 | Malak | Al-Musawi | malak@example.com | +61400000001 | Asia/Baghdad | | |
| And the following entities exist: # features/steps/events_steps.rb:314 | |
| | id | name | contacts | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| dir='/private/tmp' | |
| if [ ! -d $dir ] ; then | |
| echo "the directory has gone" | |
| #echo 'body' | mailx -s "the directory has gone" me@example.com | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'httparty' | |
| require 'json/pure' | |
| class VisageClient | |
| include HTTParty | |
| default_timeout 10 | |
| ENDPOINTS = [ 'stats-a', 'stats-b' ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'httparty' | |
| require 'json/pure' | |
| class VisageClient | |
| include HTTParty | |
| default_timeout 10 | |
| ENDPOINTS = [ 'stats-a', 'stats-b' ] |