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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7270ed8a81a8fe9b5984c50cd9937c9e8d0c4e67
4
- data.tar.gz: 737f429e662bc5f739a8665c3f758bbe7129ed95
3
+ metadata.gz: 78ad4aa734e5df33865dc34bbefa959ce882d16b
4
+ data.tar.gz: 9ecaaa50a9d232f09b0090faa4f77387eb617b47
5
5
  SHA512:
6
- metadata.gz: e7b8de0f2bd5a3b8e13161c60659f898c37fccd113ebc5f9b90af7373824a0c9c83f012cb5f035082bf75797206e4f3b5fdd25d07260c868ec50668e5dfbbb6e
7
- data.tar.gz: 54de9fee9c573592941ecf1b6b11b0e58fe60a1c8ba247d4c8276142816b4c1b8f53cb922238d6b8665d1e74be042ab538d89b6b16261fdf008fdd03cef29047
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
@@ -1,3 +1,3 @@
1
1
  module Spurious
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -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"
@@ -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 you ~/.bashrc or ~/.zshrc:'
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.3.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: 2014-10-26 00:00:00.000000000 Z
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