global-registry-bindings 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/global_registry_bindings/version.rb +1 -1
- data/spec/internal/db/test.sqlite +0 -0
- data/spec/internal/log/test.log +1457 -0
- data/spec/spec_helper.rb +1 -8
- metadata +17 -14
data/spec/spec_helper.rb
CHANGED
@@ -8,11 +8,7 @@ require 'active_record'
|
|
8
8
|
ActiveRecord::Migration.verbose = false
|
9
9
|
|
10
10
|
require 'combustion'
|
11
|
-
Combustion.initialize! :active_record
|
12
|
-
if config.active_record.sqlite3.respond_to?(:represent_boolean_as_integer)
|
13
|
-
config.active_record.sqlite3.represent_boolean_as_integer = true
|
14
|
-
end
|
15
|
-
end
|
11
|
+
Combustion.initialize! :active_record
|
16
12
|
|
17
13
|
require 'rspec/rails'
|
18
14
|
require 'webmock/rspec'
|
@@ -47,9 +43,6 @@ RSpec.configure do |config|
|
|
47
43
|
end
|
48
44
|
|
49
45
|
config.before(:each) do
|
50
|
-
SidekiqUniqueJobs.configure do |c|
|
51
|
-
c.redis_test_mode = :mock
|
52
|
-
end
|
53
46
|
allow(Sidekiq).to receive(:redis).and_yield(MOCK_REDIS)
|
54
47
|
|
55
48
|
clear_sidekiq_jobs_and_locks
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: global-registry-bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Zoetewey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -56,20 +56,20 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
59
|
+
version: '5'
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
62
|
+
version: '7'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: '5'
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '
|
72
|
+
version: '7'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: sidekiq-unique-jobs
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,7 +79,7 @@ dependencies:
|
|
79
79
|
version: 5.0.0
|
80
80
|
- - "<"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '8'
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -89,7 +89,7 @@ dependencies:
|
|
89
89
|
version: 5.0.0
|
90
90
|
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: '
|
92
|
+
version: '8'
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: deepsort
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,14 +158,14 @@ dependencies:
|
|
158
158
|
requirements:
|
159
159
|
- - "~>"
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
version: '1
|
161
|
+
version: '2.1'
|
162
162
|
type: :development
|
163
163
|
prerelease: false
|
164
164
|
version_requirements: !ruby/object:Gem::Requirement
|
165
165
|
requirements:
|
166
166
|
- - "~>"
|
167
167
|
- !ruby/object:Gem::Version
|
168
|
-
version: '1
|
168
|
+
version: '2.1'
|
169
169
|
- !ruby/object:Gem::Dependency
|
170
170
|
name: rake
|
171
171
|
requirement: !ruby/object:Gem::Requirement
|
@@ -242,14 +242,14 @@ dependencies:
|
|
242
242
|
requirements:
|
243
243
|
- - "~>"
|
244
244
|
- !ruby/object:Gem::Version
|
245
|
-
version: 1.
|
245
|
+
version: '1.4'
|
246
246
|
type: :development
|
247
247
|
prerelease: false
|
248
248
|
version_requirements: !ruby/object:Gem::Requirement
|
249
249
|
requirements:
|
250
250
|
- - "~>"
|
251
251
|
- !ruby/object:Gem::Version
|
252
|
-
version: 1.
|
252
|
+
version: '1.4'
|
253
253
|
- !ruby/object:Gem::Dependency
|
254
254
|
name: mock_redis
|
255
255
|
requirement: !ruby/object:Gem::Requirement
|
@@ -401,6 +401,8 @@ files:
|
|
401
401
|
- spec/internal/config/initializers/global_registry.rb
|
402
402
|
- spec/internal/config/routes.rb
|
403
403
|
- spec/internal/db/schema.rb
|
404
|
+
- spec/internal/db/test.sqlite
|
405
|
+
- spec/internal/log/test.log
|
404
406
|
- spec/models/address_spec.rb
|
405
407
|
- spec/models/assignment_spec.rb
|
406
408
|
- spec/models/organization_spec.rb
|
@@ -432,8 +434,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
432
434
|
- !ruby/object:Gem::Version
|
433
435
|
version: '0'
|
434
436
|
requirements: []
|
435
|
-
|
436
|
-
rubygems_version: 2.5.1
|
437
|
+
rubygems_version: 3.1.2
|
437
438
|
signing_key:
|
438
439
|
specification_version: 4
|
439
440
|
summary: ActiveRecord bindings for Global Registry
|
@@ -454,6 +455,8 @@ test_files:
|
|
454
455
|
- spec/internal/config/database.yml
|
455
456
|
- spec/internal/config/initializers/global_registry.rb
|
456
457
|
- spec/internal/db/schema.rb
|
458
|
+
- spec/internal/db/test.sqlite
|
459
|
+
- spec/internal/log/test.log
|
457
460
|
- spec/models/person_spec.rb
|
458
461
|
- spec/models/testing_spec.rb
|
459
462
|
- spec/models/assignment_spec.rb
|