blinky-tape-test-status-guard 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ee964abb31a674ec4219824e1b6969419d86946b
4
+ data.tar.gz: 4e4d209f4b377a1c4e7ef6257fd5d128f60cc3b9
5
+ SHA512:
6
+ metadata.gz: d0f821fd6d43f5063134823d337e84b8461f65ea441d291b3486eb3c8203393da48ffda8acc51924af43f2131f43ff017ba6d9aaab7629bdec5b3e300de2120a
7
+ data.tar.gz: 41873138c103de376ee106e924ed9262381dfc482baaad004c89f102ae66a2500b0c50fd100faa37346f24bf4a26c9434aeb60981b8e81d271e70239bd59bc00
data/.gitignore ADDED
@@ -0,0 +1,18 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ coverage
6
+ InstalledFiles
7
+ lib/bundler/man
8
+ pkg
9
+ rdoc
10
+ spec/reports
11
+ test/tmp
12
+ test/version_tmp
13
+ tmp
14
+
15
+ # YARD artifacts
16
+ .yardoc
17
+ _yardoc
18
+ doc/
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013 Integrum
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,4 @@
1
+ blinky-tape-test-status-guard
2
+ =============================
3
+
4
+ Guard integration for blinky tape test status
@@ -0,0 +1,22 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+ require "blinky_tape_test_status/guard"
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = 'blinky-tape-test-status-guard'
6
+ s.version = BlinkyTapeTestStatus::Guard::VERSION
7
+ s.summary = "blinky-tape-test-status-guard"
8
+ s.description = "Guard integration for blinky-tape-test-status"
9
+ s.authors = ["Jade Meskill", "Roy van de Water"]
10
+ s.email = 'dev@integrumtech.com'
11
+
12
+ s.files = `git ls-files`.split("\n")
13
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
15
+ s.require_paths = ["lib"]
16
+
17
+ s.add_runtime_dependency "blinky-tape-test-status"
18
+
19
+ s.homepage =
20
+ 'http://rubygems.org/gems/blinky-tape-test-status-guard'
21
+ s.license = 'MIT'
22
+ end
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env ruby
2
+ require 'blinky_tape_test_status'
3
+
4
+ module BlinkyTapeTestStatus
5
+ class Guard < BlinkyTapeTestStatus::Base
6
+ VERSION = '0.0.1'
7
+
8
+ COLORS = {
9
+ 'success' => 'g',
10
+ 'failed' => 'r',
11
+ 'pending' => 'y',
12
+ }
13
+
14
+ def initialize(options={})
15
+ @filename = options[:filename]
16
+ end
17
+
18
+ def set_status!
19
+ solid!
20
+ color! test_status_color
21
+ end
22
+
23
+ protected
24
+ def test_status_color
25
+ COLORS[line] || 'w'
26
+ end
27
+
28
+ def line
29
+ File.open(@filename, &:readline).strip
30
+ end
31
+ end
32
+ end
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: blinky-tape-test-status-guard
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jade Meskill
8
+ - Roy van de Water
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-12-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: blinky-tape-test-status
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>='
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ description: Guard integration for blinky-tape-test-status
29
+ email: dev@integrumtech.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - .gitignore
35
+ - LICENSE
36
+ - README.md
37
+ - blinky-tape-test-status-guard.gemspec
38
+ - lib/blinky_tape_test_status/guard.rb
39
+ homepage: http://rubygems.org/gems/blinky-tape-test-status-guard
40
+ licenses:
41
+ - MIT
42
+ metadata: {}
43
+ post_install_message:
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - '>='
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubyforge_project:
59
+ rubygems_version: 2.0.2
60
+ signing_key:
61
+ specification_version: 4
62
+ summary: blinky-tape-test-status-guard
63
+ test_files: []