pg_rails 7.0.8.pre.alpha.86 → 7.0.8.pre.alpha.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 777adfba6510fb280d827dab94dc0a924f851608924a38e16eeedc43c3bba896
4
- data.tar.gz: 9d099949a82596a82e8c2d62e71aaef3bda568cfc3a58793daaa2ab4d53f1d1b
3
+ metadata.gz: 11a9943ab64b335423a3cdade44755884793200a84fdcada6e233b57da56e6a2
4
+ data.tar.gz: ab282edacb9357c7c33c439243177e35a35ebd681f37a6317bfd7a8bf1a8cc84
5
5
  SHA512:
6
- metadata.gz: 142b66b567ed6f4aa81666b04f7157bb327af673420d4a3a333c723ffb2aa85895e6c80acbfa826a4f81b1db363f025a46d2d850b9dc6b399b4fad281caffa42
7
- data.tar.gz: 8317ed39418fe41a693810801ed8fdd5936d3b3dd4670f6247e92575c3a566962e61565c388cced8f5f8512a5910be7b06ca7d9d4b58ffe155168eca61f28749
6
+ metadata.gz: c986082ad8aeafff10393b65e028c357cafb90459458e86a3ab8e68b1194e828f392ea33568db2c5e29c797d9830cf9f168a4ac944aaa7c3564c6fb2066b4ced
7
+ data.tar.gz: fcdaa6c8d1950ef9b36a6fe27a83cbcf6b9fdadf21e45b8e79315664ce27843c5b983026ce79c6ea8b4ebfbb89b314e118218df31779407c7f1d45581ce22b9f
@@ -23,5 +23,5 @@ CableReady.configure do |config|
23
23
  # Doing so is a best practice to avoid heavy ActionCable traffic
24
24
  #
25
25
  # config.updatable_debounce_time = 0.1.seconds
26
- config.verifier_key = ENV.fetch('ANYCABLE_CABLE_READY_KEY', nil)
26
+ # config.verifier_key = Rails.application.credentials.dig(:anycable, :cable_ready_secret)
27
27
  end
@@ -96,4 +96,10 @@ module PgEngine
96
96
  db = (env_value.nil? ? 1 : (env_value.presence || 1)).to_i - 1
97
97
  "redis://127.0.0.1:6379/#{db}"
98
98
  end
99
+
100
+ GOOGLE_FONTS_URL =
101
+ <<~URL.chomp
102
+ https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;\
103
+ 0,500;0,700;1,300;1,400;1,500;1,700&display=swap
104
+ URL
99
105
  end
@@ -66,7 +66,7 @@ describe DummyBaseController do
66
66
  request.headers['Accept'] = 'application/json'
67
67
  end
68
68
 
69
- fit do
69
+ it do
70
70
  subject
71
71
  expect(response).to have_http_status(:internal_server_error)
72
72
  end
@@ -26,7 +26,7 @@ def build_body(log_id, signature, timestamp)
26
26
  JSON
27
27
  end
28
28
 
29
- fdescribe Public::WebhooksController do
29
+ describe Public::WebhooksController do
30
30
  include ActiveSupport::Testing::TimeHelpers
31
31
 
32
32
  before { travel_to Time.zone.at(1_716_564_587) }
@@ -61,7 +61,7 @@ fdescribe Public::WebhooksController do
61
61
  expect(response).to have_http_status(:internal_server_error)
62
62
  end
63
63
 
64
- fit do
64
+ it do
65
65
  expect { subject }.to have_errored('internal server error')
66
66
  .and(have_errored('no me sirve'))
67
67
  end
@@ -75,7 +75,7 @@ fdescribe Public::WebhooksController do
75
75
  expect(response).to have_http_status(:bad_request)
76
76
  end
77
77
 
78
- fit do
78
+ it do
79
79
  expect { subject }.to have_warned('parser error').and(have_warned('mal json'))
80
80
  end
81
81
  end
@@ -107,7 +107,7 @@ fdescribe Public::WebhooksController do
107
107
 
108
108
  it_behaves_like 'todo bien pero no guarda el log'
109
109
 
110
- fit do
110
+ it do
111
111
  expect { subject }.to have_warned('refusing invalid signature')
112
112
  end
113
113
  end
@@ -123,7 +123,7 @@ fdescribe Public::WebhooksController do
123
123
 
124
124
  it_behaves_like 'todo bien pero no guarda el log'
125
125
 
126
- fit do
126
+ it do
127
127
  expect { subject }.to have_warned('refusing used token')
128
128
  end
129
129
  end
@@ -134,7 +134,7 @@ fdescribe Public::WebhooksController do
134
134
 
135
135
  it_behaves_like 'todo bien pero no guarda el log'
136
136
 
137
- fit do
137
+ it do
138
138
  expect { subject }.to have_warned('refusing due to timestamp')
139
139
  end
140
140
  end
@@ -36,8 +36,7 @@ html
36
36
 
37
37
  link rel="preconnect" href="https://fonts.googleapis.com"
38
38
  link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="crossorigin"
39
- link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400; \
40
- 0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet"
39
+ link href=PgEngine::GOOGLE_FONTS_URL rel="stylesheet"
41
40
  css:
42
41
  body {
43
42
  font-family: "Ubuntu", sans-serif;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.0.8-alpha.86'
4
+ VERSION = '7.0.8-alpha.87'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.8.pre.alpha.86
4
+ version: 7.0.8.pre.alpha.87
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-30 00:00:00.000000000 Z
11
+ date: 2024-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails