flatware 2.0.0.rc3 → 2.1.0

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: e2128e35d85e75f68e907edc28bc38982e3833113bcb523df4a3b1db00defd53
4
- data.tar.gz: 241753f759a9f62dc6b35aa0cc706e0fad16ff1cf17ea0a2755d27f6b6449c46
3
+ metadata.gz: be982f16b4df388c97477397adb054108e1d5f9ffc15340a699af012558c2b0f
4
+ data.tar.gz: e83100e4ac368304b484e6cf5f72bc6cc5a0a572463e0393d9b3e09275a01b9c
5
5
  SHA512:
6
- metadata.gz: f355f409f4d2cdb72c78af7f8e5995d2aac5eb7493032bcdaacfb39581828a7a9c1c6c04f81d3106402475ea0464f7fb1a8dd70f32a4fe99a84361797698af81
7
- data.tar.gz: 406a469cc1a7780ea9b7c81d93b1967bcd518f6bb1528460b14ee0b7b6d5a338777572461b0497b035ace1c6c321b92b7aa80dabd87359a978be65bd5c3d7163
6
+ metadata.gz: 64d1c4b1cbf137706e6b88d4701963f855f8caf177ea94b9e113bf27a2326fb55aa6dacfc93cc6b6e5777207249b50185b64c589ad313f33a03f3641b1a52ed9
7
+ data.tar.gz: '0508df27695bbb2e91d9f8ddde1f88d8bb97028b9c5f873cd902622f6631cb5f138bb69f045a59c9c0025c2e86aa3852302effa0061658bfa98e933a451356fc'
data/README.md CHANGED
@@ -114,7 +114,7 @@ Flatware.configure do |conf|
114
114
  end
115
115
 
116
116
  conf.after_fork do |test_env_number|
117
- config = ActiveRecord::Base.connection_config
117
+ config = ActiveRecord::Base.connection_db_config.configuration_hash
118
118
 
119
119
  ActiveRecord::Base.establish_connection(
120
120
  config.merge(
@@ -4,10 +4,11 @@ module Flatware
4
4
  # sends messages to all formatters
5
5
  class Broadcaster
6
6
  FORMATTER_MESSAGES = %i[
7
+ finished
7
8
  jobs
8
- started
9
+ message
9
10
  progress
10
- finished
11
+ started
11
12
  summarize
12
13
  summarize_remaining
13
14
  ].freeze
@@ -11,7 +11,7 @@ module Flatware
11
11
  @sink = DRbObject.new_with_uri sink_endpoint
12
12
  end
13
13
 
14
- %w[ready finished started progress checkpoint].each do |message|
14
+ %w[ready finished started progress message checkpoint].each do |message|
15
15
  define_method message do |content|
16
16
  push [message.to_sym, content]
17
17
  end
data/lib/flatware/sink.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'drb/drb'
2
+ require 'set'
2
3
 
3
4
  module Flatware
4
5
  module Sink
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Flatware
4
- VERSION = '2.0.0.rc3'
4
+ VERSION = '2.1.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flatware
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc3
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Dunn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-15 00:00:00.000000000 Z
11
+ date: 2023-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  version: '2.6'
63
63
  - - "<"
64
64
  - !ruby/object:Gem::Version
65
- version: '3.1'
65
+ version: '3.3'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - ">"
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
- version: 1.3.1
70
+ version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.3
72
+ rubygems_version: 3.3.7
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: A distributed rspec and cucumber runner