status_cat 0.1.1 → 5.0.0
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/README.md +15 -11
- data/app/controllers/status_cat/status_controller.rb +19 -18
- data/app/helpers/status_cat/status_helper.rb +69 -64
- data/app/mailers/status_cat/status_mailer.rb +9 -8
- data/app/views/status_cat/status/index.html.erb +1 -1
- data/app/views/status_cat/status_mailer/failure.html.erb +1 -1
- data/app/views/status_cat/status_mailer/failure.text.erb +1 -1
- data/lib/status_cat.rb +1 -1
- data/lib/status_cat/checkers/action_mailer.rb +33 -17
- data/lib/status_cat/checkers/active_record.rb +22 -7
- data/lib/status_cat/checkers/base.rb +16 -9
- data/lib/status_cat/checkers/delayed_job.rb +21 -16
- data/lib/status_cat/checkers/fitbit.rb +18 -9
- data/lib/status_cat/checkers/profilesio.rb +4 -1
- data/lib/status_cat/checkers/s3.rb +9 -10
- data/lib/status_cat/checkers/send_hub.rb +9 -3
- data/lib/status_cat/checkers/stripe.rb +15 -10
- data/lib/status_cat/checkers/twilio.rb +10 -4
- data/lib/status_cat/config.rb +3 -7
- data/lib/status_cat/status.rb +9 -11
- data/lib/status_cat/version.rb +1 -1
- data/lib/tasks/status_cat.rake +3 -4
- data/spec/controllers/status_cat/status_controller_spec.rb +9 -9
- data/spec/dummy/app/checkers/dummy.rb +2 -2
- data/spec/dummy/app/controllers/application_controller.rb +2 -1
- data/spec/dummy/app/controllers/root_controller.rb +6 -7
- data/spec/dummy/config.ru +1 -1
- data/spec/dummy/config/application.rb +2 -2
- data/spec/dummy/config/environments/production.rb +1 -1
- data/spec/dummy/config/initializers/action_mailer.rb +2 -2
- data/spec/dummy/config/initializers/inflections.rb +1 -1
- data/spec/dummy/config/passwords.yml +5 -0
- data/spec/dummy/config/routes.rb +2 -2
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +0 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +36 -0
- data/spec/dummy/log/test.log +16588 -13366
- data/spec/helpers/status_cat/status_helper_spec.rb +33 -33
- data/spec/hygiene_spec.rb +14 -0
- data/spec/lib/status_cat/checkers/action_mailer_spec.rb +15 -18
- data/spec/lib/status_cat/checkers/active_record_spec.rb +10 -10
- data/spec/lib/status_cat/checkers/base_spec.rb +30 -14
- data/spec/lib/status_cat/checkers/delayed_job_spec.rb +14 -16
- data/spec/lib/status_cat/checkers/fitbit_spec.rb +14 -8
- data/spec/lib/status_cat/checkers/profilesio_spec.rb +12 -12
- data/spec/lib/status_cat/checkers/s3_spec.rb +17 -18
- data/spec/lib/status_cat/checkers/send_hub_spec.rb +14 -8
- data/spec/lib/status_cat/checkers/stripe_spec.rb +18 -24
- data/spec/lib/status_cat/checkers/twilio_spec.rb +14 -8
- data/spec/lib/status_cat/config_spec.rb +32 -33
- data/spec/lib/status_cat/engine_spec.rb +2 -2
- data/spec/lib/status_cat/status_spec.rb +31 -32
- data/spec/lib/status_cat/version_spec.rb +4 -4
- data/spec/lib/status_cat_spec.rb +3 -3
- data/spec/lib/tasks/status_cat.rake_spec.rb +6 -6
- data/spec/mailers/status_cat/status_mailer_spec.rb +11 -12
- data/spec/spec_helper.rb +35 -16
- data/spec/support/shared/checker.rb +5 -6
- data/spec/views/status_cat/status/index.html.erb_spec.rb +8 -9
- data/spec/views/status_cat/status_mailer/failure.html.erb_spec.rb +4 -6
- data/spec/views/status_cat/status_mailer/failure.text.erb_spec.rb +4 -4
- metadata +69 -117
- data/spec/coverage_spec.rb +0 -20
@@ -1,8 +1,8 @@
|
|
1
1
|
describe 'version' do
|
2
2
|
|
3
3
|
it 'has a version constant' do
|
4
|
-
expect(
|
5
|
-
expect(
|
6
|
-
expect(
|
4
|
+
expect(StatusCat::VERSION).to_not be_nil
|
5
|
+
expect(StatusCat::VERSION).to be_an_instance_of(String)
|
6
|
+
expect(StatusCat::VERSION).to match(/\d+\.\d+\.\d+/)
|
7
7
|
end
|
8
|
-
end
|
8
|
+
end
|
data/spec/lib/status_cat_spec.rb
CHANGED
@@ -3,14 +3,14 @@ describe StatusCat do
|
|
3
3
|
describe '::config' do
|
4
4
|
|
5
5
|
it 'returns the configuration' do
|
6
|
-
expect(
|
6
|
+
expect(StatusCat.config).to be(StatusCat::Config.instance)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
10
|
describe '::configure' do
|
11
11
|
|
12
12
|
it 'yields the configuration' do
|
13
|
-
StatusCat.configure { |config| expect(
|
13
|
+
StatusCat.configure { |config| expect(config).to be(StatusCat::Config.instance) }
|
14
14
|
end
|
15
15
|
end
|
16
|
-
end
|
16
|
+
end
|
@@ -2,7 +2,7 @@ require 'rake'
|
|
2
2
|
|
3
3
|
describe 'status_cat rake tasks' do
|
4
4
|
|
5
|
-
before(
|
5
|
+
before(:each) do
|
6
6
|
@rake = Rake::Application.new
|
7
7
|
Rake.application = @rake
|
8
8
|
Rake::Task.define_task(:environment)
|
@@ -12,16 +12,16 @@ describe 'status_cat rake tasks' do
|
|
12
12
|
describe 'rake status_cat:check' do
|
13
13
|
|
14
14
|
it 'puts the status report' do
|
15
|
-
expect(
|
16
|
-
@rake[
|
15
|
+
expect(Kernel).to receive(:puts).with(kind_of(String))
|
16
|
+
@rake['status_cat:check'].invoke
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
20
|
describe 'rake status_cat:cron' do
|
21
21
|
|
22
22
|
it 'calls StatusCat::Status.cron' do
|
23
|
-
expect(
|
24
|
-
@rake[
|
23
|
+
expect(StatusCat::Status).to receive(:cron)
|
24
|
+
@rake['status_cat:cron'].invoke
|
25
25
|
end
|
26
26
|
end
|
27
|
-
end
|
27
|
+
end
|
@@ -2,33 +2,32 @@ describe StatusCat::StatusMailer do
|
|
2
2
|
|
3
3
|
it 'adds StatusCat::StatusHelper as a template helper' do
|
4
4
|
modules = StatusCat::StatusMailer._helpers.included_modules
|
5
|
-
expect(
|
5
|
+
expect(modules).to include(StatusCat::StatusHelper)
|
6
6
|
end
|
7
7
|
|
8
8
|
describe '#failure' do
|
9
9
|
|
10
|
-
let(
|
11
|
-
let(
|
10
|
+
let(:mail) { StatusCat::StatusMailer.failure(StatusCat::Status.all) }
|
11
|
+
let(:config) { StatusCat.config }
|
12
12
|
|
13
13
|
it 'uses the configured from address' do
|
14
|
-
expect(
|
15
|
-
expect(
|
14
|
+
expect(mail.from).to_not be_nil
|
15
|
+
expect(mail.from).to eql([config.from])
|
16
16
|
end
|
17
17
|
|
18
18
|
it 'uses the configured to address' do
|
19
|
-
expect(
|
20
|
-
expect(
|
19
|
+
expect(mail.to).to_not be_nil
|
20
|
+
expect(mail.to).to eql([config.to])
|
21
21
|
end
|
22
22
|
|
23
23
|
it 'uses the configured subject' do
|
24
|
-
expect(
|
25
|
-
expect(
|
24
|
+
expect(mail.subject).to_not be_nil
|
25
|
+
expect(mail.subject).to eql(config.subject)
|
26
26
|
end
|
27
27
|
|
28
28
|
it 'generates a multipart email with both text and html' do
|
29
|
-
expect(
|
30
|
-
expect(
|
29
|
+
expect(mail.parts.first.content_type).to eql('text/plain; charset=UTF-8')
|
30
|
+
expect(mail.parts.second.content_type).to eql('text/html; charset=UTF-8')
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
34
|
-
|
data/spec/spec_helper.rb
CHANGED
@@ -4,10 +4,12 @@ ENV['RAILS_ENV'] ||= 'test'
|
|
4
4
|
require 'simplecov'
|
5
5
|
require 'coveralls'
|
6
6
|
|
7
|
-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
|
8
|
+
[
|
9
|
+
SimpleCov::Formatter::HTMLFormatter,
|
10
|
+
Coveralls::SimpleCov::Formatter
|
11
|
+
]
|
12
|
+
)
|
11
13
|
|
12
14
|
SimpleCov.start 'rails' do
|
13
15
|
add_filter '/vendor/'
|
@@ -16,19 +18,23 @@ end
|
|
16
18
|
|
17
19
|
require File.expand_path('../dummy/config/environment', __FILE__)
|
18
20
|
require 'rspec/rails'
|
21
|
+
require 'rails-controller-testing'
|
19
22
|
|
20
23
|
require 'spec_cat'
|
21
24
|
|
25
|
+
require 'aws-sdk'
|
26
|
+
require 'delayed_job_active_record'
|
22
27
|
require 'fitgem'
|
23
28
|
require 'httparty'
|
24
29
|
require 'ruby-sendhub'
|
30
|
+
require 'stripe'
|
25
31
|
require 'twilio-ruby'
|
26
32
|
|
27
33
|
ENGINE_ROOT = File.join(File.dirname(__FILE__), '..')
|
28
34
|
|
29
35
|
# Requires supporting ruby files with custom matchers and macros, etc,
|
30
36
|
# in spec/support/ and its subdirectories.
|
31
|
-
Dir[File.join(ENGINE_ROOT,
|
37
|
+
Dir[File.join(ENGINE_ROOT, 'spec/support/**/*.rb')].each { |f| require f }
|
32
38
|
|
33
39
|
RSpec.configure do |config|
|
34
40
|
# ## Mock Framework
|
@@ -40,7 +46,7 @@ RSpec.configure do |config|
|
|
40
46
|
# config.mock_with :rr
|
41
47
|
|
42
48
|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
43
|
-
#config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
49
|
+
# config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
44
50
|
|
45
51
|
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
46
52
|
# examples within a transaction, remove the following line or assign false
|
@@ -59,18 +65,31 @@ RSpec.configure do |config|
|
|
59
65
|
# --seed 1234
|
60
66
|
config.order = 'random'
|
61
67
|
|
62
|
-
|
63
|
-
|
64
|
-
|
68
|
+
[:controller, :view, :request].each do |type|
|
69
|
+
config.include ::Rails::Controller::Testing::TestProcess, type: type
|
70
|
+
config.include ::Rails::Controller::Testing::TemplateAssertions, type: type
|
71
|
+
config.include ::Rails::Controller::Testing::Integration, type: type
|
72
|
+
end
|
73
|
+
|
74
|
+
config.before(:each) do
|
75
|
+
Aws.config.update(credentials: Aws::Credentials.new('spec_access_key', 'spec_secret_key'))
|
76
|
+
|
77
|
+
allow(Fitgem::Client).to receive(:new).and_return(@fitgem = double(Fitgem::Client))
|
78
|
+
allow(@fitgem).to receive(:user_info).and_return({})
|
79
|
+
|
80
|
+
allow(HTTParty).to receive(:get).and_return(double('response', code: 200))
|
65
81
|
|
66
|
-
allow(
|
82
|
+
allow(SendHub).to receive(:new).and_return(@send_hub = double(SendHub))
|
83
|
+
allow(@send_hub).to receive(:get_contacts).and_return({})
|
67
84
|
|
68
|
-
allow(
|
69
|
-
allow(
|
85
|
+
allow(Stripe::Account).to receive(:retrieve).and_return(@stripe = double(Stripe::Account))
|
86
|
+
allow(@stripe).to receive(:email).and_return('stripe@schrodingersbox.com')
|
70
87
|
|
71
|
-
allow(
|
72
|
-
allow(
|
73
|
-
allow(
|
74
|
-
|
88
|
+
allow(Twilio::REST::Client).to receive(:new).and_return(@twilio = double(Twilio::REST::Client))
|
89
|
+
allow(@twilio).to receive(:api).and_return(@twilio_api = double(Twilio::REST::Api))
|
90
|
+
allow(@twilio_api).to receive(:account).and_return(@twilio_account = double(Twilio::REST::Api::V2010::AccountContext))
|
91
|
+
@twilio_messages = double(Twilio::REST::Api::V2010::AccountContext::MessageList)
|
92
|
+
allow(@twilio_account).to receive(:messages).and_return(@twilio_messages)
|
93
|
+
allow(@twilio_messages).to receive(:total).and_return(0)
|
75
94
|
end
|
76
95
|
end
|
@@ -1,23 +1,22 @@
|
|
1
1
|
shared_examples_for 'a status checker' do
|
2
2
|
|
3
3
|
it 'inherits from StatusCat::Checker' do
|
4
|
-
expect(
|
4
|
+
expect(checker).to be_a_kind_of(StatusCat::Checkers::Base)
|
5
5
|
end
|
6
6
|
|
7
7
|
describe 'attributes' do
|
8
8
|
|
9
9
|
it 'has a name reader' do
|
10
|
-
expected = checker.class.to_s.split(
|
11
|
-
expect(
|
10
|
+
expected = checker.class.to_s.split('::').last.underscore.to_sym
|
11
|
+
expect(checker.name).to eql(expected)
|
12
12
|
end
|
13
13
|
|
14
14
|
it 'has a value reader' do
|
15
|
-
expect(
|
15
|
+
expect(checker.value).to eql(checker.value)
|
16
16
|
end
|
17
17
|
|
18
18
|
it 'has a status reader' do
|
19
|
-
expect(
|
19
|
+
expect(checker.status).to eql(checker.status)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
23
|
-
|
@@ -1,23 +1,22 @@
|
|
1
1
|
describe 'status_cat/status/index.html.erb' do
|
2
2
|
|
3
|
-
before(
|
3
|
+
before(:each) do
|
4
4
|
@checkers = StatusCat::Status.all
|
5
|
-
assign(
|
5
|
+
assign(:checkers, @checkers)
|
6
6
|
end
|
7
7
|
|
8
8
|
it 'includes an h1 tag' do
|
9
9
|
render
|
10
|
-
expect(
|
10
|
+
expect(rendered).to match(%r{<h1>#{t(:h1, scope: :status_cat)}</h1>})
|
11
11
|
end
|
12
12
|
|
13
|
-
it 'uses the status_title helper'
|
14
|
-
expect(
|
13
|
+
it 'uses the status_title helper' do
|
14
|
+
expect(view).to receive(:status_title)
|
15
15
|
render
|
16
16
|
end
|
17
17
|
|
18
|
-
it 'uses the status_table helper'
|
19
|
-
expect(
|
18
|
+
it 'uses the status_table helper' do
|
19
|
+
expect(view).to receive(:status_table).with(@checkers)
|
20
20
|
render
|
21
21
|
end
|
22
|
-
|
23
|
-
end
|
22
|
+
end
|
@@ -1,14 +1,12 @@
|
|
1
1
|
describe 'status_cat/status_mailer/failure.html.erb' do
|
2
2
|
|
3
|
-
before(
|
3
|
+
before(:each) do
|
4
4
|
@checkers = StatusCat::Status.all
|
5
|
-
assign(
|
5
|
+
assign(:checkers, @checkers)
|
6
6
|
end
|
7
7
|
|
8
|
-
it 'uses the status_table helper'
|
9
|
-
expect(
|
8
|
+
it 'uses the status_table helper' do
|
9
|
+
expect(view).to receive(:status_table).with(@checkers)
|
10
10
|
render
|
11
11
|
end
|
12
|
-
|
13
12
|
end
|
14
|
-
|
@@ -1,12 +1,12 @@
|
|
1
1
|
describe 'status_cat/status_mailer/failure.text.erb' do
|
2
2
|
|
3
|
-
before(
|
3
|
+
before(:each) do
|
4
4
|
@checkers = StatusCat::Status.all
|
5
|
-
assign(
|
5
|
+
assign(:checkers, @checkers)
|
6
6
|
end
|
7
7
|
|
8
|
-
it 'uses the status_table helper'
|
9
|
-
expect(
|
8
|
+
it 'uses the status_table helper' do
|
9
|
+
expect(view).to receive(:status_report).with(@checkers)
|
10
10
|
render
|
11
11
|
end
|
12
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: status_cat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rich Humphrey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,280 +16,230 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.0'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 5.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '5.0'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 5.0.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
34
|
+
name: coveralls
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 1.3.8
|
39
|
+
version: '0'
|
43
40
|
type: :development
|
44
41
|
prerelease: false
|
45
42
|
version_requirements: !ruby/object:Gem::Requirement
|
46
43
|
requirements:
|
47
44
|
- - "~>"
|
48
45
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 1.3.8
|
46
|
+
version: '0'
|
53
47
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
48
|
+
name: rails-controller-testing
|
55
49
|
requirement: !ruby/object:Gem::Requirement
|
56
50
|
requirements:
|
57
51
|
- - "~>"
|
58
52
|
- !ruby/object:Gem::Version
|
59
|
-
version: '
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 3.1.0
|
53
|
+
version: '0'
|
63
54
|
type: :development
|
64
55
|
prerelease: false
|
65
56
|
version_requirements: !ruby/object:Gem::Requirement
|
66
57
|
requirements:
|
67
58
|
- - "~>"
|
68
59
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: 3.1.0
|
60
|
+
version: '0'
|
73
61
|
- !ruby/object:Gem::Dependency
|
74
62
|
name: rspec-rails
|
75
63
|
requirement: !ruby/object:Gem::Requirement
|
76
64
|
requirements:
|
77
65
|
- - "~>"
|
78
66
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 3.1.0
|
67
|
+
version: '0'
|
83
68
|
type: :development
|
84
69
|
prerelease: false
|
85
70
|
version_requirements: !ruby/object:Gem::Requirement
|
86
71
|
requirements:
|
87
72
|
- - "~>"
|
88
73
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 3.1.0
|
74
|
+
version: '0'
|
93
75
|
- !ruby/object:Gem::Dependency
|
94
|
-
name:
|
76
|
+
name: simplecov
|
95
77
|
requirement: !ruby/object:Gem::Requirement
|
96
78
|
requirements:
|
97
79
|
- - "~>"
|
98
80
|
- !ruby/object:Gem::Version
|
99
|
-
version: '0
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 0.7.3
|
81
|
+
version: '0'
|
103
82
|
type: :development
|
104
83
|
prerelease: false
|
105
84
|
version_requirements: !ruby/object:Gem::Requirement
|
106
85
|
requirements:
|
107
86
|
- - "~>"
|
108
87
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: 0.7.3
|
88
|
+
version: '0'
|
113
89
|
- !ruby/object:Gem::Dependency
|
114
|
-
name:
|
90
|
+
name: spec_cat
|
115
91
|
requirement: !ruby/object:Gem::Requirement
|
116
92
|
requirements:
|
117
93
|
- - "~>"
|
118
94
|
- !ruby/object:Gem::Version
|
119
|
-
version: '0
|
120
|
-
- - ">="
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: 0.8.2
|
95
|
+
version: '0'
|
123
96
|
type: :development
|
124
97
|
prerelease: false
|
125
98
|
version_requirements: !ruby/object:Gem::Requirement
|
126
99
|
requirements:
|
127
100
|
- - "~>"
|
128
101
|
- !ruby/object:Gem::Version
|
129
|
-
version: '0
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: 0.8.2
|
102
|
+
version: '0'
|
133
103
|
- !ruby/object:Gem::Dependency
|
134
|
-
name:
|
104
|
+
name: sqlite3
|
135
105
|
requirement: !ruby/object:Gem::Requirement
|
136
106
|
requirements:
|
137
107
|
- - "~>"
|
138
108
|
- !ruby/object:Gem::Version
|
139
|
-
version: '0
|
140
|
-
- - ">="
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: 0.7.0
|
109
|
+
version: '0'
|
143
110
|
type: :development
|
144
111
|
prerelease: false
|
145
112
|
version_requirements: !ruby/object:Gem::Requirement
|
146
113
|
requirements:
|
147
114
|
- - "~>"
|
148
115
|
- !ruby/object:Gem::Version
|
149
|
-
version: '0
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 0.7.0
|
116
|
+
version: '0'
|
153
117
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
118
|
+
name: term-ansicolor
|
155
119
|
requirement: !ruby/object:Gem::Requirement
|
156
120
|
requirements:
|
157
121
|
- - "~>"
|
158
122
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
160
|
-
- - ">="
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: 3.0.0
|
123
|
+
version: '0'
|
163
124
|
type: :development
|
164
125
|
prerelease: false
|
165
126
|
version_requirements: !ruby/object:Gem::Requirement
|
166
127
|
requirements:
|
167
128
|
- - "~>"
|
168
129
|
- !ruby/object:Gem::Version
|
169
|
-
version: '
|
170
|
-
|
130
|
+
version: '0'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: webrat
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
171
143
|
- !ruby/object:Gem::Version
|
172
|
-
version:
|
144
|
+
version: '0'
|
173
145
|
- !ruby/object:Gem::Dependency
|
174
146
|
name: aws-sdk
|
175
147
|
requirement: !ruby/object:Gem::Requirement
|
176
148
|
requirements:
|
177
149
|
- - "~>"
|
178
150
|
- !ruby/object:Gem::Version
|
179
|
-
version: '
|
180
|
-
- - ">="
|
181
|
-
- !ruby/object:Gem::Version
|
182
|
-
version: 1.38.0
|
151
|
+
version: '0'
|
183
152
|
type: :development
|
184
153
|
prerelease: false
|
185
154
|
version_requirements: !ruby/object:Gem::Requirement
|
186
155
|
requirements:
|
187
156
|
- - "~>"
|
188
157
|
- !ruby/object:Gem::Version
|
189
|
-
version: '
|
190
|
-
- - ">="
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: 1.38.0
|
158
|
+
version: '0'
|
193
159
|
- !ruby/object:Gem::Dependency
|
194
160
|
name: delayed_job_active_record
|
195
161
|
requirement: !ruby/object:Gem::Requirement
|
196
162
|
requirements:
|
197
163
|
- - "~>"
|
198
164
|
- !ruby/object:Gem::Version
|
199
|
-
version: '
|
200
|
-
- - ">="
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: 4.0.0
|
165
|
+
version: '0'
|
203
166
|
type: :development
|
204
167
|
prerelease: false
|
205
168
|
version_requirements: !ruby/object:Gem::Requirement
|
206
169
|
requirements:
|
207
170
|
- - "~>"
|
208
171
|
- !ruby/object:Gem::Version
|
209
|
-
version: '
|
210
|
-
- - ">="
|
211
|
-
- !ruby/object:Gem::Version
|
212
|
-
version: 4.0.0
|
172
|
+
version: '0'
|
213
173
|
- !ruby/object:Gem::Dependency
|
214
174
|
name: fitgem
|
215
175
|
requirement: !ruby/object:Gem::Requirement
|
216
176
|
requirements:
|
217
177
|
- - "~>"
|
218
178
|
- !ruby/object:Gem::Version
|
219
|
-
version: '0
|
220
|
-
- - ">="
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: 0.10.0
|
179
|
+
version: '0'
|
223
180
|
type: :development
|
224
181
|
prerelease: false
|
225
182
|
version_requirements: !ruby/object:Gem::Requirement
|
226
183
|
requirements:
|
227
184
|
- - "~>"
|
228
185
|
- !ruby/object:Gem::Version
|
229
|
-
version: '0
|
230
|
-
- - ">="
|
231
|
-
- !ruby/object:Gem::Version
|
232
|
-
version: 0.10.0
|
186
|
+
version: '0'
|
233
187
|
- !ruby/object:Gem::Dependency
|
234
188
|
name: httparty
|
235
189
|
requirement: !ruby/object:Gem::Requirement
|
236
190
|
requirements:
|
237
191
|
- - "~>"
|
238
192
|
- !ruby/object:Gem::Version
|
239
|
-
version: '0
|
240
|
-
- - ">="
|
241
|
-
- !ruby/object:Gem::Version
|
242
|
-
version: 0.13.0
|
193
|
+
version: '0'
|
243
194
|
type: :development
|
244
195
|
prerelease: false
|
245
196
|
version_requirements: !ruby/object:Gem::Requirement
|
246
197
|
requirements:
|
247
198
|
- - "~>"
|
248
199
|
- !ruby/object:Gem::Version
|
249
|
-
version: '0
|
250
|
-
- - ">="
|
251
|
-
- !ruby/object:Gem::Version
|
252
|
-
version: 0.13.0
|
200
|
+
version: '0'
|
253
201
|
- !ruby/object:Gem::Dependency
|
254
202
|
name: ruby-sendhub
|
255
203
|
requirement: !ruby/object:Gem::Requirement
|
256
204
|
requirements:
|
257
205
|
- - "~>"
|
258
206
|
- !ruby/object:Gem::Version
|
259
|
-
version: '0
|
260
|
-
- - ">="
|
261
|
-
- !ruby/object:Gem::Version
|
262
|
-
version: 0.0.0
|
207
|
+
version: '0'
|
263
208
|
type: :development
|
264
209
|
prerelease: false
|
265
210
|
version_requirements: !ruby/object:Gem::Requirement
|
266
211
|
requirements:
|
267
212
|
- - "~>"
|
268
213
|
- !ruby/object:Gem::Version
|
269
|
-
version: '0
|
270
|
-
|
214
|
+
version: '0'
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: stripe
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - "~>"
|
271
220
|
- !ruby/object:Gem::Version
|
272
|
-
version: 0
|
221
|
+
version: '0'
|
222
|
+
type: :development
|
223
|
+
prerelease: false
|
224
|
+
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - "~>"
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: '0'
|
273
229
|
- !ruby/object:Gem::Dependency
|
274
230
|
name: twilio-ruby
|
275
231
|
requirement: !ruby/object:Gem::Requirement
|
276
232
|
requirements:
|
277
233
|
- - "~>"
|
278
234
|
- !ruby/object:Gem::Version
|
279
|
-
version: '
|
280
|
-
- - ">="
|
281
|
-
- !ruby/object:Gem::Version
|
282
|
-
version: 3.11.0
|
235
|
+
version: '0'
|
283
236
|
type: :development
|
284
237
|
prerelease: false
|
285
238
|
version_requirements: !ruby/object:Gem::Requirement
|
286
239
|
requirements:
|
287
240
|
- - "~>"
|
288
241
|
- !ruby/object:Gem::Version
|
289
|
-
version: '
|
290
|
-
- - ">="
|
291
|
-
- !ruby/object:Gem::Version
|
292
|
-
version: 3.11.0
|
242
|
+
version: '0'
|
293
243
|
description: |2
|
294
244
|
This engine makes monitoring the status of your Rails environment easier.
|
295
245
|
|
@@ -337,7 +287,6 @@ files:
|
|
337
287
|
- lib/status_cat/version.rb
|
338
288
|
- lib/tasks/status_cat.rake
|
339
289
|
- spec/controllers/status_cat/status_controller_spec.rb
|
340
|
-
- spec/coverage_spec.rb
|
341
290
|
- spec/dummy/README.rdoc
|
342
291
|
- spec/dummy/Rakefile
|
343
292
|
- spec/dummy/app/assets/javascripts/application.js
|
@@ -367,6 +316,7 @@ files:
|
|
367
316
|
- spec/dummy/config/initializers/status_cat.rb
|
368
317
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
369
318
|
- spec/dummy/config/locales/en.yml
|
319
|
+
- spec/dummy/config/passwords.yml
|
370
320
|
- spec/dummy/config/passwords.yml.sample
|
371
321
|
- spec/dummy/config/routes.rb
|
372
322
|
- spec/dummy/db/development.sqlite3
|
@@ -402,6 +352,7 @@ files:
|
|
402
352
|
- spec/dummy/tmp/cache/assets/development/sprockets/f1ebb0ab4631911fbbdf496685d8b7a0
|
403
353
|
- spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
404
354
|
- spec/helpers/status_cat/status_helper_spec.rb
|
355
|
+
- spec/hygiene_spec.rb
|
405
356
|
- spec/lib/status_cat/checkers/action_mailer_spec.rb
|
406
357
|
- spec/lib/status_cat/checkers/active_record_spec.rb
|
407
358
|
- spec/lib/status_cat/checkers/base_spec.rb
|
@@ -444,13 +395,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
444
395
|
version: '0'
|
445
396
|
requirements: []
|
446
397
|
rubyforge_project:
|
447
|
-
rubygems_version: 2.
|
398
|
+
rubygems_version: 2.6.11
|
448
399
|
signing_key:
|
449
400
|
specification_version: 4
|
450
401
|
summary: A Rails engine for checking system health
|
451
402
|
test_files:
|
452
403
|
- spec/controllers/status_cat/status_controller_spec.rb
|
453
|
-
- spec/coverage_spec.rb
|
454
404
|
- spec/dummy/app/assets/javascripts/application.js
|
455
405
|
- spec/dummy/app/assets/stylesheets/application.css
|
456
406
|
- spec/dummy/app/checkers/dummy.rb
|
@@ -477,6 +427,7 @@ test_files:
|
|
477
427
|
- spec/dummy/config/initializers/status_cat.rb
|
478
428
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
479
429
|
- spec/dummy/config/locales/en.yml
|
430
|
+
- spec/dummy/config/passwords.yml
|
480
431
|
- spec/dummy/config/passwords.yml.sample
|
481
432
|
- spec/dummy/config/routes.rb
|
482
433
|
- spec/dummy/config.ru
|
@@ -515,6 +466,7 @@ test_files:
|
|
515
466
|
- spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
516
467
|
- spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
517
468
|
- spec/helpers/status_cat/status_helper_spec.rb
|
469
|
+
- spec/hygiene_spec.rb
|
518
470
|
- spec/lib/status_cat/checkers/action_mailer_spec.rb
|
519
471
|
- spec/lib/status_cat/checkers/active_record_spec.rb
|
520
472
|
- spec/lib/status_cat/checkers/base_spec.rb
|