ops 1.1.1 → 1.2.1
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: 292abae71f788875ad722719f7bab566f6c35996ff2ae6af2796b922401c425c
|
4
|
+
data.tar.gz: b0c8204517d6fe5689664cf1c7a264232c97d161ee8d2770cabce474cb0a3afc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0027cda72b9e4bf3bfdddbf265bb457a31b337f883b88c9dbc5089c1a88296fb3e6ae2026311153a2bce2d23bfaab6ac27147df98cd3c1f7fc3aece7421d0906
|
7
|
+
data.tar.gz: e877839f042ca0a59896b11c47d3d30dc3baa9507623dcd702540c003c7ba79aa1e52a39c5974b9832ab05f8cb807275de03df93a6c6983df24aca45b27de81b
|
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.1
|
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: 2024-01-04 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.
|