enviado 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.
- checksums.yaml +5 -5
- data/.rspec +1 -1
- data/README.md +2 -2
- data/enviado.gemspec +2 -1
- data/examples/flaky_requests/Gemfile +1 -1
- data/lib/enviado.rb +18 -0
- data/lib/enviado/version.rb +19 -1
- data/lib/ext/LICENSE +15 -0
- metadata +7 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c244109dd70ddf049dfbdbc83abf72bb38fb77f609592cbaaff0518ca7e6acae
|
|
4
|
+
data.tar.gz: fe54f94388d0f5bf6979b0e09a2d6de5a0b3252e06f3f5da9dd4e7a52b5eb526
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 726b80bd9326b254b1b77d19ba679a3f18c15fb78910e1a9a47e67a5aaced2d7f94b489a1e954aa8f4206202621dc9986e4a91b87eb80bb493bb8acc216e4158
|
|
7
|
+
data.tar.gz: c98e099f5437a8604424c251a51c13e45661f92eb6fc2e542cd01444044e833399bd8f37d426b7ae57d20e45081b6a1f9a55ee53ace26c4c7feda8fc319cf28b
|
data/.rspec
CHANGED
data/README.md
CHANGED
|
@@ -36,7 +36,7 @@ Enviado.start(config_path: 'path/to/envoy/config/file.json')
|
|
|
36
36
|
|
|
37
37
|
Now you can perform requests to envoy.
|
|
38
38
|
|
|
39
|
-
To see an example of an envoy configuration that deals with a flaky service, see
|
|
39
|
+
To see an example of an envoy configuration that deals with a flaky service, see [examples/flaky_requests/flaky_requests.rb](examples/flaky_requests/flaky_requests.rb).
|
|
40
40
|
|
|
41
41
|
Running in docker:
|
|
42
42
|
|
|
@@ -62,4 +62,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
62
62
|
|
|
63
63
|
## Contributing
|
|
64
64
|
|
|
65
|
-
Bug reports and pull requests are welcome on
|
|
65
|
+
Bug reports and pull requests are welcome on GitLab at <https://gitlab.com/ivoanjo/enviado>.
|
data/enviado.gemspec
CHANGED
|
@@ -8,9 +8,10 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = Enviado::VERSION
|
|
9
9
|
spec.authors = ['Ivo Anjo']
|
|
10
10
|
spec.email = ['ivo.anjo@ist.utl.pt']
|
|
11
|
+
spec.license = 'LGPL-3.0+'
|
|
11
12
|
|
|
12
13
|
spec.summary = %q{A ruby wrapper for the envoy proxy}
|
|
13
|
-
spec.homepage = 'https://
|
|
14
|
+
spec.homepage = 'https://gitlab.com/ivoanjo/enviado'
|
|
14
15
|
|
|
15
16
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
16
17
|
f.match(%r{^(test|spec|features)/})
|
data/lib/enviado.rb
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
# Enviado: A ruby wrapper for the envoy proxy
|
|
2
|
+
# Copyright (C) 2016 Ivo Anjo <ivo.anjo@ist.utl.pt>
|
|
3
|
+
#
|
|
4
|
+
# This file is part of Enviado.
|
|
5
|
+
#
|
|
6
|
+
# Enviado is free software: you can redistribute it and/or modify
|
|
7
|
+
# it under the terms of the GNU Lesser General Public License as published by
|
|
8
|
+
# the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
# (at your option) any later version.
|
|
10
|
+
#
|
|
11
|
+
# Enviado is distributed in the hope that it will be useful,
|
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
# GNU Lesser General Public License for more details.
|
|
15
|
+
#
|
|
16
|
+
# You should have received a copy of the GNU Lesser General Public License
|
|
17
|
+
# along with Enviado. If not, see <http://www.gnu.org/licenses/>.
|
|
18
|
+
|
|
1
19
|
require 'enviado/version'
|
|
2
20
|
|
|
3
21
|
module Enviado
|
data/lib/enviado/version.rb
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
# Enviado: A ruby wrapper for the envoy proxy
|
|
2
|
+
# Copyright (C) 2016 Ivo Anjo <ivo.anjo@ist.utl.pt>
|
|
3
|
+
#
|
|
4
|
+
# This file is part of Enviado.
|
|
5
|
+
#
|
|
6
|
+
# Enviado is free software: you can redistribute it and/or modify
|
|
7
|
+
# it under the terms of the GNU Lesser General Public License as published by
|
|
8
|
+
# the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
# (at your option) any later version.
|
|
10
|
+
#
|
|
11
|
+
# Enviado is distributed in the hope that it will be useful,
|
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
# GNU Lesser General Public License for more details.
|
|
15
|
+
#
|
|
16
|
+
# You should have received a copy of the GNU Lesser General Public License
|
|
17
|
+
# along with Enviado. If not, see <http://www.gnu.org/licenses/>.
|
|
18
|
+
|
|
1
19
|
module Enviado
|
|
2
|
-
VERSION = '0.0.
|
|
20
|
+
VERSION = '0.0.2'
|
|
3
21
|
end
|
data/lib/ext/LICENSE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Envoy
|
|
2
|
+
|
|
3
|
+
Copyright 2016 Lyft Inc.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
you may not use this file except in compliance with the License.
|
|
7
|
+
You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: enviado
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivo Anjo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -90,9 +90,11 @@ files:
|
|
|
90
90
|
- examples/flaky_requests/flaky_requests.rb
|
|
91
91
|
- lib/enviado.rb
|
|
92
92
|
- lib/enviado/version.rb
|
|
93
|
+
- lib/ext/LICENSE
|
|
93
94
|
- lib/ext/x86_64-linux/envoy
|
|
94
|
-
homepage: https://
|
|
95
|
-
licenses:
|
|
95
|
+
homepage: https://gitlab.com/ivoanjo/enviado
|
|
96
|
+
licenses:
|
|
97
|
+
- LGPL-3.0+
|
|
96
98
|
metadata: {}
|
|
97
99
|
post_install_message:
|
|
98
100
|
rdoc_options: []
|
|
@@ -110,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
110
112
|
version: '0'
|
|
111
113
|
requirements: []
|
|
112
114
|
rubyforge_project:
|
|
113
|
-
rubygems_version: 2.
|
|
115
|
+
rubygems_version: 2.7.6
|
|
114
116
|
signing_key:
|
|
115
117
|
specification_version: 4
|
|
116
118
|
summary: A ruby wrapper for the envoy proxy
|