roadie-rails 3.2.0 → 3.4.0
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/.github/workflows/main.yml +2 -2
- data/Changelog.md +70 -57
- data/Gemfile +0 -4
- data/flake.lock +61 -0
- data/flake.nix +20 -0
- data/lib/roadie/rails/asset_pipeline_provider.rb +2 -0
- data/lib/roadie/rails/railtie.rb +5 -5
- data/lib/roadie/rails/version.rb +1 -1
- data/roadie-rails.gemspec +6 -5
- data/setup.sh +1 -2
- metadata +27 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 619ebfdd5ea6152c1a26a84cf384c26d35f98d137c32a4ee7678f4b898e4eb9f
|
|
4
|
+
data.tar.gz: 2165b9d607e1746491bdd92206bec8c4200a7e72125bdbfc6313440bd5445b79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 418f5093e69a2f16e3f2bcad721205a8b25b1947bf14c80465324f4613eafcec0cf0ec2e7f9a2c97632bbea50dcb3c3e5f417f5488f95aced830e806bb1bc9f8
|
|
7
|
+
data.tar.gz: cc2e12ebbd5c7e778702d57a52cbabea6e666564f9c783fe636b2dc0ae04650b6790edced2cc1bc1eba53a33b23b279bd2e959476a23de7743498e9b28eceaa1
|
data/.github/workflows/main.yml
CHANGED
|
@@ -26,12 +26,12 @@ jobs:
|
|
|
26
26
|
fail-fast: false
|
|
27
27
|
matrix:
|
|
28
28
|
ruby:
|
|
29
|
-
- "2.6"
|
|
30
29
|
- "2.7"
|
|
31
30
|
- "3.0"
|
|
32
31
|
- "3.1"
|
|
33
32
|
- "3.2"
|
|
34
33
|
- "3.3"
|
|
34
|
+
- "3.4"
|
|
35
35
|
|
|
36
36
|
steps:
|
|
37
37
|
- name: Checkout code
|
|
@@ -61,7 +61,7 @@ jobs:
|
|
|
61
61
|
- name: Setup Ruby
|
|
62
62
|
uses: ruby/setup-ruby@v1
|
|
63
63
|
with:
|
|
64
|
-
ruby-version: "3.
|
|
64
|
+
ruby-version: "3.4"
|
|
65
65
|
bundler-cache: true
|
|
66
66
|
|
|
67
67
|
- name: standardrb
|
data/Changelog.md
CHANGED
|
@@ -1,92 +1,105 @@
|
|
|
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.4.0...master)
|
|
4
|
+
|
|
5
|
+
### 3.4.0
|
|
6
|
+
|
|
7
|
+
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.3.0...v3.4.0)
|
|
8
|
+
|
|
9
|
+
- Add support for Rails 8.1 - [Darryn](https://github.com/darryn02)
|
|
10
|
+
- Fix compatibility with Propshaft 1.3.0 - [Gustavo Molinari](https://github.com/beetlegius-somos)
|
|
11
|
+
|
|
12
|
+
### 3.3.0
|
|
13
|
+
|
|
14
|
+
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.2.0...v3.3.0)
|
|
15
|
+
|
|
16
|
+
- Add support for Rails 8.0 - [Andrea Fomera](https://github.com/afomera)
|
|
4
17
|
|
|
5
18
|
### 3.2.0
|
|
6
19
|
|
|
7
20
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.1.0...v3.2.0)
|
|
8
21
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
22
|
+
- Support [Propshaft](https://github.com/rails/propshaft) - [Juani Villarejo](https://github.com/jvillarejo) [#114](https://github.com/Mange/roadie-rails/pull/114)
|
|
23
|
+
- Add support (CI) for Ruby 3.3.
|
|
24
|
+
- Last version for supporting Ruby 2.6 (EoL).
|
|
12
25
|
|
|
13
26
|
### 3.1.0
|
|
14
27
|
|
|
15
28
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.0.0...v3.1.0)
|
|
16
29
|
|
|
17
|
-
|
|
18
|
-
|
|
30
|
+
- Support Rails 7.1 - [Frederik Spang](https://github.com/frederikspang)
|
|
31
|
+
- Add support for Ruby 3.2.
|
|
19
32
|
|
|
20
33
|
Development changes:
|
|
21
34
|
|
|
22
|
-
|
|
35
|
+
- Fix Github CI lint job with standardrb.
|
|
23
36
|
|
|
24
37
|
### 3.0.0
|
|
25
38
|
|
|
26
39
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.3.0...v3.0.0)
|
|
27
40
|
|
|
28
|
-
|
|
29
|
-
|
|
41
|
+
- Drop support for Ruby versions < 2.6.
|
|
42
|
+
- Add support for Ruby 3.0 and 3.1.
|
|
30
43
|
|
|
31
44
|
Development changes:
|
|
32
45
|
|
|
33
|
-
|
|
46
|
+
- Replace Travis CI with Github CI.
|
|
34
47
|
|
|
35
48
|
### 2.3.0
|
|
36
49
|
|
|
37
50
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.2.0...v2.3.0)
|
|
38
51
|
|
|
39
|
-
|
|
40
|
-
|
|
52
|
+
- Support Rails 7.0 - [Sean Floyd (SeanLF)](https://github.com/SeanLF)
|
|
53
|
+
- Drop support for Ruby 2.5 (EoL).
|
|
41
54
|
|
|
42
55
|
### 2.2.0
|
|
43
56
|
|
|
44
57
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.1.1...v2.2.0)
|
|
45
58
|
|
|
46
|
-
|
|
59
|
+
- Support Rails 6.1 - [A. Fomera (afomera)](https://github.com/afomera)
|
|
47
60
|
|
|
48
61
|
### 2.1.1
|
|
49
62
|
|
|
50
63
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.1.0...v2.1.1)
|
|
51
64
|
|
|
52
|
-
|
|
65
|
+
- Relax Roadie dependency to allow v4.x
|
|
53
66
|
|
|
54
67
|
Development changes:
|
|
55
68
|
|
|
56
|
-
|
|
57
|
-
|
|
69
|
+
- Updated embedded Rails apps (used in tests) to work with new Sprockets 4.
|
|
70
|
+
- Updated Rubocop config to work with newer Rubocop versions.
|
|
58
71
|
|
|
59
72
|
### 2.1.0
|
|
60
73
|
|
|
61
74
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.0.0...v2.1.0)
|
|
62
75
|
|
|
63
|
-
|
|
76
|
+
- Rails 6 support (#88) - [Gleb Mazovetskiy (glebm)](https://github.com/glebm)
|
|
64
77
|
|
|
65
78
|
### 2.0.0
|
|
66
79
|
|
|
67
80
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.3.0...v2.0.0)
|
|
68
81
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
82
|
+
- Drop support for Ruby before 2.5.
|
|
83
|
+
- Drop support for Rails before 5.1.
|
|
84
|
+
- Add support for Ruby 2.5.
|
|
85
|
+
- Add support for Ruby 2.6.
|
|
86
|
+
- Fix arity of `Roadie::Rails::Mailer#roadie_mail` - [Adrian Lehmann (ownadi)](https://github.com/ownadi)
|
|
74
87
|
|
|
75
88
|
### 1.3.0
|
|
76
89
|
|
|
77
90
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.2.1...v1.3.0)
|
|
78
91
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
92
|
+
- Dropped support for Rubunius and JRuby.
|
|
93
|
+
- 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.
|
|
94
|
+
- Add support for Rails 5.2.
|
|
82
95
|
|
|
83
96
|
### 1.2.1
|
|
84
97
|
|
|
85
98
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.2.0...v1.2.1)
|
|
86
99
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
100
|
+
- Don't allow installation in Ruby < 2.2.
|
|
101
|
+
- Fix install on Windows machines.
|
|
102
|
+
- Less bloat in gem file, making it much smaller.
|
|
90
103
|
|
|
91
104
|
### 1.2.0
|
|
92
105
|
|
|
@@ -96,92 +109,92 @@ Development changes:
|
|
|
96
109
|
|
|
97
110
|
**Note:** Support for Ruby < 2.2 is now dropped.
|
|
98
111
|
|
|
99
|
-
|
|
100
|
-
|
|
112
|
+
- Sprockets 4.0 support (#60) - [Miklós Fazekas (mfazekas)](https://github.com/mfazekas)
|
|
113
|
+
- Rails 5.1 support (#70) - [Gleb Mazovetskiy (glebm)](https://github.com/glebm)
|
|
101
114
|
|
|
102
115
|
### 1.1.1
|
|
103
116
|
|
|
104
117
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.1.0...v1.1.1)
|
|
105
118
|
|
|
106
|
-
|
|
107
|
-
|
|
119
|
+
- Add support for Rails 5.0 (#50) — [Scott Ringwelski (sgringwe)](https://github.com/sgringwe)
|
|
120
|
+
- Also build on Ruby 2.3.0.
|
|
108
121
|
|
|
109
122
|
### 1.1.0
|
|
110
123
|
|
|
111
124
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.1.0.rc2...v1.1.0)
|
|
112
125
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
126
|
+
- Bug fixes:
|
|
127
|
+
- Support for sprockets-rails 3 (#46) — [Rafael Mendonça França (rafaelfranca)](https://github.com/rafaelfranca)
|
|
128
|
+
- Support `Mailer#deliver!` in `AutomaticMailer` (#47) — [Julien Vanier (monkbroc)](https://github.com/monkbroc)
|
|
116
129
|
|
|
117
130
|
### 1.1.0.rc2
|
|
118
131
|
|
|
119
132
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.1.0.rc1...v1.1.0.rc2)
|
|
120
133
|
|
|
121
|
-
|
|
134
|
+
- Add support for `roadie`'s `external_asset_providers` option.
|
|
122
135
|
|
|
123
136
|
### 1.1.0.rc1
|
|
124
137
|
|
|
125
138
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.6...v1.1.0.rc1)
|
|
126
139
|
|
|
127
|
-
|
|
140
|
+
- Add support for `roadie`'s `keep_uninlinable_css` option.
|
|
128
141
|
|
|
129
142
|
### 1.0.6
|
|
130
143
|
|
|
131
144
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.5...v1.0.6)
|
|
132
145
|
|
|
133
|
-
|
|
134
|
-
|
|
146
|
+
- Bug fixes:
|
|
147
|
+
- Support Sprockets 3's new hash length (#41)
|
|
135
148
|
|
|
136
149
|
### 1.0.5
|
|
137
150
|
|
|
138
151
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.4...v1.0.5)
|
|
139
152
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
153
|
+
- Enhancements:
|
|
154
|
+
- Remove dependency on `rails` in favor of `railties` — [Mark J. Titorenko (mjtko)](https://github.com/mjtko)
|
|
155
|
+
- Bug fixes:
|
|
156
|
+
- Support for Rails 4.2 default configuration — [Tomas Celizna (tomasc)](https://github.com/tomasc)
|
|
157
|
+
- 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.
|
|
145
158
|
|
|
146
159
|
### 1.0.4
|
|
147
160
|
|
|
148
161
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.3...v1.0.4)
|
|
149
162
|
|
|
150
|
-
|
|
151
|
-
|
|
163
|
+
- Enhancements:
|
|
164
|
+
- Support for Rails 4.2 — [Ryunosuke SATO (tricknotes)](https://github.com/tricknotes)
|
|
152
165
|
|
|
153
166
|
### 1.0.3
|
|
154
167
|
|
|
155
168
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.2...v1.0.3)
|
|
156
169
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
170
|
+
- Bug fixes
|
|
171
|
+
- Don't change `asset_providers` of a `Roadie::Document` when applying Options with no `asset_providers` set.
|
|
172
|
+
- Support assets inside subdirectories.
|
|
173
|
+
- Don't add `AssetPipelineProvider` when asset pipeline is unavailable (e.g. inside Rails engines).
|
|
174
|
+
- Raise error when initializing `AssetPipelineProvider` with `nil` provider.
|
|
162
175
|
|
|
163
176
|
### 1.0.2
|
|
164
177
|
|
|
165
178
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.1...v1.0.2)
|
|
166
179
|
|
|
167
|
-
|
|
168
|
-
|
|
180
|
+
- Bug fixes
|
|
181
|
+
- Don't crash on `nil` `roadie_options`
|
|
169
182
|
|
|
170
183
|
### 1.0.1
|
|
171
184
|
|
|
172
185
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.0...v1.0.1)
|
|
173
186
|
|
|
174
|
-
|
|
175
|
-
|
|
187
|
+
- Bug fixes
|
|
188
|
+
- Inline HTML in emails without a plaintext part
|
|
176
189
|
|
|
177
190
|
### 1.0.0
|
|
178
191
|
|
|
179
192
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.0.pre1...v1.0.0)
|
|
180
193
|
|
|
181
|
-
|
|
194
|
+
- Use released version of Roadie 3.0.0
|
|
182
195
|
|
|
183
196
|
### 1.0.0.pre1
|
|
184
197
|
|
|
185
198
|
[full changelog](https://github.com/Mange/roadie-rails/compare/0000000...v1.0.0.pre1)
|
|
186
199
|
|
|
187
|
-
|
|
200
|
+
- First implementation
|
data/Gemfile
CHANGED
|
@@ -8,7 +8,3 @@ gemspec
|
|
|
8
8
|
# Added here so it does not show up on the Gemspec; I only want it for CI builds
|
|
9
9
|
gem "simplecov", group: :test, require: false
|
|
10
10
|
gem "simplecov-cobertura", group: :test, require: false
|
|
11
|
-
|
|
12
|
-
# Not actually required to run the tests for the gem, but a real convenience
|
|
13
|
-
# for local development.
|
|
14
|
-
gem "standard", group: [:test, :development], require: false
|
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
|
+
}
|
|
@@ -4,6 +4,7 @@ module Roadie
|
|
|
4
4
|
module Rails
|
|
5
5
|
class AssetPipelineProvider
|
|
6
6
|
include Roadie::AssetProvider
|
|
7
|
+
|
|
7
8
|
attr_reader :pipeline
|
|
8
9
|
|
|
9
10
|
def initialize(pipeline)
|
|
@@ -52,6 +53,7 @@ module Roadie
|
|
|
52
53
|
)
|
|
53
54
|
\. # Dot for the file extension
|
|
54
55
|
/x
|
|
56
|
+
private_constant :DIGEST_PATTERN
|
|
55
57
|
|
|
56
58
|
def remove_asset_digest(path)
|
|
57
59
|
path.gsub(DIGEST_PATTERN, ".")
|
data/lib/roadie/rails/railtie.rb
CHANGED
|
@@ -13,12 +13,12 @@ module Roadie
|
|
|
13
13
|
]
|
|
14
14
|
|
|
15
15
|
if app.config.respond_to?(:assets) && app.config.assets
|
|
16
|
-
if app.assets
|
|
16
|
+
if app.assets && defined?(Propshaft::Assembly) && app.assets.is_a?(Propshaft::Assembly)
|
|
17
|
+
# Initialize AssetPropshaftProvider immediately for Propshaft 1.3.0+ compatibility
|
|
18
|
+
# The after_initialize block was not executing correctly in Propshaft 1.3.0
|
|
19
|
+
config.roadie.asset_providers << AssetPropshaftProvider.new(app.assets)
|
|
20
|
+
elsif app.assets
|
|
17
21
|
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
|
|
22
22
|
else
|
|
23
23
|
app.config.assets.configure do |env|
|
|
24
24
|
config.roadie.asset_providers <<
|
data/lib/roadie/rails/version.rb
CHANGED
data/roadie-rails.gemspec
CHANGED
|
@@ -9,27 +9,28 @@ 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.2"
|
|
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.2"
|
|
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
|
+
spec.add_development_dependency "ostruct"
|
|
33
34
|
|
|
34
|
-
spec.post_install_message = "This would be the last version that supports ruby 2.
|
|
35
|
+
spec.post_install_message = "This would be the last version that supports ruby 2.7"
|
|
35
36
|
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,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: roadie-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Magnus Bergmark
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: railties
|
|
@@ -19,7 +18,7 @@ dependencies:
|
|
|
19
18
|
version: '5.1'
|
|
20
19
|
- - "<"
|
|
21
20
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '8.
|
|
21
|
+
version: '8.2'
|
|
23
22
|
type: :runtime
|
|
24
23
|
prerelease: false
|
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +28,7 @@ dependencies:
|
|
|
29
28
|
version: '5.1'
|
|
30
29
|
- - "<"
|
|
31
30
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '8.
|
|
31
|
+
version: '8.2'
|
|
33
32
|
- !ruby/object:Gem::Dependency
|
|
34
33
|
name: roadie
|
|
35
34
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -67,7 +66,7 @@ dependencies:
|
|
|
67
66
|
version: '5.1'
|
|
68
67
|
- - "<"
|
|
69
68
|
- !ruby/object:Gem::Version
|
|
70
|
-
version: '8.
|
|
69
|
+
version: '8.2'
|
|
71
70
|
type: :development
|
|
72
71
|
prerelease: false
|
|
73
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -77,7 +76,7 @@ dependencies:
|
|
|
77
76
|
version: '5.1'
|
|
78
77
|
- - "<"
|
|
79
78
|
- !ruby/object:Gem::Version
|
|
80
|
-
version: '8.
|
|
79
|
+
version: '8.2'
|
|
81
80
|
- !ruby/object:Gem::Dependency
|
|
82
81
|
name: rspec
|
|
83
82
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -134,15 +133,29 @@ dependencies:
|
|
|
134
133
|
- - ">="
|
|
135
134
|
- !ruby/object:Gem::Version
|
|
136
135
|
version: '0'
|
|
136
|
+
- !ruby/object:Gem::Dependency
|
|
137
|
+
name: ostruct
|
|
138
|
+
requirement: !ruby/object:Gem::Requirement
|
|
139
|
+
requirements:
|
|
140
|
+
- - ">="
|
|
141
|
+
- !ruby/object:Gem::Version
|
|
142
|
+
version: '0'
|
|
143
|
+
type: :development
|
|
144
|
+
prerelease: false
|
|
145
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
146
|
+
requirements:
|
|
147
|
+
- - ">="
|
|
148
|
+
- !ruby/object:Gem::Version
|
|
149
|
+
version: '0'
|
|
137
150
|
description: Hooks Roadie into your Rails application to help with email generation.
|
|
138
151
|
email:
|
|
139
152
|
- magnus.bergmark@gmail.com
|
|
140
153
|
executables: []
|
|
141
154
|
extensions: []
|
|
142
155
|
extra_rdoc_files:
|
|
143
|
-
- README.md
|
|
144
156
|
- Changelog.md
|
|
145
157
|
- LICENSE.txt
|
|
158
|
+
- README.md
|
|
146
159
|
files:
|
|
147
160
|
- ".github/workflows/main.yml"
|
|
148
161
|
- ".gitignore"
|
|
@@ -156,6 +169,8 @@ files:
|
|
|
156
169
|
- Rakefile
|
|
157
170
|
- Upgrading.md
|
|
158
171
|
- codecov.yml
|
|
172
|
+
- flake.lock
|
|
173
|
+
- flake.nix
|
|
159
174
|
- lib/roadie-rails.rb
|
|
160
175
|
- lib/roadie/rails.rb
|
|
161
176
|
- lib/roadie/rails/asset_pipeline_provider.rb
|
|
@@ -171,11 +186,11 @@ files:
|
|
|
171
186
|
- lib/roadie/rails/version.rb
|
|
172
187
|
- roadie-rails.gemspec
|
|
173
188
|
- setup.sh
|
|
174
|
-
homepage:
|
|
189
|
+
homepage: https://github.com/Mange/roadie-rails
|
|
175
190
|
licenses:
|
|
176
191
|
- MIT
|
|
177
192
|
metadata: {}
|
|
178
|
-
post_install_message: This would be the last version that supports ruby 2.
|
|
193
|
+
post_install_message: This would be the last version that supports ruby 2.7
|
|
179
194
|
rdoc_options: []
|
|
180
195
|
require_paths:
|
|
181
196
|
- lib
|
|
@@ -183,15 +198,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
183
198
|
requirements:
|
|
184
199
|
- - ">="
|
|
185
200
|
- !ruby/object:Gem::Version
|
|
186
|
-
version: '2.
|
|
201
|
+
version: '2.7'
|
|
187
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
203
|
requirements:
|
|
189
204
|
- - ">="
|
|
190
205
|
- !ruby/object:Gem::Version
|
|
191
206
|
version: '0'
|
|
192
207
|
requirements: []
|
|
193
|
-
rubygems_version: 3.
|
|
194
|
-
signing_key:
|
|
208
|
+
rubygems_version: 3.6.9
|
|
195
209
|
specification_version: 4
|
|
196
210
|
summary: Making HTML emails comfortable for the Rails rockstars
|
|
197
211
|
test_files: []
|