app_monit_rails 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +112 -79
- data/lib/app_monit/rails/version.rb +1 -1
- data/lib/app_monit/rails/worker.rb +5 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ec408175c3dca1c53ce46e3ff69eea8ad95eada
|
4
|
+
data.tar.gz: 76ee03315b394803a49f9e98268c197366000f90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 735ea037097a656b6feb264fbe7f25bc7398e64433bb7b25268cff28b53ed04c554844f532672f41a35ab5f130fead71095c944af41ef8c0cb20361625ca4b0f
|
7
|
+
data.tar.gz: 14885b4f5fa7c57667273f176ee7087f581d3b4a03d8c7a45af3aea909d93a28916eca667447606ce96afdabf5360f776c2b584c597f85329efebbeb85c7181d
|
data/Gemfile.lock
CHANGED
@@ -1,42 +1,51 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
app_monit_rails (0.0.
|
4
|
+
app_monit_rails (0.0.6)
|
5
5
|
app_monit (>= 0.0.7)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionmailer (4.
|
11
|
-
actionpack (= 4.
|
12
|
-
actionview (= 4.
|
10
|
+
actionmailer (4.2.0)
|
11
|
+
actionpack (= 4.2.0)
|
12
|
+
actionview (= 4.2.0)
|
13
|
+
activejob (= 4.2.0)
|
13
14
|
mail (~> 2.5, >= 2.5.4)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
16
|
+
actionpack (4.2.0)
|
17
|
+
actionview (= 4.2.0)
|
18
|
+
activesupport (= 4.2.0)
|
19
|
+
rack (~> 1.6.0)
|
18
20
|
rack-test (~> 0.6.2)
|
19
|
-
|
20
|
-
|
21
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
22
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
23
|
+
actionview (4.2.0)
|
24
|
+
activesupport (= 4.2.0)
|
21
25
|
builder (~> 3.1)
|
22
26
|
erubis (~> 2.7.0)
|
23
|
-
|
24
|
-
|
27
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
28
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
29
|
+
activejob (4.2.0)
|
30
|
+
activesupport (= 4.2.0)
|
31
|
+
globalid (>= 0.3.0)
|
32
|
+
activemodel (4.2.0)
|
33
|
+
activesupport (= 4.2.0)
|
25
34
|
builder (~> 3.1)
|
26
|
-
activerecord (4.
|
27
|
-
activemodel (= 4.
|
28
|
-
activesupport (= 4.
|
29
|
-
arel (~>
|
30
|
-
activesupport (4.
|
31
|
-
i18n (~> 0.
|
35
|
+
activerecord (4.2.0)
|
36
|
+
activemodel (= 4.2.0)
|
37
|
+
activesupport (= 4.2.0)
|
38
|
+
arel (~> 6.0)
|
39
|
+
activesupport (4.2.0)
|
40
|
+
i18n (~> 0.7)
|
32
41
|
json (~> 1.7, >= 1.7.7)
|
33
42
|
minitest (~> 5.1)
|
34
|
-
thread_safe (~> 0.
|
43
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
35
44
|
tzinfo (~> 1.1)
|
36
|
-
addressable (2.3.
|
37
|
-
ansi (1.
|
38
|
-
app_monit (0.0.
|
39
|
-
arel (
|
45
|
+
addressable (2.3.7)
|
46
|
+
ansi (1.5.0)
|
47
|
+
app_monit (0.0.9)
|
48
|
+
arel (6.0.0)
|
40
49
|
builder (3.2.2)
|
41
50
|
capybara (2.4.4)
|
42
51
|
mime-types (>= 1.16)
|
@@ -54,105 +63,129 @@ GEM
|
|
54
63
|
erubis (2.7.0)
|
55
64
|
ffi (1.9.6)
|
56
65
|
formatador (0.2.5)
|
57
|
-
|
66
|
+
globalid (0.3.3)
|
67
|
+
activesupport (>= 4.1.0)
|
68
|
+
guard (2.12.4)
|
58
69
|
formatador (>= 0.2.4)
|
59
70
|
listen (~> 2.7)
|
60
71
|
lumberjack (~> 1.0)
|
72
|
+
nenv (~> 0.1)
|
73
|
+
notiffany (~> 0.0)
|
61
74
|
pry (>= 0.9.12)
|
75
|
+
shellany (~> 0.0)
|
62
76
|
thor (>= 0.18.1)
|
63
|
-
guard-
|
64
|
-
|
77
|
+
guard-compat (1.2.1)
|
78
|
+
guard-minitest (2.4.4)
|
79
|
+
guard-compat (~> 1.2)
|
65
80
|
minitest (>= 3.0)
|
66
|
-
guard-rspec (4.
|
81
|
+
guard-rspec (4.5.0)
|
67
82
|
guard (~> 2.1)
|
68
|
-
|
83
|
+
guard-compat (~> 1.1)
|
84
|
+
rspec (>= 2.99.0, < 4.0)
|
69
85
|
hike (1.2.3)
|
70
86
|
hitimes (1.2.2)
|
71
|
-
i18n (0.
|
72
|
-
json (1.8.
|
73
|
-
listen (2.
|
87
|
+
i18n (0.7.0)
|
88
|
+
json (1.8.2)
|
89
|
+
listen (2.8.5)
|
74
90
|
celluloid (>= 0.15.2)
|
75
91
|
rb-fsevent (>= 0.9.3)
|
76
92
|
rb-inotify (>= 0.9)
|
93
|
+
loofah (2.0.1)
|
94
|
+
nokogiri (>= 1.5.9)
|
77
95
|
lumberjack (1.0.9)
|
78
|
-
mail (2.6.
|
96
|
+
mail (2.6.3)
|
79
97
|
mime-types (>= 1.16, < 3)
|
80
98
|
method_source (0.8.2)
|
81
99
|
mime-types (2.4.3)
|
82
|
-
mini_portile (0.6.
|
83
|
-
minitest (5.
|
84
|
-
minitest-reporters (1.0.
|
100
|
+
mini_portile (0.6.2)
|
101
|
+
minitest (5.5.1)
|
102
|
+
minitest-reporters (1.0.11)
|
85
103
|
ansi
|
86
104
|
builder
|
87
105
|
minitest (>= 5.0)
|
88
106
|
ruby-progressbar
|
89
107
|
multi_json (1.10.1)
|
90
|
-
|
91
|
-
|
108
|
+
nenv (0.2.0)
|
109
|
+
nokogiri (1.6.6.2)
|
110
|
+
mini_portile (~> 0.6.0)
|
111
|
+
notiffany (0.0.6)
|
112
|
+
nenv (~> 0.1)
|
113
|
+
shellany (~> 0.0)
|
92
114
|
pry (0.10.1)
|
93
115
|
coderay (~> 1.1.0)
|
94
116
|
method_source (~> 0.8.1)
|
95
117
|
slop (~> 3.4)
|
96
|
-
rack (1.
|
97
|
-
rack-test (0.6.
|
118
|
+
rack (1.6.0)
|
119
|
+
rack-test (0.6.3)
|
98
120
|
rack (>= 1.0)
|
99
|
-
rails (4.
|
100
|
-
actionmailer (= 4.
|
101
|
-
actionpack (= 4.
|
102
|
-
actionview (= 4.
|
103
|
-
|
104
|
-
|
105
|
-
|
121
|
+
rails (4.2.0)
|
122
|
+
actionmailer (= 4.2.0)
|
123
|
+
actionpack (= 4.2.0)
|
124
|
+
actionview (= 4.2.0)
|
125
|
+
activejob (= 4.2.0)
|
126
|
+
activemodel (= 4.2.0)
|
127
|
+
activerecord (= 4.2.0)
|
128
|
+
activesupport (= 4.2.0)
|
106
129
|
bundler (>= 1.3.0, < 2.0)
|
107
|
-
railties (= 4.
|
108
|
-
sprockets-rails
|
109
|
-
|
110
|
-
|
111
|
-
|
130
|
+
railties (= 4.2.0)
|
131
|
+
sprockets-rails
|
132
|
+
rails-deprecated_sanitizer (1.0.3)
|
133
|
+
activesupport (>= 4.2.0.alpha)
|
134
|
+
rails-dom-testing (1.0.5)
|
135
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
136
|
+
nokogiri (~> 1.6.0)
|
137
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
138
|
+
rails-html-sanitizer (1.0.1)
|
139
|
+
loofah (~> 2.0)
|
140
|
+
railties (4.2.0)
|
141
|
+
actionpack (= 4.2.0)
|
142
|
+
activesupport (= 4.2.0)
|
112
143
|
rake (>= 0.8.7)
|
113
144
|
thor (>= 0.18.1, < 2.0)
|
114
|
-
rake (10.
|
145
|
+
rake (10.4.2)
|
115
146
|
rb-fsevent (0.9.4)
|
116
147
|
rb-inotify (0.9.5)
|
117
148
|
ffi (>= 0.5.0)
|
118
|
-
rspec (3.
|
119
|
-
rspec-core (~> 3.
|
120
|
-
rspec-expectations (~> 3.
|
121
|
-
rspec-mocks (~> 3.
|
122
|
-
rspec-core (3.1
|
123
|
-
rspec-support (~> 3.
|
124
|
-
rspec-expectations (3.
|
149
|
+
rspec (3.2.0)
|
150
|
+
rspec-core (~> 3.2.0)
|
151
|
+
rspec-expectations (~> 3.2.0)
|
152
|
+
rspec-mocks (~> 3.2.0)
|
153
|
+
rspec-core (3.2.1)
|
154
|
+
rspec-support (~> 3.2.0)
|
155
|
+
rspec-expectations (3.2.0)
|
125
156
|
diff-lcs (>= 1.2.0, < 2.0)
|
126
|
-
rspec-support (~> 3.
|
127
|
-
rspec-mocks (3.1
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
rspec-
|
135
|
-
rspec-
|
136
|
-
rspec-
|
137
|
-
|
138
|
-
|
157
|
+
rspec-support (~> 3.2.0)
|
158
|
+
rspec-mocks (3.2.1)
|
159
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
160
|
+
rspec-support (~> 3.2.0)
|
161
|
+
rspec-rails (3.2.1)
|
162
|
+
actionpack (>= 3.0, < 4.3)
|
163
|
+
activesupport (>= 3.0, < 4.3)
|
164
|
+
railties (>= 3.0, < 4.3)
|
165
|
+
rspec-core (~> 3.2.0)
|
166
|
+
rspec-expectations (~> 3.2.0)
|
167
|
+
rspec-mocks (~> 3.2.0)
|
168
|
+
rspec-support (~> 3.2.0)
|
169
|
+
rspec-support (3.2.2)
|
170
|
+
ruby-progressbar (1.7.1)
|
139
171
|
safe_yaml (1.0.4)
|
140
|
-
|
172
|
+
shellany (0.0.1)
|
173
|
+
simplecov (0.9.2)
|
141
174
|
docile (~> 1.1.0)
|
142
175
|
multi_json (~> 1.0)
|
143
|
-
simplecov-html (~> 0.
|
144
|
-
simplecov-html (0.
|
176
|
+
simplecov-html (~> 0.9.0)
|
177
|
+
simplecov-html (0.9.0)
|
145
178
|
slop (3.6.0)
|
146
|
-
sprockets (2.
|
179
|
+
sprockets (2.12.3)
|
147
180
|
hike (~> 1.2)
|
148
181
|
multi_json (~> 1.0)
|
149
182
|
rack (~> 1.0)
|
150
183
|
tilt (~> 1.1, != 1.3.0)
|
151
|
-
sprockets-rails (2.2.
|
184
|
+
sprockets-rails (2.2.4)
|
152
185
|
actionpack (>= 3.0)
|
153
186
|
activesupport (>= 3.0)
|
154
187
|
sprockets (>= 2.8, < 4.0)
|
155
|
-
sqlite3 (1.3.
|
188
|
+
sqlite3 (1.3.10)
|
156
189
|
thor (0.19.1)
|
157
190
|
thread_safe (0.3.4)
|
158
191
|
tilt (1.4.1)
|
@@ -160,7 +193,7 @@ GEM
|
|
160
193
|
hitimes
|
161
194
|
tzinfo (1.2.2)
|
162
195
|
thread_safe (~> 0.1)
|
163
|
-
webmock (1.20.
|
196
|
+
webmock (1.20.4)
|
164
197
|
addressable (>= 2.3.6)
|
165
198
|
crack (>= 0.3.2)
|
166
199
|
xpath (2.0.0)
|
@@ -121,8 +121,11 @@ module AppMonit
|
|
121
121
|
AppMonit::Rails.logger.debug "Sending to collector"
|
122
122
|
|
123
123
|
if events.any?
|
124
|
-
|
125
|
-
|
124
|
+
begin
|
125
|
+
AppMonit::Http.post('/v1/events', event: events)
|
126
|
+
rescue Net::ReadTimeout
|
127
|
+
AppMonit::Rails.logger.debug "Response took to longer than #{AppMonit::Config.timeout} second(s), but we assume it's been send"
|
128
|
+
end
|
126
129
|
@requests.clear
|
127
130
|
@errors.clear
|
128
131
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_monit_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Redmar Kerkhoff
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-03-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: app_monit
|
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
221
|
version: '0'
|
222
222
|
requirements: []
|
223
223
|
rubyforge_project:
|
224
|
-
rubygems_version: 2.
|
224
|
+
rubygems_version: 2.4.5
|
225
225
|
signing_key:
|
226
226
|
specification_version: 4
|
227
227
|
summary: Client gem for pushing events from ruby to the appmon.it service
|