hsp 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hsp.gemspec +1 -0
- data/lib/hsp/cli.rb +5 -0
- data/lib/hsp/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdf73e78760e33285080090229fafdc084d895e2
|
4
|
+
data.tar.gz: 6ee010aa17feb659ffbfb25479ab257246057f5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 192278c63d373846fac8feb27eefc94fd640b9965687b6c29a586bd87cdd84f42ac84d9de003533e20aa573027a0fee782904eb84d7cd80307be82ad8bb4c183
|
7
|
+
data.tar.gz: 261082d46cc952f02dc4a2776981871745986d2f415ad5fc0fda81fcd351f2624d17f5b8d7aaca12bb7cd16ddba35d48b2fd703ba1b69c3b4b1e0ba04e32a8c1
|
data/hsp.gemspec
CHANGED
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_dependency "httparty", '>= 0.14.0'
|
25
25
|
spec.add_dependency "space_elevator", '>= 0.2.0'
|
26
26
|
spec.add_dependency "docker-api", '>= 1.33.2'
|
27
|
+
spec.add_dependency "eventmachine", '>= 1.2.3'
|
27
28
|
|
28
29
|
spec.add_development_dependency "bundler", "~> 1.14"
|
29
30
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/hsp/cli.rb
CHANGED
@@ -49,6 +49,11 @@ module Hsp
|
|
49
49
|
agent = Hsp::Agent.new(m, Hsp::Orchestrator::Docker.new, options[:platform_id], options[:platform_secret]) # TODO: Make agnostic to orchestration platform
|
50
50
|
agent.run(options[:platform_id], !!options[:show_pings])
|
51
51
|
end
|
52
|
+
|
53
|
+
desc 'version', 'Prints the client version number.'
|
54
|
+
def version
|
55
|
+
puts Hsp::VERSION
|
56
|
+
end
|
52
57
|
end
|
53
58
|
end
|
54
59
|
end
|
data/lib/hsp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hsp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Preston Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.33.2
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: eventmachine
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.2.3
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.2.3
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: bundler
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|