Skip to content

Commit 61a75d6

Browse files
authored
Merge pull request #36 from yamotech/feature/update-generated-dbt-files-for-dbt-v1.10
dbt v1.10+ Compatibility and YAML Structure Updates
2 parents a06f788 + 9165017 commit 61a75d6

18 files changed

Lines changed: 463 additions & 366 deletions

File tree

.github/workflows/ruby-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77
pull_request:
88
paths:
9-
- '**.rb'
9+
- "**.rb"
1010
workflow_dispatch:
1111

1212
jobs:
@@ -16,10 +16,10 @@ jobs:
1616
strategy:
1717
matrix:
1818
ruby-version:
19-
- '3.0'
20-
- '3.1'
21-
- '3.2'
22-
- '3.3'
19+
- "3.2"
20+
- "3.3"
21+
- "3.4"
22+
- "4.0"
2323
steps:
2424
- name: Checkout
2525
uses: actions/checkout@v4

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require:
1+
plugins:
22
- rubocop-performance
33
- rubocop-rails
44
- rubocop-rspec

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
- None
6+
7+
## [0.5.0] - 2026-01-18
8+
59
- Fix column order in `stg_*.yml`
610
- Fix `No matching signature for operator IN for argument types INT64 and {BOOL} at []`
711
- Changed to be able to exclude specified table names from sources
@@ -13,6 +17,10 @@
1317
- Update `ActiveRecord::Dbt::Seed::Enum::Yml#before_type_of_cast_column`
1418
- Add the `project_name` to the top of the `description`
1519
- Add `data_type` to enum column
20+
- Update generated dbt files for dbt v1.10+ compatibility (`arguments:`, `config:` structure)
21+
- Update README (fix descriptions, add version compatibility warning, add table of contents)
22+
- Add Ruby 3.4 and 4.0 to CI matrix
23+
- Update RuboCop configuration to use `plugins:` instead of `require:`
1624

1725
## [0.4.0] - 2024-09-01
1826

Gemfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
66
# Specify your gem's dependencies in activerecord-dbt.gemspec.
77
gemspec
88

9-
gem 'rails'
9+
gem 'rails', '~> 8.0'
1010

1111
gem 'puma'
1212

13-
if RUBY_VERSION >= '3.1'
14-
gem 'sqlite3', '~> 2.1'
15-
else
16-
gem 'sqlite3', '~> 1.4'
17-
end
13+
gem 'sqlite3', '~> 2.1'
1814

1915
group :development, :test do
2016
gem 'rspec-rails'

0 commit comments

Comments
 (0)