stoplight-admin 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 720f024afd31b7bd10e275d8e308adcb4bfe3a5a
4
- data.tar.gz: 6198427cb003abba4b76d4f26ff8646fb3320402
3
+ metadata.gz: fc75f3964699a81674cbfb5377897a0e9a67b6a6
4
+ data.tar.gz: b9bcd80f86b64f8c3909c28fd79efd0149cd9d7a
5
5
  SHA512:
6
- metadata.gz: c5bb750a5a81f710ee638062625fc571303ab847259f5fa512a56eb56d554cedcea56e27bee7dbdd43f3af72a7fca4359e03c039c258985ac522cb162301f08a
7
- data.tar.gz: ead92213a7d26b7366ce5631cb66821065d1ce3a386cfb8011c985e7c7fb948591ff718da278fa7017f379ce297395367bb2c8154df2be99c91925a295e062f4
6
+ metadata.gz: 23f3504f213fe6990c9074db979d73a3928b87605b789a00e812a6921159287038f8106233a985b51641fc8b706f63f991473d9b7c87bdf4de112c10206c80fd
7
+ data.tar.gz: 205dc3bb8e9218d7a9b08c34249e2060de2682d4f0021e2f59d5f9d39c87f162f087a8375bc6b8d19699ced0db53b911b8a1204da841d2128fc70e07e823f49b
data/.gitignore CHANGED
@@ -1,17 +1,8 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
1
+ .bundle/
2
+ .yardoc/
3
+ coverage/
10
4
  doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
5
+ Gemfile.lock
6
+ pkg/
7
+ tmp/
8
+ vendor/
data/.rubocop.yml ADDED
@@ -0,0 +1,9 @@
1
+ AllCops:
2
+ Exclude:
3
+ - tmp/**/*
4
+ - vendor/**/*
5
+ Documentation:
6
+ Enabled: false
7
+
8
+ Style/MethodLength:
9
+ Enabled: false
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,7 @@
1
+ # Contributing
2
+
3
+ 1. **Fork** the repository.
4
+ 2. Create a **branch** for your feature (`git checkout -b feature`).
5
+ 3. **Commit** your changes (`git commit -a -m 'Feature'`).
6
+ 4. **Push** to your branch (`git push origin feature`).
7
+ 5. Create a **pull request**.
data/LICENSE.md ADDED
@@ -0,0 +1,18 @@
1
+ Copyright (c) 2014 Cameron Desautels & Taylor Fausak
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7
+ the Software, and to permit persons to whom the Software is furnished to do so,
8
+ subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # [Stoplight Admin][1]
2
2
 
3
+ [![Gem version][7]][8]
4
+ [![Dependency status][9]][10]
5
+
3
6
  A simple administration interface for [stoplight][2]. Monitor the
4
7
  status, failures, and invocations of your stoplights. Change
5
8
  stoplight colors, or lock them in either red or green state.
@@ -55,3 +58,7 @@ Stoplight is brought to you by [@camdez][4] and [@tfausak][5] from
55
58
  [4]: https://github.com/camdez
56
59
  [5]: https://github.com/tfausak
57
60
  [6]: https://github.com/OrgSync
61
+ [7]: https://badge.fury.io/rb/stoplight-admin.svg
62
+ [8]: https://rubygems.org/gems/stoplight-admin
63
+ [9]: https://gemnasium.com/orgsync/stoplight-admin.svg
64
+ [10]: https://gemnasium.com/orgsync/stoplight-admin
@@ -1,4 +1,4 @@
1
- .jumbotron
1
+ .jumbotron.hidden-xs.hidden-sm
2
2
  %h1 🚦 All of the Lights
3
3
  %p Cop lights, flashlights, spotlights, strobe lights…
4
4
 
@@ -16,7 +16,7 @@
16
16
 
17
17
  .lights
18
18
  %table.table.table-hover
19
- %thead
19
+ %thead.hidden-xs
20
20
  %tr
21
21
  %th Status
22
22
  %th
@@ -33,11 +33,15 @@
33
33
  - if l[:green]
34
34
  %form{method: 'post', action: '/red'}
35
35
  %input{type: 'hidden', name: 'names', value: URI.escape(l[:name])}
36
- %button{type: 'submit', class: 'btn btn-success'} GREEN
36
+ %button{type: 'submit', class: 'btn btn-success'}
37
+ G
38
+ %span.hidden-xs> REEN
37
39
  - else
38
40
  %form{method: 'post', action: '/green'}
39
41
  %input{type: 'hidden', name: 'names', value: URI.escape(l[:name])}
40
- %button{type: 'submit', class: 'btn btn-danger'} RED
42
+ %button{type: 'submit', class: 'btn btn-danger'}
43
+ R
44
+ %span.hidden-xs> ED
41
45
  %td.locked
42
46
  - if l[:locked]
43
47
  %form{method: 'post', action: '/unlock'}
@@ -2,7 +2,7 @@
2
2
  %html{lang: 'en'}
3
3
  %head
4
4
  %meta{charset: 'utf-8'}
5
- %meta{viewport: 'width=device-width, initial-scale=1'}
5
+ %meta{name: 'viewport', content: 'width=device-width, initial-scale=1'}
6
6
 
7
7
  %title Stoplight Admin
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'stoplight-admin'
5
- spec.version = '0.1.0'
5
+ spec.version = '0.1.1'
6
6
  spec.authors = ['Cameron Desautels', 'Taylor Fausak']
7
7
  spec.email = %w(camdez@gmail.com taylor@fausak.me)
8
8
  spec.summary = %q{A simple administration interface for the stoplight gem.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stoplight-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Desautels
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-12 00:00:00.000000000 Z
12
+ date: 2014-08-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -104,8 +104,10 @@ extensions: []
104
104
  extra_rdoc_files: []
105
105
  files:
106
106
  - .gitignore
107
+ - .rubocop.yml
108
+ - CONTRIBUTING.md
107
109
  - Gemfile
108
- - LICENSE.txt
110
+ - LICENSE.md
109
111
  - README.md
110
112
  - Rakefile
111
113
  - lib/sinatra/stoplight_admin.rb
data/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2014 Cameron Desautels
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.