redshifter 0.3.0 → 0.4.0
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/.gitignore +1 -0
- data/README.md +4 -2
- data/lib/redshifter/config.rb +1 -0
- data/lib/redshifter/util/create_or_replace_table.rb +1 -0
- data/lib/redshifter/util/s3.rb +2 -1
- data/lib/redshifter/util/update_table.rb +1 -0
- data/lib/redshifter/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 09710d63e1dafe18da8216b0d4de3662ca660e62
|
|
4
|
+
data.tar.gz: de3081992b84e55b39ae4c84b4d81fb18db40a4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fabe694521c2268d6b55cf634ca2ef62808695641a307eb60f12672e9e05049ccf0cdf3bf6a6ea1176e4e0a1b1d6d67a2e001465233ff025798c55d71553788f
|
|
7
|
+
data.tar.gz: 658c6ccf1c6dbcf9a21b14f658d4707f2af9f192d400050bc6d559d70064b787f8cef37b7cb4715b617b81e94376d702be9265fe6b7cff407029c20514c1ad4c
|
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -13,8 +13,9 @@ Feature Roadmap:
|
|
|
13
13
|
* store last runtime locally instead of using potentially costly redshift query
|
|
14
14
|
|
|
15
15
|
## Versions
|
|
16
|
-
0.2.4 - New config format; update and replace rake tasks available
|
|
17
|
-
0.3.0 - Public version
|
|
16
|
+
- 0.2.4 - New config format; update and replace rake tasks available
|
|
17
|
+
- 0.3.0 - Public version
|
|
18
|
+
- 0.4.0 - Make S3 region configurable
|
|
18
19
|
|
|
19
20
|
## Installation
|
|
20
21
|
|
|
@@ -53,6 +54,7 @@ Redshifter.setup do |config|
|
|
|
53
54
|
config.aws_access_key_id = '<AWS user access key ID>'
|
|
54
55
|
config.aws_secret_access_key = '<AWS user secret access key>'
|
|
55
56
|
config.s3_bucket = 'a_redshifter_bucket'
|
|
57
|
+
config.s3_bucket_region = 'us-east-1'
|
|
56
58
|
# Heroku user must be a member of the app and have privileges to
|
|
57
59
|
# start new dynos
|
|
58
60
|
config.heroku_api_key = '<Heroku user api key>'
|
data/lib/redshifter/config.rb
CHANGED
data/lib/redshifter/util/s3.rb
CHANGED
|
@@ -28,7 +28,8 @@ module Redshifter
|
|
|
28
28
|
@conn ||= Fog::Storage.new(
|
|
29
29
|
provider: 'AWS',
|
|
30
30
|
aws_access_key_id: Redshifter.config.aws_access_key_id,
|
|
31
|
-
aws_secret_access_key: Redshifter.config.aws_secret_access_key
|
|
31
|
+
aws_secret_access_key: Redshifter.config.aws_secret_access_key,
|
|
32
|
+
region: Redshifter.config.s3_bucket_region
|
|
32
33
|
)
|
|
33
34
|
end
|
|
34
35
|
|
data/lib/redshifter/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redshifter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Richard
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dynosaur
|
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
173
173
|
version: '0'
|
|
174
174
|
requirements: []
|
|
175
175
|
rubyforge_project:
|
|
176
|
-
rubygems_version: 2.
|
|
176
|
+
rubygems_version: 2.2.2
|
|
177
177
|
signing_key:
|
|
178
178
|
specification_version: 4
|
|
179
179
|
summary: ETL processing jobs to exporting Rails model tables to Redshift
|