travis-stalker 0.0.3 → 0.0.4
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.
- data/bin/travis-stalker +25 -5
- data/lib/travis/stalker/charlie.rb +2 -2
- data/lib/travis/stalker/version.rb +1 -1
- metadata +2 -2
data/bin/travis-stalker
CHANGED
@@ -1,10 +1,30 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
|
3
|
+
begin
|
4
|
+
require 'travis/stalker/cli'
|
4
5
|
|
5
|
-
|
6
|
-
|
6
|
+
Travis::Stalker::CLI.run
|
7
|
+
rescue LoadError => e
|
8
|
+
$stderr.puts <<-EOS
|
9
|
+
#{'*'*50}
|
10
|
+
Could not find 'travis/stalker/cli'
|
7
11
|
|
8
|
-
|
12
|
+
This may happen if you're using rubygems as your package manager, but it is not
|
13
|
+
being required through some mechanism before executing the travis-lint command.
|
9
14
|
|
10
|
-
|
15
|
+
You may need to do one of the following in your shell:
|
16
|
+
|
17
|
+
# for bash/zsh
|
18
|
+
export RUBYOPT=rubygems
|
19
|
+
|
20
|
+
# for csh, etc.
|
21
|
+
set RUBYOPT=rubygems
|
22
|
+
|
23
|
+
For background, please see http://gist.github.com/54177.
|
24
|
+
#{'*'*50}
|
25
|
+
EOS
|
26
|
+
|
27
|
+
raise e
|
28
|
+
|
29
|
+
exit(1)
|
30
|
+
end
|
@@ -17,8 +17,8 @@ module Travis
|
|
17
17
|
#
|
18
18
|
def initialize(pusher_token, projects=[], regex=false)
|
19
19
|
@projects = projects
|
20
|
-
@regex
|
21
|
-
@socket
|
20
|
+
@regex = regex
|
21
|
+
@socket = PusherClient::Socket.new(pusher_token)
|
22
22
|
|
23
23
|
Travis::Stalker.log(regex: regex, projects: projects)
|
24
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: travis-stalker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-08-
|
13
|
+
date: 2012-08-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: clamp
|