messaging 4.0.0.pre → 4.0.2.pre

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: 04daa6dc85f15f5b160d49512f00a50d4fc378a8f597250ba07a5ea33955a26b
4
- data.tar.gz: 45b51d553a5bc2b34381e553d741a5ba5c7e4cf4707ba5da727381fb73c8ca41
3
+ metadata.gz: 57c53952e42de9fffee05500cd9bd9c16d87bb08b6ae79945e7e5cc43467e2db
4
+ data.tar.gz: d56112b7c1d5a096cdf9f77f4ef01834e14a00b3a427224db3bd6684d594e250
5
5
  SHA512:
6
- metadata.gz: a5f69b09408a3df46b9dc22f984c0588cc9276bfa530a5a86abc0d3759eba732fc596c4af5fa66f10d7f33a713723222460aa2c4ae0c3368625dbc8d6316fdee
7
- data.tar.gz: fdf6cf4254e2cb44e255b41dde00b31edeec9c565e448fe000f6a63d0a2551a1ef766df4e96a268f01fb576a125d9b76a266e6996349d4c6f807b25c121e3ab8
6
+ metadata.gz: 81005a85d53c14d7e200240b5310ef0b10bd8eca6f988c30f0995810097a00a0449bbf01d9dac6726641abcaf3edacdca27d87e8752ff17ebe1e4235af536455
7
+ data.tar.gz: 76754877fabaf8f406c6d64161ae46cb60407c3ab6bec0dae59ad50ba75482d1179046dcab87abaa69a008cae80d983497b06901b56565856cae58d6b99edd35
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- messaging (4.0.0.pre)
4
+ messaging (4.0.1.pre)
5
5
  activerecord
6
6
  activesupport
7
7
  after_transaction
@@ -66,7 +66,7 @@ module Messaging
66
66
 
67
67
  def fetch_messages
68
68
  SerializedMessage.in_category(categories)
69
- .with_transction_id_lower_than_any_currently_running_transaction
69
+ .with_transaction_id_lower_than_any_currently_running_transaction
70
70
  .newer_than(last_processed_transaction_id, last_processed_position)
71
71
  .order(:id)
72
72
  .limit(1000)
@@ -10,7 +10,7 @@ module Messaging
10
10
  where(stream_category: Array(categories).map(&:to_s))
11
11
  end
12
12
 
13
- def self.with_transction_id_lower_than_any_currently_running_transaction
13
+ def self.with_transaction_id_lower_than_any_currently_running_transaction
14
14
  where('transaction_id < pg_snapshot_xmin(pg_current_snapshot())')
15
15
  end
16
16
 
@@ -1,3 +1,3 @@
1
1
  module Messaging
2
- VERSION = '4.0.0.pre'.freeze
2
+ VERSION = '4.0.2.pre'.freeze
3
3
  end
data/lib/messaging.rb CHANGED
@@ -5,7 +5,7 @@ require 'active_support'
5
5
  require 'active_support/notifications'
6
6
  require 'active_support/core_ext'
7
7
 
8
- if RUBY_VERSION == '2.3.8'
8
+ if RUBY_VERSION.split('.').first == '2'
9
9
  require 'messaging/config_23'
10
10
  else
11
11
  require 'messaging/config'
@@ -18,7 +18,7 @@ require 'messaging/exception_handler'
18
18
  require 'messaging/message'
19
19
  require 'messaging/message/from_json'
20
20
 
21
- if RUBY_VERSION == '2.3.8'
21
+ if RUBY_VERSION.split('.').first == '2'
22
22
  require 'messaging/routing_23'
23
23
  else
24
24
  require 'messaging/routing'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.pre
4
+ version: 4.0.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bukowskis