roadie-rails 3.1.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +13 -3
- data/.standard.yml +2 -0
- data/Changelog.md +68 -54
- data/README.md +2 -9
- data/flake.lock +61 -0
- data/flake.nix +20 -0
- data/lib/roadie/rails/asset_propshaft_provider.rb +41 -0
- data/lib/roadie/rails/options.rb +1 -1
- data/lib/roadie/rails/railtie.rb +5 -2
- data/lib/roadie/rails/version.rb +1 -1
- data/lib/roadie/rails.rb +1 -0
- data/roadie-rails.gemspec +6 -4
- data/setup.sh +1 -2
- metadata +14 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b55b075a17fd96a4bdd11da8ade51ba530d1c13be5ce676ace5ef26169c5648f
|
4
|
+
data.tar.gz: 609994871240c5492f7b8b76ae377dc9ec8e41ee905b61817780bc1240e9074e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02dd8d97eab582d859b280bb5eed3368eb1a8f301690f7a2727f6507c02f847a1e9444da3689555e9fa83000dc77539dd1aa763ee1bb97d5af41f0c024b9e957
|
7
|
+
data.tar.gz: 4f813875ae5b1fe0c6a1561fc5471ebcf28ff6377467d1f0110f4eb6a7032c4ca9284e8c0fa5aad3bf5977fdd5bdf5be513017d9defa797032aa35c9dd868169
|
data/.github/workflows/main.yml
CHANGED
@@ -1,9 +1,19 @@
|
|
1
1
|
name: Main
|
2
2
|
on:
|
3
|
+
schedule:
|
4
|
+
# Run on the first day of every month
|
5
|
+
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
|
6
|
+
- cron: '0 0 1 * *'
|
7
|
+
# Allow running manually
|
8
|
+
# For more details: https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow?tool=webui
|
9
|
+
workflow_dispatch:
|
3
10
|
push:
|
4
11
|
branches:
|
5
12
|
- main
|
6
13
|
- master
|
14
|
+
paths-ignore:
|
15
|
+
- '**.md'
|
16
|
+
- '**.txt'
|
7
17
|
|
8
18
|
pull_request:
|
9
19
|
types: [opened, synchronize, reopened]
|
@@ -16,11 +26,11 @@ jobs:
|
|
16
26
|
fail-fast: false
|
17
27
|
matrix:
|
18
28
|
ruby:
|
19
|
-
- "2.6"
|
20
29
|
- "2.7"
|
21
30
|
- "3.0"
|
22
31
|
- "3.1"
|
23
32
|
- "3.2"
|
33
|
+
- "3.3"
|
24
34
|
|
25
35
|
steps:
|
26
36
|
- name: Checkout code
|
@@ -37,7 +47,7 @@ jobs:
|
|
37
47
|
- name: Rake
|
38
48
|
run: bundle exec rake
|
39
49
|
|
40
|
-
- uses: codecov/codecov-action@
|
50
|
+
- uses: codecov/codecov-action@v4
|
41
51
|
|
42
52
|
lint:
|
43
53
|
runs-on: ubuntu-latest
|
@@ -50,7 +60,7 @@ jobs:
|
|
50
60
|
- name: Setup Ruby
|
51
61
|
uses: ruby/setup-ruby@v1
|
52
62
|
with:
|
53
|
-
ruby-version: "3.
|
63
|
+
ruby-version: "3.3"
|
54
64
|
bundler-cache: true
|
55
65
|
|
56
66
|
- name: standardrb
|
data/.standard.yml
ADDED
data/Changelog.md
CHANGED
@@ -1,84 +1,98 @@
|
|
1
1
|
### development version
|
2
2
|
|
3
|
-
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.
|
3
|
+
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.3.0...master)
|
4
|
+
|
5
|
+
### 3.3.0
|
6
|
+
|
7
|
+
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.2.0...v3.3.0)
|
8
|
+
|
9
|
+
- Add support for Rails 8.0 - [Andrea Fomera](https://github.com/afomera)
|
10
|
+
|
11
|
+
### 3.2.0
|
12
|
+
|
13
|
+
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.1.0...v3.2.0)
|
14
|
+
|
15
|
+
- Support [Propshaft](https://github.com/rails/propshaft) - [Juani Villarejo](https://github.com/jvillarejo) [#114](https://github.com/Mange/roadie-rails/pull/114)
|
16
|
+
- Add support (CI) for Ruby 3.3.
|
17
|
+
- Last version for supporting Ruby 2.6 (EoL).
|
4
18
|
|
5
19
|
### 3.1.0
|
6
20
|
|
7
21
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.0.0...v3.1.0)
|
8
22
|
|
9
|
-
|
10
|
-
|
23
|
+
- Support Rails 7.1 - [Frederik Spang](https://github.com/frederikspang)
|
24
|
+
- Add support for Ruby 3.2.
|
11
25
|
|
12
26
|
Development changes:
|
13
27
|
|
14
|
-
|
28
|
+
- Fix Github CI lint job with standardrb.
|
15
29
|
|
16
30
|
### 3.0.0
|
17
31
|
|
18
32
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.3.0...v3.0.0)
|
19
33
|
|
20
|
-
|
21
|
-
|
34
|
+
- Drop support for Ruby versions < 2.6.
|
35
|
+
- Add support for Ruby 3.0 and 3.1.
|
22
36
|
|
23
37
|
Development changes:
|
24
38
|
|
25
|
-
|
39
|
+
- Replace Travis CI with Github CI.
|
26
40
|
|
27
41
|
### 2.3.0
|
28
42
|
|
29
43
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.2.0...v2.3.0)
|
30
44
|
|
31
|
-
|
32
|
-
|
45
|
+
- Support Rails 7.0 - [Sean Floyd (SeanLF)](https://github.com/SeanLF)
|
46
|
+
- Drop support for Ruby 2.5 (EoL).
|
33
47
|
|
34
48
|
### 2.2.0
|
35
49
|
|
36
50
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.1.1...v2.2.0)
|
37
51
|
|
38
|
-
|
52
|
+
- Support Rails 6.1 - [A. Fomera (afomera)](https://github.com/afomera)
|
39
53
|
|
40
54
|
### 2.1.1
|
41
55
|
|
42
56
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.1.0...v2.1.1)
|
43
57
|
|
44
|
-
|
58
|
+
- Relax Roadie dependency to allow v4.x
|
45
59
|
|
46
60
|
Development changes:
|
47
61
|
|
48
|
-
|
49
|
-
|
62
|
+
- Updated embedded Rails apps (used in tests) to work with new Sprockets 4.
|
63
|
+
- Updated Rubocop config to work with newer Rubocop versions.
|
50
64
|
|
51
65
|
### 2.1.0
|
52
66
|
|
53
67
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.0.0...v2.1.0)
|
54
68
|
|
55
|
-
|
69
|
+
- Rails 6 support (#88) - [Gleb Mazovetskiy (glebm)](https://github.com/glebm)
|
56
70
|
|
57
71
|
### 2.0.0
|
58
72
|
|
59
73
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.3.0...v2.0.0)
|
60
74
|
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
75
|
+
- Drop support for Ruby before 2.5.
|
76
|
+
- Drop support for Rails before 5.1.
|
77
|
+
- Add support for Ruby 2.5.
|
78
|
+
- Add support for Ruby 2.6.
|
79
|
+
- Fix arity of `Roadie::Rails::Mailer#roadie_mail` - [Adrian Lehmann (ownadi)](https://github.com/ownadi)
|
66
80
|
|
67
81
|
### 1.3.0
|
68
82
|
|
69
83
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.2.1...v1.3.0)
|
70
84
|
|
71
|
-
|
72
|
-
|
73
|
-
|
85
|
+
- Dropped support for Rubunius and JRuby.
|
86
|
+
- They do not have many users and are a constant source of problems. If this is a problem for you, let me know and I might reconsider.
|
87
|
+
- Add support for Rails 5.2.
|
74
88
|
|
75
89
|
### 1.2.1
|
76
90
|
|
77
91
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.2.0...v1.2.1)
|
78
92
|
|
79
|
-
|
80
|
-
|
81
|
-
|
93
|
+
- Don't allow installation in Ruby < 2.2.
|
94
|
+
- Fix install on Windows machines.
|
95
|
+
- Less bloat in gem file, making it much smaller.
|
82
96
|
|
83
97
|
### 1.2.0
|
84
98
|
|
@@ -88,92 +102,92 @@ Development changes:
|
|
88
102
|
|
89
103
|
**Note:** Support for Ruby < 2.2 is now dropped.
|
90
104
|
|
91
|
-
|
92
|
-
|
105
|
+
- Sprockets 4.0 support (#60) - [Miklós Fazekas (mfazekas)](https://github.com/mfazekas)
|
106
|
+
- Rails 5.1 support (#70) - [Gleb Mazovetskiy (glebm)](https://github.com/glebm)
|
93
107
|
|
94
108
|
### 1.1.1
|
95
109
|
|
96
110
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.1.0...v1.1.1)
|
97
111
|
|
98
|
-
|
99
|
-
|
112
|
+
- Add support for Rails 5.0 (#50) — [Scott Ringwelski (sgringwe)](https://github.com/sgringwe)
|
113
|
+
- Also build on Ruby 2.3.0.
|
100
114
|
|
101
115
|
### 1.1.0
|
102
116
|
|
103
117
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.1.0.rc2...v1.1.0)
|
104
118
|
|
105
|
-
|
106
|
-
|
107
|
-
|
119
|
+
- Bug fixes:
|
120
|
+
- Support for sprockets-rails 3 (#46) — [Rafael Mendonça França (rafaelfranca)](https://github.com/rafaelfranca)
|
121
|
+
- Support `Mailer#deliver!` in `AutomaticMailer` (#47) — [Julien Vanier (monkbroc)](https://github.com/monkbroc)
|
108
122
|
|
109
123
|
### 1.1.0.rc2
|
110
124
|
|
111
125
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.1.0.rc1...v1.1.0.rc2)
|
112
126
|
|
113
|
-
|
127
|
+
- Add support for `roadie`'s `external_asset_providers` option.
|
114
128
|
|
115
129
|
### 1.1.0.rc1
|
116
130
|
|
117
131
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.6...v1.1.0.rc1)
|
118
132
|
|
119
|
-
|
133
|
+
- Add support for `roadie`'s `keep_uninlinable_css` option.
|
120
134
|
|
121
135
|
### 1.0.6
|
122
136
|
|
123
137
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.5...v1.0.6)
|
124
138
|
|
125
|
-
|
126
|
-
|
139
|
+
- Bug fixes:
|
140
|
+
- Support Sprockets 3's new hash length (#41)
|
127
141
|
|
128
142
|
### 1.0.5
|
129
143
|
|
130
144
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.4...v1.0.5)
|
131
145
|
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
146
|
+
- Enhancements:
|
147
|
+
- Remove dependency on `rails` in favor of `railties` — [Mark J. Titorenko (mjtko)](https://github.com/mjtko)
|
148
|
+
- Bug fixes:
|
149
|
+
- Support for Rails 4.2 default configuration — [Tomas Celizna (tomasc)](https://github.com/tomasc)
|
150
|
+
- It's possible to inline assets with a digest (hash at the end of the filename), which is how Rails 4.2 defaults to, even when assets are not stored on disk.
|
137
151
|
|
138
152
|
### 1.0.4
|
139
153
|
|
140
154
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.3...v1.0.4)
|
141
155
|
|
142
|
-
|
143
|
-
|
156
|
+
- Enhancements:
|
157
|
+
- Support for Rails 4.2 — [Ryunosuke SATO (tricknotes)](https://github.com/tricknotes)
|
144
158
|
|
145
159
|
### 1.0.3
|
146
160
|
|
147
161
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.2...v1.0.3)
|
148
162
|
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
163
|
+
- Bug fixes
|
164
|
+
- Don't change `asset_providers` of a `Roadie::Document` when applying Options with no `asset_providers` set.
|
165
|
+
- Support assets inside subdirectories.
|
166
|
+
- Don't add `AssetPipelineProvider` when asset pipeline is unavailable (e.g. inside Rails engines).
|
167
|
+
- Raise error when initializing `AssetPipelineProvider` with `nil` provider.
|
154
168
|
|
155
169
|
### 1.0.2
|
156
170
|
|
157
171
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.1...v1.0.2)
|
158
172
|
|
159
|
-
|
160
|
-
|
173
|
+
- Bug fixes
|
174
|
+
- Don't crash on `nil` `roadie_options`
|
161
175
|
|
162
176
|
### 1.0.1
|
163
177
|
|
164
178
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.0...v1.0.1)
|
165
179
|
|
166
|
-
|
167
|
-
|
180
|
+
- Bug fixes
|
181
|
+
- Inline HTML in emails without a plaintext part
|
168
182
|
|
169
183
|
### 1.0.0
|
170
184
|
|
171
185
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.0.pre1...v1.0.0)
|
172
186
|
|
173
|
-
|
187
|
+
- Use released version of Roadie 3.0.0
|
174
188
|
|
175
189
|
### 1.0.0.pre1
|
176
190
|
|
177
191
|
[full changelog](https://github.com/Mange/roadie-rails/compare/0000000...v1.0.0.pre1)
|
178
192
|
|
179
|
-
|
193
|
+
- First implementation
|
data/README.md
CHANGED
@@ -281,16 +281,9 @@ end
|
|
281
281
|
Tested with Github Actions on multiple Ruby and Rails versions:
|
282
282
|
|
283
283
|
* Ruby:
|
284
|
-
|
285
|
-
* MRI 2.7
|
286
|
-
* MRI 3.0
|
287
|
-
* MRI 3.1
|
284
|
+
See [Workflow Matrix](/.github/workflows/main.yml)
|
288
285
|
* Rails
|
289
|
-
|
290
|
-
* 5.2
|
291
|
-
* 6.0
|
292
|
-
* 6.1
|
293
|
-
* 7.0
|
286
|
+
See [Integration Spec File](/spec/integration_spec.rb)
|
294
287
|
|
295
288
|
Please note that [all Rails-versions are not compatible with all Ruby-versions](https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html).
|
296
289
|
Let me know if you want any other combination supported officially.
|
data/flake.lock
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
{
|
2
|
+
"nodes": {
|
3
|
+
"flake-utils": {
|
4
|
+
"inputs": {
|
5
|
+
"systems": "systems"
|
6
|
+
},
|
7
|
+
"locked": {
|
8
|
+
"lastModified": 1726560853,
|
9
|
+
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
|
10
|
+
"owner": "numtide",
|
11
|
+
"repo": "flake-utils",
|
12
|
+
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
|
13
|
+
"type": "github"
|
14
|
+
},
|
15
|
+
"original": {
|
16
|
+
"owner": "numtide",
|
17
|
+
"repo": "flake-utils",
|
18
|
+
"type": "github"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"nixpkgs": {
|
22
|
+
"locked": {
|
23
|
+
"lastModified": 1730963269,
|
24
|
+
"narHash": "sha256-rz30HrFYCHiWEBCKHMffHbMdWJ35hEkcRVU0h7ms3x0=",
|
25
|
+
"owner": "NixOS",
|
26
|
+
"repo": "nixpkgs",
|
27
|
+
"rev": "83fb6c028368e465cd19bb127b86f971a5e41ebc",
|
28
|
+
"type": "github"
|
29
|
+
},
|
30
|
+
"original": {
|
31
|
+
"owner": "NixOS",
|
32
|
+
"ref": "nixos-24.05",
|
33
|
+
"repo": "nixpkgs",
|
34
|
+
"type": "github"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"root": {
|
38
|
+
"inputs": {
|
39
|
+
"flake-utils": "flake-utils",
|
40
|
+
"nixpkgs": "nixpkgs"
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"systems": {
|
44
|
+
"locked": {
|
45
|
+
"lastModified": 1681028828,
|
46
|
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
47
|
+
"owner": "nix-systems",
|
48
|
+
"repo": "default",
|
49
|
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
50
|
+
"type": "github"
|
51
|
+
},
|
52
|
+
"original": {
|
53
|
+
"owner": "nix-systems",
|
54
|
+
"repo": "default",
|
55
|
+
"type": "github"
|
56
|
+
}
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"root": "root",
|
60
|
+
"version": 7
|
61
|
+
}
|
data/flake.nix
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
inputs = {
|
3
|
+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
4
|
+
flake-utils.url = "github:numtide/flake-utils";
|
5
|
+
};
|
6
|
+
|
7
|
+
outputs = { self, nixpkgs, flake-utils }:
|
8
|
+
flake-utils.lib.eachDefaultSystem (system:
|
9
|
+
let
|
10
|
+
pkgs = nixpkgs.legacyPackages.${system};
|
11
|
+
in {
|
12
|
+
devShell = with pkgs;
|
13
|
+
mkShell {
|
14
|
+
buildInputs = [
|
15
|
+
ruby_3_2
|
16
|
+
libyaml
|
17
|
+
];
|
18
|
+
};
|
19
|
+
});
|
20
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Roadie
|
4
|
+
module Rails
|
5
|
+
class AssetPropshaftProvider
|
6
|
+
include Roadie::AssetProvider
|
7
|
+
|
8
|
+
def initialize(assembly)
|
9
|
+
@assembly = assembly
|
10
|
+
@stylesheets = {}
|
11
|
+
end
|
12
|
+
|
13
|
+
def find_stylesheet(stylesheet_asset_path)
|
14
|
+
stylesheet = @stylesheets[stylesheet_asset_path]
|
15
|
+
return stylesheet if stylesheet.present?
|
16
|
+
|
17
|
+
path, digest = extract_path_and_digest(stylesheet_asset_path)
|
18
|
+
|
19
|
+
asset = @assembly.load_path.find(path)
|
20
|
+
if asset.present? && asset.fresh?(digest)
|
21
|
+
compiled_content = @assembly.compilers.compile(asset)
|
22
|
+
|
23
|
+
stylesheet = Stylesheet.new(stylesheet_asset_path, compiled_content.force_encoding("UTF-8"))
|
24
|
+
@stylesheets[stylesheet_asset_path] = stylesheet
|
25
|
+
end
|
26
|
+
|
27
|
+
stylesheet
|
28
|
+
end
|
29
|
+
|
30
|
+
private
|
31
|
+
|
32
|
+
def extract_path_and_digest(stylesheet_asset_path)
|
33
|
+
full_path = stylesheet_asset_path.sub(%r{#{::Rails.configuration.assets.prefix}/}, "")
|
34
|
+
digest = full_path[/-([0-9a-zA-Z]{7,128})\.(?!digested)[^.]+\z/, 1]
|
35
|
+
path = digest ? full_path.sub("-#{digest}", "") : full_path
|
36
|
+
|
37
|
+
[path, digest]
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
data/lib/roadie/rails/options.rb
CHANGED
data/lib/roadie/rails/railtie.rb
CHANGED
@@ -14,8 +14,11 @@ module Roadie
|
|
14
14
|
|
15
15
|
if app.config.respond_to?(:assets) && app.config.assets
|
16
16
|
if app.assets
|
17
|
-
config.roadie.asset_providers <<
|
18
|
-
|
17
|
+
config.roadie.asset_providers << AssetPipelineProvider.new(app.assets)
|
18
|
+
elsif defined?(Propshaft)
|
19
|
+
config.after_initialize do |app|
|
20
|
+
config.roadie.asset_providers << AssetPropshaftProvider.new(app.assets)
|
21
|
+
end
|
19
22
|
else
|
20
23
|
app.config.assets.configure do |env|
|
21
24
|
config.roadie.asset_providers <<
|
data/lib/roadie/rails/version.rb
CHANGED
data/lib/roadie/rails.rb
CHANGED
data/roadie-rails.gemspec
CHANGED
@@ -9,25 +9,27 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.version = Roadie::Rails::VERSION
|
10
10
|
spec.authors = ["Magnus Bergmark"]
|
11
11
|
spec.email = ["magnus.bergmark@gmail.com"]
|
12
|
-
spec.homepage = "
|
12
|
+
spec.homepage = "https://github.com/Mange/roadie-rails"
|
13
13
|
spec.summary = "Making HTML emails comfortable for the Rails rockstars"
|
14
14
|
spec.description = "Hooks Roadie into your Rails application to help with email generation."
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
-
spec.required_ruby_version = ">= 2.
|
17
|
+
spec.required_ruby_version = ">= 2.7"
|
18
18
|
|
19
19
|
spec.files = `git ls-files | grep -v ^spec`.split($INPUT_RECORD_SEPARATOR)
|
20
20
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
21
|
spec.extra_rdoc_files = %w[README.md Changelog.md LICENSE.txt]
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
-
spec.add_dependency "railties", ">= 5.1", "< 8.
|
24
|
+
spec.add_dependency "railties", ">= 5.1", "< 8.1"
|
25
25
|
spec.add_dependency "roadie", "~> 5.0"
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 2.2"
|
28
|
-
spec.add_development_dependency "rails", ">= 5.1", "< 8.
|
28
|
+
spec.add_development_dependency "rails", ">= 5.1", "< 8.1"
|
29
29
|
spec.add_development_dependency "rspec", "~> 3.10"
|
30
30
|
spec.add_development_dependency "rspec-collection_matchers"
|
31
31
|
spec.add_development_dependency "rspec-rails"
|
32
32
|
spec.add_development_dependency "standard"
|
33
|
+
|
34
|
+
spec.post_install_message = "This would be the last version that supports ruby 2.7"
|
33
35
|
end
|
data/setup.sh
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/bin/bash
|
1
|
+
#!/usr/bin/env bash
|
2
2
|
|
3
3
|
# This cannot be executed from within a Ruby-based environment (like Rake)
|
4
4
|
# since Bundler will affect the subshell environments.
|
@@ -22,7 +22,6 @@ function install() {
|
|
22
22
|
bundle install --quiet --path=.bundle && green " OK"
|
23
23
|
}
|
24
24
|
|
25
|
-
|
26
25
|
root=$(dirname "$0")
|
27
26
|
|
28
27
|
# Previously needed by Travis CI; might still be needed at Github Actions
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roadie-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Magnus Bergmark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 1980-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '5.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '8.
|
22
|
+
version: '8.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '5.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '8.
|
32
|
+
version: '8.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: roadie
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
version: '5.1'
|
68
68
|
- - "<"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '8.
|
70
|
+
version: '8.1'
|
71
71
|
type: :development
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -77,7 +77,7 @@ dependencies:
|
|
77
77
|
version: '5.1'
|
78
78
|
- - "<"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '8.
|
80
|
+
version: '8.1'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: rspec
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -148,6 +148,7 @@ files:
|
|
148
148
|
- ".gitignore"
|
149
149
|
- ".rubocop.yml"
|
150
150
|
- ".solargraph.yml"
|
151
|
+
- ".standard.yml"
|
151
152
|
- Changelog.md
|
152
153
|
- Gemfile
|
153
154
|
- LICENSE.txt
|
@@ -155,9 +156,12 @@ files:
|
|
155
156
|
- Rakefile
|
156
157
|
- Upgrading.md
|
157
158
|
- codecov.yml
|
159
|
+
- flake.lock
|
160
|
+
- flake.nix
|
158
161
|
- lib/roadie-rails.rb
|
159
162
|
- lib/roadie/rails.rb
|
160
163
|
- lib/roadie/rails/asset_pipeline_provider.rb
|
164
|
+
- lib/roadie/rails/asset_propshaft_provider.rb
|
161
165
|
- lib/roadie/rails/automatic.rb
|
162
166
|
- lib/roadie/rails/document_builder.rb
|
163
167
|
- lib/roadie/rails/inline_on_delivery.rb
|
@@ -169,11 +173,11 @@ files:
|
|
169
173
|
- lib/roadie/rails/version.rb
|
170
174
|
- roadie-rails.gemspec
|
171
175
|
- setup.sh
|
172
|
-
homepage:
|
176
|
+
homepage: https://github.com/Mange/roadie-rails
|
173
177
|
licenses:
|
174
178
|
- MIT
|
175
179
|
metadata: {}
|
176
|
-
post_install_message:
|
180
|
+
post_install_message: This would be the last version that supports ruby 2.7
|
177
181
|
rdoc_options: []
|
178
182
|
require_paths:
|
179
183
|
- lib
|
@@ -181,14 +185,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
181
185
|
requirements:
|
182
186
|
- - ">="
|
183
187
|
- !ruby/object:Gem::Version
|
184
|
-
version: '2.
|
188
|
+
version: '2.7'
|
185
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
190
|
requirements:
|
187
191
|
- - ">="
|
188
192
|
- !ruby/object:Gem::Version
|
189
193
|
version: '0'
|
190
194
|
requirements: []
|
191
|
-
rubygems_version: 3.
|
195
|
+
rubygems_version: 3.5.9
|
192
196
|
signing_key:
|
193
197
|
specification_version: 4
|
194
198
|
summary: Making HTML emails comfortable for the Rails rockstars
|