logstash-filter-useragent 0.1.3 → 0.1.4

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: 18e097248f0118fc6bc5e6048e886f5efe2ce69a
4
- data.tar.gz: 94d0d9d30c02ba26c7a2d050a2ab28d22b714d89
3
+ metadata.gz: 4cfcf9362cb5c558aae81404b032781be7725e92
4
+ data.tar.gz: 8bda160b45d470d17baffcb34e0a21de4722ef63
5
5
  SHA512:
6
- metadata.gz: 4ad75cd9499e2583ac056cb3e249ecc19a74d7556fe6d85668e5826b3126118ad627f82c5a0f595509e962f69c5ca75698b152d718f06f459e7f9003f5b641b7
7
- data.tar.gz: bb2587fae7fff05e2c065c7acf5d84bb034143ef2478edee2f31961532956ef60fb69ec7a2555be9056f53268a9cd8dfc66908e97287117fdd8431d4d6874c6f
6
+ metadata.gz: ecb6bb25dd3ebc76492ddd84d8ffa6375a03f1c54a685fe21a57474b72a3ce0d6dc434339c9266b90b91fe3440821a1cc6bd195e2e6109a52b1e00392cd80482
7
+ data.tar.gz: 3d018de787faa4298c81490529af4ca6e69a722a8f0586e929bc0c1b6ec4a75f94fad5348f69aa7bed21d6e968bf32afff3cce99571368b71f3045932162f388
data/Rakefile CHANGED
@@ -1,4 +1,7 @@
1
- @files=[{'url' => 'https://raw.githubusercontent.com/tobie/ua-parser/master/regexes.yaml', 'sha1' => '0b5e6f5ce44e389106d0343e54afc5f62767867c'}]
1
+ require 'json'
2
+
3
+ BASE_PATH = File.expand_path(File.dirname(__FILE__))
4
+ @files = JSON.parse(File.read(File.join(BASE_PATH, 'vendor.json')))
2
5
 
3
6
  task :default do
4
7
  system("rake -T")
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-useragent'
4
- s.version = '0.1.3'
4
+ s.version = '0.1.4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Parse user agent strings into structured data based on BrowserScope data"
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"
data/vendor.json ADDED
@@ -0,0 +1,4 @@
1
+ [{
2
+ "url": "https://raw.githubusercontent.com/tobie/ua-parser/master/regexes.yaml",
3
+ "sha1": "0b5e6f5ce44e389106d0343e54afc5f62767867c"
4
+ }]
metadata CHANGED
@@ -1,17 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-useragent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-27 00:00:00.000000000 Z
11
+ date: 2015-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- requirement: !ruby/object:Gem::Requirement
14
+ name: logstash
15
+ version_requirements: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - '>='
17
18
  - !ruby/object:Gem::Version
@@ -19,10 +20,7 @@ dependencies:
19
20
  - - <
20
21
  - !ruby/object:Gem::Version
21
22
  version: 2.0.0
22
- name: logstash
23
- prerelease: false
24
- type: :runtime
25
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: !ruby/object:Gem::Requirement
26
24
  requirements:
27
25
  - - '>='
28
26
  - !ruby/object:Gem::Version
@@ -30,34 +28,36 @@ dependencies:
30
28
  - - <
31
29
  - !ruby/object:Gem::Version
32
30
  version: 2.0.0
31
+ prerelease: false
32
+ type: :runtime
33
33
  - !ruby/object:Gem::Dependency
34
+ name: user_agent_parser
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
38
+ - !ruby/object:Gem::Version
39
+ version: 2.0.0
34
40
  requirement: !ruby/object:Gem::Requirement
35
41
  requirements:
36
42
  - - '>='
37
43
  - !ruby/object:Gem::Version
38
44
  version: 2.0.0
39
- name: user_agent_parser
40
45
  prerelease: false
41
46
  type: :runtime
47
+ - !ruby/object:Gem::Dependency
48
+ name: logstash-devutils
42
49
  version_requirements: !ruby/object:Gem::Requirement
43
50
  requirements:
44
51
  - - '>='
45
52
  - !ruby/object:Gem::Version
46
- version: 2.0.0
47
- - !ruby/object:Gem::Dependency
53
+ version: '0'
48
54
  requirement: !ruby/object:Gem::Requirement
49
55
  requirements:
50
56
  - - '>='
51
57
  - !ruby/object:Gem::Version
52
58
  version: '0'
53
- name: logstash-devutils
54
59
  prerelease: false
55
60
  type: :development
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - '>='
59
- - !ruby/object:Gem::Version
60
- version: '0'
61
61
  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
62
62
  email: info@elasticsearch.com
63
63
  executables: []
@@ -73,6 +73,8 @@ files:
73
73
  - lib/logstash/filters/useragent.rb
74
74
  - logstash-filter-useragent.gemspec
75
75
  - spec/filters/useragent_spec.rb
76
+ - vendor.json
77
+ - vendor/regexes.yaml
76
78
  homepage: http://www.elasticsearch.org/guide/en/logstash/current/index.html
77
79
  licenses:
78
80
  - Apache License (2.0)