logstash-output-s3-leprechaun-fork 1.0.4 → 1.0.5
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.
- checksums.yaml +4 -4
- data/lib/logstash/outputs/s3.rb +2 -1
- data/logstash-output-s3.gemspec +1 -1
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 7e201636920335a1c99efe77bcceae337711fc3a
         | 
| 4 | 
            +
              data.tar.gz: c61ce72241e93c34688591c661a75ef543558e1b
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 36438a8cfd5b3a7b20ea5f99319a789017903a768a353ebe9a8f5e245c24fc593380c6b7957d00e649907b9c1f2c531b35499821697fc02f8ed7852f3e47f7fb
         | 
| 7 | 
            +
              data.tar.gz: 9fc2d63e2e99bd70bf9d857d5f67aba341c247ddc09bd83d74d065991f6ce83270214e6cc49ebd3b99d89b8f644fd4503aa2587faa9fca177dcf1820c2fe9efb
         | 
    
        data/lib/logstash/outputs/s3.rb
    CHANGED
    
    | @@ -155,13 +155,14 @@ class LogStash::Outputs::S3 < LogStash::Outputs::Base | |
| 155 155 | 
             
                    # prepare for write the file
         | 
| 156 156 | 
             
                    object = bucket.objects[remote_filename]
         | 
| 157 157 | 
             
                    object.write(fileIO, :acl => @canned_acl)
         | 
| 158 | 
            -
            				File.delete(file)
         | 
| 159 158 | 
             
                  rescue AWS::Errors::Base => error
         | 
| 160 159 | 
             
                    @logger.error("S3: AWS error", :error => error)
         | 
| 161 160 | 
             
                    raise LogStash::Error, "AWS Configuration Error, #{error}"
         | 
| 162 161 | 
             
                  end
         | 
| 163 162 | 
             
                end
         | 
| 164 163 |  | 
| 164 | 
            +
            		File.delete(file)
         | 
| 165 | 
            +
             | 
| 165 166 | 
             
                @logger.debug("S3: has written remote file in bucket with canned ACL", :remote_filename => remote_filename, :bucket  => @bucket, :canned_acl => @canned_acl)
         | 
| 166 167 | 
             
              end
         | 
| 167 168 |  | 
    
        data/logstash-output-s3.gemspec
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            Gem::Specification.new do |s|
         | 
| 2 2 |  | 
| 3 3 | 
             
              s.name            = 'logstash-output-s3-leprechaun-fork'
         | 
| 4 | 
            -
              s.version         = '1.0. | 
| 4 | 
            +
              s.version         = '1.0.5'
         | 
| 5 5 | 
             
              s.licenses        = ['Apache License (2.0)']
         | 
| 6 6 | 
             
              s.summary         = "This plugin was created for store the logstash's events into Amazon Simple Storage Service (Amazon S3)"
         | 
| 7 7 | 
             
              s.description     = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
         |