sensu-transport 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa4dd8fe1cfdf292bd43c1eb1a9e9e48f8364ff3
4
- data.tar.gz: 0c6d0e95c66e6178440a01735fd9e010c0e1f078
3
+ metadata.gz: 65b0b8abe0837877e0d1b0b735a56fdfe13a4bac
4
+ data.tar.gz: 32cae6e75dd1e07b41c90aa865fef65d80c0aa92
5
5
  SHA512:
6
- metadata.gz: 589b4ac0df3a423c9560643c87ebf75b6f85259fc126c482511050f31e0472f3c9e8e8e7b3538ac8a3c9d2c30edee5e2b4980bb766d950c386a1b4242be946f5
7
- data.tar.gz: 2c145d6f1cd357ec5dcfb737ddf1bd3cf130067e5491f572da15e58d50302550cc94f5751e8e69cdb5d64f5b10514e82a944d9f1fbc44025f04ab9d0c87ce014
6
+ metadata.gz: 76546576240a195207ce68cf6bd2cb457661412b9bb630e7597dfeeb8baf695617a5a1d6efcd0878e11a234c1d2996364a63fa2b148e89dbf19c4af42f2d1af5
7
+ data.tar.gz: 31f9a25db107d8288d63777541f0d2cfdb88d4642c59f445ea6a41c3d57f430ef4634ec72c6567066e4a62a00832bbbcb9192d8ddeb1939d6478f0044e28e08c
data/.travis.yml CHANGED
@@ -5,11 +5,13 @@ rvm:
5
5
  - 1.9.3
6
6
  - 2.0.0
7
7
  - 2.1.0
8
- before_install:
9
- - gem update --system 2.1.11
10
- - gem --version
8
+ - jruby
11
9
  services:
12
10
  - rabbitmq
13
11
  notifications:
14
12
  irc:
15
13
  - "irc.freenode.net#sensu"
