brillo 2.0.0.rc1 → 2.0.0.rc2
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/CHANGELOG.md +9 -0
- data/lib/brillo/config.rb +3 -3
- data/lib/brillo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 152c12ab26d0a1204fc8896ac5642c23d6c7a114ba78fc568931d28db0cd8296
|
|
4
|
+
data.tar.gz: 217e8afeda911d2c8c8d063c37fa9f38feb8043235d6896989cab965e52f1f57
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7dd86c3d3fe315a134bbe97fe98b4e601096c9ae8828fe7cd27fd5d54f9c6b69bba46a07101f2beb6fc80637e6a5e5963d67b135fefa231b7321a008fcd136f2
|
|
7
|
+
data.tar.gz: c7cd29e7b3cc517228b7cee2b3f7aaab3634dc3c051a8a74098cbff291a901b59c1a2394e57e66ba11d6b01b59b102c58cd1d449a7663923738c484f7fcffef3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 2.0.0.rc1
|
|
4
|
+
Upgrade to AWS SDK 3.0, reduce dependence to S3 specifically.
|
|
5
|
+
|
|
6
|
+
Support ERB in brillo.yaml
|
|
7
|
+
|
|
8
|
+
Support alternative primary keys to "id"
|
|
9
|
+
|
|
10
|
+
Fix bug where Brillo breaks when using the Octopus gem
|
|
11
|
+
|
|
3
12
|
## 1.3.1
|
|
4
13
|
Disable query cacheing to reduce memory growth over time.
|
|
5
14
|
|
data/lib/brillo/config.rb
CHANGED
|
@@ -53,7 +53,7 @@ module Brillo
|
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
def db
|
|
56
|
-
@db_config ||=
|
|
56
|
+
@db_config ||= Rails.configuration.database_configuration[Rails.env].dup
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
# TODO support other transfer systems
|
|
@@ -62,13 +62,13 @@ module Brillo
|
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
def adapter
|
|
65
|
-
case db[
|
|
65
|
+
case db["adapter"].to_sym
|
|
66
66
|
when :mysql2
|
|
67
67
|
Adapter::MySQL.new(db)
|
|
68
68
|
when :postgresql
|
|
69
69
|
Adapter::Postgres.new(db)
|
|
70
70
|
else
|
|
71
|
-
raise ConfigParseError, "Unsupported DB adapter #{db[
|
|
71
|
+
raise ConfigParseError, "Unsupported DB adapter #{db["adapter"]}"
|
|
72
72
|
end
|
|
73
73
|
end
|
|
74
74
|
|
data/lib/brillo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brillo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.0.
|
|
4
|
+
version: 2.0.0.rc2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Bessey
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|