ops 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +11 -10
- data/lib/ops/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cfa4c11946baaa93a8d4683795a32c455ec879214e7275b7b58a9d5bcc7c93a0
|
4
|
+
data.tar.gz: dde535ba99c5a2772a154a791d6199c57d27e7b9ebc5feb7257aad070fa14404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4da7f53d6755daf5d6d9118846018bf71f85129d584271577ebe9bc96d8339ec8d6337a44ad01415c31a2b8bf333f71a9060dbdcbf102d2023f9ce02e2a3c21b
|
7
|
+
data.tar.gz: a776b7876b2528378e8f49ce8421b6e2ed7789226c69c14d1e607fab354ddd57e121000062f92e1e23511d2068e03e35f261a88915ca632db0f3cd86f70dbd5e
|
data/README.md
CHANGED
@@ -8,22 +8,23 @@ This gem provides standardized support for obtaining environment, version, and h
|
|
8
8
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
9
9
|
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
|
10
10
|
|
11
|
-
- [
|
12
|
-
- [
|
13
|
-
|
14
|
-
- [
|
15
|
-
- [
|
16
|
-
- [
|
11
|
+
- [Ops](#ops)
|
12
|
+
- [Installation](#installation)
|
13
|
+
- [For Rails apps:](#for-rails-apps)
|
14
|
+
- [For Sinatra apps:](#for-sinatra-apps)
|
15
|
+
- [Adding Custom Heartbeats](#adding-custom-heartbeats)
|
16
|
+
- [The Configuration Service Adapter (Optional)](#the-configuration-service-adapter-optional)
|
17
|
+
- [Running tests](#running-tests)
|
17
18
|
|
18
19
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
19
20
|
|
20
21
|
|
21
22
|
**You will likely want to block or restrict access to the following routes:**
|
22
23
|
|
23
|
-
Route | Notes
|
24
|
-
|
25
|
-
`/ops/env` | Exposes all of your environment variables (e.g. any API keys set as environment variables) to the public
|
26
|
-
`/ops/config` | Exposes all of your configuration keys and values to the public (if you're using a configuration service).
|
24
|
+
| Route | Notes |
|
25
|
+
| ------------- | ---------------------------------------------------------------------------------------------------------- |
|
26
|
+
| `/ops/env` | Exposes all of your environment variables (e.g. any API keys set as environment variables) to the public |
|
27
|
+
| `/ops/config` | Exposes all of your configuration keys and values to the public (if you're using a configuration service). |
|
27
28
|
|
28
29
|
Typical usage:
|
29
30
|
|
data/lib/ops/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Pelz-Sherman
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2022-10-20 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.4.5.1
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: Provide ops info endpoints.
|