wat_catcher 0.10.7 → 0.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Gemfile.lock +84 -61
- data/lib/wat_catcher.rb +1 -2
- data/lib/wat_catcher/{sidekiq_poster.rb → poster.rb} +6 -4
- data/lib/wat_catcher/report.rb +1 -1
- data/lib/wat_catcher/sidekiq_middleware.rb +1 -5
- data/lib/wat_catcher/version.rb +1 -1
- data/spec/controllers/bugsnag_controller_spec.rb +7 -2
- data/spec/dummy/config/environments/test.rb +1 -1
- data/spec/spec_helper.rb +0 -5
- data/wat_catcher.gemspec +1 -2
- metadata +5 -19
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 070f613f1ee147040280aa28a22e2fcfb989f5d7
|
|
4
|
+
data.tar.gz: eb7f3a5b2bc60730da99376d3b03277317488d44
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c06265056133d54901ef3a8be4e6fe68658be835ae079006b770113bd363a069b009b9e252385376ca1e7c1802df99e2f9cbcec68e839ad94a15ae0d0d230267
|
|
7
|
+
data.tar.gz: 07462e84a3dc28252f4fa13473c9a20596a82d3ec7d3256611cb508bd2eb6c0831b7f6ad321180b4cc1abe20f66082df7274f641a478b1990ce413331dd693a7
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,40 +1,51 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
wat_catcher (0.10.
|
|
4
|
+
wat_catcher (0.10.8)
|
|
5
5
|
coffee-rails
|
|
6
6
|
httpclient
|
|
7
|
-
|
|
7
|
+
rails (>= 4.2.0)
|
|
8
8
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
actionmailer (4.
|
|
13
|
-
actionpack (= 4.
|
|
12
|
+
actionmailer (4.2.7.1)
|
|
13
|
+
actionpack (= 4.2.7.1)
|
|
14
|
+
actionview (= 4.2.7.1)
|
|
15
|
+
activejob (= 4.2.7.1)
|
|
14
16
|
mail (~> 2.5, >= 2.5.4)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
rack (~> 1.
|
|
17
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
18
|
+
actionpack (4.2.7.1)
|
|
19
|
+
actionview (= 4.2.7.1)
|
|
20
|
+
activesupport (= 4.2.7.1)
|
|
21
|
+
rack (~> 1.6)
|
|
20
22
|
rack-test (~> 0.6.2)
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
23
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
24
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
25
|
+
actionview (4.2.7.1)
|
|
26
|
+
activesupport (= 4.2.7.1)
|
|
27
|
+
builder (~> 3.1)
|
|
28
|
+
erubis (~> 2.7.0)
|
|
29
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
30
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
31
|
+
activejob (4.2.7.1)
|
|
32
|
+
activesupport (= 4.2.7.1)
|
|
33
|
+
globalid (>= 0.3.0)
|
|
34
|
+
activemodel (4.2.7.1)
|
|
35
|
+
activesupport (= 4.2.7.1)
|
|
36
|
+
builder (~> 3.1)
|
|
37
|
+
activerecord (4.2.7.1)
|
|
38
|
+
activemodel (= 4.2.7.1)
|
|
39
|
+
activesupport (= 4.2.7.1)
|
|
40
|
+
arel (~> 6.0)
|
|
41
|
+
activesupport (4.2.7.1)
|
|
42
|
+
i18n (~> 0.7)
|
|
43
|
+
json (~> 1.7, >= 1.7.7)
|
|
44
|
+
minitest (~> 5.1)
|
|
45
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
|
46
|
+
tzinfo (~> 1.1)
|
|
47
|
+
arel (6.0.3)
|
|
48
|
+
builder (3.2.2)
|
|
38
49
|
coderay (1.1.1)
|
|
39
50
|
coffee-rails (4.2.1)
|
|
40
51
|
coffee-script (>= 2.2.0)
|
|
@@ -43,13 +54,14 @@ GEM
|
|
|
43
54
|
coffee-script-source
|
|
44
55
|
execjs
|
|
45
56
|
coffee-script-source (1.10.0)
|
|
46
|
-
concurrent-ruby (1.0.
|
|
47
|
-
connection_pool (2.2.1)
|
|
57
|
+
concurrent-ruby (1.0.2)
|
|
48
58
|
diff-lcs (1.2.5)
|
|
49
59
|
erubis (2.7.0)
|
|
50
60
|
execjs (2.6.0)
|
|
51
61
|
ffi (1.9.10)
|
|
52
62
|
formatador (0.2.5)
|
|
63
|
+
globalid (0.3.7)
|
|
64
|
+
activesupport (>= 4.1.0)
|
|
53
65
|
guard (2.13.0)
|
|
54
66
|
formatador (>= 0.2.4)
|
|
55
67
|
listen (>= 2.7, <= 4.0)
|
|
@@ -72,17 +84,24 @@ GEM
|
|
|
72
84
|
rack (>= 1.2.1)
|
|
73
85
|
rake
|
|
74
86
|
jasmine-core (2.4.1)
|
|
87
|
+
json (1.8.3)
|
|
75
88
|
listen (3.0.6)
|
|
76
89
|
rb-fsevent (>= 0.9.3)
|
|
77
90
|
rb-inotify (>= 0.9.7)
|
|
91
|
+
loofah (2.0.3)
|
|
92
|
+
nokogiri (>= 1.5.9)
|
|
78
93
|
lumberjack (1.0.10)
|
|
79
|
-
mail (2.6.
|
|
80
|
-
mime-types (>= 1.16, <
|
|
94
|
+
mail (2.6.4)
|
|
95
|
+
mime-types (>= 1.16, < 4)
|
|
81
96
|
method_source (0.8.2)
|
|
82
|
-
mime-types (
|
|
83
|
-
|
|
84
|
-
|
|
97
|
+
mime-types (3.1)
|
|
98
|
+
mime-types-data (~> 3.2015)
|
|
99
|
+
mime-types-data (3.2016.0521)
|
|
100
|
+
mini_portile2 (2.1.0)
|
|
101
|
+
minitest (5.10.1)
|
|
85
102
|
nenv (0.3.0)
|
|
103
|
+
nokogiri (1.6.8.1)
|
|
104
|
+
mini_portile2 (~> 2.1.0)
|
|
86
105
|
notiffany (0.0.8)
|
|
87
106
|
nenv (~> 0.1)
|
|
88
107
|
shellany (~> 0.0)
|
|
@@ -91,30 +110,38 @@ GEM
|
|
|
91
110
|
coderay (~> 1.1.0)
|
|
92
111
|
method_source (~> 0.8.1)
|
|
93
112
|
slop (~> 3.4)
|
|
94
|
-
rack (1.
|
|
95
|
-
rack-protection (1.5.3)
|
|
96
|
-
rack
|
|
113
|
+
rack (1.6.5)
|
|
97
114
|
rack-test (0.6.3)
|
|
98
115
|
rack (>= 1.0)
|
|
99
|
-
rails (4.
|
|
100
|
-
actionmailer (= 4.
|
|
101
|
-
actionpack (= 4.
|
|
102
|
-
|
|
103
|
-
|
|
116
|
+
rails (4.2.7.1)
|
|
117
|
+
actionmailer (= 4.2.7.1)
|
|
118
|
+
actionpack (= 4.2.7.1)
|
|
119
|
+
actionview (= 4.2.7.1)
|
|
120
|
+
activejob (= 4.2.7.1)
|
|
121
|
+
activemodel (= 4.2.7.1)
|
|
122
|
+
activerecord (= 4.2.7.1)
|
|
123
|
+
activesupport (= 4.2.7.1)
|
|
104
124
|
bundler (>= 1.3.0, < 2.0)
|
|
105
|
-
railties (= 4.
|
|
106
|
-
sprockets-rails
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
125
|
+
railties (= 4.2.7.1)
|
|
126
|
+
sprockets-rails
|
|
127
|
+
rails-deprecated_sanitizer (1.0.3)
|
|
128
|
+
activesupport (>= 4.2.0.alpha)
|
|
129
|
+
rails-dom-testing (1.0.7)
|
|
130
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
|
131
|
+
nokogiri (~> 1.6.0)
|
|
132
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
|
133
|
+
rails-html-sanitizer (1.0.3)
|
|
134
|
+
loofah (~> 2.0)
|
|
135
|
+
railties (4.2.7.1)
|
|
136
|
+
actionpack (= 4.2.7.1)
|
|
137
|
+
activesupport (= 4.2.7.1)
|
|
110
138
|
rake (>= 0.8.7)
|
|
111
139
|
thor (>= 0.18.1, < 2.0)
|
|
112
|
-
rake (11.
|
|
140
|
+
rake (11.3.0)
|
|
113
141
|
rb-fsevent (0.9.7)
|
|
114
142
|
rb-inotify (0.9.7)
|
|
115
143
|
ffi (>= 0.5.0)
|
|
116
144
|
rb-readline (0.5.3)
|
|
117
|
-
redis (3.3.2)
|
|
118
145
|
rspec (3.4.0)
|
|
119
146
|
rspec-core (~> 3.4.0)
|
|
120
147
|
rspec-expectations (~> 3.4.0)
|
|
@@ -137,23 +164,19 @@ GEM
|
|
|
137
164
|
rspec-support (~> 3.4.0)
|
|
138
165
|
rspec-support (3.4.1)
|
|
139
166
|
shellany (0.0.1)
|
|
140
|
-
sidekiq (4.2.7)
|
|
141
|
-
concurrent-ruby (~> 1.0)
|
|
142
|
-
connection_pool (~> 2.2, >= 2.2.0)
|
|
143
|
-
rack-protection (>= 1.5.0)
|
|
144
|
-
redis (~> 3.2, >= 3.2.1)
|
|
145
167
|
slop (3.6.0)
|
|
146
|
-
sprockets (3.
|
|
168
|
+
sprockets (3.7.0)
|
|
147
169
|
concurrent-ruby (~> 1.0)
|
|
148
170
|
rack (> 1, < 3)
|
|
149
|
-
sprockets-rails (2.
|
|
150
|
-
actionpack (>=
|
|
151
|
-
activesupport (>=
|
|
152
|
-
sprockets (>=
|
|
171
|
+
sprockets-rails (3.2.0)
|
|
172
|
+
actionpack (>= 4.0)
|
|
173
|
+
activesupport (>= 4.0)
|
|
174
|
+
sprockets (>= 3.0.0)
|
|
153
175
|
sqlite3 (1.3.11)
|
|
154
|
-
thor (0.19.
|
|
176
|
+
thor (0.19.4)
|
|
155
177
|
thread_safe (0.3.5)
|
|
156
|
-
tzinfo (
|
|
178
|
+
tzinfo (1.2.2)
|
|
179
|
+
thread_safe (~> 0.1)
|
|
157
180
|
|
|
158
181
|
PLATFORMS
|
|
159
182
|
ruby
|
|
@@ -162,7 +185,7 @@ DEPENDENCIES
|
|
|
162
185
|
bundler (~> 1.3)
|
|
163
186
|
guard-coffeescript
|
|
164
187
|
jasmine
|
|
165
|
-
rails (
|
|
188
|
+
rails (< 5.0)
|
|
166
189
|
rake
|
|
167
190
|
rb-readline
|
|
168
191
|
rspec
|
data/lib/wat_catcher.rb
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
require "wat_catcher/version"
|
|
2
2
|
|
|
3
3
|
require "wat_catcher/report"
|
|
4
|
-
require
|
|
4
|
+
require "wat_catcher/poster"
|
|
5
5
|
require "wat_catcher/wattle_helper"
|
|
6
6
|
require "wat_catcher/sidekiq_middleware"
|
|
7
7
|
require "wat_catcher/rack_middleware"
|
|
8
|
-
require "wat_catcher/sidekiq_poster"
|
|
9
8
|
|
|
10
9
|
require "wat_catcher/railtie" if defined?(Rails::Railtie)
|
|
11
10
|
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
require 'sidekiq'
|
|
2
1
|
require 'httpclient'
|
|
3
2
|
|
|
4
3
|
module WatCatcher
|
|
5
|
-
|
|
6
|
-
include Sidekiq::Worker
|
|
4
|
+
class Poster < ActiveJob::Base
|
|
7
5
|
|
|
8
|
-
|
|
6
|
+
def perform(url, params)
|
|
9
7
|
HTTPClient.post_content(url,
|
|
10
8
|
body: params.to_json,
|
|
11
9
|
header: {"Content-Type" => "application/json; charset=utf-8"})
|
|
10
|
+
rescue => excpt
|
|
11
|
+
Rails.logger.error( "WatCatcher::Poster error thrown by wat_catcher!: #{excpt.inspect}" )
|
|
12
|
+
|
|
13
|
+
retry_job(wait: 10)
|
|
12
14
|
end
|
|
13
15
|
end
|
|
14
16
|
end
|
data/lib/wat_catcher/report.rb
CHANGED
|
@@ -13,7 +13,7 @@ module WatCatcher
|
|
|
13
13
|
|
|
14
14
|
def send_report
|
|
15
15
|
return if WatCatcher.configuration.disabled
|
|
16
|
-
::WatCatcher::
|
|
16
|
+
::WatCatcher::Poster.perform_later("#{WatCatcher.configuration.host}/wats", params.as_json)
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def log_report
|
|
@@ -4,7 +4,6 @@ module WatCatcher
|
|
|
4
4
|
begin
|
|
5
5
|
yield
|
|
6
6
|
rescue => excpt
|
|
7
|
-
raise if thrown_by_watcatcher?(msg)
|
|
8
7
|
u = nil
|
|
9
8
|
begin
|
|
10
9
|
if worker.class == Sidekiq::Extensions::DelayedClass
|
|
@@ -16,7 +15,7 @@ module WatCatcher
|
|
|
16
15
|
u = { id: "jid_#{msg["jid"]}", jid: msg["jid"] }
|
|
17
16
|
end
|
|
18
17
|
|
|
19
|
-
rescue
|
|
18
|
+
rescue
|
|
20
19
|
end
|
|
21
20
|
|
|
22
21
|
WatCatcher::Report.new(excpt, user: u, sidekiq: msg)
|
|
@@ -24,9 +23,6 @@ module WatCatcher
|
|
|
24
23
|
end
|
|
25
24
|
end
|
|
26
25
|
|
|
27
|
-
def thrown_by_watcatcher?(msg)
|
|
28
|
-
msg["class"] =~ /WatCatcher/
|
|
29
|
-
end
|
|
30
26
|
end
|
|
31
27
|
|
|
32
28
|
end
|
data/lib/wat_catcher/version.rb
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
require 'spec_helper'
|
|
2
2
|
|
|
3
3
|
describe WatCatcher::BugsnagController, type: :controller do
|
|
4
|
+
routes { WatCatcher::Engine.routes }
|
|
5
|
+
|
|
4
6
|
describe "GET #show" do
|
|
5
|
-
|
|
7
|
+
before do
|
|
8
|
+
expect_any_instance_of(WatCatcher::Poster).to receive(:perform) { true }
|
|
9
|
+
end
|
|
10
|
+
let(:req) { get :show, { "notifierVersion" => "2.3.2", "apiKey" => "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "projectRoot" => "http://localhost:3001", "context" => "/exceptionals", "user" => "{\"id\":16,\"first_name\":null,\"name\":\"asdfasd\",\"email\":\"asdfasdf\",\"created_at\":\"2014-04-07T22:21:57.041Z\",\"updated_at\":\"2014-04-07T22:21:57.041Z\"}", "metaData" => { "script" => { "src" => "http://localhost:3001/assets/exceptionals/thrower.js?body=1", "content" => "" }, "Last Event" => { "millisecondsAgo" => "742", "type" => "load", "target" => "#document" } }, "url" => "http://localhost:3001/exceptionals", "userAgent" => "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36", "language" => "en-US", "severity" => "fatal", "name" => "Error", "message" => "Uncaught Error: foo", "stacktrace" => "Error: foo\n at thrower (http://localhost:3001/assets/exceptionals/thrower.js?body=1:3:11)\n at http://localhost:3001/assets/exceptionals/thrower.js?body=1:7:12\n at _super.bugsnag (http://localhost:3001/assets/bugsnag.js?body=1:128:30)\n at http://localhost:3001/assets/bugsnag.js?body=1:583:15", "file" => "http://localhost:3001/assets/exceptionals/thrower.js?body=1", "lineNumber" => "3", "columnNumber" => "11", "ct" => "img", "cb" => "1397595292609", "id" => "Wattle" } }
|
|
6
11
|
subject { req; OpenStruct.new assigns[:report].params[:wat] }
|
|
7
12
|
it "should be success" do
|
|
8
13
|
req
|
|
@@ -15,7 +20,7 @@ describe WatCatcher::BugsnagController, type: :controller do
|
|
|
15
20
|
it { expect(subject.app_user).to include({ 'id' => 16, 'first_name' => nil, 'name' => 'asdfasd', 'email' => 'asdfasdf' }) }
|
|
16
21
|
|
|
17
22
|
context "with a bogus user" do
|
|
18
|
-
let(:req) { get :show, {
|
|
23
|
+
let(:req) { get :show, {"notifierVersion" => "2.3.2", "apiKey" => "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "projectRoot" => "http://localhost:3001", "context" => "/exceptionals", "user" => "{\"id\":16,", "metaData" => { "script" => { "src" => "http://localhost:3001/assets/exceptionals/thrower.js?body=1", "content" => "" }, "Last Event" => { "millisecondsAgo" => "742", "type" => "load", "target" => "#document" } }, "url" => "http://localhost:3001/exceptionals", "userAgent" => "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36", "language" => "en-US", "severity" => "fatal", "name" => "Error", "message" => "Uncaught Error: foo", "stacktrace" => "Error: foo\n at thrower (http://localhost:3001/assets/exceptionals/thrower.js?body=1:3:11)\n at http://localhost:3001/assets/exceptionals/thrower.js?body=1:7:12\n at _super.bugsnag (http://localhost:3001/assets/bugsnag.js?body=1:128:30)\n at http://localhost:3001/assets/bugsnag.js?body=1:583:15", "file" => "http://localhost:3001/assets/exceptionals/thrower.js?body=1", "lineNumber" => "3", "columnNumber" => "11", "ct" => "img", "cb" => "1397595292609", "id" => "Wattle" } }
|
|
19
24
|
it "should be success" do
|
|
20
25
|
req
|
|
21
26
|
expect(response).to be_success
|
|
@@ -13,7 +13,7 @@ Dummy::Application.configure do
|
|
|
13
13
|
config.eager_load = false
|
|
14
14
|
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
|
16
|
-
config.
|
|
16
|
+
config.serve_static_files = true
|
|
17
17
|
config.static_cache_control = "public, max-age=3600"
|
|
18
18
|
|
|
19
19
|
# Show full error reports and disable caching.
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
|
2
2
|
ENV["RAILS_ENV"] ||= 'test'
|
|
3
|
-
|
|
4
3
|
require File.expand_path("../dummy/config/environment", __FILE__)
|
|
5
4
|
|
|
6
5
|
require 'rspec/rails'
|
|
7
|
-
#require 'rr'
|
|
8
|
-
require 'sidekiq/testing/inline'
|
|
9
6
|
|
|
10
7
|
# Requires supporting ruby files with custom matchers and macros, etc,
|
|
11
8
|
# in spec/support/ and its subdirectories.
|
|
12
9
|
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
|
13
10
|
|
|
14
|
-
Sidekiq::Testing.fake!
|
|
15
|
-
|
|
16
11
|
RSpec.configure do |config|
|
|
17
12
|
|
|
18
13
|
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
data/wat_catcher.gemspec
CHANGED
|
@@ -25,10 +25,9 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
spec.add_development_dependency "rb-readline"
|
|
26
26
|
spec.add_development_dependency "rspec"
|
|
27
27
|
spec.add_development_dependency "rspec-rails"
|
|
28
|
-
spec.add_development_dependency "rails", "~> 4.0.2"
|
|
29
28
|
spec.add_development_dependency "sqlite3"
|
|
30
29
|
|
|
31
30
|
spec.add_runtime_dependency 'coffee-rails'
|
|
32
|
-
spec.add_runtime_dependency '
|
|
31
|
+
spec.add_runtime_dependency 'rails', '>= 4.2.0'
|
|
33
32
|
spec.add_runtime_dependency 'httpclient'
|
|
34
33
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wat_catcher
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Constantine
|
|
@@ -108,20 +108,6 @@ dependencies:
|
|
|
108
108
|
- - ">="
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
|
-
- !ruby/object:Gem::Dependency
|
|
112
|
-
name: rails
|
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
|
114
|
-
requirements:
|
|
115
|
-
- - "~>"
|
|
116
|
-
- !ruby/object:Gem::Version
|
|
117
|
-
version: 4.0.2
|
|
118
|
-
type: :development
|
|
119
|
-
prerelease: false
|
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
-
requirements:
|
|
122
|
-
- - "~>"
|
|
123
|
-
- !ruby/object:Gem::Version
|
|
124
|
-
version: 4.0.2
|
|
125
111
|
- !ruby/object:Gem::Dependency
|
|
126
112
|
name: sqlite3
|
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -151,19 +137,19 @@ dependencies:
|
|
|
151
137
|
- !ruby/object:Gem::Version
|
|
152
138
|
version: '0'
|
|
153
139
|
- !ruby/object:Gem::Dependency
|
|
154
|
-
name:
|
|
140
|
+
name: rails
|
|
155
141
|
requirement: !ruby/object:Gem::Requirement
|
|
156
142
|
requirements:
|
|
157
143
|
- - ">="
|
|
158
144
|
- !ruby/object:Gem::Version
|
|
159
|
-
version:
|
|
145
|
+
version: 4.2.0
|
|
160
146
|
type: :runtime
|
|
161
147
|
prerelease: false
|
|
162
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
149
|
requirements:
|
|
164
150
|
- - ">="
|
|
165
151
|
- !ruby/object:Gem::Version
|
|
166
|
-
version:
|
|
152
|
+
version: 4.2.0
|
|
167
153
|
- !ruby/object:Gem::Dependency
|
|
168
154
|
name: httpclient
|
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -200,11 +186,11 @@ files:
|
|
|
200
186
|
- config/routes.rb
|
|
201
187
|
- lib/wat_catcher.rb
|
|
202
188
|
- lib/wat_catcher/engine.rb
|
|
189
|
+
- lib/wat_catcher/poster.rb
|
|
203
190
|
- lib/wat_catcher/rack_middleware.rb
|
|
204
191
|
- lib/wat_catcher/railtie.rb
|
|
205
192
|
- lib/wat_catcher/report.rb
|
|
206
193
|
- lib/wat_catcher/sidekiq_middleware.rb
|
|
207
|
-
- lib/wat_catcher/sidekiq_poster.rb
|
|
208
194
|
- lib/wat_catcher/version.rb
|
|
209
195
|
- lib/wat_catcher/wattle_helper.rb
|
|
210
196
|
- spec/ci.sh
|