potassium 5.1.3 → 5.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +11 -0
- data/circle.yml +3 -1
- data/lib/potassium/assets/Dockerfile.ci +1 -1
- data/lib/potassium/assets/config/mailer.rb.erb +1 -1
- data/lib/potassium/recipes/paperclip.rb +1 -1
- data/lib/potassium/recipes/rails.rb +5 -0
- data/lib/potassium/recipes/schedule.rb +1 -1
- data/lib/potassium/templates/application.rb +1 -0
- data/lib/potassium/version.rb +2 -2
- data/spec/features/new_project_spec.rb +7 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e3229a27d5e3432c237879deb06753f6d6eba7f
|
4
|
+
data.tar.gz: 8b2ee90efb39056ecbdafd7f3e5acfbce40502a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 420d0c10911f3c4fa6da1be9e67e9bfb894a6a16431a1fc482b9781bc943013cea3a319dac589e3721af45c770a50edb6196205b96e7555fc3158f09cd1c49d1
|
7
|
+
data.tar.gz: d4759c06b04f116e0ff83df017df9c3f03426597e50127049658a50d851bb4bacea7c46b4c7e6c1dec15f5ce7655e8e4ca8eb2fcd64887e1639e11615dbd8016
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4
|
data/CHANGELOG.md
CHANGED
data/circle.yml
CHANGED
@@ -3,7 +3,7 @@ Rails.application.config.action_mailer.delivery_method = :<%= get(:mailer_delive
|
|
3
3
|
|
4
4
|
Rails.application.config.action_mailer.default_url_options = {
|
5
5
|
host: ENV.fetch('APPLICATION_HOST'),
|
6
|
-
protocol:
|
6
|
+
protocol: 'https'
|
7
7
|
}
|
8
8
|
|
9
9
|
Rails.application.config.action_mailer.default_options = { from: ENV['DEFAULT_EMAIL_ADDRESS'] }
|
@@ -27,7 +27,7 @@ class Recipes::Paperclip < Rails::AppBuilder
|
|
27
27
|
<<-RUBY.gsub(/^ {7}/, '')
|
28
28
|
config.paperclip_defaults = {
|
29
29
|
storage: :s3,
|
30
|
-
s3_protocol:
|
30
|
+
s3_protocol: 'https'
|
31
31
|
s3_region: ENV.fetch('AWS_REGION', 'us-east-1'),
|
32
32
|
s3_credentials: {
|
33
33
|
bucket: ENV['S3_BUCKET']
|
data/lib/potassium/version.rb
CHANGED
@@ -29,7 +29,13 @@ RSpec.describe "A new project" do
|
|
29
29
|
it "configures the correct ruby version" do
|
30
30
|
ruby_version_file = IO.read("#{project_path}/.ruby-version")
|
31
31
|
|
32
|
-
expect(ruby_version_file).to eq("2.
|
32
|
+
expect(ruby_version_file).to eq("2.4")
|
33
|
+
end
|
34
|
+
|
35
|
+
it "setup ssl" do
|
36
|
+
content = IO.read("#{project_path}/config/environments/production.rb")
|
37
|
+
|
38
|
+
expect(content).to include %{force_ssl = true}
|
33
39
|
end
|
34
40
|
|
35
41
|
context "seeds related issues" 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.4
|
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-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -279,6 +279,7 @@ files:
|
|
279
279
|
- lib/potassium/recipes/puma.rb
|
280
280
|
- lib/potassium/recipes/pundit.rb
|
281
281
|
- lib/potassium/recipes/rack_cors.rb
|
282
|
+
- lib/potassium/recipes/rails.rb
|
282
283
|
- lib/potassium/recipes/readme.rb
|
283
284
|
- lib/potassium/recipes/ruby.rb
|
284
285
|
- lib/potassium/recipes/schedule.rb
|
@@ -333,7 +334,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
333
334
|
version: '0'
|
334
335
|
requirements: []
|
335
336
|
rubyforge_project:
|
336
|
-
rubygems_version: 2.6.
|
337
|
+
rubygems_version: 2.6.11
|
337
338
|
signing_key:
|
338
339
|
specification_version: 4
|
339
340
|
summary: An application generator from Platanus
|