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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb1724eff0a8a6db03cde1ea08f481e47cb239bc
4
- data.tar.gz: 1bd0c496c14de1fcbf1a72e91e7a6977df01ff39
3
+ metadata.gz: 9ec408175c3dca1c53ce46e3ff69eea8ad95eada
4
+ data.tar.gz: 76ee03315b394803a49f9e98268c197366000f90
5
5
  SHA512:
6
- metadata.gz: dc972ac156d93b261f7d64875ad2e24b1e5427f85372fc1b2e239f750c20fa53c668fc5e3cf570fa6e7c0d748c2eb90e2d3f7356eb3bf56f2542cbd7ce02f18f
7
- data.tar.gz: 3696cb54137a9fab27ba798f7ff13ba6dd1ad6100c54c9605b8dc0f75c31582b40060441306ea88de5c07f2ea51fe4f0a1bf2aeeb5f7045de18fb5d07c736e5f
6
+ metadata.gz: 735ea037097a656b6feb264fbe7f25bc7398e64433bb7b25268cff28b53ed04c554844f532672f41a35ab5f130fead71095c944af41ef8c0cb20361625ca4b0f
7
+ data.tar.gz: 14885b4f5fa7c57667273f176ee7087f581d3b4a03d8c7a45af3aea909d93a28916eca667447606ce96afdabf5360f776c2b584c597f85329efebbeb85c7181d
@@ -1,42 +1,51 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_monit_rails (0.0.4)
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.1.6)
11
- actionpack (= 4.1.6)
12
- actionview (= 4.1.6)
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
- actionpack (4.1.6)
15
- actionview (= 4.1.6)
16
- activesupport (= 4.1.6)
17
- rack (~> 1.5.2)
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
- actionview (4.1.6)
20
- activesupport (= 4.1.6)
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
- activemodel (4.1.6)
24
- activesupport (= 4.1.6)
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.1.6)
27
- activemodel (= 4.1.6)
28
- activesupport (= 4.1.6)
29
- arel (~> 5.0.0)
30
- activesupport (4.1.6)
31
- i18n (~> 0.6, >= 0.6.9)
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.1)
43
+ thread_safe (~> 0.3, >= 0.3.4)
35
44
  tzinfo (~> 1.1)
36
- addressable (2.3.6)
37
- ansi (1.4.3)
38
- app_monit (0.0.7)
39
- arel (5.0.1.20140414130214)
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
- guard (2.6.1)
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-minitest (2.3.2)
64
- guard (~> 2.0)
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.3.1)
81
+ guard-rspec (4.5.0)
67
82
  guard (~> 2.1)
68
- rspec (>= 2.14, < 4.0)
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.6.11)
72
- json (1.8.1)
73
- listen (2.7.11)
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.1)
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.0)
83
- minitest (5.4.2)
84
- minitest-reporters (1.0.6)
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
- nokogiri (1.6.3.1)
91
- mini_portile (= 0.6.0)
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.5.2)
97
- rack-test (0.6.2)
118
+ rack (1.6.0)
119
+ rack-test (0.6.3)
98
120
  rack (>= 1.0)
99
- rails (4.1.6)
100
- actionmailer (= 4.1.6)
101
- actionpack (= 4.1.6)
102
- actionview (= 4.1.6)
103
- activemodel (= 4.1.6)
104
- activerecord (= 4.1.6)
105
- activesupport (= 4.1.6)
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.1.6)
108
- sprockets-rails (~> 2.0)
109
- railties (4.1.6)
110
- actionpack (= 4.1.6)
111
- activesupport (= 4.1.6)
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.3.2)
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.1.0)
119
- rspec-core (~> 3.1.0)
120
- rspec-expectations (~> 3.1.0)
121
- rspec-mocks (~> 3.1.0)
122
- rspec-core (3.1.7)
123
- rspec-support (~> 3.1.0)
124
- rspec-expectations (3.1.2)
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.1.0)
127
- rspec-mocks (3.1.3)
128
- rspec-support (~> 3.1.0)
129
- rspec-rails (3.1.0)
130
- actionpack (>= 3.0)
131
- activesupport (>= 3.0)
132
- railties (>= 3.0)
133
- rspec-core (~> 3.1.0)
134
- rspec-expectations (~> 3.1.0)
135
- rspec-mocks (~> 3.1.0)
136
- rspec-support (~> 3.1.0)
137
- rspec-support (3.1.2)
138
- ruby-progressbar (1.6.0)
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
- simplecov (0.9.1)
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.8.0)
144
- simplecov-html (0.8.0)
176
+ simplecov-html (~> 0.9.0)
177
+ simplecov-html (0.9.0)
145
178
  slop (3.6.0)
146
- sprockets (2.11.0)
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.0)
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.7)
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.0)
196
+ webmock (1.20.4)
164
197
  addressable (>= 2.3.6)
165
198
  crack (>= 0.3.2)
166
199
  xpath (2.0.0)
@@ -1,5 +1,5 @@
1
1
  module AppMonit
2
2
  module Rails
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -121,8 +121,11 @@ module AppMonit
121
121
  AppMonit::Rails.logger.debug "Sending to collector"
122
122
 
123
123
  if events.any?
124
- AppMonit::Http.post('/v1/events', event: events)
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.5
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: 2014-11-08 00:00:00.000000000 Z
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.2.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