redata 1.3.0 → 1.3.1
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 +4 -4
- data/lib/generators/redata/config_generator.rb +2 -2
- data/lib/generators/templates/relations.rb +3 -3
- data/lib/redata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 51722293eba2e20922eaea7347e7de37f10ed0d0
|
|
4
|
+
data.tar.gz: 96c8c7ce0f74c857cb7abdf3da65c51aed11e71a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 98a887189cba09f78b1e9f258482d9dd64b4ce7087315ea0f5204052dc96673c46016abe602eb0a718698dfcad13c13ae656a50dc5a08b457dd4a3cc6e49aebe
|
|
7
|
+
data.tar.gz: 697cafdc81092a52283ea12a2ba494eab21a4b7e665ef773a7cccf7f4464fb6e275eb92b6fa39189e55d1342a4a7d5ff486f73ab08481c7fa199548a88e3844e
|
|
@@ -6,8 +6,8 @@ module Redata
|
|
|
6
6
|
desc 'Redata Config'
|
|
7
7
|
|
|
8
8
|
def config_steps
|
|
9
|
-
copy_file 'source_query_example.red.sql', '
|
|
10
|
-
copy_file 'adjust_query_example.red.sql', '
|
|
9
|
+
copy_file 'source_query_example.red.sql', 'query/sources/sources_query_example.red.sql'
|
|
10
|
+
copy_file 'adjust_query_example.red.sql', 'query/adjust/adjust_query_example.red.sql'
|
|
11
11
|
copy_file 'redata.yml', 'config/redata.yml'
|
|
12
12
|
copy_file 'red_access.yml', 'config/red_access.yml'
|
|
13
13
|
copy_file 'relations.rb', 'config/relations.rb'
|
|
@@ -9,7 +9,7 @@ Redata::Task.schema.config do
|
|
|
9
9
|
# Example of declaring a global table with customizing options
|
|
10
10
|
# table 'new_table_name', :dir => 'dir', :file => 'query_file', :as => :alias
|
|
11
11
|
# This declaration means
|
|
12
|
-
# query file:
|
|
12
|
+
# query file: query/sources/dir/query_file.red.sql
|
|
13
13
|
# redshift table: new_table_name
|
|
14
14
|
# key used in command line: alias
|
|
15
15
|
|
|
@@ -21,13 +21,13 @@ Redata::Task.schema.config do
|
|
|
21
21
|
# category :test_category do
|
|
22
22
|
# table 'test_table'
|
|
23
23
|
# This declaration means
|
|
24
|
-
# query file:
|
|
24
|
+
# query file: query/sources/test_category/test_table.red.sql
|
|
25
25
|
# redshift table: test_category_test_table
|
|
26
26
|
# key used in command line: test_category_test_table
|
|
27
27
|
|
|
28
28
|
# table 'test_table_oth', :dir => 'dir', :file => 'query_file_oth', :as => :alias_oth
|
|
29
29
|
# This declaration means
|
|
30
|
-
# query file:
|
|
30
|
+
# query file: query/sources/dir/query_file_oth.red.sql
|
|
31
31
|
# redshift table: test_category_test_table
|
|
32
32
|
# key used in command line: test_category_alias_oth
|
|
33
33
|
|
data/lib/redata/version.rb
CHANGED