right_support 2.8.40 → 2.8.41
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NzFlYzhmNmU2MTkyMGU2YmVjYjhiZTk4ZDNiYjZhZmE3ODRlYWMxNQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
OWU0ODc4NjNkNzQ4ZThjNWJhYzcwMzM4ZDViNzc2ODM0Zjk3NDk4Ng==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
OTM2YTVlODAxOGEwYjZkODI2MWZmMWI1OTBkNWE1ODFmOTk2MTQ5ZWFmMGJh
|
10
|
+
ODkyZTVlYmQxODc4NjEwNzBjYzM4NzhiNzU2ZGQwNmJiM2YzOTkyNTU5NDU0
|
11
|
+
NTVlZjExYTc2NTg1NjQyMTI5M2JkMTkwNWI2MGQwM2ZhNTJlYTM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MDY4NmNmZmQ2N2ZkOGY1ZGRiMDVlNGJkOTBjMDM1MmUzZWE5OWMxNGE3Yjcx
|
14
|
+
YTBiMWI2NzFmZDc0YmIxMWE3OTZlMGRlYzI5ZTRlNDEyOTRiZmJlNTljYjE4
|
15
|
+
ZWQ2MDE3ODc1ZGJhYWRhNGRmZGI4MjgzY2E4Y2M4MDNiNDc3YTQ=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.8.
|
1
|
+
2.8.41
|
@@ -186,10 +186,14 @@ module RightSupport::Crypto
|
|
186
186
|
end
|
187
187
|
|
188
188
|
# Free the inner Hash.
|
189
|
-
def respond_to?(meth)
|
189
|
+
def respond_to?(meth, include_all=false)
|
190
190
|
super || @hash.respond_to?(meth)
|
191
191
|
end
|
192
192
|
|
193
|
+
def respond_to_missing?(meth, include_all=false)
|
194
|
+
super || @hash.respond_to?(meth, include_all)
|
195
|
+
end
|
196
|
+
|
193
197
|
private
|
194
198
|
|
195
199
|
def duck_type_check
|
@@ -98,10 +98,15 @@ module RightSupport::Log
|
|
98
98
|
#
|
99
99
|
# === Parameters
|
100
100
|
# m(Symbol):: Name of method
|
101
|
+
# include_all(true|false):: Required for compatibility with core; ignored
|
101
102
|
#
|
102
103
|
# === Return
|
103
104
|
# respond_to(true|false):: true if this object or its targets respond to m, false otherwise
|
104
|
-
def respond_to?(m)
|
105
|
+
def respond_to?(m, include_all=false)
|
106
|
+
super(m) || @targets.any? { |t| t.respond_to?(m) }
|
107
|
+
end
|
108
|
+
|
109
|
+
def respond_to_missing?(m, include_all=false)
|
105
110
|
super(m) || @targets.any? { |t| t.respond_to?(m) }
|
106
111
|
end
|
107
112
|
end
|
@@ -73,6 +73,7 @@ module RightSupport::Log
|
|
73
73
|
}
|
74
74
|
|
75
75
|
@@syslog = nil
|
76
|
+
@@mutex = Mutex.new
|
76
77
|
|
77
78
|
# Initialize this process's syslog facilities and construct a new syslog
|
78
79
|
# logger object.
|
@@ -97,7 +98,13 @@ module RightSupport::Log
|
|
97
98
|
raise ArgumentError, "Invalid facility '#{@options[:facility]}'"
|
98
99
|
end
|
99
100
|
|
100
|
-
@@
|
101
|
+
@@mutex.synchronize do
|
102
|
+
if @@syslog && (@@program_name != program_name)
|
103
|
+
@@syslog.close ; @@syslog = nil
|
104
|
+
end
|
105
|
+
|
106
|
+
@@syslog ||= Syslog.open(program_name, nil, facility)
|
107
|
+
end
|
101
108
|
end
|
102
109
|
|
103
110
|
# Log a message if the given severity is high enough. This is the generic
|
@@ -201,7 +208,7 @@ module RightSupport::Log
|
|
201
208
|
end
|
202
209
|
|
203
210
|
return bits
|
204
|
-
end
|
211
|
+
end
|
205
212
|
end
|
206
213
|
end
|
207
214
|
end
|
@@ -33,8 +33,12 @@ module RightSupport::Ruby
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
def respond_to?(meth)
|
37
|
-
super
|
36
|
+
def respond_to?(meth, include_all=false)
|
37
|
+
super || self.instance.respond_to?(meth, include_all)
|
38
|
+
end
|
39
|
+
|
40
|
+
def respond_to_missing?(meth, include_all=false)
|
41
|
+
super || self.instance.respond_to?(meth, include_all)
|
38
42
|
end
|
39
43
|
end
|
40
44
|
|
data/right_support.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.41
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Spataro
|
@@ -19,70 +19,70 @@ dependencies:
|
|
19
19
|
name: rake
|
20
20
|
requirement: !ruby/object:Gem::Requirement
|
21
21
|
requirements:
|
22
|
-
- -
|
22
|
+
- - ~>
|
23
23
|
- !ruby/object:Gem::Version
|
24
24
|
version: '10.0'
|
25
25
|
type: :development
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
28
28
|
requirements:
|
29
|
-
- -
|
29
|
+
- - ~>
|
30
30
|
- !ruby/object:Gem::Version
|
31
31
|
version: '10.0'
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: jeweler
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
36
|
-
- -
|
36
|
+
- - ~>
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: '2.0'
|
39
39
|
type: :development
|
40
40
|
prerelease: false
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '2.0'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: ruby-debug
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- -
|
50
|
+
- - ! '>='
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
type: :development
|
54
54
|
prerelease: false
|
55
55
|
version_requirements: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - ! '>='
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: pry
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- -
|
64
|
+
- - ! '>='
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
69
|
version_requirements: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- -
|
71
|
+
- - ! '>='
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: '0'
|
74
74
|
- !ruby/object:Gem::Dependency
|
75
75
|
name: pry-byebug
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- -
|
78
|
+
- - ! '>='
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
type: :development
|
82
82
|
prerelease: false
|
83
83
|
version_requirements: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ! '>='
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
description: A toolkit of useful, reusable foundation code created by RightScale.
|
@@ -93,10 +93,10 @@ extra_rdoc_files:
|
|
93
93
|
- LICENSE
|
94
94
|
- README.md
|
95
95
|
files:
|
96
|
-
-
|
97
|
-
-
|
98
|
-
-
|
99
|
-
-
|
96
|
+
- .coveralls.yml
|
97
|
+
- .rspec
|
98
|
+
- .simplecov
|
99
|
+
- .travis.yml
|
100
100
|
- CHANGELOG.rdoc
|
101
101
|
- Gemfile
|
102
102
|
- Gemfile.lock
|
@@ -229,12 +229,12 @@ require_paths:
|
|
229
229
|
- lib
|
230
230
|
required_ruby_version: !ruby/object:Gem::Requirement
|
231
231
|
requirements:
|
232
|
-
- -
|
232
|
+
- - ! '>='
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: '0'
|
235
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
236
|
requirements:
|
237
|
-
- -
|
237
|
+
- - ! '>='
|
238
238
|
- !ruby/object:Gem::Version
|
239
239
|
version: '0'
|
240
240
|
requirements: []
|