mono_matrix 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f6eebc2ff296aa2a615fdec0b8d97bfd7d1107f
4
- data.tar.gz: 0c7f57ccfe65cd46d5d1636db88fd120995fa2ed
3
+ metadata.gz: bd78ce8e718969564363734905fb4093e7ffb5fb
4
+ data.tar.gz: 91be26f97ac92630483f3d06957fc30588a3cf76
5
5
  SHA512:
6
- metadata.gz: 4db0fa23b91543c8e4f73288a0ebd2c487d4dce23351d41b622d1fcdddc7899e72aa1b33cc128624d53f1bbe1b23e1574a4bc43a5764ba2a8f8cd76fc997be28
7
- data.tar.gz: 95679ba07cb72481b3775a52f32fb4c7f178b3e6f3263351a10aaa5e6f836faf615012a9dee95d12a966c8fb15189f39e593f5e128ca84fff928abda0b93d85f
6
+ metadata.gz: 82a46e12918880d7e2d7fb7ab7d4dee751149b9a025bb089e0b111f98260b8c4ac58b0a40f4333a789415c0f496dbf3a3743d532157d4fab0838bf79edd15156
7
+ data.tar.gz: 7d4b48d9ec8b63ee79f9af3e9f83b09e0fd08c3ac22ee394c26fc5de72f551e14305c3d8265fc26c1a8f7444bffea6e7c9d2f38992e582dcc7b123d490ef25f7
data/.gitignore ADDED
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in mono_matrix.gemspec
4
+ gemspec
5
+
6
+ gem 'rake'
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 defektive
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # mono_matrix
2
+
3
+ A simple way to control your Monoprice HDX 4x2 Switcher/Splitter
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'monoprice_matrix'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install monoprice_matrix
18
+
19
+ ## Usage
20
+
21
+ ```
22
+
23
+ matrix = MonoMatrix.new "/dev/ttyUSB0"
24
+
25
+ # set output A to use input 1
26
+ matrix.switch "A", 1
27
+ ```
28
+
29
+ ## Contributing
30
+
31
+ 1. Fork it ( https://github.com/defektive/mono_matrix/fork )
32
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
33
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
34
+ 4. Push to the branch (`git push origin my-new-feature`)
35
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,3 @@
1
+ module MonoMatrix
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,21 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+ require "mono_matrix/version"
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = 'mono_matrix'
6
+ s.version = MonoMatrix::VERSION
7
+ s.date = '2014-11-26'
8
+ s.summary = "Control monoprice 4x2 swithcer/splitter via serial"
9
+ s.description = "A simple way to control your Monoprice 4x2 HDX***"
10
+ s.authors = ["defektive"]
11
+ s.email = 'sirbradleyd@gmail.com'
12
+ s.homepage = 'http://rubygems.org/gems/mono_matrix'
13
+ s.license = 'MIT'
14
+
15
+ s.files = `git ls-files`.split("\n")
16
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
+ s.require_paths = ["lib"]
19
+
20
+ s.add_runtime_dependency "serialport", '~> 1.3', '>= 1.3.1'
21
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mono_matrix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - defektive
@@ -36,7 +36,14 @@ executables: []
36
36
  extensions: []
37
37
  extra_rdoc_files: []
38
38
  files:
39
+ - ".gitignore"
40
+ - Gemfile
41
+ - LICENSE.txt
42
+ - README.md
43
+ - Rakefile
39
44
  - lib/mono_matrix.rb
45
+ - lib/mono_matrix/version.rb
46
+ - mono_matrix.gemspec
40
47
  homepage: http://rubygems.org/gems/mono_matrix
41
48
  licenses:
42
49
  - MIT