potassium 5.1.2 → 5.1.3
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d8173e2d9e1987d6bf789dd475cf85b5adae052
|
4
|
+
data.tar.gz: 434d716a4e19d35a251c40cb88e7dbeab15bf81f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dae70d432ca85b7208b0f8a81bc6771ecd434f13ec20fcdd58bb2d1332ddfca8bcf721574a8702e1e59e02f8ee2c87c16442190a49121a88795061a383326b6
|
7
|
+
data.tar.gz: 6056a681ec4b28638cf5b0f77ac96a11e7f0d29cab91ddde1d98f20ae81412c3c794bfde2f7a6af52c990953f57195703a1a321f1121b860af3a7aaa294b4e2f
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## 5.1.3
|
6
|
+
|
7
|
+
Features:
|
8
|
+
- Rails 5.1.3
|
9
|
+
- Use `async` instead of `inline` option as `queue_adapter` on development
|
10
|
+
- Adds `s3_region` property to paperclip config.
|
11
|
+
- Support HTTPS in paperclip configuration
|
12
|
+
|
5
13
|
## 5.1.2
|
6
14
|
|
7
15
|
- Rails 5.1.2
|
@@ -49,7 +49,7 @@ class Recipes::BackgroundProcessor < Rails::AppBuilder
|
|
49
49
|
|
50
50
|
def add_adapters(name)
|
51
51
|
application("config.active_job.queue_adapter = :#{name}")
|
52
|
-
application "config.active_job.queue_adapter = :
|
52
|
+
application "config.active_job.queue_adapter = :async", env: "development"
|
53
53
|
application "config.active_job.queue_adapter = :test", env: "test"
|
54
54
|
end
|
55
55
|
end
|
@@ -27,6 +27,8 @@ class Recipes::Paperclip < Rails::AppBuilder
|
|
27
27
|
<<-RUBY.gsub(/^ {7}/, '')
|
28
28
|
config.paperclip_defaults = {
|
29
29
|
storage: :s3,
|
30
|
+
s3_protocol: ENV['FORCE_SSL'] == 'true' ? 'https' : 'http',
|
31
|
+
s3_region: ENV.fetch('AWS_REGION', 'us-east-1'),
|
30
32
|
s3_credentials: {
|
31
33
|
bucket: ENV['S3_BUCKET']
|
32
34
|
}
|
data/lib/potassium/version.rb
CHANGED
@@ -18,9 +18,9 @@ RSpec.describe "BackgroundProcessor" do
|
|
18
18
|
expect(content).to include("config.active_job.queue_adapter = :sidekiq")
|
19
19
|
end
|
20
20
|
|
21
|
-
it "adds
|
21
|
+
it "adds async queue_adapter to development.rb" do
|
22
22
|
content = IO.read("#{project_path}/config/environments/development.rb")
|
23
|
-
expect(content).to include("config.active_job.queue_adapter = :
|
23
|
+
expect(content).to include("config.active_job.queue_adapter = :async")
|
24
24
|
end
|
25
25
|
|
26
26
|
it "adds test queue_adapter to test.rb" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: potassium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- juliogarciag
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 5.1.
|
89
|
+
version: 5.1.3
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 5.1.
|
96
|
+
version: 5.1.3
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: gli
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|