alphasign 0.1.0 → 0.1.1
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.
- data/README.rdoc +8 -8
 - data/VERSION +1 -1
 - data/alphasign.gemspec +70 -0
 - metadata +4 -3
 
    
        data/README.rdoc
    CHANGED
    
    | 
         @@ -6,14 +6,14 @@ to work. 
     | 
|
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            == Example code
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
            #!/usr/bin/env ruby
         
     | 
| 
       10 
     | 
    
         
            -
            require 'rubygems'
         
     | 
| 
       11 
     | 
    
         
            -
            require 'alphasign'
         
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
            #specify serial port
         
     | 
| 
       14 
     | 
    
         
            -
            sign=AlphaSign.new('/dev/ttyS0')
         
     | 
| 
       15 
     | 
    
         
            -
            #write text to sign
         
     | 
| 
       16 
     | 
    
         
            -
            sign.write("foo")
         
     | 
| 
      
 9 
     | 
    
         
            +
               #!/usr/bin/env ruby
         
     | 
| 
      
 10 
     | 
    
         
            +
               require 'rubygems'
         
     | 
| 
      
 11 
     | 
    
         
            +
               require 'alphasign'
         
     | 
| 
      
 12 
     | 
    
         
            +
               
         
     | 
| 
      
 13 
     | 
    
         
            +
               #specify serial port
         
     | 
| 
      
 14 
     | 
    
         
            +
               sign=AlphaSign.new('/dev/ttyS0')
         
     | 
| 
      
 15 
     | 
    
         
            +
               #write text to sign
         
     | 
| 
      
 16 
     | 
    
         
            +
               sign.write("foo")
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
19 
     | 
    
         
             
            == Contributing to alphasign
         
     | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            0.1. 
     | 
| 
      
 1 
     | 
    
         
            +
            0.1.1
         
     | 
    
        data/alphasign.gemspec
    ADDED
    
    | 
         @@ -0,0 +1,70 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Generated by jeweler
         
     | 
| 
      
 2 
     | 
    
         
            +
            # DO NOT EDIT THIS FILE DIRECTLY
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
         
     | 
| 
      
 4 
     | 
    
         
            +
            # -*- encoding: utf-8 -*-
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            Gem::Specification.new do |s|
         
     | 
| 
      
 7 
     | 
    
         
            +
              s.name = %q{alphasign}
         
     | 
| 
      
 8 
     | 
    
         
            +
              s.version = "0.1.1"
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         
     | 
| 
      
 11 
     | 
    
         
            +
              s.authors = ["Jon Proulx"]
         
     | 
| 
      
 12 
     | 
    
         
            +
              s.date = %q{2012-03-05}
         
     | 
| 
      
 13 
     | 
    
         
            +
              s.description = %q{Alphasign is handles communication with LED signs using the Alpha Sign Protocol. 
         
     | 
| 
      
 14 
     | 
    
         
            +
            These include Alpha signs  and  Betabrite signs by Adaptive Micro Systems, maybe 
         
     | 
| 
      
 15 
     | 
    
         
            +
            others too, YMMV. 
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            Initial release only handles writing text to the sign over rs232 serial port.  
         
     | 
| 
      
 18 
     | 
    
         
            +
            }
         
     | 
| 
      
 19 
     | 
    
         
            +
              s.email = %q{jon@jonproulx.com}
         
     | 
| 
      
 20 
     | 
    
         
            +
              s.extra_rdoc_files = [
         
     | 
| 
      
 21 
     | 
    
         
            +
                "LICENSE.txt",
         
     | 
| 
      
 22 
     | 
    
         
            +
                "README.rdoc"
         
     | 
| 
      
 23 
     | 
    
         
            +
              ]
         
     | 
| 
      
 24 
     | 
    
         
            +
              s.files = [
         
     | 
| 
      
 25 
     | 
    
         
            +
                ".document",
         
     | 
| 
      
 26 
     | 
    
         
            +
                "Gemfile",
         
     | 
| 
      
 27 
     | 
    
         
            +
                "LICENSE.txt",
         
     | 
| 
      
 28 
     | 
    
         
            +
                "README.rdoc",
         
     | 
| 
      
 29 
     | 
    
         
            +
                "Rakefile",
         
     | 
| 
      
 30 
     | 
    
         
            +
                "VERSION",
         
     | 
| 
      
 31 
     | 
    
         
            +
                "alphasign.gemspec",
         
     | 
| 
      
 32 
     | 
    
         
            +
                "lib/alphasign.rb",
         
     | 
| 
      
 33 
     | 
    
         
            +
                "test/helper.rb",
         
     | 
| 
      
 34 
     | 
    
         
            +
                "test/test_alphasign.rb"
         
     | 
| 
      
 35 
     | 
    
         
            +
              ]
         
     | 
