logstash-filter-punct 0.1.0 → 0.1.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.
- checksums.yaml +5 -13
 - data/.gitignore +1 -0
 - data/Gemfile +3 -3
 - data/LICENSE +13 -0
 - data/Rakefile +2 -7
 - data/logstash-filter-punct.gemspec +6 -5
 - data/spec/filters/{punct.rb → punct_spec.rb} +2 -2
 - metadata +38 -27
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,15 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
              data.tar.gz: !binary |-
         
     | 
| 
       6 
     | 
    
         
            -
                Y2IzMzIyZGY1OTU4Y2M2MjI2YTY0Yzc2ZDhlZDUwMGVlNDZhZWU3Yw==
         
     | 
| 
      
 2 
     | 
    
         
            +
            SHA1:
         
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: b11aa7bc2854cef3920f88f2f7d50b09b26b5bbd
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: cad0ec9b33c84a619632ed37ef682e8d7a951945
         
     | 
| 
       7 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       8 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
                YWI0NzY3MzY5ZDc2MzMyM2U5MjU3MTg5MjVmNDlhOGVlYmViMmVmMzFlYmY1
         
     | 
| 
       11 
     | 
    
         
            -
                NTZkMmRiMzQyZWNmOTU1ZGU0YTQyMDEyNDljOTViMmU0ZjNiOWE=
         
     | 
| 
       12 
     | 
    
         
            -
              data.tar.gz: !binary |-
         
     | 
| 
       13 
     | 
    
         
            -
                NWUwNjg1NTAzNjc0MzZlMDk2OWRjOTAzMDhlMjg2YmJjMGY5OGYxZmE1YWMz
         
     | 
| 
       14 
     | 
    
         
            -
                MDA3ZDM2MjEzNzY0NDM5ZThjMzJiYTZlODU2NTgyNDQ3ZjJjNTNmNjA5MjJl
         
     | 
| 
       15 
     | 
    
         
            -
                YzUwZGZhYmNiYmNmNzk0YWI3NWJlOGExNjI1MzliNjMwMDM5NjA=
         
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 38263594cabffec26fb872d9a37c47486887820feda2a691557917c396240d29e699b9f8c3d8f53cbb1beca208785dcc6b453ad3fa7c9d28835847c649611e23
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: c8fcd61dbbac543d777c0201241895f4813a5c03a01d207c79cc868485f3ddc5f93662a2e5a5eaa832a05765bc2529d9f979b1d68c363adfeb34c8344d1d8705
         
     | 
    
        data/.gitignore
    CHANGED
    
    
    
        data/Gemfile
    CHANGED
    
    | 
         @@ -1,3 +1,3 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            source ' 
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            gem  
     | 
| 
      
 1 
     | 
    
         
            +
            source 'https://rubygems.org'
         
     | 
| 
      
 2 
     | 
    
         
            +
            gemspec
         
     | 
| 
      
 3 
     | 
    
         
            +
            gem "logstash", :github => "elasticsearch/logstash", :branch => "1.5"
         
     | 
    
        data/LICENSE
    ADDED
    
    | 
         @@ -0,0 +1,13 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            Copyright (c) 2012-2014 Elasticsearch <http://www.elasticsearch.org>
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            Licensed under the Apache License, Version 2.0 (the "License");
         
     | 
| 
      
 4 
     | 
    
         
            +
            you may not use this file except in compliance with the License.
         
     | 
| 
      
 5 
     | 
    
         
            +
            You may obtain a copy of the License at
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
                http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            Unless required by applicable law or agreed to in writing, software
         
     | 
| 
      
 10 
     | 
    
         
            +
            distributed under the License is distributed on an "AS IS" BASIS,
         
     | 
| 
      
 11 
     | 
    
         
            +
            WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         
     | 
| 
      
 12 
     | 
    
         
            +
            See the License for the specific language governing permissions and
         
     | 
| 
      
 13 
     | 
    
         
            +
            limitations under the License.
         
     | 
    
        data/Rakefile
    CHANGED
    
    | 
         @@ -1,12 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            desc "Publish gem to RubyGems.org"
         
     | 
| 
       4 
     | 
    
         
            -
            task :publish_gem do |t|
         
     | 
| 
       5 
     | 
    
         
            -
              gem = GemPublisher.publish_if_updated("logstash-filter-punct.gemspec", :rubygems)
         
     | 
| 
       6 
     | 
    
         
            -
              puts "Published #{gem}" if gem
         
     | 
| 
       7 
     | 
    
         
            -
            end
         
     | 
