Skip to content

Commit b93254a

Browse files
authored
downgrade to rails 7.0.8.6 (#45)
* downgrade rails * define schemas as 7.0
1 parent c5cc2a6 commit b93254a

9 files changed

+89
-120
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

44
ruby "3.1.6"
55

6-
gem "rails"
6+
gem "rails", "7.0.8.6"
77

88
gem "sinatra"
99

Gemfile.lock

Lines changed: 81 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,84 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (7.1.3.2)
5-
actionpack (= 7.1.3.2)
6-
activesupport (= 7.1.3.2)
4+
actioncable (7.0.8.6)
5+
actionpack (= 7.0.8.6)
6+
activesupport (= 7.0.8.6)
77
nio4r (~> 2.0)
88
websocket-driver (>= 0.6.1)
9-
zeitwerk (~> 2.6)
10-
actionmailbox (7.1.3.2)
11-
actionpack (= 7.1.3.2)
12-
activejob (= 7.1.3.2)
13-
activerecord (= 7.1.3.2)
14-
activestorage (= 7.1.3.2)
15-
activesupport (= 7.1.3.2)
9+
actionmailbox (7.0.8.6)
10+
actionpack (= 7.0.8.6)
11+
activejob (= 7.0.8.6)
12+
activerecord (= 7.0.8.6)
13+
activestorage (= 7.0.8.6)
14+
activesupport (= 7.0.8.6)
1615
mail (>= 2.7.1)
1716
net-imap
1817
net-pop
1918
net-smtp
20-
actionmailer (7.1.3.2)
21-
actionpack (= 7.1.3.2)
22-
actionview (= 7.1.3.2)
23-
activejob (= 7.1.3.2)
24-
activesupport (= 7.1.3.2)
19+
actionmailer (7.0.8.6)
20+
actionpack (= 7.0.8.6)
21+
actionview (= 7.0.8.6)
22+
activejob (= 7.0.8.6)
23+
activesupport (= 7.0.8.6)
2524
mail (~> 2.5, >= 2.5.4)
2625
net-imap
2726
net-pop
2827
net-smtp
29-
rails-dom-testing (~> 2.2)
30-
actionpack (7.1.3.2)
31-
actionview (= 7.1.3.2)
32-
activesupport (= 7.1.3.2)
33-
nokogiri (>= 1.8.5)
34-
racc
35-
rack (>= 2.2.4)
36-
rack-session (>= 1.0.1)
28+
rails-dom-testing (~> 2.0)
29+
actionpack (7.0.8.6)
30+
actionview (= 7.0.8.6)
31+
activesupport (= 7.0.8.6)
32+
rack (~> 2.0, >= 2.2.4)
3733
rack-test (>= 0.6.3)
38-
rails-dom-testing (~> 2.2)
39-
rails-html-sanitizer (~> 1.6)
40-
actiontext (7.1.3.2)
41-
actionpack (= 7.1.3.2)
42-
activerecord (= 7.1.3.2)
43-
activestorage (= 7.1.3.2)
44-
activesupport (= 7.1.3.2)
34+
rails-dom-testing (~> 2.0)
35+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
36+
actiontext (7.0.8.6)
37+
actionpack (= 7.0.8.6)
38+
activerecord (= 7.0.8.6)
39+
activestorage (= 7.0.8.6)
40+
activesupport (= 7.0.8.6)
4541
globalid (>= 0.6.0)
4642
nokogiri (>= 1.8.5)
47-
actionview (7.1.3.2)
48-
activesupport (= 7.1.3.2)
43+
actionview (7.0.8.6)
44+
activesupport (= 7.0.8.6)
4945
builder (~> 3.1)
50-
erubi (~> 1.11)
51-
rails-dom-testing (~> 2.2)
52-
rails-html-sanitizer (~> 1.6)
53-
activejob (7.1.3.2)
54-
activesupport (= 7.1.3.2)
46+
erubi (~> 1.4)
47+
rails-dom-testing (~> 2.0)
48+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
49+
activejob (7.0.8.6)
50+
activesupport (= 7.0.8.6)
5551
globalid (>= 0.3.6)
56-
activemodel (7.1.3.2)
57-
activesupport (= 7.1.3.2)
58-
activerecord (7.1.3.2)
59-
activemodel (= 7.1.3.2)
60-
activesupport (= 7.1.3.2)
61-
timeout (>= 0.4.0)
62-
activestorage (7.1.3.2)
63-
actionpack (= 7.1.3.2)
64-
activejob (= 7.1.3.2)
65-
activerecord (= 7.1.3.2)
66-
activesupport (= 7.1.3.2)
52+
activemodel (7.0.8.6)
53+
activesupport (= 7.0.8.6)
54+
activerecord (7.0.8.6)
55+
activemodel (= 7.0.8.6)
56+
activesupport (= 7.0.8.6)
57+
activestorage (7.0.8.6)
58+
actionpack (= 7.0.8.6)
59+
activejob (= 7.0.8.6)
60+
activerecord (= 7.0.8.6)
61+
activesupport (= 7.0.8.6)
6762
marcel (~> 1.0)
68-
activesupport (7.1.3.2)
69-
base64
70-
bigdecimal
63+
mini_mime (>= 1.1.0)
64+
activesupport (7.0.8.6)
7165
concurrent-ruby (~> 1.0, >= 1.0.2)
72-
connection_pool (>= 2.2.5)
73-
drb
7466
i18n (>= 1.6, < 2)
7567
minitest (>= 5.1)
76-
mutex_m
7768
tzinfo (~> 2.0)
7869
base64 (0.2.0)
79-
bigdecimal (3.1.7)
8070
builder (3.2.4)
8171
byebug (11.1.3)
8272
coderay (1.1.3)
8373
concurrent-ruby (1.2.3)
8474
connection_pool (2.4.1)
8575
crass (1.0.6)
86-
database_cleaner-active_record (2.1.0)
76+
database_cleaner-active_record (2.2.0)
8777
activerecord (>= 5.a)
8878
database_cleaner-core (~> 2.0.0)
8979
database_cleaner-core (2.0.1)
90-
date (3.3.4)
80+
date (3.4.1)
9181
diff-lcs (1.5.1)
92-
drb (2.2.1)
9382
erubi (1.12.0)
9483
factory_bot (6.4.6)
9584
activesupport (>= 5.0.0)
@@ -100,10 +89,6 @@ GEM
10089
activesupport (>= 6.1)
10190
i18n (1.14.4)
10291
concurrent-ruby (~> 1.0)
103-
io-console (0.7.2)
104-
irb (1.12.0)
105-
rdoc
106-
reline (>= 0.4.2)
10792
loofah (2.22.0)
10893
crass (~> 1.0.2)
10994
nokogiri (>= 1.12.0)
@@ -117,10 +102,9 @@ GEM
117102
mini_mime (1.1.5)
118103
mini_portile2 (2.8.5)
119104
minitest (5.22.3)
120-
mustermann (3.0.0)
105+
mustermann (3.0.3)
121106
ruby2_keywords (~> 0.0.1)
122-
mutex_m (0.2.0)
123-
net-imap (0.4.10)
107+
net-imap (0.5.1)
124108
date
125109
net-protocol
126110
net-pop (0.1.2)
@@ -142,58 +126,46 @@ GEM
142126
pry-byebug (3.10.1)
143127
byebug (~> 11.0)
144128
pry (>= 0.13, < 0.15)
145-
psych (5.1.2)
146-
stringio
147129
puma (6.4.2)
148130
nio4r (~> 2.0)
149131
racc (1.7.3)
150-
rack (3.0.10)
151-
rack-protection (4.0.0)
132+
rack (2.2.10)
133+
rack-protection (3.2.0)
152134
base64 (>= 0.1.0)
153-
rack (>= 3.0.0, < 4)
154-
rack-session (2.0.0)
155-
rack (>= 3.0.0)
135+
rack (~> 2.2, >= 2.2.4)
156136
rack-test (2.1.0)
157137
rack (>= 1.3)
158-
rackup (2.1.0)
159-
rack (>= 3)
160-
webrick (~> 1.8)
161-
rails (7.1.3.2)
162-
actioncable (= 7.1.3.2)
163-
actionmailbox (= 7.1.3.2)
164-
actionmailer (= 7.1.3.2)
165-
actionpack (= 7.1.3.2)
166-
actiontext (= 7.1.3.2)
167-
actionview (= 7.1.3.2)
168-
activejob (= 7.1.3.2)
169-
activemodel (= 7.1.3.2)
170-
activerecord (= 7.1.3.2)
171-
activestorage (= 7.1.3.2)
172-
activesupport (= 7.1.3.2)
138+
rails (7.0.8.6)
139+
actioncable (= 7.0.8.6)
140+
actionmailbox (= 7.0.8.6)
141+
actionmailer (= 7.0.8.6)
142+
actionpack (= 7.0.8.6)
143+
actiontext (= 7.0.8.6)
144+
actionview (= 7.0.8.6)
145+
activejob (= 7.0.8.6)
146+
activemodel (= 7.0.8.6)
147+
activerecord (= 7.0.8.6)
148+
activestorage (= 7.0.8.6)
149+
activesupport (= 7.0.8.6)
173150
bundler (>= 1.15.0)
174-
railties (= 7.1.3.2)
151+
railties (= 7.0.8.6)
175152
rails-dom-testing (2.2.0)
176153
activesupport (>= 5.0.0)
177154
minitest
178155
nokogiri (>= 1.6)
179156
rails-html-sanitizer (1.6.0)
180157
loofah (~> 2.21)
181158
nokogiri (~> 1.14)
182-
railties (7.1.3.2)
183-
actionpack (= 7.1.3.2)
184-
activesupport (= 7.1.3.2)
185-
irb
186-
rackup (>= 1.0.0)
159+
railties (7.0.8.6)
160+
actionpack (= 7.0.8.6)
161+
activesupport (= 7.0.8.6)
162+
method_source
187163
rake (>= 12.2)
188-
thor (~> 1.0, >= 1.2.2)
189-
zeitwerk (~> 2.6)
164+
thor (~> 1.0)
165+
zeitwerk (~> 2.5)
190166
rake (13.2.1)
191-
rdoc (6.6.3.1)
192-
psych (>= 4.0.0)
193167
redis-client (0.22.0)
194168
connection_pool
195-
reline (0.5.1)
196-
io-console (~> 0.5)
197169
rspec-core (3.13.0)
198170
rspec-support (~> 3.13.0)
199171
rspec-expectations (3.13.0)
@@ -202,34 +174,31 @@ GEM
202174
rspec-mocks (3.13.0)
203175
diff-lcs (>= 1.2.0, < 2.0)
204176
rspec-support (~> 3.13.0)
205-
rspec-rails (6.1.2)
206-
actionpack (>= 6.1)
207-
activesupport (>= 6.1)
208-
railties (>= 6.1)
177+
rspec-rails (7.1.0)
178+
actionpack (>= 7.0)
179+
activesupport (>= 7.0)
180+
railties (>= 7.0)
209181
rspec-core (~> 3.13)
210182
rspec-expectations (~> 3.13)
211183
rspec-mocks (~> 3.13)
212184
rspec-support (~> 3.13)
213185
rspec-support (3.13.1)
214186
ruby2_keywords (0.0.5)
215-
sidekiq (7.2.2)
187+
sidekiq (7.2.4)
216188
concurrent-ruby (< 2)
217189
connection_pool (>= 2.3.0)
218190
rack (>= 2.2.4)
219191
redis-client (>= 0.19.0)
220-
sinatra (4.0.0)
192+
sinatra (3.2.0)
221193
mustermann (~> 3.0)
222-
rack (>= 3.0.0, < 4)
223-
rack-protection (= 4.0.0)
224-
rack-session (>= 2.0.0, < 3)
194+
rack (~> 2.2, >= 2.2.4)
195+
rack-protection (= 3.2.0)
225196
tilt (~> 2.0)
226-
stringio (3.1.0)
227197
thor (1.3.1)
228-
tilt (2.3.0)
198+
tilt (2.4.0)
229199
timeout (0.4.1)
230200
tzinfo (2.0.6)
231201
concurrent-ruby (~> 1.0)
232-
webrick (1.8.1)
233202
websocket-driver (0.7.6)
234203
websocket-extensions (>= 0.1.0)
235204
websocket-extensions (0.1.5)
@@ -246,7 +215,7 @@ DEPENDENCIES
246215
pg
247216
pry-byebug
248217
puma
249-
rails
218+
rails (= 7.0.8.6)
250219
rspec-rails
251220
sidekiq
252221
sinatra

db/migrate/20240413100944_create_accountify_organisations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class CreateAccountifyOrganisations < ActiveRecord::Migration[7.1]
1+
class CreateAccountifyOrganisations < ActiveRecord::Migration[7.0]
22
def change
33
create_table :accountify_organisations do |t|
44
t.bigint :tenant_id, null: false

db/migrate/20240527212747_create_accountify_contacts.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class CreateAccountifyContacts < ActiveRecord::Migration[7.1]
1+
class CreateAccountifyContacts < ActiveRecord::Migration[7.0]
22
def change
33
create_table :accountify_contacts do |t|
44
t.bigint :tenant_id, null: false, index: true

db/migrate/20240529212144_create_accountify_invoices.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class CreateAccountifyInvoices < ActiveRecord::Migration[7.1]
1+
class CreateAccountifyInvoices < ActiveRecord::Migration[7.0]
22
def change
33
create_table :accountify_invoices do |t|
44
t.bigint :tenant_id, null: false, index: true

db/migrate/20240530211442_create_accountify_invoice_line_items.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class CreateAccountifyInvoiceLineItems < ActiveRecord::Migration[7.1]
1+
class CreateAccountifyInvoiceLineItems < ActiveRecord::Migration[7.0]
22
def change
33
create_table :accountify_invoice_line_items do |t|
44
t.references :invoice,

db/migrate/20240706053510_create_accountify_invoice_status_summary.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class CreateAccountifyInvoiceStatusSummary < ActiveRecord::Migration[7.1]
1+
class CreateAccountifyInvoiceStatusSummary < ActiveRecord::Migration[7.0]
22
def change
33
create_table :accountify_invoice_status_summaries do |t|
44
t.bigint :tenant_id, null: false

db/schema.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/rails_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
end
2020

2121
RSpec.configure do |config|
22-
config.fixture_paths = [Rails.root.join('spec/fixtures')]
22+
config.fixture_path = Rails.root.join('spec/fixtures')
2323

2424
config.use_transactional_fixtures = false
2525

0 commit comments

Comments
 (0)