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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5c027f6c2e795b8aeb009340efd8a920556cfb47553a06d93f4feab8d7c79de
4
- data.tar.gz: 3ae481ffdf7eba4d080402d44c7355c558363b0228053091ca96edc55bd26847
3
+ metadata.gz: 5c44e9964b126ff2ef69eaf93b21ad6535061cca8c85e916022046c1854c89cb
4
+ data.tar.gz: 9dd67179bc96aca803313422d02e55ae57a3ac5fcb17c217aed97c3bda5f1250
5
5
  SHA512:
6
- metadata.gz: '008f26a3b4e3d059332e25a0b193dcec4586a17b6d6df9259b8b13e94a85e214e2c16aa37197a5490e92ba3cc288ce656c3ae1e1061e7ae7968ff4b967d327f1'
7
- data.tar.gz: 2a4237282734486458d04f45474eee2a75367724808f8079801645ffe978981725f6d46e6db1de041d8c36d2cd1a5832b7f09f44e2773c609013560bd9ee5904
6
+ metadata.gz: b01364d05a5d1521760b83c50f5e2ff98b2045baec1756c4b12128143786c3b856c462997eebbb0bdac7e3881581f15ebb52e927ae04641114038f299aa3e358
7
+ data.tar.gz: 8b469a00794532b7aa31c7a79af486f8c6d27beb5bda56d253adb56637ca54b641218dab9961f9a83a253a33d295a31edb0f7129154a39d2b10dfeb211e7928c
@@ -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.1.0.0
15
+ - rvm: jruby-9.2.8.0
20
16
  gemfile: gemfiles/jruby.gemfile
21
- - rvm: 2.6.1
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.1.0.0
30
+ - rvm: jruby-9.2.8.0
35
31
  gemfile: gemfiles/jruby.gemfile
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.6.1 (2019-09-06)
6
+
7
+ - Fix Sniffer integration. ([@palkan][])
8
+
9
+ Fixes [#21](https://github.com/palkan/isolator/issues/21).
10
+
5
11
  ## 0.6.0 (2019-04-12) 🚀
6
12
 
7
13
  - Add support for exceptions message details. ([@palkan][])
@@ -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[:method]} #{req[:host]}/#{req[:query]}"
13
+ "#{req.method} #{req.host}:#{req.port}#{req.query}"
14
14
  }
15
15
 
16
16
  Isolator.before_isolate do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Isolator
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
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.0
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-04-13 00:00:00.000000000 Z
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.2
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