roadie-rails 3.2.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 +0 -1
- data/Changelog.md +63 -57
- data/flake.lock +61 -0
- data/flake.nix +20 -0
- data/lib/roadie/rails/version.rb +1 -1
- data/roadie-rails.gemspec +5 -5
- data/setup.sh +1 -2
- metadata +12 -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
data/Changelog.md
CHANGED
@@ -1,92 +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)
|
4
10
|
|
5
11
|
### 3.2.0
|
6
12
|
|
7
13
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.1.0...v3.2.0)
|
8
14
|
|
9
|
-
|
10
|
-
|
11
|
-
|
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).
|
12
18
|
|
13
19
|
### 3.1.0
|
14
20
|
|
15
21
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v3.0.0...v3.1.0)
|
16
22
|
|
17
|
-
|
18
|
-
|
23
|
+
- Support Rails 7.1 - [Frederik Spang](https://github.com/frederikspang)
|
24
|
+
- Add support for Ruby 3.2.
|
19
25
|
|
20
26
|
Development changes:
|
21
27
|
|
22
|
-
|
28
|
+
- Fix Github CI lint job with standardrb.
|
23
29
|
|
24
30
|
### 3.0.0
|
25
31
|
|
26
32
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.3.0...v3.0.0)
|
27
33
|
|
28
|
-
|
29
|
-
|
34
|
+
- Drop support for Ruby versions < 2.6.
|
35
|
+
- Add support for Ruby 3.0 and 3.1.
|
30
36
|
|
31
37
|
Development changes:
|
32
38
|
|
33
|
-
|
39
|
+
- Replace Travis CI with Github CI.
|
34
40
|
|
35
41
|
### 2.3.0
|
36
42
|
|
37
43
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.2.0...v2.3.0)
|
38
44
|
|
39
|
-
|
40
|
-
|
45
|
+
- Support Rails 7.0 - [Sean Floyd (SeanLF)](https://github.com/SeanLF)
|
46
|
+
- Drop support for Ruby 2.5 (EoL).
|
41
47
|
|
42
48
|
### 2.2.0
|
43
49
|
|
44
50
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.1.1...v2.2.0)
|
45
51
|
|
46
|
-
|
52
|
+
- Support Rails 6.1 - [A. Fomera (afomera)](https://github.com/afomera)
|
47
53
|
|
48
54
|
### 2.1.1
|
49
55
|
|
50
56
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.1.0...v2.1.1)
|
51
57
|
|
52
|
-
|
58
|
+
- Relax Roadie dependency to allow v4.x
|
53
59
|
|
54
60
|
Development changes:
|
55
61
|
|
56
|
-
|
57
|
-
|
62
|
+
- Updated embedded Rails apps (used in tests) to work with new Sprockets 4.
|
63
|
+
- Updated Rubocop config to work with newer Rubocop versions.
|
58
64
|
|
59
65
|
### 2.1.0
|
60
66
|
|
61
67
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.0.0...v2.1.0)
|
62
68
|
|
63
|
-
|
69
|
+
- Rails 6 support (#88) - [Gleb Mazovetskiy (glebm)](https://github.com/glebm)
|
64
70
|
|
65
71
|
### 2.0.0
|
66
72
|
|
67
73
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.3.0...v2.0.0)
|
68
74
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
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)
|
74
80
|
|
75
81
|
### 1.3.0
|
76
82
|
|
77
83
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.2.1...v1.3.0)
|
78
84
|
|
79
|
-
|
80
|
-
|
81
|
-
|
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.
|
82
88
|
|
83
89
|
### 1.2.1
|
84
90
|
|
85
91
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.2.0...v1.2.1)
|
86
92
|
|
87
|
-
|
88
|
-
|
89
|
-
|
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.
|
90
96
|
|
91
97
|
### 1.2.0
|
92
98
|
|
@@ -96,92 +102,92 @@ Development changes:
|
|
96
102
|
|
97
103
|
**Note:** Support for Ruby < 2.2 is now dropped.
|
98
104
|
|
99
|
-
|
100
|
-
|
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)
|
101
107
|
|
102
108
|
### 1.1.1
|
103
109
|
|
104
110
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.1.0...v1.1.1)
|
105
111
|
|
106
|
-
|
107
|
-
|
112
|
+
- Add support for Rails 5.0 (#50) — [Scott Ringwelski (sgringwe)](https://github.com/sgringwe)
|
113
|
+
- Also build on Ruby 2.3.0.
|
108
114
|
|
109
115
|
### 1.1.0
|
110
116
|
|
111
117
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.1.0.rc2...v1.1.0)
|
112
118
|
|
113
|
-
|
114
|
-
|
115
|
-
|
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)
|
116
122
|
|
117
123
|
### 1.1.0.rc2
|
118
124
|
|
119
125
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.1.0.rc1...v1.1.0.rc2)
|
120
126
|
|
121
|
-
|
127
|
+
- Add support for `roadie`'s `external_asset_providers` option.
|
122
128
|
|
123
129
|
### 1.1.0.rc1
|
124
130
|
|
125
131
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.6...v1.1.0.rc1)
|
126
132
|
|
127
|
-
|
133
|
+
- Add support for `roadie`'s `keep_uninlinable_css` option.
|
128
134
|
|
129
135
|
### 1.0.6
|
130
136
|
|
131
137
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.5...v1.0.6)
|
132
138
|
|
133
|
-
|
134
|
-
|
139
|
+
- Bug fixes:
|
140
|
+
- Support Sprockets 3's new hash length (#41)
|
135
141
|
|
136
142
|
### 1.0.5
|
137
143
|
|
138
144
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.4...v1.0.5)
|
139
145
|
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
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.
|
145
151
|
|
146
152
|
### 1.0.4
|
147
153
|
|
148
154
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.3...v1.0.4)
|
149
155
|
|
150
|
-
|
151
|
-
|
156
|
+
- Enhancements:
|
157
|
+
- Support for Rails 4.2 — [Ryunosuke SATO (tricknotes)](https://github.com/tricknotes)
|
152
158
|
|
153
159
|
### 1.0.3
|
154
160
|
|
155
161
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.2...v1.0.3)
|
156
162
|
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
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.
|
162
168
|
|
163
169
|
### 1.0.2
|
164
170
|
|
165
171
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.1...v1.0.2)
|
166
172
|
|
167
|
-
|
168
|
-
|
173
|
+
- Bug fixes
|
174
|
+
- Don't crash on `nil` `roadie_options`
|
169
175
|
|
170
176
|
### 1.0.1
|
171
177
|
|
172
178
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.0...v1.0.1)
|
173
179
|
|
174
|
-
|
175
|
-
|
180
|
+
- Bug fixes
|
181
|
+
- Inline HTML in emails without a plaintext part
|
176
182
|
|
177
183
|
### 1.0.0
|
178
184
|
|
179
185
|
[full changelog](https://github.com/Mange/roadie-rails/compare/v1.0.0.pre1...v1.0.0)
|
180
186
|
|
181
|
-
|
187
|
+
- Use released version of Roadie 3.0.0
|
182
188
|
|
183
189
|
### 1.0.0.pre1
|
184
190
|
|
185
191
|
[full changelog](https://github.com/Mange/roadie-rails/compare/0000000...v1.0.0.pre1)
|
186
192
|
|
187
|
-
|
193
|
+
- First implementation
|
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
|
+
}
|
data/lib/roadie/rails/version.rb
CHANGED
data/roadie-rails.gemspec
CHANGED
@@ -9,27 +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
33
|
|
34
|
-
spec.post_install_message = "This would be the last version that supports ruby 2.
|
34
|
+
spec.post_install_message = "This would be the last version that supports ruby 2.7"
|
35
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
|
@@ -156,6 +156,8 @@ files:
|
|
156
156
|
- Rakefile
|
157
157
|
- Upgrading.md
|
158
158
|
- codecov.yml
|
159
|
+
- flake.lock
|
160
|
+
- flake.nix
|
159
161
|
- lib/roadie-rails.rb
|
160
162
|
- lib/roadie/rails.rb
|
161
163
|
- lib/roadie/rails/asset_pipeline_provider.rb
|
@@ -171,11 +173,11 @@ files:
|
|
171
173
|
- lib/roadie/rails/version.rb
|
172
174
|
- roadie-rails.gemspec
|
173
175
|
- setup.sh
|
174
|
-
homepage:
|
176
|
+
homepage: https://github.com/Mange/roadie-rails
|
175
177
|
licenses:
|
176
178
|
- MIT
|
177
179
|
metadata: {}
|
178
|
-
post_install_message: This would be the last version that supports ruby 2.
|
180
|
+
post_install_message: This would be the last version that supports ruby 2.7
|
179
181
|
rdoc_options: []
|
180
182
|
require_paths:
|
181
183
|
- lib
|
@@ -183,14 +185,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
185
|
requirements:
|
184
186
|
- - ">="
|
185
187
|
- !ruby/object:Gem::Version
|
186
|
-
version: '2.
|
188
|
+
version: '2.7'
|
187
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
190
|
requirements:
|
189
191
|
- - ">="
|
190
192
|
- !ruby/object:Gem::Version
|
191
193
|
version: '0'
|
192
194
|
requirements: []
|
193
|
-
rubygems_version: 3.5.
|
195
|
+
rubygems_version: 3.5.9
|
194
196
|
signing_key:
|
195
197
|
specification_version: 4
|
196
198
|
summary: Making HTML emails comfortable for the Rails rockstars
|