14
+ script: "rspec . --tag ~ssl"
15
+ addons:
16
+ code_climate:
17
+ repo_token:629d024a848e2ebb1b0c0283c2046387c1b8c0d1cfd4d03289bef74a7b875d55
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Heavy Water Operations.
1
+ Copyright (c) 2014 Heavy Water Operations, LLC.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![Build Status](https://travis-ci.org/sensu/sensu-transport.svg?branch=master)](https://travis-ci.org/sensu/sensu-transport)
4
4
 
5
5
  [![Code Climate](https://codeclimate.com/github/sensu/sensu-transport.png)](https://codeclimate.com/github/sensu/sensu-transport)
6
+ [![Code Climate Coverage](https://codeclimate.com/github/sensu/sensu-transport/coverage.png)](https://codeclimate.com/github/sensu/sensu-transport)
6
7
 
7
8
  ## Installation
8
9
 
@@ -1,3 +1,5 @@
1
+ gem "sensu-em"
2
+
1
3
  module Sensu
2
4
  module Transport
3
5
  class Error < StandardError; end
@@ -122,11 +122,10 @@ module Sensu
122
122
  if options.is_a?(Hash)
123
123
  prefetch = options.fetch(:prefetch, 1)
124
124
  end
125
+ @channel.prefetch(prefetch)
125
126
  @channel.on_recovery do
126
127
  @after_reconnect.call
127
- @channel.prefetch(prefetch)
128
128
  end
129
- @channel.prefetch(prefetch)
130
129
  end
131
130
  end
132
131
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-transport"
5
- spec.version = "0.0.1"
5
+ spec.version = "0.0.2"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com"]
8
8
  spec.summary = "The Sensu transport abstraction library"
@@ -15,10 +15,11 @@ Gem::Specification.new do |spec|
15
15
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
16
  spec.require_paths = ["lib"]
17
17
 
18
- spec.add_dependency("eventmachine")
18
+ spec.add_dependency("sensu-em")
19
19
  spec.add_dependency("amqp", "1.3.0")
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.6"
22
22
  spec.add_development_dependency "rake"
23
23
  spec.add_development_dependency "rspec"
24
+ spec.add_development_dependency "codeclimate-test-reporter"
24
25
  end
@@ -0,0 +1,10 @@
1
+ [
2
+ {rabbit, [
3
+ {ssl_listeners, [5671]},
4
+ {ssl_options, [{cacertfile,"spec/assets/ssl/ca/cacert.pem"},
5
+ {certfile,"spec/assets/ssl/server/cert.pem"},
6
+ {keyfile,"spec/assets/ssl/server/key.pem"},
7
+ {verify,verify_peer},
8
+ {fail_if_no_peer_cert,true}]}
9
+ ]}
10
+ ].
@@ -0,0 +1,17 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIICxDCCAaygAwIBAgIJAIWLvLqOUGk9MA0GCSqGSIb3DQEBBQUAMBIxEDAOBgNV
3
+ BAMTB1NlbnN1Q0EwHhcNMTQwNTE3MTY0NTExWhcNMTkwNTE2MTY0NTExWjASMRAw
4
+ DgYDVQQDEwdTZW5zdUNBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
5
+ yN5QsOP6E/zGWnQuu5w7BTiiqHDqtLEmVkt9k/TWAynAhzC0PpWTEOylJdMmRPoZ
6
+ Kz3JT6iHFuU7NxIDRyf8UfVQPz2cwihg3KBPLLqoYxf5HKjQ+iOeKDI4uh1bSd2x
7
+ pvsZAwLVl1fmWMg7G/M8MOACFzu17atBLLq/9kJgzeyLZp+vz+N1ePguVOMWFAnE
8
+ FD0Knd3rT6gfNKaLB8DPiUG03oUR63yNRMYN2wVLGc9ZVycUVR54rEyOQC85CMiV
9
+ FIUFMAbUW2+LuSp/EgPtLXh11vGuIIU0fRx2bvp+l74VFjd/9JH8q+YFvqrodKGp
10
+ WmjE1LT6W2CVfY8f3cn88wIDAQABox0wGzAMBgNVHRMEBTADAQH/MAsGA1UdDwQE
11
+ AwIBBjANBgkqhkiG9w0BAQUFAAOCAQEAoL6OExTnSZflw0Akc8UJVUeKeuRer1ZR
12
+ 09GS2sfaKNXATfYZxJW7ikgwyUB6ME2y7BTRMR2OFhrytyfTgAgm/QbE2nDs/63v
13
+ hCdeAPTnpXgljIS03/I9s7PSB32Z7Sp271RUulboHazjw1XQYcbtPrvLsw7QVQTR
14
+ VVg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gIds2ktcufDpu/XQBPmlqK5cwDFw/0xx8qZQAXFr5fO1h7V
18
+ qyRXxkzoTehuUnqsAtq0m0e5HDPiy/XHQ6vFIGmpAoGBAKcgwBbcUXuJk9HOyMNG
19
+ ocXBRE/qoUpkAx5XCqGmjkRB+cKUGh9JMwTwp1scs1wZe/+qefsT+PFGgcnXLJjx
20
+ ojVJRaDiJRL+zrHdCWrvwVaeNfWMKFlf3Wo4l5DOvy+0KenTGcE9MQN6uAV/8rkw
21
+ pPupd64JcfsttBnMJAi85NBVAoGBAIYRVfwWzz3XFFXxKAANOWqXaYtugDckFFB6
22
+ eohozsZRf51miX2EuJ/wezEwKQMrA7e0TimRG8J9FjcQr+A3FbhluWkWNONo+RSV
23
+ zTV9xb12ZryMVO/xRpWmbXcSska29jRcxsbjhu7autRzUfrvqPLH5i9pnqBfehkY
24
+ SFCOyY4xAoGBAKgz/CLq51tmBypb7oy6Cxz1j5wbTQlvrN8MPkMG5dhILAqk3FjM
25
+ HxAsmx/Uy6MfrqpF+Cfp3ABEps+cfwn7zemqppR3OmeEnFDd+6z8sJ28GbFn6ZPK
26
+ wdN/Ggzkz1igCCRGuW+cRh9xhN9tJNwqSbgLib5AY8j6pAXc9PsVdBk0
27
+ -----END RSA PRIVATE KEY-----
data/spec/base_spec.rb CHANGED
@@ -12,7 +12,8 @@ describe "Sensu::Transport::Base" do
12
12
  Sensu::Transport::Base.should respond_to(:connect)
13
13
  @transport.should respond_to(:on_error, :before_reconnect, :after_reconnect,
14
14
  :connect, :connected?, :close,
15
- :publish, :subscribe, :unsubscribe, :stats)
15
+ :publish, :subscribe, :unsubscribe,
16
+ :acknowledge, :ack, :stats)
16
17
  end
17
18
 
18
19
  it "behaves as expected" do
data/spec/helpers.rb CHANGED
@@ -1,6 +1,11 @@
1
1
  require "rspec"
2
2
  require "eventmachine"
3
3
 
4
+ unless RUBY_VERSION < "1.9" || RUBY_PLATFORM =~ /java/
5
+ require "codeclimate-test-reporter"
6
+ CodeClimate::TestReporter.start
7
+ end
8
+
4
9
  module Helpers
5
10
  def timer(delay, &callback)
6
11
  periodic_timer = EM::PeriodicTimer.new(delay) do
@@ -1,18 +1,22 @@
1
1
  require File.join(File.dirname(__FILE__), "helpers")
2
2
  require "sensu/transport/rabbitmq"
3
+ require "logger"
3
4
 
4
5
  describe "Sensu::Transport::RabbitMQ" do
5
6
  include Helpers
6
7
 
7
8
  before do
8
9
  @transport = Sensu::Transport::RabbitMQ.new
10
+ @transport.logger = Logger.new(STDOUT)
11
+ @transport.logger.level = Logger::FATAL
9
12
  end
10
13
 
11
14
  it "provides a transport API" do
12
15
  Sensu::Transport::RabbitMQ.should respond_to(:connect)
13
16
  @transport.should respond_to(:on_error, :before_reconnect, :after_reconnect,
14
17
  :connect, :connected?, :close,
15
- :publish, :subscribe, :unsubscribe)
18
+ :publish, :subscribe, :unsubscribe,
19
+ :acknowledge, :ack, :stats)
16
20
  end
17
21
 
18
22
  it "can publish and subscribe" do
@@ -44,6 +48,7 @@ describe "Sensu::Transport::RabbitMQ" do
44
48
  timer(1) do
45
49
  @transport.unsubscribe do
46
50
  @transport.close
51
+ @transport.connected?.should be_false
47
52
  async_done
48
53
  end
49
54
  end
@@ -80,4 +85,29 @@ describe "Sensu::Transport::RabbitMQ" do
80
85
  end
81
86
  end
82
87
  end
88
+
89
+ it "can fail to connect" do
90
+ async_wrapper do
91
+ @transport.connect(:port => 5555)
92
+ @transport.connected?.should be_false
93
+ async_done
94
+ end
95
+ end
96
+
97
+ it "can use TLS", :ssl => true do
98
+ ssl_dir = File.join(File.dirname(__FILE__), "assets", "ssl", "client")
99
+ async_wrapper do
100
+ @transport.connect(
101
+ :port => 5671,
102
+ :ssl => {
103
+ :cert_chain_file => File.join(ssl_dir, "cert.pem"),
104
+ :private_key_file => File.join(ssl_dir, "key.pem")
105
+ }
106
+ )
107
+ timer(2) do
108
+ @transport.connected?.should be_true
109
+ async_done
110
+ end
111
+ end
112
+ end
83
113
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-transport
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-10 00:00:00.000000000 Z
11
+ date: 2014-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: eventmachine
14
+ name: sensu-em
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: codeclimate-test-reporter
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  description: The Sensu transport abstraction library
84
98
  email:
85
99
  - portertech@gmail.com
@@ -97,6 +111,12 @@ files:
97
111
  - lib/sensu/transport/base.rb
98
112
  - lib/sensu/transport/rabbitmq.rb
99
113
  - sensu-transport.gemspec
114
+ - spec/assets/rabbitmq.config
115
+ - spec/assets/ssl/ca/cacert.pem
116
+ - spec/assets/ssl/client/cert.pem
117
+ - spec/assets/ssl/client/key.pem
118
+ - spec/assets/ssl/server/cert.pem
119
+ - spec/assets/ssl/server/key.pem
100
120
  - spec/base_spec.rb
101
121
  - spec/helpers.rb
102
122
  - spec/rabbitmq_spec.rb
@@ -126,6 +146,12 @@ signing_key:
126
146
  specification_version: 4
127
147
  summary: The Sensu transport abstraction library
128
148
  test_files:
149
+ - spec/assets/rabbitmq.config
150
+ - spec/assets/ssl/ca/cacert.pem
151
+ - spec/assets/ssl/client/cert.pem
152
+ - spec/assets/ssl/client/key.pem
153
+ - spec/assets/ssl/server/cert.pem
154
+ - spec/assets/ssl/server/key.pem
129
155
  - spec/base_spec.rb
130
156
  - spec/helpers.rb
131
157
  - spec/rabbitmq_spec.rb