pipe2me-client 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NGMyZmM3MTk0ZDU5NDA5ODA0ZTU3MTdmZTAwOWJiNjVkZGFkMGMyNA==
5
- data.tar.gz: !binary |-
6
- Y2UzNjAyNDRhYjBkZTc3OGJkNmFkMTQ3NGY2YzBhNDU5ZDMzZTQyZg==
2
+ SHA1:
3
+ metadata.gz: 71cfcc29f990f49ac4d582ac7e5a0fec29609b4b
4
+ data.tar.gz: 5206e3d47daab2b837f269c6805ef53507d8da96
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NDNiM2QwNjU5YmFmYjYzMmZlZjk3OGNmM2I5MThiOGYxMWQxMmQxMzNhMTRm
10
- ZGIyZGVmNGY3ZTI0YmRhNDQxNmFkNGQ5NTA5MTUzOTM5OWEzOGRlY2VlNzI4
11
- ZWZkZWNjMzc5NzVkOGE0OTk5MzRjY2I2OWY1MjlkM2VkZDY1NTA=
12
- data.tar.gz: !binary |-
13
- OWRkM2Q4ODVlYjE5NzkxOTk4MGE3MmFjOTRmZjJkNDUxNzI2YjIzMTcyMTZk
14
- YmExOTE4NzExMjdlYzVkZjdlYmRlYTU3NmJiMDRjYmZjOTcxMGZkOGVmY2Fh
15
- MmZkMTk1NDFkZDllYWI5ZmI0NWRjN2Y1NjQ4NzBjZmE1M2IxNGU=
6
+ metadata.gz: 9555f2ed3fcba140155952c61cae0f8e2d350c9a8d37a92bc4ee1547f30b84ef5c7507eb96788842a6f7629540ba13fbf71f473a1ea2800c2aef0ebb56a62298
7
+ data.tar.gz: ba20d81d7fee9e96198d7f46a3c82960a2cba40b965b9ec6584a167451e9f902fe517b8ccc9fc6546ae42a7b602c798328bc65bc8bd178b42a0805aafd644437
@@ -30,7 +30,7 @@ two services on localhost (http on port 9090, https on port 9091).
30
30
 
31
31
  <pre>
32
32
  # Setup tunnels. This responds with the domain name
33
- &gt; <b>./bin/pipe2me setup --protocols p http,https \
33
+ &gt; <b>pipe2me setup --protocols http,https \
34
34
  --server http://test.pipe2.me:8080 \
35
35
  --token review@pipe2me --ports 9090,9091</b>
36
36
  pretty-ivory-horse.test.pipe2.me
@@ -41,7 +41,7 @@ PIPE2ME_URLS_0=http://pretty-ivory-horse.test.pipe2.me:10003
41
41
  PIPE2ME_URLS_1=https://pretty-ivory-horse.test.pipe2.me:10004
42
42
 
43
43
  # Start the tunnels via foreman (but please review on using foreman)
44
- &gt; <b>/bin/pipe2me start</b>
44
+ &gt; <b>pipe2me start</b>
45
45
  </pre>
46
46
 
47
47
  See also the [example session](http://test.pipe2.me/example_session.html)
data/lib/pipe2me/cli.rb CHANGED
@@ -71,4 +71,11 @@ class Pipe2me::CLI < Thor
71
71
 
72
72
  Pipe2me::Tunnel.update
73
73
  end
74
+
75
+ desc "check", "check online status"
76
+ def check
77
+ handle_global_options
78
+
79
+ Pipe2me::Tunnel.check
80
+ end
74
81
  end
@@ -68,6 +68,11 @@ module Pipe2me::Tunnel
68
68
  HTTP.get! "#{url}/verify"
69
69
  puts config.fqdn
70
70
  end
71
+
72
+ def check
73
+ r = HTTP.get! "#{url}/check"
74
+ puts r
75
+ end
71
76
 
72
77
  def update
73
78
  unless File.exists?(SSH_PRIVKEY)
@@ -1,4 +1,4 @@
1
1
  module Pipe2me
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  BANNER = "pipe2me command line client V#{Pipe2me::VERSION}; (c) The kink team, 2013, 2014."
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipe2me-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel
@@ -14,66 +14,66 @@ dependencies:
14
14
  name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thor
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: foreman
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: simple-ui
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: pipe2me command line client V0.2.5; (c) The kink team, 2013, 2014.
69
+ description: pipe2me command line client V0.2.6; (c) The kink team, 2013, 2014.
70
70
  email: contact@kinko.me
71
71
  executables:
72
72
  - pipe2me
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - README.mdown
76
+ - README.md
77
77
  - bin/pipe2me
78
78
  - bin/pipe2med
79
79
  - lib/pipe2me.rb
@@ -118,12 +118,12 @@ require_paths:
118
118
  - lib
119
119
  required_ruby_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - ! '>='
121
+ - - '>='
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ! '>='
126
+ - - '>='
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
@@ -131,5 +131,5 @@ rubyforge_project:
131
131
  rubygems_version: 2.2.1
132
132
  signing_key:
133
133
  specification_version: 4
134
- summary: pipe2me command line client V0.2.5; (c) The kink team, 2013, 2014.
134
+ summary: pipe2me command line client V0.2.6; (c) The kink team, 2013, 2014.
135
135
  test_files: []