dryer-config 8.1.0.1 → 8.1.1
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/config/deploy.yml +9 -6
- data/config/environments/production.rb +2 -2
- metadata +1 -10
- data/.gitignore +0 -1
- data/MIT-LICENSE +0 -20
- data/README.md +0 -122
- data/Rakefile +0 -6
- data/config.ru +0 -6
- data/dryer-config.gemspec +0 -21
- data/lib/dryer-config/engine.rb +0 -4
- data/lib/dryer-config/version.rb +0 -13
- data/lib/dryer-config.rb +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5988e7dba8e67b586a021fa6566a2f72ce043a99abe438536ac7e61d941051af
|
|
4
|
+
data.tar.gz: be1f066f2b35561ba0900a4903ea1ebe11e5a182528d8d3f3349e8110c21d303
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a07c6a8017ff3eb47fcec01b42a926bbf32c2ac149fdae9d73524747015467b86a521ce22db9ebdecd80164e1d51e3310c9641e67515c0491e806d2c356e523
|
|
7
|
+
data.tar.gz: cc7900fef91739aa76796119f5d18626668cb80c10e67b64f87ee4f6a88c52200912a0036d4d77c7ce0a92f2ed1610ce1509064115905d461a95f8776ba5a3b9
|
data/config/deploy.yml
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Name of your application. Used to uniquely configure containers.
|
|
2
|
-
service:
|
|
2
|
+
service: sample_8_1_1
|
|
3
3
|
|
|
4
4
|
# Name of the container image (use your-user/app-name on external registries).
|
|
5
|
-
image:
|
|
5
|
+
image: sample_8_1_1
|
|
6
6
|
|
|
7
7
|
# Deploy to these servers.
|
|
8
8
|
servers:
|
|
@@ -14,9 +14,12 @@ servers:
|
|
|
14
14
|
# cmd: bin/jobs
|
|
15
15
|
|
|
16
16
|
# Enable SSL auto certification via Let's Encrypt and allow for multiple apps on a single web server.
|
|
17
|
-
#
|
|
17
|
+
# If used with Cloudflare, set encryption mode in SSL/TLS setting to "Full" to enable CF-to-app encryption.
|
|
18
|
+
#
|
|
19
|
+
# Using an SSL proxy like this requires turning on config.assume_ssl and config.force_ssl in production.rb!
|
|
20
|
+
#
|
|
21
|
+
# Don't use this when deploying to multiple web servers (then you have to terminate SSL at your load balancer).
|
|
18
22
|
#
|
|
19
|
-
# Note: If using Cloudflare, set encryption mode in SSL/TLS setting to "Full" to enable CF-to-app encryption.
|
|
20
23
|
# proxy:
|
|
21
24
|
# ssl: true
|
|
22
25
|
# host: app.example.com
|
|
@@ -49,7 +52,7 @@ env:
|
|
|
49
52
|
# WEB_CONCURRENCY: 2
|
|
50
53
|
|
|
51
54
|
# Match this to any external database server to configure Active Record correctly
|
|
52
|
-
# Use
|
|
55
|
+
# Use sample_8_1_1-db for a db accessory server on same machine via local kamal docker network.
|
|
53
56
|
# DB_HOST: 192.168.0.2
|
|
54
57
|
|
|
55
58
|
# Log everything from Rails
|
|
@@ -66,7 +69,7 @@ aliases:
|
|
|
66
69
|
# Use a persistent storage volume for sqlite database files and local Active Storage files.
|
|
67
70
|
# Recommended to change this to a mounted volume path that is backed up off server.
|
|
68
71
|
volumes:
|
|
69
|
-
- "
|
|
72
|
+
- "sample_8_1_1_storage:/rails/storage"
|
|
70
73
|
|
|
71
74
|
# Bridge fingerprinted assets, like JS and CSS, between versions to avoid
|
|
72
75
|
# hitting 404 on in-flight requests. Combines all files from new and old
|
|
@@ -25,10 +25,10 @@ Rails.application.configure do
|
|
|
25
25
|
config.active_storage.service = :local
|
|
26
26
|
|
|
27
27
|
# Assume all access to the app is happening through a SSL-terminating reverse proxy.
|
|
28
|
-
config.assume_ssl = true
|
|
28
|
+
# config.assume_ssl = true
|
|
29
29
|
|
|
30
30
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
|
31
|
-
config.force_ssl = true
|
|
31
|
+
# config.force_ssl = true
|
|
32
32
|
|
|
33
33
|
# Skip http-to-https redirect for the default health check endpoint.
|
|
34
34
|
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dryer-config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.1.
|
|
4
|
+
version: 8.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dittmar Krall
|
|
@@ -30,11 +30,6 @@ executables: []
|
|
|
30
30
|
extensions: []
|
|
31
31
|
extra_rdoc_files: []
|
|
32
32
|
files:
|
|
33
|
-
- ".gitignore"
|
|
34
|
-
- MIT-LICENSE
|
|
35
|
-
- README.md
|
|
36
|
-
- Rakefile
|
|
37
|
-
- config.ru
|
|
38
33
|
- config/boot.rb
|
|
39
34
|
- config/bundler-audit.yml
|
|
40
35
|
- config/cable.yml
|
|
@@ -55,10 +50,6 @@ files:
|
|
|
55
50
|
- config/queue.yml
|
|
56
51
|
- config/recurring.yml
|
|
57
52
|
- config/storage.yml
|
|
58
|
-
- dryer-config.gemspec
|
|
59
|
-
- lib/dryer-config.rb
|
|
60
|
-
- lib/dryer-config/engine.rb
|
|
61
|
-
- lib/dryer-config/version.rb
|
|
62
53
|
homepage: https://github.com/matique/dryer-config
|
|
63
54
|
licenses:
|
|
64
55
|
- MIT
|
data/.gitignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*.gem
|
data/MIT-LICENSE
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2016-2025 Dittmar Krall (www.matiq.com)
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
a copy of this software and associated documentation files (the
|
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
-
the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
included in all copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
# DryerConfig
|
|
2
|
-
|
|
3
|
-
[](https://rubygems.org/gems/dryer-config)
|
|
4
|
-
[](https://rubygems.org/gems/dryer-config)
|
|
5
|
-
[](http://choosealicense.com/licenses/mit/)
|
|
6
|
-
|
|
7
|
-
Contains most of the files of a pristine `rails new` `config` directories.
|
|
8
|
-
They will be available to your application by
|
|
9
|
-
the engine nature of this gem.
|
|
10
|
-
|
|
11
|
-
Your private `config` directory (and your repository)
|
|
12
|
-
will contain just your particular requirements/options
|
|
13
|
-
(e.g. `config/database.yml`).
|
|
14
|
-
|
|
15
|
-
Version numbering is according to the Rails versions, e.g. use
|
|
16
|
-
|
|
17
|
-
gem 'dryer-config', '= 8.0.0' # for a Rails 8.0.0 applications
|
|
18
|
-
|
|
19
|
-
or
|
|
20
|
-
|
|
21
|
-
gem 'dryer-config', '~> 8.0' # expected to serve Rails 8.0.*
|
|
22
|
-
|
|
23
|
-
in your `Gemfile`.
|
|
24
|
-
|
|
25
|
-
It is expected that the version 8.0.0 is fine for the
|
|
26
|
-
complete Rails 8 serie.
|
|
27
|
-
If not, a new version of this gem will be released (hopefully).
|
|
28
|
-
|
|
29
|
-
## Why
|
|
30
|
-
|
|
31
|
-
Usually I run several applications based on the same Rails on one server.
|
|
32
|
-
There is no need to waste disk space (mostly irrelevant today,
|
|
33
|
-
but I still don't like wasting).
|
|
34
|
-
|
|
35
|
-
Several `config` files will be out of the way (less attention)
|
|
36
|
-
for the developer.
|
|
37
|
-
|
|
38
|
-
Lastly, during the port of a Rails application to another version
|
|
39
|
-
a pristine configuration is handy.
|
|
40
|
-
The few remaining options in your `config` files needs
|
|
41
|
-
less attention/work.
|
|
42
|
-
|
|
43
|
-
## Installation
|
|
44
|
-
|
|
45
|
-
As usual:
|
|
46
|
-
```ruby
|
|
47
|
-
# Gemfile
|
|
48
|
-
gem "dryer-config", "~> 8.0"
|
|
49
|
-
```
|
|
50
|
-
and run `bundle install`.
|
|
51
|
-
|
|
52
|
-
## Rails 8.1.0
|
|
53
|
-
|
|
54
|
-
See also "Configuration" below.
|
|
55
|
-
|
|
56
|
-
Added files:
|
|
57
|
-
./config/bundler-audit.yml
|
|
58
|
-
./config/cache.yml
|
|
59
|
-
./config/ci.rb
|
|
60
|
-
./config/deploy.yml
|
|
61
|
-
|
|
62
|
-
## Rails 8.0.0
|
|
63
|
-
|
|
64
|
-
See also "Configuration" below.
|
|
65
|
-
|
|
66
|
-
The following config file is obsolete:
|
|
67
|
-
./config/initializers/permissions_policy.rb
|
|
68
|
-
|
|
69
|
-
## Rails 7.2.1, 7.2.0
|
|
70
|
-
|
|
71
|
-
See also "Configuration" below.
|
|
72
|
-
|
|
73
|
-
The following config file is obsolete:
|
|
74
|
-
./config/spring.rb
|
|
75
|
-
|
|
76
|
-
## Rails 7.1.0, 7.0.0, 6.0.0, 5.2.0
|
|
77
|
-
|
|
78
|
-
See also "Configuration" below.
|
|
79
|
-
|
|
80
|
-
Create your own (there are still there for inspection):
|
|
81
|
-
|
|
82
|
-
./config/storage.yml
|
|
83
|
-
|
|
84
|
-
The Webpacker files may require your attention:
|
|
85
|
-
|
|
86
|
-
Configuration
|
|
87
|
-
-------------
|
|
88
|
-
|
|
89
|
-
The following original config files have been dropped:
|
|
90
|
-
|
|
91
|
-
./config/application.rb
|
|
92
|
-
./config/credentials.yml.enc
|
|
93
|
-
./config/locales/*
|
|
94
|
-
./config/master.key
|
|
95
|
-
./config/routes.rb
|
|
96
|
-
|
|
97
|
-
Create your owns.
|
|
98
|
-
|
|
99
|
-
The following files may require your attention:
|
|
100
|
-
|
|
101
|
-
./config/boot.rb
|
|
102
|
-
./config/cable.yml
|
|
103
|
-
./config/database.yml
|
|
104
|
-
./config/puma.rb
|
|
105
|
-
./config/storage.yml
|
|
106
|
-
|
|
107
|
-
Create/copy your owns. They are still there for inspection.
|
|
108
|
-
|
|
109
|
-
The following file requires your attention:
|
|
110
|
-
|
|
111
|
-
./config/initializers/assets.rb
|
|
112
|
-
|
|
113
|
-
Create your own. It will run after the one from the gem.
|
|
114
|
-
|
|
115
|
-
## See also
|
|
116
|
-
|
|
117
|
-
http://railsdiff.org/
|
|
118
|
-
|
|
119
|
-
## Miscellaneous
|
|
120
|
-
|
|
121
|
-
Copyright (c) 2016-2025 Dittmar Krall (www.matiq.com),
|
|
122
|
-
released under the [MIT license](https://opensource.org/licenses/MIT).
|
data/Rakefile
DELETED
data/config.ru
DELETED
data/dryer-config.gemspec
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
lib = File.expand_path('../lib', __FILE__)
|
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
|
-
require 'dryer-config/version'
|
|
4
|
-
|
|
5
|
-
Gem::Specification.new do |s|
|
|
6
|
-
s.name = 'dryer-config'
|
|
7
|
-
s.version = DryerConfig::VERSION
|
|
8
|
-
s.platform = Gem::Platform::RUBY
|
|
9
|
-
s.summary = "Several pristine Rails config files."
|
|
10
|
-
s.description = "Outsource several config files to a gem."
|
|
11
|
-
s.authors = ['Dittmar Krall']
|
|
12
|
-
s.email = ['dittmar.krall@matiq.com']
|
|
13
|
-
s.homepage = 'https://github.com/matique/dryer-config'
|
|
14
|
-
s.license = 'MIT'
|
|
15
|
-
s.platform = Gem::Platform::RUBY
|
|
16
|
-
|
|
17
|
-
s.files = `git ls-files`.split("\n")
|
|
18
|
-
s.require_paths = ["lib"]
|
|
19
|
-
|
|
20
|
-
s.add_development_dependency 'bundler'
|
|
21
|
-
end
|
data/lib/dryer-config/engine.rb
DELETED
data/lib/dryer-config/version.rb
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
module DryerConfig
|
|
2
|
-
VERSION = '8.1.0.1' # 2025-10-22
|
|
3
|
-
# VERSION = '8.1.0' # 2025-10-22
|
|
4
|
-
# VERSION = '8.0.0' # 2024-11-08
|
|
5
|
-
# VERSION = '7.2.0' # 2024-08-23
|
|
6
|
-
# VERSION = '7.1.0' # 2023-10-15
|
|
7
|
-
# VERSION = '7.0.0' # 2021-12-18
|
|
8
|
-
# VERSION = '6.1.4' # 2021-06-27
|
|
9
|
-
# VERSION = '6.0.3' # 2020-05-08
|
|
10
|
-
# VERSION = '6.0.2' # 2020-02-25
|
|
11
|
-
# VERSION = '6.0.0' # 2019-10-07
|
|
12
|
-
# VERSION = '5.2.0'
|
|
13
|
-
end
|
data/lib/dryer-config.rb
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require 'dryer-config/engine.rb'
|