ops 0.5.2 → 0.6.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/Gemfile.lock +7 -4
- data/README.md +1 -0
- data/lib/ops/server/helpers.rb +5 -1
- data/lib/ops/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8daa2b628574116f1cef9721d321e4c2c66c8d00
|
|
4
|
+
data.tar.gz: 4d906e810c2cb4d806e6c3215aa7ccb21028caf9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2914913d0019c4bfb48e964face365bef2eb63168ad80e1bfe6d54d34044a74bd2a66351fb4d22e8a6de691059d02b267416719f23fe75738dc2ecd8cacf82a
|
|
7
|
+
data.tar.gz: 1577b01fef00026e13d7e1772dfa17f3c6e84402ef4f3794ab2c8862dea0a4d7cad0994975f8fb6a1213d36ab56282945314f850f5487070e4bea8bcb7434dce
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ops (0.
|
|
4
|
+
ops (0.6.0)
|
|
5
5
|
sinatra (>= 1.2.0)
|
|
6
6
|
sinatra-respond_to (>= 0.7.0)
|
|
7
7
|
|
|
@@ -87,10 +87,10 @@ GEM
|
|
|
87
87
|
multi_json (~> 1.0)
|
|
88
88
|
simplecov-html (~> 0.7.1)
|
|
89
89
|
simplecov-html (0.7.1)
|
|
90
|
-
sinatra (1.4.
|
|
91
|
-
rack (~> 1.
|
|
90
|
+
sinatra (1.4.7)
|
|
91
|
+
rack (~> 1.5)
|
|
92
92
|
rack-protection (~> 1.4)
|
|
93
|
-
tilt (
|
|
93
|
+
tilt (>= 1.3, < 3)
|
|
94
94
|
sinatra-respond_to (0.9.0)
|
|
95
95
|
sinatra (~> 1.3)
|
|
96
96
|
slop (3.5.0)
|
|
@@ -124,3 +124,6 @@ DEPENDENCIES
|
|
|
124
124
|
rake
|
|
125
125
|
rspec
|
|
126
126
|
simplecov
|
|
127
|
+
|
|
128
|
+
BUNDLED WITH
|
|
129
|
+
1.11.2
|
data/README.md
CHANGED
data/lib/ops/server/helpers.rb
CHANGED
|
@@ -25,8 +25,12 @@ module Ops
|
|
|
25
25
|
github_link 'commit', commit
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
+
def repo_name
|
|
29
|
+
Ops.config[:repo_name] || app_name
|
|
30
|
+
end
|
|
31
|
+
|
|
28
32
|
def github_link(resource, subresource)
|
|
29
|
-
"<a href='#{GITHUB_ORG_LINK}/#{
|
|
33
|
+
"<a href='#{GITHUB_ORG_LINK}/#{repo_name}/#{resource}/#{subresource}'>#{subresource}</a>" unless subresource =~ /^Unknown/
|
|
30
34
|
end
|
|
31
35
|
|
|
32
36
|
def print_detail(object, indent = 0)
|
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: 0.
|
|
4
|
+
version: 0.6.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: 2016-03-21 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: sinatra
|
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
133
133
|
version: '0'
|
|
134
134
|
requirements: []
|
|
135
135
|
rubyforge_project:
|
|
136
|
-
rubygems_version: 2.
|
|
136
|
+
rubygems_version: 2.4.5.1
|
|
137
137
|
signing_key:
|
|
138
138
|
specification_version: 4
|
|
139
139
|
summary: Provide ops info endpoints.
|