| 
      
 1 
     | 
    
         
            +
            @files=[]
         
     | 
| 
       8 
2 
     | 
    
         | 
| 
       9 
3 
     | 
    
         
             
            task :default do
         
     | 
| 
       10 
4 
     | 
    
         
             
              system("rake -T")
         
     | 
| 
       11 
5 
     | 
    
         
             
            end
         
     | 
| 
       12 
6 
     | 
    
         | 
| 
      
 7 
     | 
    
         
            +
            require "logstash/devutils/rake"
         
     | 
| 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
              s.name            = 'logstash-filter-punct'
         
     | 
| 
       4 
     | 
    
         
            -
              s.version         = '0.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              s.version         = '0.1.2'
         
     | 
| 
       5 
5 
     | 
    
         
             
              s.licenses        = ['Apache License (2.0)']
         
     | 
| 
       6 
6 
     | 
    
         
             
              s.summary         = "Strip everything but punctuation from a field and store the remainder in a separate field. This is often used for fingerprinting log events."
         
     | 
| 
       7 
     | 
    
         
            -
              s.description     = " 
     | 
| 
      
 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"
         
     | 
| 
       8 
8 
     | 
    
         
             
              s.authors         = ["Elasticsearch"]
         
     | 
| 
       9 
     | 
    
         
            -
              s.email           = ' 
     | 
| 
       10 
     | 
    
         
            -
              s.homepage        = "http://logstash. 
     | 
| 
      
 9 
     | 
    
         
            +
              s.email           = 'info@elasticsearch.com'
         
     | 
| 
      
 10 
     | 
    
         
            +
              s.homepage        = "http://www.elasticsearch.org/guide/en/logstash/current/index.html"
         
     | 
| 
       11 
11 
     | 
    
         
             
              s.require_paths = ["lib"]
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
              # Files
         
     | 
| 
         @@ -17,10 +17,11 @@ Gem::Specification.new do |s| 
     | 
|
| 
       17 
17 
     | 
    
         
             
              s.test_files = s.files.grep(%r{^(test|spec|features)/})
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
19 
     | 
    
         
             
              # Special flag to let us know this is actually a logstash plugin
         
     | 
