hoodoo 2.12.8.pre → 3.0.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: 5314ed63ab3c81f3fe92a32cd73d7daceab70dc64675a3e54c8a8d2ac7e0fc73
4
- data.tar.gz: eb3f2f21e7d8e42ec2790e0a24a06db17e4e92e08fa690ca0bfed6133d2a484c
3
+ metadata.gz: 1fba8a5c7386f99669d0b9d6a68934488c2f07feefb8c9df8681a0d3827859d2
4
+ data.tar.gz: 0d69810c6555070d48d58ec7374d92fea7d7dd09d5dac4527affd79818f4de05
5
5
  SHA512:
6
- metadata.gz: a27bed801be8c350c7b5cbdb72322a810ed52a3ca494fe1efdf18065cb4c07460ee9ba26613dbd32eab1add5aa90585a1331f4303dac816d9ff85975faef58ea
7
- data.tar.gz: 24a8fc2c87586633390ea2bdfe85ba3e6bff0e465ae6aee43a5a8e8fd004bdcd9e52452ff97ac79bdb0f1744c11ab2e8f08864aecef74940a1683bb7cb721173
6
+ metadata.gz: cb688e1a5daaf79690301811303dbba3996f6e41d94f7d1a856e413690137bea698ac060156d57e040518f90b719caa9f815a6a40c14cf43693e55bcbea59b58
7
+ data.tar.gz: ae0455ff6a34c53ee7cc960d0e16b6836a52190b8699215c8d9afe9c53307aa4dda097bfbe246754467434fc0e5ec856195dfd307aae14338cd004421f452624
@@ -211,6 +211,13 @@ module Hoodoo
211
211
  :header => 'X-Deja-Vu',
212
212
  :header_proc => BOOLEAN_HEADER_PROC,
213
213
  },
214
+
215
+ 'HTTP_X_DISABLE_DOWNSTREAM_SYNC' => {
216
+ :property => :disable_downstream_sync,
217
+ :property_proc => BOOLEAN_PROPERTY_PROC,
218
+ :header => 'X-Disable-Downstream-Sync',
219
+ :header_proc => BOOLEAN_HEADER_PROC,
220
+ },
214
221
  }
215
222
 
216
223
  # For speed, fill in a "property_writer" value, where "foo" becomes
@@ -12,11 +12,11 @@ module Hoodoo
12
12
  # The Hoodoo gem version. If this changes, be sure to re-run
13
13
  # <tt>bundle install</tt> or <tt>bundle update</tt>.
14
14
  #
15
- VERSION = '2.12.8.pre'
15
+ VERSION = '3.0.0'
16
16
 
17
17
  # The Hoodoo gem date. If this changes, be sure to re-run
18
18
  # <tt>bundle install</tt> or <tt>bundle update</tt>.
19
19
  #
20
- DATE = '2021-05-31'
20
+ DATE = '2022-02-02'
21
21
 
22
22
  end
@@ -654,6 +654,8 @@ describe Hoodoo::Client do
654
654
  @dated_from = Time.now - 2.years
655
655
  when :deja_vu
656
656
  @deja_vu = true
657
+ when :disable_downstream_sync
658
+ @disable_downstream_sync = true
657
659
  else
658
660
  raise "Update client_spec.rb with new non-secured properties for test"
659
661
  end
data/spec/spec_helper.rb CHANGED
@@ -199,6 +199,8 @@ def spec_helper_connect_to_postgres( database_name = 'postgres' )
199
199
  ActiveRecord::Base.establish_connection(
200
200
  :adapter => 'postgresql',
201
201
  :username => ENV[ 'DATABASE_USER' ],
202
+ :host => '127.0.0.1',
203
+ :port => 15432,
202
204
  :database => database_name
203
205
  )
204
206
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoodoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.8.pre
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loyalty New Zealand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-31 00:00:00.000000000 Z
11
+ date: 2022-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dalli
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 5.2.4.3
47
+ version: 7.0.1
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 5.2.4.3
54
+ version: 7.0.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activesupport
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 5.2.4.3
61
+ version: 7.0.1
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 5.2.4.3
68
+ version: 7.0.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: airbrake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '1.7'
145
+ version: '1.8'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '1.7'
152
+ version: '1.8'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: le
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -262,20 +262,6 @@ dependencies:
262
262
  - - "~>"
263
263
  - !ruby/object:Gem::Version
264
264
  version: '3.8'
265
- - !ruby/object:Gem::Dependency
266
- name: sdoc
267
- requirement: !ruby/object:Gem::Requirement
268
- requirements:
269
- - - "~>"
270
- - !ruby/object:Gem::Version
271
- version: '2.2'
272
- type: :development
273
- prerelease: false
274
- version_requirements: !ruby/object:Gem::Requirement
275
- requirements:
276
- - - "~>"
277
- - !ruby/object:Gem::Version
278
- version: '2.2'
279
265
  - !ruby/object:Gem::Dependency
280
266
  name: simplecov-rcov
281
267
  requirement: !ruby/object:Gem::Requirement
@@ -591,14 +577,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
591
577
  requirements:
592
578
  - - ">="
593
579
  - !ruby/object:Gem::Version
594
- version: 2.5.5
580
+ version: 2.7.3
595
581
  required_rubygems_version: !ruby/object:Gem::Requirement
596
582
  requirements:
597
- - - ">"
583
+ - - ">="
598
584
  - !ruby/object:Gem::Version
599
- version: 1.3.1
585
+ version: '0'
600
586
  requirements: []
601
- rubygems_version: 3.2.21
587
+ rubygems_version: 3.3.6
602
588
  signing_key:
603
589
  specification_version: 4
604
590
  summary: Opinionated APIs