Skip to content

Commit 43aeaad

Browse files
committed
Additional dbt 0.18 upgrades
1 parent 2cb1fb5 commit 43aeaad

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

dbt_project.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
name: 'dbt_date'
2-
version: '0.1'
2+
version: '0.2'
3+
4+
config-version: 2
35

46
target-path: "target"
57
clean-targets: ["target", "dbt_modules"]
68
macro-paths: ["macros"]
79
log-path: "logs"
810

9-
require-dbt-version: ">=0.14.0"
10-
profile: dev
11+
require-dbt-version: [">=0.18.0", "<0.19.0"]
12+
profile: integration_tests
13+
1114
quoting:
1215
identifier: false
1316
schema: false
1417

18+
vars:
19+
'dbt_date:time_zone': 'America/Los_Angeles'
20+
1521
models:
16-
vars:
17-
'dbt_date:time_zone': 'America/Los_Angeles'

macros/fiscal_date/get_fiscal_year_dates.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% macro get_fiscal_year_dates(dates, year_end_month=12, week_start_day=1, shift_year=1) %}
2-
{{ adapter_macro('dbt_date.get_fiscal_year_dates', dates, year_end_month, week_start_day, shift_year) }}
2+
{{ adapter.dispatch('get_fiscal_year_dates', packages = dbt_date._get_utils_namespaces()) (dates, year_end_month, week_start_day, shift_year) }}
33
{% endmacro %}
44

55
{% macro default__get_fiscal_year_dates(dates, year_end_month, week_start_day, shift_year) %}

packages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
packages:
22
- package: fishtown-analytics/dbt_utils
3-
version: [">=0.2.0", "<0.3.0"]
3+
version: [">=0.6.0", "<0.7.0"]

0 commit comments

Comments
 (0)