| 
       20 
     | 
    
         
            -
              s.metadata = { "logstash_plugin" => "true", " 
     | 
| 
      
 20 
     | 
    
         
            +
              s.metadata = { "logstash_plugin" => "true", "logstash_group" => "filter" }
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
22 
     | 
    
         
             
              # Gem dependencies
         
     | 
| 
       23 
23 
     | 
    
         
             
              s.add_runtime_dependency 'logstash', '>= 1.4.0', '< 2.0.0'
         
     | 
| 
       24 
24 
     | 
    
         | 
| 
      
 25 
     | 
    
         
            +
              s.add_development_dependency 'logstash-devutils'
         
     | 
| 
       25 
26 
     | 
    
         
             
            end
         
     | 
| 
       26 
27 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,76 +1,87 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: logstash-filter-punct
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Elasticsearch
         
     | 
| 
       8 
     | 
    
         
            -
            autorequire: 
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2014- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2014-11-19 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: logstash
         
     | 
| 
      
 15 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 16 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 17 
     | 
    
         
            +
                - - '>='
         
     | 
| 
      
 18 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 19 
     | 
    
         
            +
                    version: 1.4.0
         
     | 
| 
      
 20 
     | 
    
         
            +
                - - <
         
     | 
| 
      
 21 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 22 
     | 
    
         
            +
                    version: 2.0.0
         
     | 
| 
       15 
23 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       16 
24 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
     | 
    
         
            -
                - -  
     | 
| 
      
 25 
     | 
    
         
            +
                - - '>='
         
     | 
| 
       18 
26 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version:  
     | 
| 
       20 
     | 
    
         
            -
                      MS40LjA=
         
     | 
| 
      
 27 
     | 
    
         
            +
                    version: 1.4.0
         
     | 
| 
       21 
28 
     | 
    
         
             
                - - <
         
     | 
| 
       22 
29 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       23 
30 
     | 
    
         
             
                    version: 2.0.0
         
     | 
| 
       24 
     | 
    
         
            -
              type: :runtime
         
     | 
| 
       25 
31 
     | 
    
         
             
              prerelease: false
         
     | 
| 
      
 32 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 33 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 34 
     | 
    
         
            +
              name: logstash-devutils
         
     | 
| 
       26 
35 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       27 
36 
     | 
    
         
             
                requirements:
         
     | 
| 
       28 
     | 
    
         
            -
                - -  
     | 
| 
      
 37 
     | 
    
         
            +
                - - '>='
         
     | 
| 
       29 
38 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       30 
     | 
    
         
            -
                    version:  
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
                 
     | 
| 
      
 39 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
      
 40 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 41 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 42 
     | 
    
         
            +
                - - '>='
         
     | 
| 
       33 
43 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       34 
     | 
    
         
            -
                    version:  
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
               
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
      
 44 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
      
 45 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 46 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 47 
     | 
    
         
            +
            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
         
     | 
| 
      
 48 
     | 
    
         
            +
            email: info@elasticsearch.com
         
     | 
| 
       38 
49 
     | 
    
         
             
            executables: []
         
     | 
| 
       39 
50 
     | 
    
         
             
            extensions: []
         
     | 
| 
       40 
51 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       41 
52 
     | 
    
         
             
            files:
         
     | 
| 
       42 
53 
     | 
    
         
             
            - .gitignore
         
     | 
| 
       43 
54 
     | 
    
         
             
            - Gemfile
         
     | 
| 
      
 55 
     | 
    
         
            +
            - LICENSE
         
     | 
| 
       44 
56 
     | 
    
         
             
            - Rakefile
         
     | 
| 
       45 
57 
     | 
    
         
             
            - lib/logstash/filters/punct.rb
         
     | 
| 
       46 
58 
     | 
    
         
             
            - logstash-filter-punct.gemspec
         
     | 
| 
       47 
     | 
    
         
            -
            - spec/filters/ 
     | 
| 
       48 
     | 
    
         
            -
            homepage: http://logstash. 
     | 
| 
      
 59 
     | 
    
         
            +
            - spec/filters/punct_spec.rb
         
     | 
| 
      
 60 
     | 
    
         
            +
            homepage: http://www.elasticsearch.org/guide/en/logstash/current/index.html
         
     | 
| 
       49 
61 
     | 
    
         
             
            licenses:
         
     | 
| 
       50 
62 
     | 
    
         
             
            - Apache License (2.0)
         
     | 
| 
       51 
63 
     | 
    
         
             
            metadata:
         
     | 
| 
       52 
64 
     | 
    
         
             
              logstash_plugin: 'true'
         
     | 
| 
       53 
     | 
    
         
            -
               
     | 
| 
       54 
     | 
    
         
            -
            post_install_message: 
     | 
| 
      
 65 
     | 
    
         
            +
              logstash_group: filter
         
     | 
| 
      
 66 
     | 
    
         
            +
            post_install_message:
         
     | 
| 
       55 
67 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       56 
68 
     | 
    
         
             
            require_paths:
         
     | 
| 
       57 
69 
     | 
    
         
             
            - lib
         
     | 
| 
       58 
70 
     | 
    
         
             
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
       59 
71 
     | 
    
         
             
              requirements:
         
     | 
| 
       60 
     | 
    
         
            -
              - -  
     | 
| 
      
 72 
     | 
    
         
            +
              - - '>='
         
     | 
| 
       61 
73 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       62 
74 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       63 
75 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       64 
76 
     | 
    
         
             
              requirements:
         
     | 
| 
       65 
     | 
    
         
            -
              - -  
     | 
| 
      
 77 
     | 
    
         
            +
              - - '>='
         
     | 
| 
       66 
78 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       67 
79 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       68 
80 
     | 
    
         
             
            requirements: []
         
     | 
| 
       69 
     | 
    
         
            -
            rubyforge_project: 
     | 
| 
       70 
     | 
    
         
            -
            rubygems_version: 2.4. 
     | 
| 
       71 
     | 
    
         
            -
            signing_key: 
     | 
| 
      
 81 
     | 
    
         
            +
            rubyforge_project:
         
     | 
| 
      
 82 
     | 
    
         
            +
            rubygems_version: 2.4.4
         
     | 
| 
      
 83 
     | 
    
         
            +
            signing_key:
         
     | 
| 
       72 
84 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       73 
     | 
    
         
            -
            summary: Strip everything but punctuation from a field and store the remainder in
         
     | 
| 
       74 
     | 
    
         
            -
              a separate field. This is often used for fingerprinting log events.
         
     | 
| 
      
 85 
     | 
    
         
            +
            summary: Strip everything but punctuation from a field and store the remainder in a separate field. This is often used for fingerprinting log events.
         
     | 
| 
       75 
86 
     | 
    
         
             
            test_files:
         
     | 
| 
       76 
     | 
    
         
            -
            - spec/filters/ 
     | 
| 
      
 87 
     | 
    
         
            +
            - spec/filters/punct_spec.rb
         
     |