virginia 0.5.0 → 0.5.1

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: ecea8b6d003b01938bc430ec0dff8dd07d43f84e
4
- data.tar.gz: ffa4a6fe704ae8de52f36aad3a01f168ebaacb22
3
+ metadata.gz: c4435b0045644e57f9fb1783489901d24e7b0707
4
+ data.tar.gz: 499e69c0ca326d4d1531ea8123f5b25c8d4c090a
5
5
  SHA512:
6
- metadata.gz: e76fcf59abbe5d17776ada161021491489ad9c81667f1f5baba592463a8873eb023c69fbc0927316fb46ed051ea07ccb15dc04977c0dd8e1833504259b1b648e
7
- data.tar.gz: 7f793657d6ee01f31246fff65fdaf4a79cdf2a3bec287df951df0a10f7b3528dc227a9db252a600a098374cfa4b5cde4d469b8b190a01c3da9329c7762712224
6
+ metadata.gz: cf3c54f20583166cbb422a254be2dc52f05c3726e816ff01f6be42024660915697f043633ead13231d50293130fc27fc10e904b3c930faed62cf0744fd960819
7
+ data.tar.gz: 4c9e79ba9ef642812e0407ac1240cd790e594391d5846683d64f212176a3bd7159e109d4963a0fe9c7b2062ba609043b3783af064b2fdd328df6e9158fa2b8ee
@@ -14,7 +14,9 @@ module Virginia
14
14
  Port: config[:port]
15
15
  }.merge(options)
16
16
 
17
- app = Rack::CommonLogger.new(app, Adhearsion.logger)
17
+ Virginia.logger.singleton_class.redefine_method(:write) { |msg| debug msg.chomp }
18
+
19
+ app = Rack::CommonLogger.new(app, Virginia.logger)
18
20
  supervisor = ::Reel::Rack::Server.supervise_as(:reel_rack_server, app, options)
19
21
 
20
22
  Adhearsion::Events.register_callback :shutdown do
@@ -1,3 +1,3 @@
1
1
  module Virginia
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
@@ -19,7 +19,7 @@ describe Virginia::Service do
19
19
 
20
20
  it "should instantiate the handler" do
21
21
  rack_logger = double 'Rack::CommonLogger'
22
- ::Rack::CommonLogger.should_receive(:new).once.with(TestApp, Adhearsion.logger).and_return rack_logger
22
+ ::Rack::CommonLogger.should_receive(:new).once.with(TestApp, Virginia.logger).and_return rack_logger
23
23
  ::Reel::Rack::Server.should_receive(:supervise_as).once.with(:reel_rack_server, rack_logger, options)
24
24
  Virginia::Service.start
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virginia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Pradovera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-24 00:00:00.000000000 Z
11
+ date: 2015-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: adhearsion