blinky_monitor 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -0
- data/.travis.yml +4 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +27 -0
- data/README.markdown +1 -0
- data/Rakefile +26 -4
- data/VERSION +1 -0
- data/blinky_monitor.gemspec +76 -0
- data/lib/blinky_monitor/cruise_control_server.rb +17 -0
- data/lib/blinky_monitor/jenkins_server.rb +1 -1
- data/lib/blinky_monitor.rb +5 -4
- data/spec/blinky_monitor/cruise_control_server_spec.rb +40 -0
- data/spec/blinky_monitor/jenkins_server_spec.rb +15 -51
- data/spec/blinky_monitor/monitor_spec.rb +1 -1
- data/spec/blinky_monitor_spec.rb +8 -5
- data/spec/fixtures/cruise_control_building_after_failure.xml +3 -0
- data/spec/fixtures/cruise_control_building_after_success.xml +3 -0
- data/spec/fixtures/cruise_control_failure.xml +3 -0
- data/spec/fixtures/cruise_control_success.xml +3 -0
- data/spec/fixtures/cruise_control_success_and_failure.xml +4 -0
- data/spec/fixtures/jenkins_failure.xml +17 -0
- data/spec/fixtures/jenkins_success.xml +17 -0
- data/spec/spec_helper.rb +8 -0
- data/spec/{blinky.rb → support/blinky.rb} +0 -0
- data/spec/support/hipster_server.rb +4 -0
- metadata +44 -46
- data/README.rdoc +0 -0
- data/spec/rspec_helper.rb +0 -3
data/.rvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm use 1.9.2@blinky-monitor --create
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
diff-lcs (1.1.3)
|
5
|
+
git (1.2.5)
|
6
|
+
jeweler (1.6.4)
|
7
|
+
bundler (~> 1.0)
|
8
|
+
git (>= 1.2.5)
|
9
|
+
rake
|
10
|
+
rake (0.9.2.2)
|
11
|
+
rspec (2.7.0)
|
12
|
+
rspec-core (~> 2.7.0)
|
13
|
+
rspec-expectations (~> 2.7.0)
|
14
|
+
rspec-mocks (~> 2.7.0)
|
15
|
+
rspec-core (2.7.1)
|
16
|
+
rspec-expectations (2.7.0)
|
17
|
+
diff-lcs (~> 1.1.2)
|
18
|
+
rspec-mocks (2.7.0)
|
19
|
+
|
20
|
+
PLATFORMS
|
21
|
+
ruby
|
22
|
+
|
23
|
+
DEPENDENCIES
|
24
|
+
bundler (~> 1.0.0)
|
25
|
+
jeweler (~> 1.6.4)
|
26
|
+
rake (~> 0.8)
|
27
|
+
rspec (~> 2)
|
data/README.markdown
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
[![Build Status](https://secure.travis-ci.org/jamesottaway/blinky_monitor.png)](http://travis-ci.org/jamesottaway/blinky_monitor)
|
data/Rakefile
CHANGED
@@ -1,5 +1,27 @@
|
|
1
|
-
require '
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
require 'rake'
|
2
11
|
|
3
|
-
|
4
|
-
|
5
|
-
|
12
|
+
require 'jeweler'
|
13
|
+
Jeweler::Tasks.new do |gem|
|
14
|
+
gem.name = 'blinky_monitor'
|
15
|
+
gem.homepage = 'http://github.com/jamesottaway/blinky_monitor'
|
16
|
+
gem.license = 'MIT'
|
17
|
+
gem.summary = 'watches a CI server and tells blinky about it'
|
18
|
+
gem.description = 'watches a CI server and tells blinky about it. dude.'
|
19
|
+
gem.email = 'james@ottaway.mp'
|
20
|
+
gem.authors = ['James Ottaway', 'Mark Ryall']
|
21
|
+
end
|
22
|
+
Jeweler::RubygemsDotOrgTasks.new
|
23
|
+
|
24
|
+
require 'rspec/core/rake_task'
|
25
|
+
RSpec::Core::RakeTask.new
|
26
|
+
|
27
|
+
task :default => :spec
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{blinky_monitor}
|
8
|
+
s.version = "0.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = [%q{James Ottaway}, %q{Mark Ryall}]
|
12
|
+
s.date = %q{2011-11-02}
|
13
|
+
s.description = %q{watches a CI server and tells blinky about it. dude.}
|
14
|
+
s.email = %q{james@ottaway.mp}
|
15
|
+
s.executables = [%q{blink}]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"README.markdown"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".rvmrc",
|
21
|
+
".travis.yml",
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"MIT-LICENSE",
|
25
|
+
"README.markdown",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"bin/blink",
|
29
|
+
"blinky_monitor.gemspec",
|
30
|
+
"lib/blinky_monitor.rb",
|
31
|
+
"lib/blinky_monitor/cruise_control_server.rb",
|
32
|
+
"lib/blinky_monitor/jenkins_server.rb",
|
33
|
+
"lib/blinky_monitor/monitor.rb",
|
34
|
+
"spec/blinky_monitor/cruise_control_server_spec.rb",
|
35
|
+
"spec/blinky_monitor/jenkins_server_spec.rb",
|
36
|
+
"spec/blinky_monitor/monitor_spec.rb",
|
37
|
+
"spec/blinky_monitor_spec.rb",
|
38
|
+
"spec/fixtures/cruise_control_building_after_failure.xml",
|
39
|
+
"spec/fixtures/cruise_control_building_after_success.xml",
|
40
|
+
"spec/fixtures/cruise_control_failure.xml",
|
41
|
+
"spec/fixtures/cruise_control_success.xml",
|
42
|
+
"spec/fixtures/cruise_control_success_and_failure.xml",
|
43
|
+
"spec/fixtures/jenkins_failure.xml",
|
44
|
+
"spec/fixtures/jenkins_success.xml",
|
45
|
+
"spec/spec_helper.rb",
|
46
|
+
"spec/support/blinky.rb",
|
47
|
+
"spec/support/hipster_server.rb"
|
48
|
+
]
|
49
|
+
s.homepage = %q{http://github.com/jamesottaway/blinky_monitor}
|
50
|
+
s.licenses = [%q{MIT}]
|
51
|
+
s.require_paths = [%q{lib}]
|
52
|
+
s.rubygems_version = %q{1.8.8}
|
53
|
+
s.summary = %q{watches a CI server and tells blinky about it}
|
54
|
+
|
55
|
+
if s.respond_to? :specification_version then
|
56
|
+
s.specification_version = 3
|
57
|
+
|
58
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
59
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
60
|
+
s.add_development_dependency(%q<rake>, ["~> 0.8"])
|
61
|
+
s.add_development_dependency(%q<rspec>, ["~> 2"])
|
62
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
63
|
+
else
|
64
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
65
|
+
s.add_dependency(%q<rake>, ["~> 0.8"])
|
66
|
+
s.add_dependency(%q<rspec>, ["~> 2"])
|
67
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
68
|
+
end
|
69
|
+
else
|
70
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
71
|
+
s.add_dependency(%q<rake>, ["~> 0.8"])
|
72
|
+
s.add_dependency(%q<rspec>, ["~> 2"])
|
73
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'open-uri'
|
2
|
+
|
3
|
+
module BlinkyMonitor
|
4
|
+
class CruiseControlServer
|
5
|
+
def initialize url
|
6
|
+
@url = url
|
7
|
+
end
|
8
|
+
|
9
|
+
def status
|
10
|
+
xml = open("#{@url}/cc.xml").read
|
11
|
+
status = :success if xml.include? 'lastBuildStatus="Success"'
|
12
|
+
status = :failure if xml.include? 'lastBuildStatus="Failure"'
|
13
|
+
status = :building if xml.include? 'activity="Building"'
|
14
|
+
status
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/blinky_monitor.rb
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'yaml'
|
3
|
-
require 'blinky_monitor/monitor'
|
4
3
|
require 'blinky'
|
5
|
-
|
4
|
+
|
5
|
+
Dir.glob(File.dirname(__FILE__)+'/blinky_monitor/**/*').each {|f| require f}
|
6
6
|
|
7
7
|
module BlinkyMonitor
|
8
8
|
def self.run file
|
9
9
|
config = YAML.load_file file
|
10
|
-
|
10
|
+
server_class = BlinkyMonitor.const_get "#{config['server'].split('_').map(&:capitalize).join}Server"
|
11
|
+
server = server_class.new config['url']
|
11
12
|
blinky = Blinky.new
|
12
13
|
|
13
|
-
Monitor.new(
|
14
|
+
Monitor.new(server, blinky).run
|
14
15
|
end
|
15
16
|
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'blinky_monitor/cruise_control_server'
|
3
|
+
|
4
|
+
describe BlinkyMonitor::CruiseControlServer do
|
5
|
+
shared_context :cruise_control do
|
6
|
+
let(:stream) { stub 'stream', :read => response }
|
7
|
+
subject { BlinkyMonitor::CruiseControlServer.new 'build' }
|
8
|
+
before { subject.should_receive(:open).with('build/cc.xml').and_return(stream) }
|
9
|
+
end
|
10
|
+
|
11
|
+
context 'success' do
|
12
|
+
include_context :cruise_control
|
13
|
+
let(:response) { feed_for 'cruise_control_success.xml' }
|
14
|
+
its(:status) { should == :success }
|
15
|
+
end
|
16
|
+
|
17
|
+
context 'failure' do
|
18
|
+
include_context :cruise_control
|
19
|
+
let(:response) { feed_for 'cruise_control_failure.xml' }
|
20
|
+
its(:status) { should == :failure }
|
21
|
+
end
|
22
|
+
|
23
|
+
context 'failure > success' do
|
24
|
+
include_context :cruise_control
|
25
|
+
let(:response) { feed_for 'cruise_control_success_and_failure.xml' }
|
26
|
+
its(:status) { should == :failure }
|
27
|
+
end
|
28
|
+
|
29
|
+
context 'building > success' do
|
30
|
+
include_context :cruise_control
|
31
|
+
let(:response) { feed_for 'cruise_control_building_after_success.xml' }
|
32
|
+
its(:status) { should == :building }
|
33
|
+
end
|
34
|
+
|
35
|
+
context 'building > failure' do
|
36
|
+
include_context :cruise_control
|
37
|
+
let(:response) { feed_for 'cruise_control_building_after_failure.xml' }
|
38
|
+
its(:status) { should == :building }
|
39
|
+
end
|
40
|
+
end
|
@@ -1,58 +1,22 @@
|
|
1
|
-
require
|
1
|
+
require 'spec_helper'
|
2
2
|
require 'blinky_monitor/jenkins_server'
|
3
3
|
|
4
4
|
describe BlinkyMonitor::JenkinsServer do
|
5
|
-
|
6
|
-
|
5
|
+
shared_context :jenkins do
|
6
|
+
let(:stream) { stub 'stream', :read => response }
|
7
|
+
subject { BlinkyMonitor::JenkinsServer.new 'build' }
|
8
|
+
before { subject.should_receive(:open).with('build/rssLatest').and_return(stream) }
|
7
9
|
end
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
<title>All last builds only</title>
|
14
|
-
<link type="text/html" href="http://localhost:8080/" rel="alternate"/>
|
15
|
-
<updated>2011-02-23T00:08:34Z</updated>
|
16
|
-
<author>
|
17
|
-
<name>Jenkins Server</name>
|
18
|
-
</author>
|
19
|
-
<id>urn:uuid:903deee0-7bfa-11db-9fe1-0800200c9a66</id>
|
20
|
-
<entry>
|
21
|
-
<title>cas #87 (stable)</title>
|
22
|
-
<link type="text/html" href="http://localhost:8080/job/cas/87/" rel="alternate"/>
|
23
|
-
<id>tag:hudson.dev.java.net,2008:http://localhost:8080/job/cas/</id>
|
24
|
-
<published>2011-02-23T00:08:34Z</published>
|
25
|
-
<updated>2011-02-23T00:08:34Z</updated>
|
26
|
-
</entry>
|
27
|
-
</feed>
|
28
|
-
EOF
|
29
|
-
|
30
|
-
@jenkins.should_receive(:open).with('http://10.7.13.12:8090/rssLatest').and_return(response)
|
31
|
-
@jenkins.status.should == :success
|
10
|
+
|
11
|
+
context 'success' do
|
12
|
+
include_context :jenkins
|
13
|
+
let(:response) { feed_for 'jenkins_success.xml' }
|
14
|
+
its(:status) { should == :success }
|
32
15
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
<title>All last builds only</title>
|
39
|
-
<link type="text/html" href="http://localhost:8080/" rel="alternate"/>
|
40
|
-
<updated>2011-02-23T00:08:34Z</updated>
|
41
|
-
<author>
|
42
|
-
<name>Jenkins Server</name>
|
43
|
-
</author>
|
44
|
-
<id>urn:uuid:903deee0-7bfa-11db-9fe1-0800200c9a66</id>
|
45
|
-
<entry>
|
46
|
-
<title>cas #87 (broken since build #1)</title>
|
47
|
-
<link type="text/html" href="http://localhost:8080/job/cas/87/" rel="alternate"/>
|
48
|
-
<id>tag:hudson.dev.java.net,2008:http://localhost:8080/job/cas/</id>
|
49
|
-
<published>2011-02-23T00:08:34Z</published>
|
50
|
-
<updated>2011-02-23T00:08:34Z</updated>
|
51
|
-
</entry>
|
52
|
-
</feed>
|
53
|
-
EOF
|
54
|
-
|
55
|
-
@jenkins.should_receive(:open).with('http://10.7.13.12:8090/rssLatest').and_return(response)
|
56
|
-
@jenkins.status.should == :failure
|
16
|
+
|
17
|
+
context 'failure' do
|
18
|
+
include_context :jenkins
|
19
|
+
let(:response) { feed_for 'jenkins_failure.xml' }
|
20
|
+
its(:status) { should == :failure }
|
57
21
|
end
|
58
22
|
end
|
data/spec/blinky_monitor_spec.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
require
|
1
|
+
require 'spec_helper'
|
2
2
|
require 'blinky_monitor'
|
3
|
+
require 'hipster_server'
|
3
4
|
|
4
5
|
describe BlinkyMonitor do
|
5
|
-
|
6
|
+
CI_TYPE = 'hipster' # you've probably never heard of it...
|
7
|
+
CI_URL = 'http://ci/'
|
6
8
|
|
7
9
|
before do
|
8
10
|
@file = stub 'file'
|
@@ -12,11 +14,12 @@ describe BlinkyMonitor do
|
|
12
14
|
end
|
13
15
|
|
14
16
|
it 'should load configuration from a YAML file' do
|
15
|
-
hash = {
|
17
|
+
hash = {'server' => CI_TYPE, 'url' => CI_URL}
|
16
18
|
YAML.should_receive(:load_file).with(@file).and_return(hash)
|
17
|
-
BlinkyMonitor
|
19
|
+
BlinkyMonitor.should_receive(:const_get).with('HipsterServer').and_return BlinkyMonitor::HipsterServer
|
20
|
+
BlinkyMonitor::HipsterServer.should_receive(:new).with(CI_URL).and_return(@server)
|
18
21
|
Blinky.should_receive(:new).and_return(@blinky)
|
19
|
-
BlinkyMonitor::Monitor.should_receive(:new).with(@
|
22
|
+
BlinkyMonitor::Monitor.should_receive(:new).with(@server, @blinky).and_return(@monitor)
|
20
23
|
@monitor.should_receive :run
|
21
24
|
BlinkyMonitor.run @file
|
22
25
|
end
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<Projects>
|
2
|
+
<Project webUrl="http://build/job/green/" name="green" lastBuildLabel="1" lastBuildTime="2011-12-30T12:00:00Z" lastBuildStatus="Success" activity="Sleeping"/>
|
3
|
+
<Project webUrl="http://build/job/red/" name="red" lastBuildLabel="1" lastBuildTime="2011-12-30T12:00:00Z" lastBuildStatus="Failure" activity="Sleeping"/>
|
4
|
+
</Projects>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<feed xmlns="http://www.w3.org/2005/Atom">
|
3
|
+
<title>All last builds only</title>
|
4
|
+
<link type="text/html" href="http://localhost:8080/" rel="alternate"/>
|
5
|
+
<updated>2011-02-23T00:08:34Z</updated>
|
6
|
+
<author>
|
7
|
+
<name>Jenkins Server</name>
|
8
|
+
</author>
|
9
|
+
<id>urn:uuid:903deee0-7bfa-11db-9fe1-0800200c9a66</id>
|
10
|
+
<entry>
|
11
|
+
<title>cas #87 (broken since build #1)</title>
|
12
|
+
<link type="text/html" href="http://localhost:8080/job/cas/87/" rel="alternate"/>
|
13
|
+
<id>tag:hudson.dev.java.net,2008:http://localhost:8080/job/cas/</id>
|
14
|
+
<published>2011-02-23T00:08:34Z</published>
|
15
|
+
<updated>2011-02-23T00:08:34Z</updated>
|
16
|
+
</entry>
|
17
|
+
</feed>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<feed xmlns="http://www.w3.org/2005/Atom">
|
3
|
+
<title>All last builds only</title>
|
4
|
+
<link type="text/html" href="http://localhost:8080/" rel="alternate"/>
|
5
|
+
<updated>2011-02-23T00:08:34Z</updated>
|
6
|
+
<author>
|
7
|
+
<name>Jenkins Server</name>
|
8
|
+
</author>
|
9
|
+
<id>urn:uuid:903deee0-7bfa-11db-9fe1-0800200c9a66</id>
|
10
|
+
<entry>
|
11
|
+
<title>cas #87 (stable)</title>
|
12
|
+
<link type="text/html" href="http://localhost:8080/job/cas/87/" rel="alternate"/>
|
13
|
+
<id>tag:hudson.dev.java.net,2008:http://localhost:8080/job/cas/</id>
|
14
|
+
<published>2011-02-23T00:08:34Z</published>
|
15
|
+
<updated>2011-02-23T00:08:34Z</updated>
|
16
|
+
</entry>
|
17
|
+
</feed>
|
data/spec/spec_helper.rb
ADDED
File without changes
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blinky_monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
version: 0.0.1
|
4
|
+
prerelease:
|
5
|
+
version: 0.1.0
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- James Ottaway
|
@@ -15,89 +11,92 @@ autorequire:
|
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
13
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
14
|
+
date: 2011-11-02 00:00:00 Z
|
20
15
|
dependencies:
|
21
16
|
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
23
|
-
prerelease: false
|
17
|
+
name: bundler
|
24
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
19
|
none: false
|
26
20
|
requirements:
|
27
21
|
- - ~>
|
28
22
|
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
type: :runtime
|
23
|
+
version: 1.0.0
|
24
|
+
type: :development
|
25
|
+
prerelease: false
|
33
26
|
version_requirements: *id001
|
34
27
|
- !ruby/object:Gem::Dependency
|
35
28
|
name: rake
|
36
|
-
prerelease: false
|
37
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
38
30
|
none: false
|
39
31
|
requirements:
|
40
32
|
- - ~>
|
41
33
|
- !ruby/object:Gem::Version
|
42
|
-
segments:
|
43
|
-
- 0
|
44
|
-
- 8
|
45
34
|
version: "0.8"
|
46
35
|
type: :development
|
36
|
+
prerelease: false
|
47
37
|
version_requirements: *id002
|
48
38
|
- !ruby/object:Gem::Dependency
|
49
|
-
name:
|
50
|
-
prerelease: false
|
39
|
+
name: rspec
|
51
40
|
requirement: &id003 !ruby/object:Gem::Requirement
|
52
41
|
none: false
|
53
42
|
requirements:
|
54
43
|
- - ~>
|
55
44
|
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
- 0
|
58
|
-
version: "0"
|
45
|
+
version: "2"
|
59
46
|
type: :development
|
47
|
+
prerelease: false
|
60
48
|
version_requirements: *id003
|
61
49
|
- !ruby/object:Gem::Dependency
|
62
|
-
name:
|
63
|
-
prerelease: false
|
50
|
+
name: jeweler
|
64
51
|
requirement: &id004 !ruby/object:Gem::Requirement
|
65
52
|
none: false
|
66
53
|
requirements:
|
67
54
|
- - ~>
|
68
55
|
- !ruby/object:Gem::Version
|
69
|
-
|
70
|
-
- 2
|
71
|
-
version: "2"
|
56
|
+
version: 1.6.4
|
72
57
|
type: :development
|
58
|
+
prerelease: false
|
73
59
|
version_requirements: *id004
|
74
|
-
description:
|
75
|
-
watches a CI server and tells blinky about it. dude.
|
76
|
-
|
60
|
+
description: watches a CI server and tells blinky about it. dude.
|
77
61
|
email: james@ottaway.mp
|
78
62
|
executables:
|
79
63
|
- blink
|
80
64
|
extensions: []
|
81
65
|
|
82
|
-
extra_rdoc_files:
|
83
|
-
|
66
|
+
extra_rdoc_files:
|
67
|
+
- README.markdown
|
84
68
|
files:
|
69
|
+
- .rvmrc
|
70
|
+
- .travis.yml
|
71
|
+
- Gemfile
|
72
|
+
- Gemfile.lock
|
73
|
+
- MIT-LICENSE
|
74
|
+
- README.markdown
|
75
|
+
- Rakefile
|
76
|
+
- VERSION
|
77
|
+
- bin/blink
|
78
|
+
- blinky_monitor.gemspec
|
79
|
+
- lib/blinky_monitor.rb
|
80
|
+
- lib/blinky_monitor/cruise_control_server.rb
|
85
81
|
- lib/blinky_monitor/jenkins_server.rb
|
86
82
|
- lib/blinky_monitor/monitor.rb
|
87
|
-
-
|
88
|
-
- spec/blinky.rb
|
83
|
+
- spec/blinky_monitor/cruise_control_server_spec.rb
|
89
84
|
- spec/blinky_monitor/jenkins_server_spec.rb
|
90
85
|
- spec/blinky_monitor/monitor_spec.rb
|
91
86
|
- spec/blinky_monitor_spec.rb
|
92
|
-
- spec/
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
96
|
-
-
|
97
|
-
|
87
|
+
- spec/fixtures/cruise_control_building_after_failure.xml
|
88
|
+
- spec/fixtures/cruise_control_building_after_success.xml
|
89
|
+
- spec/fixtures/cruise_control_failure.xml
|
90
|
+
- spec/fixtures/cruise_control_success.xml
|
91
|
+
- spec/fixtures/cruise_control_success_and_failure.xml
|
92
|
+
- spec/fixtures/jenkins_failure.xml
|
93
|
+
- spec/fixtures/jenkins_success.xml
|
94
|
+
- spec/spec_helper.rb
|
95
|
+
- spec/support/blinky.rb
|
96
|
+
- spec/support/hipster_server.rb
|
98
97
|
homepage: http://github.com/jamesottaway/blinky_monitor
|
99
|
-
licenses:
|
100
|
-
|
98
|
+
licenses:
|
99
|
+
- MIT
|
101
100
|
post_install_message:
|
102
101
|
rdoc_options: []
|
103
102
|
|
@@ -108,6 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
107
|
requirements:
|
109
108
|
- - ">="
|
110
109
|
- !ruby/object:Gem::Version
|
110
|
+
hash: 3095797071577704213
|
111
111
|
segments:
|
112
112
|
- 0
|
113
113
|
version: "0"
|
@@ -116,13 +116,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
requirements:
|
117
117
|
- - ">="
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
segments:
|
120
|
-
- 0
|
121
119
|
version: "0"
|
122
120
|
requirements: []
|
123
121
|
|
124
122
|
rubyforge_project:
|
125
|
-
rubygems_version: 1.
|
123
|
+
rubygems_version: 1.8.8
|
126
124
|
signing_key:
|
127
125
|
specification_version: 3
|
128
126
|
summary: watches a CI server and tells blinky about it
|
data/README.rdoc
DELETED
File without changes
|
data/spec/rspec_helper.rb
DELETED