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: cf595012e1381601b208816ce2e7d2f8646c6b63
4
- data.tar.gz: e370ae13393bac4f2e53aad4366260b922edf014
3
+ metadata.gz: 6d8173e2d9e1987d6bf789dd475cf85b5adae052
4
+ data.tar.gz: 434d716a4e19d35a251c40cb88e7dbeab15bf81f
5
5
  SHA512:
6
- metadata.gz: 9be8b552eedf5733391dc25020a0b133037629ac19f5ac913bf1f2ceb32875c3414b179cef3358fb63b101a38f690c93b3858c6055838c1d0a46c8f7c9c8c242
7
- data.tar.gz: 9571c9189e2b8dca6cccea4176c684d1163b13049aa6f35c40367f087a0662bf1407633bc07e1f19dc469bb70ffed87dbf355a41dbdcc717295c58e48dcc8aaa
6
+ metadata.gz: 7dae70d432ca85b7208b0f8a81bc6771ecd434f13ec20fcdd58bb2d1332ddfca8bcf721574a8702e1e59e02f8ee2c87c16442190a49121a88795061a383326b6
7
+ data.tar.gz: 6056a681ec4b28638cf5b0f77ac96a11e7f0d29cab91ddde1d98f20ae81412c3c794bfde2f7a6af52c990953f57195703a1a321f1121b860af3a7aaa294b4e2f
@@ -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 = :inline", env: "development"
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
  }
@@ -1,6 +1,6 @@
1
1
  module Potassium
2
- VERSION = "5.1.2"
2
+ VERSION = "5.1.3"
3
3
  RUBY_VERSION = "2.3.1"
4
- RAILS_VERSION = "~> 5.1.2"
4
+ RAILS_VERSION = "~> 5.1.3"
5
5
  RUBOCOP_VERSION = "~> 0.49.1"
6
6
  end
@@ -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 inline queue_adapter to development.rb" do
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 = :inline")
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.2
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-06-30 00:00:00.000000000 Z
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.2
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.2
96
+ version: 5.1.3
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: gli
99
99
  requirement: !ruby/object:Gem::Requirement