logging-remote-syslog 0.0.1 → 0.0.2
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.md +4 -4
- data/lib/logging/VERSION +1 -1
- data/logging-remote-syslog.gemspec +1 -1
- metadata +16 -16
    
        data/README.md
    CHANGED
    
    | @@ -5,17 +5,17 @@ logging/remote-syslog is a remote syslog appender for use with the Logging libra | |
| 5 5 | 
             
            ## Installation
         | 
| 6 6 |  | 
| 7 7 | 
             
            Add this line to your application's Gemfile:
         | 
| 8 | 
            -
                ``` | 
| 9 | 
            -
                gem 'logging-remote-syslog'
         | 
| 8 | 
            +
                ```
         | 
| 9 | 
            +
                gem 'logging-remote-syslog', :require => 'logging/remote-syslog'
         | 
| 10 10 | 
             
                ```
         | 
| 11 11 |  | 
| 12 12 | 
             
            And then execute:
         | 
| 13 | 
            -
                ``` | 
| 13 | 
            +
                ```
         | 
| 14 14 | 
             
                $ bundle
         | 
| 15 15 | 
             
                ```
         | 
| 16 16 |  | 
| 17 17 | 
             
            Or install it yourself as:
         | 
| 18 | 
            -
                ``` | 
| 18 | 
            +
                ```
         | 
| 19 19 | 
             
                $ gem install logging-remote-syslog
         | 
| 20 20 | 
             
                ```
         | 
| 21 21 |  | 
    
        data/lib/logging/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.0. | 
| 1 | 
            +
            0.0.2
         | 
| @@ -31,7 +31,7 @@ Gem::Specification.new do |gem| | |
| 31 31 | 
             
              gem.version       = File.read('./lib/logging/VERSION')
         | 
| 32 32 | 
             
              gem.license       = 'MIT'
         | 
| 33 33 |  | 
| 34 | 
            -
              gem.add_runtime_dependency 'logging', '>= 1. | 
| 34 | 
            +
              gem.add_runtime_dependency 'logging', '>= 1.6.1'
         | 
| 35 35 | 
             
              gem.add_runtime_dependency 'remote_syslog_logger', '>= 1.0.3'
         | 
| 36 36 |  | 
| 37 37 | 
             
              gem.add_development_dependency 'rspec', '>= 2.10.0'
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: logging-remote-syslog
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.2
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -10,7 +10,7 @@ authors: | |
| 10 10 | 
             
            autorequire: 
         | 
| 11 11 | 
             
            bindir: bin
         | 
| 12 12 | 
             
            cert_chain: []
         | 
| 13 | 
            -
            date: 2012- | 
| 13 | 
            +
            date: 2012-09-10 00:00:00.000000000 Z
         | 
| 14 14 | 
             
            dependencies:
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 16 16 | 
             
              name: logging
         | 
| @@ -19,7 +19,7 @@ dependencies: | |
| 19 19 | 
             
                requirements:
         | 
| 20 20 | 
             
                - - ! '>='
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            -
                    version: 1. | 
| 22 | 
            +
                    version: 1.6.1
         | 
| 23 23 | 
             
              type: :runtime
         | 
| 24 24 | 
             
              prerelease: false
         | 
| 25 25 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| @@ -27,7 +27,7 @@ dependencies: | |
| 27 27 | 
             
                requirements:
         | 
| 28 28 | 
             
                - - ! '>='
         | 
| 29 29 | 
             
                  - !ruby/object:Gem::Version
         | 
| 30 | 
            -
                    version: 1. | 
| 30 | 
            +
                    version: 1.6.1
         | 
| 31 31 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 32 32 | 
             
              name: remote_syslog_logger
         | 
| 33 33 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -128,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 128 128 | 
             
                  version: '0'
         | 
| 129 129 | 
             
                  segments:
         | 
| 130 130 | 
             
                  - 0
         | 
| 131 | 
            -
                  hash:  | 
| 131 | 
            +
                  hash: -548630293410583462
         | 
| 132 132 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 133 133 | 
             
              none: false
         | 
| 134 134 | 
             
              requirements:
         | 
| @@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 137 137 | 
             
                  version: '0'
         | 
| 138 138 | 
             
                  segments:
         | 
| 139 139 | 
             
                  - 0
         | 
| 140 | 
            -
                  hash:  | 
| 140 | 
            +
                  hash: -548630293410583462
         | 
| 141 141 | 
             
            requirements: []
         | 
| 142 142 | 
             
            rubyforge_project: 
         | 
| 143 143 | 
             
            rubygems_version: 1.8.24
         | 
| @@ -145,16 +145,16 @@ signing_key: | |
| 145 145 | 
             
            specification_version: 3
         | 
| 146 146 | 
             
            summary: ! '# logging/remote-syslog  logging/remote-syslog is a remote syslog appender
         | 
| 147 147 | 
             
              for use with the Logging library.   ##
         | 
| 148 | 
            -
              Installation  Add this line to your application''s Gemfile: ``` | 
| 149 | 
            -
              ```  And then execute: ``` | 
| 150 | 
            -
              $ gem install logging-remote-syslog ```  ## Usage  ``` | 
| 151 | 
            -
              ''logging/remote-syslog''  logger = Logging.logger[''MyApp''] | 
| 152 | 
            -
              Logging.appenders.remote_syslog(ident, syslog_server: syslog_host, | 
| 153 | 
            -
              )  logger.level = :info logger.info ''MyApp Message''  ```  ## | 
| 154 | 
            -
              Contributing  1. Fork it 2. Create your feature branch (`git | 
| 155 | 
            -
              3. Write code and add _tests_ 4. Commit your changes | 
| 156 | 
            -
              feature''`) 5. Push to the branch (`git push origin | 
| 157 | 
            -
              Pull Request'
         | 
| 148 | 
            +
              Installation  Add this line to your application''s Gemfile: ``` gem ''logging-remote-syslog'',
         | 
| 149 | 
            +
              :require => ''logging/remote-syslog'' ```  And then execute: ``` $ bundle ```  Or
         | 
| 150 | 
            +
              install it yourself as: ``` $ gem install logging-remote-syslog ```  ## Usage  ```
         | 
| 151 | 
            +
              require ''logging'' require ''logging/remote-syslog''  logger = Logging.logger[''MyApp'']
         | 
| 152 | 
            +
              logger.add_appenders( Logging.appenders.remote_syslog(ident, syslog_server: syslog_host,
         | 
| 153 | 
            +
              port: syslog_port) )  logger.level = :info logger.info ''MyApp Message''  ```  ##
         | 
| 154 | 
            +
              Tests  ``` rake ```  ## Contributing  1. Fork it 2. Create your feature branch (`git
         | 
| 155 | 
            +
              checkout -b my-new-feature`) 3. Write code and add _tests_ 4. Commit your changes
         | 
| 156 | 
            +
              (`git commit -am ''Added some feature''`) 5. Push to the branch (`git push origin
         | 
| 157 | 
            +
              my-new-feature`) 6. Create new Pull Request'
         | 
| 158 158 | 
             
            test_files:
         | 
| 159 159 | 
             
            - spec/logging/appenders/remote_syslog_spec.rb
         | 
| 160 160 | 
             
            - spec/spec_helper.rb
         |