right_support 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +38 -14
- data/lib/right_support.rb +1 -1
- data/lib/right_support/crypto/signed_hash.rb +11 -2
- data/lib/right_support/db.rb +1 -3
- data/lib/right_support/db/cassandra_model.rb +299 -18
- data/lib/right_support/log.rb +4 -0
- data/lib/right_support/log/exception_logger.rb +86 -0
- data/lib/right_support/log/filter_logger.rb +75 -0
- data/lib/right_support/log/mixin.rb +104 -0
- data/lib/right_support/log/multiplexer.rb +93 -0
- data/lib/right_support/log/null_logger.rb +76 -0
- data/lib/right_support/net.rb +5 -3
- data/lib/right_support/net/balancing/health_check.rb +40 -23
- data/lib/right_support/net/request_balancer.rb +19 -32
- data/lib/right_support/rack.rb +2 -3
- data/lib/right_support/rack/custom_logger.rb +29 -8
- data/lib/right_support/rack/request_logger.rb +113 -0
- data/lib/right_support/ruby.rb +4 -3
- data/lib/right_support/ruby/easy_singleton.rb +24 -0
- data/lib/right_support/ruby/object_extensions.rb +18 -2
- data/lib/right_support/ruby/string_extensions.rb +120 -0
- data/lib/right_support/stats.rb +34 -0
- data/lib/right_support/stats/activity.rb +206 -0
- data/lib/right_support/stats/exceptions.rb +96 -0
- data/lib/right_support/stats/helpers.rb +438 -0
- data/lib/right_support/validation.rb +2 -4
- data/right_support.gemspec +3 -5
- metadata +18 -20
data/right_support.gemspec
CHANGED
@@ -7,18 +7,16 @@ spec = Gem::Specification.new do |s|
|
|
7
7
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
8
8
|
|
9
9
|
s.name = 'right_support'
|
10
|
-
s.version = '1.
|
11
|
-
s.date = '
|
10
|
+
s.version = '1.2.0'
|
11
|
+
s.date = '2012-01-23'
|
12
12
|
|
13
|
-
s.authors = ['Tony Spataro', 'Sergey Sergyenko', 'Ryan Williamson']
|
13
|
+
s.authors = ['Tony Spataro', 'Sergey Sergyenko', 'Ryan Williamson', 'Lee Kirchhoff']
|
14
14
|
s.email = 'support@rightscale.com'
|
15
15
|
s.homepage= 'https://github.com/rightscale/right_support'
|
16
16
|
|
17
17
|
s.summary = %q{Reusable foundation code.}
|
18
18
|
s.description = %q{A toolkit of useful, reusable foundation code created by RightScale.}
|
19
19
|
|
20
|
-
s.add_dependency('yajl-ruby', ['~> 1.1'])
|
21
|
-
|
22
20
|
basedir = File.dirname(__FILE__)
|
23
21
|
candidates = ['right_support.gemspec', 'LICENSE', 'README.rdoc'] + Dir['lib/**/*']
|
24
22
|
s.files = candidates.sort
|
metadata
CHANGED
@@ -1,40 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
- 1
|
9
8
|
- 2
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 1.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tony Spataro
|
14
14
|
- Sergey Sergyenko
|
15
15
|
- Ryan Williamson
|
16
|
+
- Lee Kirchhoff
|
16
17
|
autorequire:
|
17
18
|
bindir: bin
|
18
19
|
cert_chain: []
|
19
20
|
|
20
|
-
date:
|
21
|
+
date: 2012-01-23 00:00:00 -08:00
|
21
22
|
default_executable:
|
22
|
-
dependencies:
|
23
|
-
|
24
|
-
name: yajl-ruby
|
25
|
-
prerelease: false
|
26
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
|
-
requirements:
|
29
|
-
- - ~>
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
hash: 13
|
32
|
-
segments:
|
33
|
-
- 1
|
34
|
-
- 1
|
35
|
-
version: "1.1"
|
36
|
-
type: :runtime
|
37
|
-
version_requirements: *id001
|
23
|
+
dependencies: []
|
24
|
+
|
38
25
|
description: A toolkit of useful, reusable foundation code created by RightScale.
|
39
26
|
email: support@rightscale.com
|
40
27
|
executables: []
|
@@ -52,7 +39,11 @@ files:
|
|
52
39
|
- lib/right_support/db.rb
|
53
40
|
- lib/right_support/db/cassandra_model.rb
|
54
41
|
- lib/right_support/log.rb
|
42
|
+
- lib/right_support/log/exception_logger.rb
|
55
43
|
- lib/right_support/log/filter_logger.rb
|
44
|
+
- lib/right_support/log/mixin.rb
|
45
|
+
- lib/right_support/log/multiplexer.rb
|
46
|
+
- lib/right_support/log/null_logger.rb
|
56
47
|
- lib/right_support/log/system_logger.rb
|
57
48
|
- lib/right_support/log/tag_logger.rb
|
58
49
|
- lib/right_support/net.rb
|
@@ -65,8 +56,15 @@ files:
|
|
65
56
|
- lib/right_support/net/string_encoder.rb
|
66
57
|
- lib/right_support/rack.rb
|
67
58
|
- lib/right_support/rack/custom_logger.rb
|
59
|
+
- lib/right_support/rack/request_logger.rb
|
68
60
|
- lib/right_support/ruby.rb
|
61
|
+
- lib/right_support/ruby/easy_singleton.rb
|
69
62
|
- lib/right_support/ruby/object_extensions.rb
|
63
|
+
- lib/right_support/ruby/string_extensions.rb
|
64
|
+
- lib/right_support/stats.rb
|
65
|
+
- lib/right_support/stats/activity.rb
|
66
|
+
- lib/right_support/stats/exceptions.rb
|
67
|
+
- lib/right_support/stats/helpers.rb
|
70
68
|
- lib/right_support/validation.rb
|
71
69
|
- lib/right_support/validation/openssl.rb
|
72
70
|
- lib/right_support/validation/ssh.rb
|