grumlin 1.0.2 → 1.0.3.beta1

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: f8c299747c9fc7040421c33f472fdc8fa8801a85f5dbe563ca7cc0a9e648ca8a
4
- data.tar.gz: da5f78c574be95f4a2bb22da2f7f9544545dfb6c852a973b7d3ea2ef9e9c3722
3
+ metadata.gz: f0847a31473aed3069f3be335c5d0c3ac6a141ddda2d9aacfece3fc33c978b11
4
+ data.tar.gz: 23fed7d1dd57280837eb3eee0bd2d0f1486d1c67de333318f8f8407bc1d856d3
5
5
  SHA512:
6
- metadata.gz: fae7bdcb40a085d8f3ae56f0fa2e20afc6b7e4acf0d24729ce8ca9ccefca8a0236adc3f7d1aa1edbf9c1ddfb2b25c043f5a199dd5221dab21653a6de1e9c58db
7
- data.tar.gz: 77ac591dd3fd5563639ecaea63ef16802d5212fb16681a8f6de26808722f9f67789147aab3cf0cd9606ac1c2663a5fc6109ec2d70d30585d165bd5a10ca00e89
6
+ metadata.gz: ef438dddc2ffdf9115878158d8b46292a037443150a22fa4bf1742d237ffdaac70d16d03ad701d7e56ac0898aeccb6781fa1bb272f4cc27374d400c805005358
7
+ data.tar.gz: 8ce183413c705cf2254d37357e250da77bd257dd1c57ce2cd526e9b28cfedb9aa2450d5b1625bcef559c6533d7ee550a6b3c4358831e0fb06f64ae2745496bf2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grumlin (1.0.2)
4
+ grumlin (1.0.3.beta1)
5
5
  async-pool (~> 0.3.0)
6
6
  async-websocket (~> 0.22.0)
7
7
  ibsciss-middleware (~> 0.4.0)
@@ -9,7 +9,10 @@ class Grumlin::TraversalStart < Grumlin::Steppable
9
9
  def tx
10
10
  raise AlreadyBoundToTransactionError if @session_id
11
11
 
12
- transaction = tx_class.new(self.class, pool: @pool, middlewares: @middlewares)
12
+ # Pool should have size of 1 when working with session
13
+ pool = Async::Pool::Controller.new(Grumlin::Client::PoolResource, limit: 1)
14
+
15
+ transaction = tx_class.new(self.class, pool: pool, middlewares: @middlewares)
13
16
  return transaction unless block_given?
14
17
 
15
18
  result = nil
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Grumlin
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3.beta1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grumlin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Sinyavskiy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-30 00:00:00.000000000 Z
11
+ date: 2022-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-pool
@@ -217,9 +217,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
217
  version: 2.7.0
218
218
  required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - ">="
220
+ - - ">"
221
221
  - !ruby/object:Gem::Version
222
- version: '0'
222
+ version: 1.3.1
223
223
  requirements: []
224
224
  rubygems_version: 3.2.33
225
225
  signing_key: