cmux 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Cmux
2
2
 
3
- TODO: Write a gem description
3
+ Ruby binding for the [smartkiosk modem multiplexer daemon](https://github.com/smartkiosk/cmux).
4
4
 
5
5
  ## Installation
6
6
 
data/cmux.gemspec CHANGED
@@ -5,8 +5,8 @@ Gem::Specification.new do |gem|
5
5
  gem.authors = ["Sergey Gridasov"]
6
6
  gem.email = ["grindars@gmail.com"]
7
7
  gem.description = %q{Ruby bindings for CMUX, GSM 07.10 multiplexer}
8
- gem.summary = %q{Ruby bindings for CMUX, GSM 07.10 multiplexer}
9
- gem.homepage = ""
8
+ gem.summary = gem.description
9
+ gem.homepage = "https://github.com/smartkiosk/ruby-cmux"
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
12
12
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
data/lib/cmux/library.rb CHANGED
@@ -8,12 +8,12 @@ module CMUX
8
8
  attach_function :cmux_create, [ :buffer_out ], :pointer
9
9
  attach_function :cmux_destroy, [ :pointer ], :void
10
10
  attach_function :cmux_error, [ :pointer ], :string
11
- attach_function :cmux_open, [ :pointer, :string ], :int
12
- attach_function :cmux_activate, [ :pointer ], :int
13
- attach_function :cmux_open_port, [ :pointer, :int, :buffer_out ], :int
14
- attach_function :cmux_close_port, [ :pointer, :int ], :int
11
+ attach_function :cmux_open, [ :pointer, :string ], :int, :blocking => true
12
+ attach_function :cmux_activate, [ :pointer ], :int, :blocking => true
13
+ attach_function :cmux_open_port, [ :pointer, :int, :buffer_out ], :int, :blocking => true
14
+ attach_function :cmux_close_port, [ :pointer, :int ], :int, :blocking => true
15
15
  attach_function :cmux_free, [ :pointer ], :void
16
- attach_function :cmux_open_device, [ :string, :buffer_out ], :int
16
+ attach_function :cmux_open_device, [ :string, :buffer_out ], :int, :blocking => true
17
17
  end
18
18
 
19
19
  end
data/lib/cmux/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CMUX
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-12 00:00:00.000000000 Z
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
@@ -50,7 +50,7 @@ files:
50
50
  - lib/cmux/modem_command_response.rb
51
51
  - lib/cmux/mux.rb
52
52
  - lib/cmux/version.rb
53
- homepage: ''
53
+ homepage: https://github.com/smartkiosk/ruby-cmux
54
54
  licenses: []
55
55
  post_install_message:
56
56
  rdoc_options: []