screenxtv 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b10c48ab67fe6f03b2b27276e60e27fbef93f6aa
4
+ data.tar.gz: 5a147cee713002a87948ec54c0f33b6e1489c4a2
5
+ SHA512:
6
+ metadata.gz: a6b5581e1c09b7fbe420ce779a7be1aefde113f7daea2e5993dff3431ea83449cf8261841df98c58828ac7417e2afadd7992128890193730fa343a0e2ad15541
7
+ data.tar.gz: 60d06b905fa657e5676a55e68d52421e71cb2a9191004f0a469a98dea3f2b2951b54b7ae7f08e35ffe01203ff30f4ee82205481abec89cfdf4646a6ce2831b29
data/lib/screenxtv.rb CHANGED
@@ -7,6 +7,7 @@ require 'yaml'
7
7
  require 'optparse'
8
8
  require 'readline'
9
9
  require 'tempfile'
10
+ require 'screenxtv/version'
10
11
 
11
12
  if `which screen`.empty?
12
13
  print %(Warning: you don't have gnu screen in your machine.)
@@ -20,7 +21,7 @@ if `which screen`.empty?
20
21
  end
21
22
 
22
23
  def showVersion
23
- print "ScreenX TV Ruby Client 0.0.13\n" #is there any good way to do this?
24
+ print "ScreenX TV Ruby Client #{ScreenXTV::VERSION}\n" #is there any good way to do this?
24
25
  exit
25
26
  end
26
27
  def showHelp
@@ -329,10 +330,10 @@ Thread.new{
329
330
 
330
331
  begin
331
332
  ENV['LANG']='en_US.UTF-8'
332
-
333
+
333
334
  PTY::getpty *exec_cmd do |rr,ww|
334
335
  winsize=->{
335
- height,width=ww.winsize=rr.winsize=STDOUT.winsize
336
+ height,width=ww.winsize=rr.winsize=[*STDOUT.winsize.take(2),nil,nil]
336
337
  socket.send 'winch',{width:width,height:height}.to_json
337
338
  }
338
339
  winsize.call
@@ -0,0 +1,3 @@
1
+ module ScreenXTV
2
+ VERSION = '0.0.14'
3
+ end
metadata CHANGED
@@ -1,32 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: screenxtv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
5
- prerelease:
4
+ version: 0.0.14
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tomoya Ishida
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-26 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: json
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
11
+ date: 2017-01-07 00:00:00.000000000 Z
12
+ dependencies: []
30
13
  description: Software for broadcasting your terminal to http://screenx.tv/
31
14
  email: tomoyapenguin@gmail.com
32
15
  executables:
@@ -34,30 +17,30 @@ executables:
34
17
  extensions: []
35
18
  extra_rdoc_files: []
36
19
  files:
37
- - lib/screenxtv.rb
38
20
  - bin/screenxtv
21
+ - lib/screenxtv.rb
22
+ - lib/screenxtv/version.rb
39
23
  homepage: http://screenx.tv/
40
24
  licenses: []
25
+ metadata: {}
41
26
  post_install_message:
42
27
  rdoc_options: []
43
28
  require_paths:
44
29
  - lib
45
30
  required_ruby_version: !ruby/object:Gem::Requirement
46
- none: false
47
31
  requirements:
48
- - - ! '>='
32
+ - - ">="
49
33
  - !ruby/object:Gem::Version
50
34
  version: '0'
51
35
  required_rubygems_version: !ruby/object:Gem::Requirement
52
- none: false
53
36
  requirements:
54
- - - ! '>='
37
+ - - ">="
55
38
  - !ruby/object:Gem::Version
56
39
  version: '0'
57
40
  requirements: []
58
41
  rubyforge_project:
59
- rubygems_version: 1.8.24
42
+ rubygems_version: 2.6.8
60
43
  signing_key:
61
- specification_version: 3
44
+ specification_version: 4
62
45
  summary: ScreenX TV client
63
46
  test_files: []