spurious 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spurious/command/ports.rb +3 -2
- data/lib/spurious/version.rb +1 -1
- data/spurious.gemspec +0 -3
- data/tools/install.sh +1 -1
- metadata +2 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78ad4aa734e5df33865dc34bbefa959ce882d16b
|
4
|
+
data.tar.gz: 9ecaaa50a9d232f09b0090faa4f77387eb617b47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e45d46b569d8a5316fffd78037100014b2c40ee96d5dba09beae08f60c330b4b31799d93a1d5fcbb5f1711185ad0d68120478339d165b9898cc95b257956205
|
7
|
+
data.tar.gz: 3308f0c8badd9254377dba8f564f8b5ed18fcf4f1bceeea949da5a17adcd2d2df62d5e93acbd2fb4480c103e02ff6abdb9e304c4d64a0e14f044475d8de51f6f
|
@@ -14,7 +14,8 @@ module Spurious
|
|
14
14
|
data << [
|
15
15
|
type,
|
16
16
|
mapping_data["Host"],
|
17
|
-
mapping_data["HostPort"]
|
17
|
+
mapping_data["HostPort"],
|
18
|
+
mapping_data["Host"].include?("spurious") ? "http://#{mapping_data["Host"]}:#{mapping_data["HostPort"]}" : '-'
|
18
19
|
]
|
19
20
|
end
|
20
21
|
end
|
@@ -29,7 +30,7 @@ module Spurious
|
|
29
30
|
else
|
30
31
|
app.say "\n"
|
31
32
|
app.print_table(
|
32
|
-
build_table(['Service', 'Host', 'Port'], data)
|
33
|
+
build_table(['Service', 'Host', 'Port', 'Browser link'], data)
|
33
34
|
) unless parsed_data['response'].empty?
|
34
35
|
|
35
36
|
end
|
data/lib/spurious/version.rb
CHANGED
data/spurious.gemspec
CHANGED
@@ -18,9 +18,6 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_runtime_dependency "docker"
|
22
|
-
spec.add_runtime_dependency "docker-api"
|
23
|
-
|
24
21
|
spec.add_development_dependency "bundler", "~> 1.5"
|
25
22
|
spec.add_development_dependency "rake"
|
26
23
|
spec.add_development_dependency "rspec"
|
data/tools/install.sh
CHANGED
@@ -80,5 +80,5 @@ echo '[install] Starting spurious'
|
|
80
80
|
spurious start
|
81
81
|
echo '\n----------------------'
|
82
82
|
echo 'Installation complete'
|
83
|
-
echo '\nPlease add the following export to
|
83
|
+
echo '\nPlease add the following export to your ~/.bashrc or ~/.zshrc:'
|
84
84
|
echo "\nexport DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375"
|
metadata
CHANGED
@@ -1,43 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spurious
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Jack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: docker
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - '>='
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: docker-api
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
13
|
- !ruby/object:Gem::Dependency
|
42
14
|
name: bundler
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|