isolator 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -7
- data/CHANGELOG.md +6 -0
- data/isolator.gemspec +9 -0
- data/lib/isolator/adapters/http/sniffer.rb +1 -1
- data/lib/isolator/version.rb +1 -1
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c44e9964b126ff2ef69eaf93b21ad6535061cca8c85e916022046c1854c89cb
|
4
|
+
data.tar.gz: 9dd67179bc96aca803313422d02e55ae57a3ac5fcb17c217aed97c3bda5f1250
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b01364d05a5d1521760b83c50f5e2ff98b2045baec1756c4b12128143786c3b856c462997eebbb0bdac7e3881581f15ebb52e927ae04641114038f299aa3e358
|
7
|
+
data.tar.gz: 8b469a00794532b7aa31c7a79af486f8c6d27beb5bda56d253adb56637ca54b641218dab9961f9a83a253a33d295a31edb0f7129154a39d2b10dfeb211e7928c
|
data/.travis.yml
CHANGED
@@ -7,18 +7,14 @@ rvm:
|
|
7
7
|
notifications:
|
8
8
|
email: false
|
9
9
|
|
10
|
-
before_install:
|
11
|
-
- (ruby -v | grep '2.2.2') || gem update --system
|
12
|
-
- gem install bundler -v '< 2'
|
13
|
-
|
14
10
|
matrix:
|
15
11
|
fast_finish: true
|
16
12
|
include:
|
17
13
|
- rvm: ruby-head
|
18
14
|
gemfile: gemfiles/railsmaster.gemfile
|
19
|
-
- rvm: jruby-9.
|
15
|
+
- rvm: jruby-9.2.8.0
|
20
16
|
gemfile: gemfiles/jruby.gemfile
|
21
|
-
- rvm: 2.6.
|
17
|
+
- rvm: 2.6.2
|
22
18
|
gemfile: gemfiles/rails6.gemfile
|
23
19
|
- rvm: 2.5.0
|
24
20
|
gemfile: Gemfile
|
@@ -31,5 +27,5 @@ matrix:
|
|
31
27
|
allow_failures:
|
32
28
|
- rvm: ruby-head
|
33
29
|
gemfile: gemfiles/railsmaster.gemfile
|
34
|
-
- rvm: jruby-9.
|
30
|
+
- rvm: jruby-9.2.8.0
|
35
31
|
gemfile: gemfiles/jruby.gemfile
|
data/CHANGELOG.md
CHANGED
data/isolator.gemspec
CHANGED
@@ -18,6 +18,15 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
19
19
|
f.match(%r{^(test|spec|features)/})
|
20
20
|
end
|
21
|
+
|
22
|
+
spec.metadata = {
|
23
|
+
"bug_tracker_uri" => "http://github.com/palkan/isolator/issues",
|
24
|
+
"changelog_uri" => "https://github.com/palkan/isolator/blob/master/CHANGELOG.md",
|
25
|
+
"documentation_uri" => "http://github.com/palkan/isolator",
|
26
|
+
"homepage_uri" => "http://github.com/palkan/isolator",
|
27
|
+
"source_code_uri" => "http://github.com/palkan/isolator"
|
28
|
+
}
|
29
|
+
|
21
30
|
spec.require_paths = ["lib"]
|
22
31
|
|
23
32
|
spec.add_runtime_dependency "sniffer", "~> 0.3.1"
|
@@ -10,7 +10,7 @@ Isolator.isolate :http, target: Sniffer.singleton_class,
|
|
10
10
|
exception_class: Isolator::HTTPError,
|
11
11
|
details_message: ->(_obj, args) {
|
12
12
|
req = args.first.request
|
13
|
-
"#{req
|
13
|
+
"#{req.method} #{req.host}:#{req.port}#{req.query}"
|
14
14
|
}
|
15
15
|
|
16
16
|
Isolator.before_isolate do
|
data/lib/isolator/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isolator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Dementyev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sniffer
|
@@ -291,7 +291,12 @@ files:
|
|
291
291
|
homepage: https://github.com/palkan/isolator
|
292
292
|
licenses:
|
293
293
|
- MIT
|
294
|
-
metadata:
|
294
|
+
metadata:
|
295
|
+
bug_tracker_uri: http://github.com/palkan/isolator/issues
|
296
|
+
changelog_uri: https://github.com/palkan/isolator/blob/master/CHANGELOG.md
|
297
|
+
documentation_uri: http://github.com/palkan/isolator
|
298
|
+
homepage_uri: http://github.com/palkan/isolator
|
299
|
+
source_code_uri: http://github.com/palkan/isolator
|
295
300
|
post_install_message:
|
296
301
|
rdoc_options: []
|
297
302
|
require_paths:
|
@@ -307,7 +312,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
307
312
|
- !ruby/object:Gem::Version
|
308
313
|
version: '0'
|
309
314
|
requirements: []
|
310
|
-
rubygems_version: 3.0.
|
315
|
+
rubygems_version: 3.0.4
|
311
316
|
signing_key:
|
312
317
|
specification_version: 4
|
313
318
|
summary: Detect non-atomic interactions within DB transactions
|