stoplight-admin 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d85c16c2b5ea07704e3e0eea394fb492cc2fa82ec8aafba27d08cd9e2d05a1c
4
- data.tar.gz: 1614e028fb039c9cfc2f4a7c51eb8285a5117fe2a9f5e95901f9919d6b904cfd
3
+ metadata.gz: ea092c1ab6285d75d91b6b7582c0c521304c6aa9a417067793224a4b31cbc83f
4
+ data.tar.gz: d31a8c40d3adf0cf517194b3ffdb96f4c1d425d7b1655fe8d2d7717051d08104
5
5
  SHA512:
6
- metadata.gz: da7423144b12ec70ff3dda736d7a94d7a4381225bcd2ed1290d0d0e5ef7c88035e63a5d08f14d1ab7f8aa0db278c5c0907741ad9e611b74a4816c4ed1fe34973
7
- data.tar.gz: 90a38bb503295b2c2a8c09275817f1211fb541effad7c57af1e07ac5e738bf7b0728d312b139e30115851e9bb97bb41290b4bb1d4d50b0648fd3e279ec8281a7
6
+ metadata.gz: 3bf410421247546b33d42ba22eb4180b92027713806a8bdd55c6f93adcdf07bf5771d7a10c7ca0706e4cf55828d160fcae5da1326352ff5078b115742a28108e
7
+ data.tar.gz: e8e8a55b481d9ac832206596afc412ff2f72cb127befdb6ffc0b776393c805cab25ac96fdf41f2d4df1c8ce6ceacd265cc5d98762df845c6e22cb616c1745b2a
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # [Stoplight Admin][1]
2
2
 
3
3
  [![Gem version][7]][8]
4
- [![Dependency status][9]][10]
5
4
 
6
5
  A simple administration interface for [stoplight][2]. Monitor the
7
6
  status, failures, and invocations of your stoplights. Change
@@ -86,13 +85,11 @@ end
86
85
  Stoplight is brought to you by [@camdez][4] and [@tfausak][5] from
87
86
  [@OrgSync][6].
88
87
 
89
- [1]: https://github.com/orgsync/stoplight-admin
90
- [2]: https://github.com/orgsync/stoplight
88
+ [1]: https://github.com/bolshakov/stoplight-admin
89
+ [2]: https://github.com/bolshakov/stoplight
91
90
  [3]: http://bundler.io
92
91
  [4]: https://github.com/camdez
93
92
  [5]: https://github.com/tfausak
94
93
  [6]: https://github.com/OrgSync
95
94
  [7]: https://badge.fury.io/rb/stoplight-admin.svg
96
95
  [8]: https://rubygems.org/gems/stoplight-admin
97
- [9]: https://gemnasium.com/orgsync/stoplight-admin.svg
98
- [10]: https://gemnasium.com/orgsync/stoplight-admin
@@ -103,7 +103,7 @@ module Sinatra
103
103
 
104
104
  def with_lights
105
105
  [*params[:names]]
106
- .map { |l| URI.unescape(l) }
106
+ .map { |l| CGI.unescape(l) }
107
107
  .each { |l| yield(l) }
108
108
  end
109
109
  end
@@ -36,31 +36,31 @@
36
36
  %td.indicator
37
37
  - if l[:color] == GREEN
38
38
  %form{method: 'post', action: url('/red')}
39
- %input{type: 'hidden', name: 'names', value: URI.escape(l[:name])}
39
+ %input{type: 'hidden', name: 'names', value: CGI.escape(l[:name])}
40
40
  %button{type: 'submit', class: 'btn btn-success'}
41
41
  G
42
42
  %span.hidden-xs> REEN
43
43
  - elsif l[:color] == YELLOW
44
44
  %form{method: 'post', action: url('/green')}
45
- %input{type: 'hidden', name: 'names', value: URI.escape(l[:name])}
45
+ %input{type: 'hidden', name: 'names', value: CGI.escape(l[:name])}
46
46
  %button{type: 'submit', class: 'btn btn-warning'}
47
47
  Y
48
48
  %span.hidden-xs> ELLOW
49
49
  - else
50
50
  %form{method: 'post', action: url('/green')}
51
- %input{type: 'hidden', name: 'names', value: URI.escape(l[:name])}
51
+ %input{type: 'hidden', name: 'names', value: CGI.escape(l[:name])}
52
52
  %button{type: 'submit', class: 'btn btn-danger'}
53
53
  R
54
54
  %span.hidden-xs> ED
55
55
  %td.locked
56
56
  - if l[:locked]
57
57
  %form{method: 'post', action: url('/unlock')}
58
- %input{type: 'hidden', name: 'names', value: URI.escape(l[:name])}
58
+ %input{type: 'hidden', name: 'names', value: CGI.escape(l[:name])}
59
59
  %button{type: 'submit', class: 'btn btn-link'}
60
60
  %span{class: 'glyphicon glyphicon-lock'}
61
61
  - else
62
62
  %form{method: 'post', action: url('/lock')}
63
- %input{type: 'hidden', name: 'names', value: URI.escape(l[:name])}
63
+ %input{type: 'hidden', name: 'names', value: CGI.escape(l[:name])}
64
64
  %button{type: 'submit', class: 'btn btn-link'}
65
65
  %span{class: 'glyphicon glyphicon-minus'}
66
66
  %td.name
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stoplight-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Desautels
8
8
  - Taylor Fausak
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-09-22 00:00:00.000000000 Z
12
+ date: 2023-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 5.0.4
20
+ version: '5.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 5.0.4
27
+ version: '5.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: sinatra-contrib
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 2.0.5
34
+ version: 2.2.3
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 2.0.5
41
+ version: 2.2.3
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: redis
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -73,56 +73,56 @@ dependencies:
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '1.10'
76
+ version: '2.4'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '1.10'
83
+ version: '2.4'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: pry-byebug
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: 3.7.0
90
+ version: 3.10.0
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: 3.7.0
97
+ version: 3.10.0
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rake
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '11.1'
104
+ version: '13.0'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '11.1'
111
+ version: '13.0'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: rspec
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: 3.8.0
118
+ version: 3.12.0
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - "~>"
124
124
  - !ruby/object:Gem::Version
125
- version: 3.8.0
125
+ version: 3.12.0
126
126
  description: A simple administration interface for Stoplight.
127
127
  email:
128
128
  - camdez@gmail.com
@@ -136,11 +136,11 @@ files:
136
136
  - lib/sinatra/stoplight_admin.rb
137
137
  - lib/sinatra/views/index.haml
138
138
  - lib/sinatra/views/layout.haml
139
- homepage: https://github.com/orgsync/stoplight-admin
139
+ homepage: https://github.com/bolshakov/stoplight-admin
140
140
  licenses:
141
141
  - MIT
142
142
  metadata: {}
143
- post_install_message:
143
+ post_install_message:
144
144
  rdoc_options: []
145
145
  require_paths:
146
146
  - lib
@@ -148,15 +148,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - ">="
150
150
  - !ruby/object:Gem::Version
151
- version: 1.9.3
151
+ version: 2.5.0
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - ">="
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubygems_version: 3.0.3
159
- signing_key:
158
+ rubygems_version: 3.3.7
159
+ signing_key:
160
160
  specification_version: 4
161
161
  summary: A simple administration interface for Stoplight.
162
162
  test_files: []