brillo 1.2.1 → 1.2.2
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 +5 -0
- data/lib/brillo/errors.rb +2 -2
- data/lib/brillo/railtie.rb +9 -0
- data/lib/brillo/version.rb +1 -1
- data/lib/brillo.rb +0 -5
- 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: dca2fe9bf5bd40152028f30723ec28bf20b277b6
|
|
4
|
+
data.tar.gz: b3fd67ef708fdeac5f980889fe40d8f46b618bb0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9288c13a235a8e14569e19a5e9e4949675c164a60c926c7b5da381870893d781f2d7c4c9c477ca7d3d96d1632fae224cc6dc20004955f66bec234683ba663d49
|
|
7
|
+
data.tar.gz: a5b3663b86b43f5a74843e8d7018cb1ba293b1913b21e7cd41502e46c6b8316e52c0be0b44379b32a73b225d878d5d6508eb607bf2ce7cee0b4f8d5482a5eebd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.2.2
|
|
4
|
+
Fixed initializer. `Brillo.configure` pre-initialization will now work.
|
|
5
|
+
|
|
6
|
+
Moved verification of config to post app initialization.
|
|
7
|
+
|
|
3
8
|
## 1.2.1
|
|
4
9
|
Support S3 config [via your environment](https://github.com/aws/aws-sdk-ruby#configuration). To configure via the environment, just leave your `Brillo.config.transfer_config.{access_key_id,secret_access_key}` blank.
|
|
5
10
|
|
data/lib/brillo/errors.rb
CHANGED
data/lib/brillo/railtie.rb
CHANGED
|
@@ -7,6 +7,15 @@ if defined? Rails
|
|
|
7
7
|
generators do
|
|
8
8
|
require "generators/brillo.rb"
|
|
9
9
|
end
|
|
10
|
+
config.after_initialize do
|
|
11
|
+
Brillo.configure do |config|
|
|
12
|
+
begin
|
|
13
|
+
config.verify!
|
|
14
|
+
rescue ConfigParseError => e
|
|
15
|
+
puts "Brillo config contains errors: #{e}"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
10
19
|
end
|
|
11
20
|
end
|
|
12
21
|
end
|
data/lib/brillo/version.rb
CHANGED
data/lib/brillo.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: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Bessey
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-01-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
225
225
|
version: '0'
|
|
226
226
|
requirements: []
|
|
227
227
|
rubyforge_project:
|
|
228
|
-
rubygems_version: 2.
|
|
228
|
+
rubygems_version: 2.5.2
|
|
229
229
|
signing_key:
|
|
230
230
|
specification_version: 4
|
|
231
231
|
summary: Rails database scrubber and loader, great for seeding your dev db with real
|