pipe2me-client 0.2.4 → 0.2.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3a009fe77ae2b8d681d0424c93b2d6102e3e4381
4
- data.tar.gz: 70a60b699c148d9223685ef7a0f6f05c9c52d2df
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NGMyZmM3MTk0ZDU5NDA5ODA0ZTU3MTdmZTAwOWJiNjVkZGFkMGMyNA==
5
+ data.tar.gz: !binary |-
6
+ Y2UzNjAyNDRhYjBkZTc3OGJkNmFkMTQ3NGY2YzBhNDU5ZDMzZTQyZg==
5
7
  SHA512:
6
- metadata.gz: 291f0bf6ad7946006b983d12cb8af281fa60e0ad72b195d4a5f6d2b519f28a65746c684a61aacf32c1f6727e4835c8e6a4d0babe108f1d65522c779f65f72df5
7
- data.tar.gz: 216b17a55e96a6b4e3a1cc56b6ea5f40cfeaae3707b0f78245b708b9d4c877097be3820ef0d7867a9e37604686ff35eaddf05fc01b241450b4c5d673ad0cb395
8
+ metadata.gz: !binary |-
9
+ NDNiM2QwNjU5YmFmYjYzMmZlZjk3OGNmM2I5MThiOGYxMWQxMmQxMzNhMTRm
10
+ ZGIyZGVmNGY3ZTI0YmRhNDQxNmFkNGQ5NTA5MTUzOTM5OWEzOGRlY2VlNzI4
11
+ ZWZkZWNjMzc5NzVkOGE0OTk5MzRjY2I2OWY1MjlkM2VkZDY1NTA=
12
+ data.tar.gz: !binary |-
13
+ OWRkM2Q4ODVlYjE5NzkxOTk4MGE3MmFjOTRmZjJkNDUxNzI2YjIzMTcyMTZk
14
+ YmExOTE4NzExMjdlYzVkZjdlYmRlYTU3NmJiMDRjYmZjOTcxMGZkOGVmY2Fh
15
+ MmZkMTk1NDFkZDllYWI5ZmI0NWRjN2Y1NjQ4NzBjZmE1M2IxNGU=
data/README.mdown CHANGED
@@ -7,26 +7,42 @@ see [pipe2me](https://github.com/kinko/pipe2me)
7
7
 
8
8
  ## Installation
9
9
 
10
+ The pipe2me-client works with ruby 2.0. It might work with older rubies also.
11
+ To install it run
12
+
10
13
  gem install pipe2me-client
11
14
  # optional: install man page
12
15
  sudo cp doc/pipe2me.1 /usr/local/share/man/man1
13
16
 
17
+ If you are managing a box with a system-wide ruby installation you must install
18
+ it via
19
+
20
+ sudo gem install pipe2me-client
21
+
22
+ Verify the installation with
23
+
24
+ which pipe2me
25
+
14
26
  ## Usage
15
27
 
16
28
  Mini-example: This registers two tunnels with a single hostname for
17
29
  two services on localhost (http on port 9090, https on port 9091).
18
30
 
19
- # Setup tunnels. This responds with the domain name
20
- > ./bin/pipe2me setup -p http,https --server http://test.pipe2.me:8080 --token review@pipe2me --ports 9090,9091
21
- pretty-ivory-horse.test.pipe2.me
22
-
23
- # Review the assigned URLs:
24
- > cat pipe2me.info.inc | grep URL
25
- PIPE2ME_URLS_0=http://pretty-ivory-horse.test.pipe2.me:10003
26
- PIPE2ME_URLS_1=https://pretty-ivory-horse.test.pipe2.me:10004
27
-
28
- # Start the tunnels via foreman (but please review on using foreman)
29
- > /bin/pipe2me start
31
+ <pre>
32
+ # Setup tunnels. This responds with the domain name
33
+ &gt; <b>./bin/pipe2me setup --protocols p http,https \
34
+ --server http://test.pipe2.me:8080 \
35
+ --token review@pipe2me --ports 9090,9091</b>
36
+ pretty-ivory-horse.test.pipe2.me
37
+
38
+ # Review the assigned URLs:
39
+ &gt; <b>cat pipe2me.info.inc | grep URL</b>
40
+ PIPE2ME_URLS_0=http://pretty-ivory-horse.test.pipe2.me:10003
41
+ PIPE2ME_URLS_1=https://pretty-ivory-horse.test.pipe2.me:10004
42
+
43
+ # Start the tunnels via foreman (but please review on using foreman)
44
+ &gt; <b>/bin/pipe2me start</b>
45
+ </pre>
30
46
 
31
47
  See also the [example session](http://test.pipe2.me/example_session.html)
32
48
  and the [man page](http://test.pipe2.me/pipe2me.1.html).
@@ -62,7 +62,7 @@ module Pipe2me::ShellFormat
62
62
  if obj.respond_to?(:attributes)
63
63
  format_entries(ary, obj.attributes, prefix)
64
64
  else
65
- ary << "#{PREFIX}_#{prefix}=#{Shellwords.escape(obj)}\n"
65
+ ary << "#{PREFIX}_#{prefix}=#{Shellwords.escape(obj.to_s)}\n"
66
66
  end
67
67
  end
68
68
  end
@@ -1,4 +1,4 @@
1
1
  module Pipe2me
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  BANNER = "pipe2me command line client V#{Pipe2me::VERSION}; (c) The kink team, 2013, 2014."
4
4
  end
metadata CHANGED
@@ -1,72 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipe2me-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-21 00:00:00.000000000 Z
11
+ date: 2014-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
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.4; (c) The kink team, 2013, 2014.
69
+ description: pipe2me command line client V0.2.5; (c) The kink team, 2013, 2014.
70
70
  email: contact@kinko.me
71
71
  executables:
72
72
  - pipe2me
@@ -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.4; (c) The kink team, 2013, 2014.
134
+ summary: pipe2me command line client V0.2.5; (c) The kink team, 2013, 2014.
135
135
  test_files: []