fluent-plugin-uri-parser 0.3.0 → 0.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 529c3e22f0bb6e97190a8db3c9bccd8005db2eb0
4
- data.tar.gz: 7a61cff618e86c55178494fd51a528ea7daedf80
2
+ SHA256:
3
+ metadata.gz: 159e54e1d62cc98d696b44b59550cb54fd02f9a202afcdf55e5e8df2c7f39996
4
+ data.tar.gz: ed7ee9ce893e2e0cdbbff3fe8ab616b7efcb23db1071a1809a2bb9021cf1d1ad
5
5
  SHA512:
6
- metadata.gz: c4e6a42fc6d43a03d32c45e7017a16597e6354e1a3b05508a61f58b57ea5da060236f314abe447b454b010f17f5cba639a6af377e7d5123d94f599c1adefacb1
7
- data.tar.gz: bfc2f8c5f4184ed49fc746e564ae5aa97428b071c7c0929001a51c3835896b6598a0fb276167db76afe2a1668fbd2e040bf47d737fa08d14efa14605afe78ac6
6
+ metadata.gz: 0a91925202870044e0099870e59de97670fc80591373b0d13db486827d5e8104188f4828f7ce13fcc4d731ee9b5e887c3320338b28bd3abf84029273eba8bbae
7
+ data.tar.gz: 9968c9681ebccc76584994f3b5479d62ce12a4c7e41f522f428c38697fc2374a453853082ab72f94eb96813bba2388e43f7a88944417d2a29537733f43d17400
@@ -0,0 +1,28 @@
1
+ name: test
2
+
3
+ on:
4
+ push:
5
+ branches: [master]
6
+ pull_request:
7
+ branches: [master]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ ruby:
16
+ - "3.2"
17
+ - "3.3"
18
+ - "3.4"
19
+ - "4.0"
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - name: Set up Ruby
23
+ uses: ruby/setup-ruby@v1
24
+ with:
25
+ ruby-version: ${{ matrix.ruby }}
26
+ bundler-cache: true
27
+ - name: Run tests
28
+ run: bundle exec rake test
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /vendor/
data/README.md CHANGED
@@ -1,104 +1,266 @@
1
1
  # fluent-plugin-uri-parser
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/fluent-plugin-uri-parser.svg)](https://badge.fury.io/rb/fluent-plugin-uri-parser) [![wercker status](https://app.wercker.com/status/a735d29143f3a1a727fc65653bc81e2a/s "wercker status")](https://app.wercker.com/project/bykey/a735d29143f3a1a727fc65653bc81e2a)
3
+ [![Gem Version](https://badge.fury.io/rb/fluent-plugin-uri-parser.svg)](https://badge.fury.io/rb/fluent-plugin-uri-parser)
4
+ [![test](https://github.com/daichirata/fluent-plugin-uri-parser/actions/workflows/test.yml/badge.svg)](https://github.com/daichirata/fluent-plugin-uri-parser/actions/workflows/test.yml)
4
5
 
5
- This is a Fluentd plugin to parse uri and query string in log messages.
6
+ Fluentd filter plugins that **decompose URIs and query strings into structured fields**, so you can search, group, and aggregate on them in your downstream stack.
7
+
8
+ ```text
9
+ "https://example.com:8080/search?q=fluentd&lang=ja"
10
+
11
+ { scheme: "https", host: "example.com", port: 8080,
12
+ path: "/search", query: "q=fluentd&lang=ja", fragment: nil }
13
+ ```
14
+
15
+ ## Why?
16
+
17
+ URL strings sitting in a single log field are a black box — you can't filter by host, group by path, or count by query parameter without parsing them first. These filters turn a raw URL into a record your storage can index.
18
+
19
+ | Plugin | Turns this | Into this |
20
+ |---|---|---|
21
+ | `uri_parser` | `https://example.com:8080/p?q=1#x` | `scheme`, `host`, `port`, `path`, `query`, `fragment` |
22
+ | `query_string_parser` | `foo=bar&hoge=fuga` | `{ "foo" => "bar", "hoge" => "fuga" }` |
6
23
 
7
24
  ## Requirements
8
25
 
9
- | fluent-plugin-uri-parser | fluentd | ruby |
10
- |---------------------------|------------|--------|
11
- | >= 0.3.0 | >= v0.14.0 | >= 2.1 |
12
- | < 0.2.0 | >= v0.12.0 | >= 1.9 |
26
+ | fluent-plugin-uri-parser | fluentd | ruby |
27
+ | ------------------------ | --------- | ------ |
28
+ | >= 0.4.0 | >= v1.0.0 | >= 3.2 |
13
29
 
14
30
  ## Installation
15
31
 
16
- ``` shell
17
- $ gem install fluent-plugin-uri-parser -v "~> 0.2" # for fluentd v0.12 or later
18
- $ gem install fluent-plugin-uri-parser # for fluentd v0.14 or later
32
+ ```shell
33
+ gem install fluent-plugin-uri-parser
19
34
  ```
20
35
 
21
- ## Component
36
+ Or in your `Gemfile`:
37
+
38
+ ```ruby
39
+ gem "fluent-plugin-uri-parser"
40
+ ```
22
41
 
23
- ### URIParserFilter
42
+ ---
24
43
 
25
- This is a Fluentd plugin to parse and filtering uri in log messages and re-emit them.
44
+ ## `uri_parser`
26
45
 
27
- ### QueryStringParserFilter
46
+ Decomposes a URI field into its components.
28
47
 
29
- This is a Fluentd plugin to parse and filtering query string in log messages and re-emit them.
48
+ ### Minimal example
30
49
 
31
- ## Configuration
50
+ ```aconf
51
+ <filter access.log>
52
+ @type uri_parser
53
+ key_name url
54
+ out_key_scheme scheme
55
+ out_key_host host
56
+ out_key_port port
57
+ out_key_path path
58
+ out_key_query query
59
+ out_key_fragment fragment
60
+ </filter>
61
+ ```
32
62
 
63
+ ```jsonc
64
+ // input
65
+ { "url": "https://example.com:8080/search?q=fluentd#top" }
66
+
67
+ // output
68
+ {
69
+ "url": "https://example.com:8080/search?q=fluentd#top",
70
+ "scheme": "https",
71
+ "host": "example.com",
72
+ "port": 8080,
73
+ "path": "/search",
74
+ "query": "q=fluentd",
75
+ "fragment": "top"
76
+ }
33
77
  ```
34
- <filter>
78
+
79
+ > The `port` value uses [`Addressable::URI#inferred_port`](https://github.com/sporkmonger/addressable), so well-known schemes (`http` → 80, `https` → 443, ...) get a port even when the URL omits one.
80
+
81
+ ### Group output under a single key — `hash_value_field`
82
+
83
+ ```aconf
84
+ <filter access.log>
35
85
  @type uri_parser
36
- key_name uri
37
- inject_key_prefix parsed
38
- # hash_value_field parsed
39
- # suppress_parse_error_log false
40
- # ignore_key_not_exist false
41
- # ignore_nil false
42
-
43
- out_key_scheme scheme
86
+ key_name url
87
+ hash_value_field parsed
44
88
  out_key_host host
45
- out_key_port port
46
89
  out_key_path path
47
- out_key_query query
48
- out_key_fragment fragment
49
- </match>
50
- # input string of data: {"uri": "http://example.com/path?foo=bar#t=1"}
51
- # output data: {"parsed.scheme":"http","parsed.host":"example.com","parsed.port":80,"parsed.path":"/path","parsed.query":"foo=bar","parsed.ragment":"t=1"}
90
+ </filter>
91
+ ```
92
+
93
+ ```jsonc
94
+ // input
95
+ { "url": "https://example.com/search" }
96
+
97
+ // output
98
+ {
99
+ "url": "https://example.com/search",
100
+ "parsed": { "host": "example.com", "path": "/search" }
101
+ }
102
+ ```
103
+
104
+ ### Namespace output keys — `inject_key_prefix`
105
+
106
+ ```aconf
107
+ <filter access.log>
108
+ @type uri_parser
109
+ key_name url
110
+ inject_key_prefix url.
111
+ out_key_host host
112
+ out_key_path path
113
+ </filter>
114
+ ```
115
+
116
+ ```jsonc
117
+ // input
118
+ { "url": "https://example.com/search" }
119
+
120
+ // output
121
+ {
122
+ "url": "https://example.com/search",
123
+ "url.host": "example.com",
124
+ "url.path": "/search"
125
+ }
126
+ ```
127
+
128
+ ### Drop empty components — `ignore_nil`
52
129
 
53
- <filter>
130
+ When a component is missing (no query, no fragment, etc.) the default is to emit it as `null`. Set `ignore_nil true` to omit those keys entirely.
131
+
132
+ ```jsonc
133
+ // input
134
+ { "url": "https://example.com/path" }
135
+
136
+ // ignore_nil false (default)
137
+ { "scheme": "https", "host": "example.com", "port": 443,
138
+ "path": "/path", "query": null, "fragment": null }
139
+
140
+ // ignore_nil true
141
+ { "scheme": "https", "host": "example.com", "port": 443,
142
+ "path": "/path" }
143
+ ```
144
+
145
+ ---
146
+
147
+ ## `query_string_parser`
148
+
149
+ Decomposes a query string field into individual parameters.
150
+
151
+ > Pairs with an empty key (e.g. the leading `&` in `&foo=1`) are silently dropped — they're noise from user-supplied URLs and never represent a real parameter.
152
+
153
+ ### Minimal example
154
+
155
+ ```aconf
156
+ <filter access.log>
157
+ @type query_string_parser
158
+ key_name query
159
+ </filter>
160
+ ```
161
+
162
+ ```jsonc
163
+ // input
164
+ { "query": "foo=bar&hoge=fuga" }
165
+
166
+ // output
167
+ { "query": "foo=bar&hoge=fuga", "foo": "bar", "hoge": "fuga" }
168
+ ```
169
+
170
+ ### Group output under a single key — `hash_value_field`
171
+
172
+ ```aconf
173
+ <filter access.log>
54
174
  @type query_string_parser
55
- key_name parsed.query
56
- hash_value_field query
57
- # inject_key_prefix query
58
- # suppress_parse_error_log false
59
- # ignore_key_not_exist false
60
- </match>
61
- # input string of data: {"parsed.query": "foo=bar"}
62
- # output data: {"query":{"foo":"bar"}}
175
+ key_name query
176
+ hash_value_field params
177
+ </filter>
178
+ ```
63
179
 
180
+ ```jsonc
181
+ // input
182
+ { "query": "foo=bar&hoge=fuga" }
183
+
184
+ // output
185
+ {
186
+ "query": "foo=bar&hoge=fuga",
187
+ "params": { "foo": "bar", "hoge": "fuga" }
188
+ }
64
189
  ```
65
190
 
66
- **key_name (Required)**
191
+ ### Handle repeated parameters
192
+
193
+ A request like `?tag=ruby&tag=fluentd` has two `tag` values. By default the last one wins (scalar). You have two ways to keep both:
194
+
195
+ #### Option A: always arrays — `multi_value_params true`
67
196
 
68
- Key of the value to be parsed in the record.
197
+ Every parameter becomes an array, even when it appeared once.
69
198
 
70
- **hash_value_field (Default: '')**
199
+ ```jsonc
200
+ // input
201
+ { "query": "tag=ruby&tag=fluentd&lang=ja" }
71
202
 
72
- If a value is set, the value after parsing is stored in hash with key specified value.
203
+ // output
204
+ { "tag": ["ruby", "fluentd"], "lang": ["ja"] }
205
+ ```
73
206
 
74
- **inject_key_prefix (Default: '')**
207
+ #### Option B: array only for listed names — `multi_value_param_names`
75
208
 
76
- If you set a value, set the value specified for the key after parsing as prefix.
209
+ You know `tag` may repeat but `lang` won't. Keep `lang` as a scalar and only wrap `tag` in an array.
77
210
 
78
- **suppress_parse_error_log (Default: false)**
211
+ ```aconf
212
+ <filter access.log>
213
+ @type query_string_parser
214
+ key_name query
215
+ multi_value_param_names tag
216
+ </filter>
217
+ ```
79
218
 
80
- If set to `true`, no error log is output even if parsing fails.
219
+ ```jsonc
220
+ // input
221
+ { "query": "tag=ruby&tag=fluentd&lang=ja" }
81
222
 
82
- **ignore_key_not_exist (Default: false)**
223
+ // output
224
+ { "tag": ["ruby", "fluentd"], "lang": "ja" }
225
+ ```
83
226
 
84
- If set to `true`, if the field specified by `key_name` does not exist, the record will not be emit to the next stream. That means that the data will be lost there.
227
+ > When both are set, `multi_value_params true` wins.
85
228
 
86
- **ignore_nil (Default: false)**
229
+ ---
87
230
 
88
- If set to `true`, exclude key if the value after parse is nil.
231
+ ## Options
89
232
 
90
- **multi_value_params (Default: false)**
233
+ Shared between both filters unless noted.
91
234
 
92
- If set to `true`, then resulting values would be arrays containing
93
- potentially multiple values of a given parameter.
235
+ | Option | Type | Default | What it does |
236
+ | --- | --- | --- | --- |
237
+ | `key_name` | string | — *(required)* | Record key holding the URL or query string to parse. |
238
+ | `hash_value_field` | string | `nil` | If set, all extracted fields are nested under this key. |
239
+ | `inject_key_prefix` | string | `nil` | Prefix prepended to every extracted key. |
240
+ | `ignore_key_not_exist` | bool | `false` | When `key_name` is missing, drop the record instead of passing it through. |
241
+ | `emit_invalid_record_to_error` | bool | `true` | When `key_name` is missing, emit the record to Fluentd's error stream. |
242
+ | `suppress_parse_error_log` | bool | `false` | Silence the warning log when the value fails to parse. |
243
+ | `ignore_nil` | bool | `false` | *(uri_parser only)* Omit output keys whose parsed value is `nil`. |
244
+ | `out_key_scheme` / `out_key_host` / `out_key_port` / `out_key_path` / `out_key_query` / `out_key_fragment` | string | `nil` | *(uri_parser only)* Output key name for each URI component. Components without an `out_key_*` are not emitted. |
245
+ | `multi_value_params` | bool | `false` | *(query_string_parser only)* Emit every parameter as an array. |
246
+ | `multi_value_param_names` | array | `nil` | *(query_string_parser only)* Emit only the listed parameters as arrays. Ignored when `multi_value_params` is `true`. |
247
+
248
+ ---
94
249
 
95
250
  ## Development
96
251
 
97
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
252
+ ```shell
253
+ bundle install
254
+ bundle exec rake test
255
+ ```
98
256
 
99
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
257
+ To install this gem onto your local machine: `bundle exec rake install`.
258
+ To release: bump the version in the gemspec, then `bundle exec rake release` (tags, pushes, and uploads to [rubygems.org](https://rubygems.org)).
100
259
 
101
260
  ## Contributing
102
261
 
103
- Bug reports and pull requests are welcome on GitHub at https://github.com/daichirata/fluent-plugin-uri-parser.
262
+ Bug reports and pull requests are welcome at <https://github.com/daichirata/fluent-plugin-uri-parser>.
263
+
264
+ ## License
104
265
 
266
+ Apache-2.0
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-uri-parser"
7
- spec.version = "0.3.0"
7
+ spec.version = "0.4.0"
8
8
  spec.authors = ["Daichi HIRATA"]
9
9
  spec.email = ["daichirata@gmail.com"]
10
10
  spec.license = "Apache-2.0"
@@ -13,14 +13,16 @@ Gem::Specification.new do |spec|
13
13
  spec.description = "This is a Fluentd plugin to parse uri and query string in log messages."
14
14
  spec.homepage = "https://github.com/daichirata/fluent-plugin-uri-parser"
15
15
 
16
+ spec.required_ruby_version = ">= 3.2"
17
+
16
18
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
20
  spec.require_paths = ["lib"]
19
21
 
20
- spec.add_runtime_dependency "fluentd", [">= 0.14.0", "< 2"]
22
+ spec.add_runtime_dependency "fluentd", [">= 1.0", "< 2"]
21
23
  spec.add_runtime_dependency "addressable"
22
24
 
23
- spec.add_development_dependency "test-unit"
24
- spec.add_development_dependency "bundler", "~> 1.11"
25
- spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "bundler"
26
+ spec.add_development_dependency "rake", "~> 13.0"
27
+ spec.add_development_dependency "test-unit", "~> 3.6"
26
28
  end
@@ -1,3 +1,6 @@
1
+ require 'fluent/plugin/filter'
2
+ require 'addressable/uri'
3
+
1
4
  module Fluent
2
5
  module Plugin
3
6
  class QueryStringParserFilter < Filter
@@ -10,11 +13,7 @@ module Fluent
10
13
  config_param :ignore_key_not_exist, :bool, default: false
11
14
  config_param :emit_invalid_record_to_error, :bool, default: true
12
15
  config_param :multi_value_params, :bool, default: false
13
-
14
- def initialize
15
- super
16
- require "uri"
17
- end
16
+ config_param :multi_value_param_names, :array, default: nil
18
17
 
19
18
  def filter(tag, time, record)
20
19
  raw_value = record[@key_name]
@@ -27,12 +26,22 @@ module Fluent
27
26
  end
28
27
 
29
28
  begin
30
- params = URI.decode_www_form(raw_value)
29
+ params = Addressable::URI.form_unencode(raw_value)
30
+ params = params.reject {|k, _| k.nil? || k.empty? }
31
31
 
32
32
  unless params.empty?
33
33
  if @multi_value_params
34
34
  values = Hash.new {|h,k| h[k] = [] }
35
35
  params.each{|pair| values[pair[0]].push(pair[1])}
36
+ elsif @multi_value_param_names
37
+ values = {}
38
+ params.each do |k, v|
39
+ if @multi_value_param_names.include?(k)
40
+ (values[k] ||= []) << v
41
+ else
42
+ values[k] = v
43
+ end
44
+ end
36
45
  else
37
46
  values = Hash[params]
38
47
  end
@@ -1,3 +1,6 @@
1
+ require 'fluent/plugin/filter'
2
+ require 'addressable/uri'
3
+
1
4
  module Fluent
2
5
  module Plugin
3
6
  class URIParserFilter < Filter
@@ -18,11 +21,6 @@ module Fluent
18
21
  config_param :out_key_query, :string, default: nil
19
22
  config_param :out_key_fragment, :string, default: nil
20
23
 
21
- def initialize
22
- super
23
- require "addressable/uri"
24
- end
25
-
26
24
  def filter(tag, time, record)
27
25
  raw_value = record[@key_name]
28
26
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-uri-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daichi HIRATA
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-28 00:00:00.000000000 Z
11
+ date: 2026-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: '1.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '2'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: '1.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '2'
@@ -45,7 +45,7 @@ dependencies:
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
- name: test-unit
48
+ name: bundler
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="
@@ -59,33 +59,33 @@ dependencies:
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  - !ruby/object:Gem::Dependency
62
- name: bundler
62
+ name: rake
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '1.11'
67
+ version: '13.0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '1.11'
74
+ version: '13.0'
75
75
  - !ruby/object:Gem::Dependency
76
- name: rake
76
+ name: test-unit
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '10.0'
81
+ version: '3.6'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '10.0'
88
+ version: '3.6'
89
89
  description: This is a Fluentd plugin to parse uri and query string in log messages.
90
90
  email:
91
91
  - daichirata@gmail.com
@@ -93,6 +93,7 @@ executables: []
93
93
  extensions: []
94
94
  extra_rdoc_files: []
95
95
  files:
96
+ - ".github/workflows/test.yml"
96
97
  - ".gitignore"
97
98
  - Gemfile
98
99
  - LICENSE.txt
@@ -101,12 +102,11 @@ files:
101
102
  - fluent-plugin-uri-parser.gemspec
102
103
  - lib/fluent/plugin/filter_query_string_parser.rb
103
104
  - lib/fluent/plugin/filter_uri_parser.rb
104
- - wercker.yml
105
105
  homepage: https://github.com/daichirata/fluent-plugin-uri-parser
106
106
  licenses:
107
107
  - Apache-2.0
108
108
  metadata: {}
109
- post_install_message:
109
+ post_install_message:
110
110
  rdoc_options: []
111
111
  require_paths:
112
112
  - lib
@@ -114,16 +114,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: '3.2'
118
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubyforge_project:
125
- rubygems_version: 2.6.11
126
- signing_key:
124
+ rubygems_version: 3.5.16
125
+ signing_key:
127
126
  specification_version: 4
128
127
  summary: This is a Fluentd plugin to parse uri and query string in log messages.
129
128
  test_files: []
data/wercker.yml DELETED
@@ -1,25 +0,0 @@
1
- box: ruby:2.3.0
2
- # Build definition
3
- build:
4
- steps:
5
- - script:
6
- name: update bundler
7
- code: gem update bundler
8
-
9
- # A step that executes `bundle install` command
10
- - bundle-install:
11
- jobs: 4
12
-
13
- # A custom script step, name value is used in the UI
14
- # and the code value contains the command that get executed
15
- - script:
16
- name: echo ruby information
17
- code: |
18
- echo "ruby version $(ruby --version) running"
19
- echo "from location $(which ruby)"
20
- echo -p "gem list: $(gem list)"
21
-
22
- # Add more steps here:
23
- - script:
24
- name: test
25
- code: bundle exec rake test