uptime_monitor 0.7.0 → 0.7.1
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/.env.examples +2 -2
- data/README.md +3 -3
- data/VERSION +1 -1
- data/docker-compose.yml +4 -4
- data/lib/uptime_monitor.rb +2 -2
- data/uptime_monitor.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75b1b3732cc2d08241cdca4d5697b17c7f503235
|
4
|
+
data.tar.gz: 9d037db9abeab5d6b7406cda2e228f6fee582c37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8298862f36218c41d2bffdb7d3265c675cc83735315c1f1cd1aca00d4ea4412149a74dd14ccfeb65c66cdbd9aad262252f5a944d103a5b6fbea942dbdc4b55ab
|
7
|
+
data.tar.gz: c5be927e6a32bb61b37f2714ee98822bfe9f22e0b081420085b0af30c7875bdbe0660c8544b6bb53d76e75060844b472841c1663e6ebcb89eb0124dd2fcae25b
|
data/.env.examples
CHANGED
data/README.md
CHANGED
@@ -484,10 +484,10 @@ This feature is disable by default, to enable it set following environment varia
|
|
484
484
|
```
|
485
485
|
RAGIOS_HERCULES_ENABLE_SCREENSHOTS=true
|
486
486
|
```
|
487
|
-
Also set environment variables for the Amazon s3 account you want to use for storing the screenshots,
|
487
|
+
Also set environment variables for the Amazon s3 account you want to use for storing the screenshots, add the AWS Access Key ID and AWS SECRET ACCESS KEY for the AWS account with S3 access.
|
488
488
|
```
|
489
|
-
|
490
|
-
|
489
|
+
S3_AWS_ACCESS_KEY_ID=xxxxxxx
|
490
|
+
S3_AWS_SECRET_ACCESS_KEY=xxxxxx
|
491
491
|
RAGIOS_HERCULES_S3_DIR=xxxxxx
|
492
492
|
```
|
493
493
|
The above env vars are for the Amazon AWS access key, AWS secret key and s3 directory/bucket you want to use for storage. First create this s3 bucket manually.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.1
|
data/docker-compose.yml
CHANGED
@@ -30,8 +30,8 @@ services:
|
|
30
30
|
links:
|
31
31
|
- firefox:firefox
|
32
32
|
environment:
|
33
|
-
|
34
|
-
|
33
|
+
S3_AWS_ACCESS_KEY_ID:
|
34
|
+
S3_AWS_SECRET_ACCESS_KEY:
|
35
35
|
RAGIOS_HERCULES_S3_DIR:
|
36
36
|
RAGIOS_HERCULES_ENABLE_SCREENSHOTS:
|
37
37
|
BROWSER: firefox
|
@@ -44,8 +44,8 @@ services:
|
|
44
44
|
links:
|
45
45
|
- firefox:firefox
|
46
46
|
environment:
|
47
|
-
|
48
|
-
|
47
|
+
S3_AWS_ACCESS_KEY_ID:
|
48
|
+
S3_AWS_SECRET_ACCESS_KEY:
|
49
49
|
RAGIOS_HERCULES_S3_DIR:
|
50
50
|
RAGIOS_HERCULES_ENABLE_SCREENSHOTS:
|
51
51
|
BROWSER: firefox
|
data/lib/uptime_monitor.rb
CHANGED
@@ -33,8 +33,8 @@ end
|
|
33
33
|
if RAGIOS_HERCULES_ENABLE_SCREENSHOTS
|
34
34
|
setup_screenshot_dir
|
35
35
|
AWS::S3::Base.establish_connection!(
|
36
|
-
:access_key_id => ENV['
|
37
|
-
:secret_access_key => ENV['
|
36
|
+
:access_key_id => ENV['S3_AWS_ACCESS_KEY_ID'],
|
37
|
+
:secret_access_key => ENV['S3_AWS_SECRET_ACCESS_KEY']
|
38
38
|
)
|
39
39
|
clear_screenshots_cache!
|
40
40
|
end
|
data/uptime_monitor.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: uptime_monitor 0.7.
|
5
|
+
# stub: uptime_monitor 0.7.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "uptime_monitor".freeze
|
9
|
-
s.version = "0.7.
|
9
|
+
s.version = "0.7.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|