brillo 2.0.0.rc1 → 2.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be0a2111b48be481799d0bd12cdf21d26910df68bbdb7606b2fb7dd60f506b4a
4
- data.tar.gz: 7eb16335d290df5402ed913fd3481271da3d3f17b2f8531c8ad1f06aed143ba1
3
+ metadata.gz: 152c12ab26d0a1204fc8896ac5642c23d6c7a114ba78fc568931d28db0cd8296
4
+ data.tar.gz: 217e8afeda911d2c8c8d063c37fa9f38feb8043235d6896989cab965e52f1f57
5
5
  SHA512:
6
- metadata.gz: 7ee6a06c79a6db89bc4b7da52638f82335abc9edef92bc5e0cf139fb6adf380d38466c51ebe3fd4b05b43a2ce2355bbf3e2f10a0fd5492bf63f6ce32c96a2a86
7
- data.tar.gz: 87a2a7018c6a494d7e3b5f1f4582dcb79b6e4f1ed77a786739bae26471f7c5d57b3caabaffa25d77d8972ea25b6b7ad3b2772cb01d71b3350ebe50f2a5289808
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 ||= ActiveRecord::Base.connection.instance_variable_get(:@config).dup
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[:adapter].to_sym
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[:adapter]}"
71
+ raise ConfigParseError, "Unsupported DB adapter #{db["adapter"]}"
72
72
  end
73
73
  end
74
74
 
@@ -1,3 +1,3 @@
1
1
  module Brillo
2
- VERSION = "2.0.0.rc1"
2
+ VERSION = "2.0.0.rc2"
3
3
  end
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.rc1
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-02-25 00:00:00.000000000 Z
11
+ date: 2019-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake