logs-cf-plugin 0.0.25.pre → 0.0.26.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MDMyMmMxYmM5NTQ3NDRlZjZhYjRkZjc1YmZkMTc2YjAwYTNmMjU1MA==
5
+ data.tar.gz: !binary |-
6
+ YjkyZjhjNjMyOWVmMzFlMjJmZTJjZjRiMGFiYjJjNmU0YWI1MjdjOQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ NjA4MDJhMGQ1OTEyOGQ2MDUyMmNjMTRlOGM1OTc4NGRkY2RlNjk4M2JjZmI2
10
+ YWJmYjE5ZWUzZTBjMjQ1NTViNzg1YTg2OTJlMjBhNzcxYTE2YjU3MzY4YzM5
11
+ NDhjNzc5YTQ0MTY2ZGFmZGE1ZjgzZjY5YmZjYzljZTY0ODNlYjQ=
12
+ data.tar.gz: !binary |-
13
+ NmMyMDFjNTA5NzJhNGI3N2Q4NzVkYzJmNjlmZGVmNzM5MjU5Zjk5ODE2N2Nm
14
+ NDM5OTlkNmMyOTM5YWRkZDg2ZDZkYzUwZGY4MDVmYzY1NzVjOGI4NDRhM2Yx
15
+ Y2Y1ZTgyODdlOTg1YTlmNzM4YTczOWUwZDUxZjMwMzU1NGZlNTc=
@@ -46,7 +46,15 @@ module LogsCfPlugin
46
46
 
47
47
  ws.on :close do |event|
48
48
  ws.close
49
- output.puts("Connection closed...goodbye.")
49
+ case event.code
50
+ when 4000
51
+ output.puts("Error: No space given.")
52
+ when 4001
53
+ output.puts("Error: No authorization token given.")
54
+ when 4002
55
+ output.puts("Error: Not authorized.")
56
+ end
57
+ output.puts("Server dropped connection...goodbye.")
50
58
  EM.stop
51
59
  ws = nil
52
60
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logs-cf-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25.pre
5
- prerelease: 7
4
+ version: 0.0.26.pre
6
5
  platform: ruby
7
6
  authors:
8
7
  - Pivotal
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-08-13 00:00:00.000000000 Z
11
+ date: 2013-08-14 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: cf
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -25,7 +23,6 @@ dependencies:
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
27
  - - ! '>='
31
28
  - !ruby/object:Gem::Version
@@ -36,7 +33,6 @@ dependencies:
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: faye-websocket
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
37
  - - ~>
42
38
  - !ruby/object:Gem::Version
@@ -44,7 +40,6 @@ dependencies:
44
40
  type: :runtime
45
41
  prerelease: false
46
42
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
43
  requirements:
49
44
  - - ~>
50
45
  - !ruby/object:Gem::Version
@@ -52,7 +47,6 @@ dependencies:
52
47
  - !ruby/object:Gem::Dependency
53
48
  name: beefcake
54
49
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
51
  - - ~>
58
52
  - !ruby/object:Gem::Version
@@ -60,7 +54,6 @@ dependencies:
60
54
  type: :runtime
61
55
  prerelease: false
62
56
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
57
  requirements:
65
58
  - - ~>
66
59
  - !ruby/object:Gem::Version
@@ -82,27 +75,26 @@ files:
82
75
  homepage: http://github.com/cloudfoundry/logs-cf-plugin
83
76
  licenses:
84
77
  - Apache 2.0
78
+ metadata: {}
85
79
  post_install_message:
86
80
  rdoc_options: []
87
81
  require_paths:
88
82
  - lib
89
83
  - vendor
90
84
  required_ruby_version: !ruby/object:Gem::Requirement
91
- none: false
92
85
  requirements:
93
86
  - - ! '>='
94
87
  - !ruby/object:Gem::Version
95
88
  version: 1.9.3
96
89
  required_rubygems_version: !ruby/object:Gem::Requirement
97
- none: false
98
90
  requirements:
99
91
  - - ! '>'
100
92
  - !ruby/object:Gem::Version
101
93
  version: 1.3.1
102
94
  requirements: []
103
95
  rubyforge_project:
104
- rubygems_version: 1.8.25
96
+ rubygems_version: 2.0.4
105
97
  signing_key:
106
- specification_version: 3
98
+ specification_version: 4
107
99
  summary: CF Logs
108
100
  test_files: []