| 
      
 36 
     | 
    
         
            +
              s.homepage = %q{http://github.com/jon-proulx/alphasign}
         
     | 
| 
      
 37 
     | 
    
         
            +
              s.licenses = ["MIT"]
         
     | 
| 
      
 38 
     | 
    
         
            +
              s.require_paths = ["lib"]
         
     | 
| 
      
 39 
     | 
    
         
            +
              s.rubygems_version = %q{1.3.7}
         
     | 
| 
      
 40 
     | 
    
         
            +
              s.summary = %q{A gem for communicating with LED signs using Alpha Sign Protocol}
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
              if s.respond_to? :specification_version then
         
     | 
| 
      
 43 
     | 
    
         
            +
                current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
         
     | 
| 
      
 44 
     | 
    
         
            +
                s.specification_version = 3
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
                if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
         
     | 
| 
      
 47 
     | 
    
         
            +
                  s.add_runtime_dependency(%q<serialport>, ["~> 1.0"])
         
     | 
| 
      
 48 
     | 
    
         
            +
                  s.add_development_dependency(%q<shoulda>, [">= 0"])
         
     | 
| 
      
 49 
     | 
    
         
            +
                  s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
         
     | 
| 
      
 50 
     | 
    
         
            +
                  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
         
     | 
| 
      
 51 
     | 
    
         
            +
                  s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
         
     | 
| 
      
 52 
     | 
    
         
            +
                  s.add_development_dependency(%q<rcov>, [">= 0"])
         
     | 
| 
      
 53 
     | 
    
         
            +
                else
         
     | 
| 
      
 54 
     | 
    
         
            +
                  s.add_dependency(%q<serialport>, ["~> 1.0"])
         
     | 
| 
      
 55 
     | 
    
         
            +
                  s.add_dependency(%q<shoulda>, [">= 0"])
         
     | 
| 
      
 56 
     | 
    
         
            +
                  s.add_dependency(%q<rdoc>, ["~> 3.12"])
         
     | 
| 
      
 57 
     | 
    
         
            +
                  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
         
     | 
| 
      
 58 
     | 
    
         
            +
                  s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
         
     | 
| 
      
 59 
     | 
    
         
            +
                  s.add_dependency(%q<rcov>, [">= 0"])
         
     | 
| 
      
 60 
     | 
    
         
            +
                end
         
     | 
| 
      
 61 
     | 
    
         
            +
              else
         
     | 
| 
      
 62 
     | 
    
         
            +
                s.add_dependency(%q<serialport>, ["~> 1.0"])
         
     | 
| 
      
 63 
     | 
    
         
            +
                s.add_dependency(%q<shoulda>, [">= 0"])
         
     | 
| 
      
 64 
     | 
    
         
            +
                s.add_dependency(%q<rdoc>, ["~> 3.12"])
         
     | 
| 
      
 65 
     | 
    
         
            +
                s.add_dependency(%q<bundler>, ["~> 1.0.0"])
         
     | 
| 
      
 66 
     | 
    
         
            +
                s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
         
     | 
| 
      
 67 
     | 
    
         
            +
                s.add_dependency(%q<rcov>, [">= 0"])
         
     | 
| 
      
 68 
     | 
    
         
            +
              end
         
     | 
| 
      
 69 
     | 
    
         
            +
            end
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: alphasign
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 25
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 0
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 1
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 0.1. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 1
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 0.1.1
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - Jon Proulx
         
     | 
| 
         @@ -130,6 +130,7 @@ files: 
     | 
|
| 
       130 
130 
     | 
    
         
             
            - README.rdoc
         
     | 
| 
       131 
131 
     | 
    
         
             
            - Rakefile
         
     | 
| 
       132 
132 
     | 
    
         
             
            - VERSION
         
     | 
| 
      
 133 
     | 
    
         
            +
            - alphasign.gemspec
         
     | 
| 
       133 
134 
     | 
    
         
             
            - lib/alphasign.rb
         
     | 
| 
       134 
135 
     | 
    
         
             
            - test/helper.rb
         
     | 
| 
       135 
136 
     | 
    
         
             
            - test/test_alphasign.rb
         
     |