roadie-rails 2.2.0 → 2.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 +29 -0
- data/Changelog.md +9 -2
- data/Gemfile +2 -1
- data/README.md +6 -5
- data/lib/roadie/rails/version.rb +1 -1
- data/roadie-rails.gemspec +4 -4
- data/setup.sh +2 -1
- metadata +12 -12
- data/.travis.yml +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3d1d4fb6f37c6612f565f809c51f5d1b1a9aea2a469ec431d1c180aadd19e46
|
4
|
+
data.tar.gz: 1d198927ae248450f45120f9c32d0af1eacaeed690ff18f78f819b0aadbe0a4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6354732056b71a05443197cedbe8e42efef99c535b0debc63abc7271dd581b87c29d5dd3ac605c0332baa7bc9b8a12870093b8d77838e5a5386a3984d778f8e9
|
7
|
+
data.tar.gz: 3e617ef0ba8330db2802212c41b44bcda55b8548110195f8d45b99f1c58cb6ec8991ad6de93433d9b3104c116f53b9d0d9d16ac9be9eca3ddc08c85ccda9a6da
|
@@ -0,0 +1,29 @@
|
|
1
|
+
name: Main
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
base:
|
7
|
+
name: Ruby ${{ matrix.ruby }}
|
8
|
+
runs-on: ubuntu-20.04
|
9
|
+
strategy:
|
10
|
+
fail-fast: false
|
11
|
+
matrix:
|
12
|
+
ruby: ["2.6.9", "2.7.2", "3.0.3"]
|
13
|
+
|
14
|
+
steps:
|
15
|
+
- name: Checkout code
|
16
|
+
uses: actions/checkout@v2
|
17
|
+
|
18
|
+
# This setup is not compatible with the way Travis CI was
|
19
|
+
# setup, so the cache will only work for the root folder.
|
20
|
+
- name: Setup Ruby
|
21
|
+
uses: ruby/setup-ruby@v1
|
22
|
+
with:
|
23
|
+
ruby-version: ${{ matrix.ruby }}
|
24
|
+
bundler-cache: true
|
25
|
+
|
26
|
+
- name: Rake
|
27
|
+
run: rake
|
28
|
+
|
29
|
+
- uses: codecov/codecov-action@v2
|
data/Changelog.md
CHANGED
@@ -1,8 +1,15 @@
|
|
1
1
|
### development version
|
2
2
|
|
3
|
-
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.
|
3
|
+
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.3.0...master)
|
4
4
|
|
5
|
-
* Nothing yet
|
5
|
+
* Nothing yet.
|
6
|
+
|
7
|
+
### 2.3.0
|
8
|
+
|
9
|
+
[full changelog](https://github.com/Mange/roadie-rails/compare/v2.2.0...v2.3.0)
|
10
|
+
|
11
|
+
* Support Rails 7.0 - [Sean Floyd (SeanLF)](https://github.com/SeanLF)
|
12
|
+
* Drop support for Ruby 2.5 (EoL).
|
6
13
|
|
7
14
|
### 2.2.0
|
8
15
|
|
data/Gemfile
CHANGED
@@ -6,4 +6,5 @@ source "https://rubygems.org"
|
|
6
6
|
gemspec
|
7
7
|
|
8
8
|
# Added here so it does not show up on the Gemspec; I only want it for CI builds
|
9
|
-
gem "
|
9
|
+
gem "simplecov", group: :test, require: false
|
10
|
+
gem "simplecov-cobertura", group: :test, require: false
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# roadie-rails
|
2
2
|
|
3
|
-
[![Build history and status](https://
|
3
|
+
[![Build history and status](https://github.com/Mange/roadie-rails/actions/workflows/main.yml/badge.svg)](https://github.com/Mange/roadie-rails/actions/workflows/main.yml)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/Mange/roadie-rails.png)](https://codeclimate.com/github/Mange/roadie-rails)
|
5
5
|
[![Code coverage status](https://codecov.io/github/Mange/roadie-rails/coverage.svg?branch=master)](https://codecov.io/github/Mange/roadie-rails?branch=master)
|
6
6
|
[![Gem](https://img.shields.io/gem/v/roadie-rails.svg)](https://rubygems.org/gems/roadie-rails)
|
@@ -20,7 +20,7 @@ This gem hooks up your Rails application with Roadie to help you generate HTML e
|
|
20
20
|
[Add this gem to your Gemfile as recommended by Rubygems][gem] and run `bundle install`.
|
21
21
|
|
22
22
|
```ruby
|
23
|
-
gem 'roadie-rails', '~> 2.
|
23
|
+
gem 'roadie-rails', '~> 2.3'
|
24
24
|
```
|
25
25
|
|
26
26
|
## Usage ##
|
@@ -278,16 +278,17 @@ end
|
|
278
278
|
|
279
279
|
## Build status ##
|
280
280
|
|
281
|
-
Tested with
|
281
|
+
Tested with Github Actions on multiple Ruby and Rails versions:
|
282
282
|
|
283
283
|
* Ruby:
|
284
|
-
* MRI 2.5
|
285
284
|
* MRI 2.6
|
286
285
|
* MRI 2.7
|
286
|
+
* MRI 3.0
|
287
287
|
* Rails
|
288
288
|
* 5.1
|
289
289
|
* 5.2
|
290
290
|
* 6.0
|
291
|
+
* 7.0
|
291
292
|
|
292
293
|
Let me know if you want any other combination supported officially.
|
293
294
|
|
@@ -315,7 +316,7 @@ After running `rake` for the first time and you want to keep running tests witho
|
|
315
316
|
|
316
317
|
(The MIT License)
|
317
318
|
|
318
|
-
Copyright © 2013-
|
319
|
+
Copyright © 2013-2021 [Magnus Bergmark](https://github.com/Mange) <magnus.bergmark@gmail.com>, et. al.
|
319
320
|
|
320
321
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
321
322
|
|
data/lib/roadie/rails/version.rb
CHANGED
data/roadie-rails.gemspec
CHANGED
@@ -22,12 +22,12 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.extra_rdoc_files = %w[README.md Changelog.md LICENSE.txt]
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency "railties", ">= 5.1", "<
|
25
|
+
spec.add_dependency "railties", ">= 5.1", "< 7.1"
|
26
26
|
spec.add_dependency "roadie", ">= 3.1", "< 5.0"
|
27
27
|
|
28
|
-
spec.add_development_dependency "bundler", "~> 2.
|
29
|
-
spec.add_development_dependency "rails", ">= 5.1", "<
|
30
|
-
spec.add_development_dependency "rspec", "~> 3.
|
28
|
+
spec.add_development_dependency "bundler", "~> 2.2"
|
29
|
+
spec.add_development_dependency "rails", ">= 5.1", "< 7.1"
|
30
|
+
spec.add_development_dependency "rspec", "~> 3.10"
|
31
31
|
spec.add_development_dependency "rspec-collection_matchers"
|
32
32
|
spec.add_development_dependency "rspec-rails"
|
33
33
|
end
|
data/setup.sh
CHANGED
@@ -25,7 +25,8 @@ function install() {
|
|
25
25
|
|
26
26
|
root=$(dirname "$0")
|
27
27
|
|
28
|
-
#
|
28
|
+
# Previously needed by Travis CI; might still be needed at Github Actions
|
29
|
+
# due to nested repos
|
29
30
|
unset BUNDLE_GEMFILE
|
30
31
|
|
31
32
|
if [[ $1 == "install" ]]; then
|
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: 2.
|
4
|
+
version: 2.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: 2021-12-22 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: '
|
22
|
+
version: '7.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: '
|
32
|
+
version: '7.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: roadie
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,14 +56,14 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '2.
|
59
|
+
version: '2.2'
|
60
60
|
type: :development
|
61
61
|
prerelease: false
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '2.
|
66
|
+
version: '2.2'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: rails
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,7 +73,7 @@ dependencies:
|
|
73
73
|
version: '5.1'
|
74
74
|
- - "<"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
76
|
+
version: '7.1'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -83,21 +83,21 @@ dependencies:
|
|
83
83
|
version: '5.1'
|
84
84
|
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: '
|
86
|
+
version: '7.1'
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: rspec
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
91
|
- - "~>"
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: '3.
|
93
|
+
version: '3.10'
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - "~>"
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: '3.
|
100
|
+
version: '3.10'
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: rspec-collection_matchers
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,9 +136,9 @@ extra_rdoc_files:
|
|
136
136
|
- Changelog.md
|
137
137
|
- LICENSE.txt
|
138
138
|
files:
|
139
|
+
- ".github/workflows/main.yml"
|
139
140
|
- ".gitignore"
|
140
141
|
- ".rubocop.yml"
|
141
|
-
- ".travis.yml"
|
142
142
|
- Changelog.md
|
143
143
|
- Gemfile
|
144
144
|
- LICENSE.txt
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
|
-
rubygems_version: 3.0.
|
182
|
+
rubygems_version: 3.0.9
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: Making HTML emails comfortable for the Rails rockstars
|
data/.travis.yml
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.5
|
5
|
-
- 2.6
|
6
|
-
- 2.7
|
7
|
-
|
8
|
-
matrix:
|
9
|
-
fast_finish: true
|
10
|
-
|
11
|
-
before_install:
|
12
|
-
# Ruby 2.6.0 does not work with Bundler 2 unless the gem system is updated
|
13
|
-
# first.
|
14
|
-
# https://github.com/bundler/bundler/issues/6784
|
15
|
-
- gem update --system
|
16
|
-
# Install latest bundler; Travis has an old version that Rails 5+ don't like.
|
17
|
-
# (2019-02-09; has 1.16.2, needs ~> 2.0)
|
18
|
-
- gem install bundler
|
19
|
-
|
20
|
-
cache:
|
21
|
-
directories:
|
22
|
-
- .bundle
|
23
|
-
- spec/railsapps/rails_51/.bundle
|
24
|
-
- spec/railsapps/rails_52/.bundle
|
25
|
-
bundler_args: --path=.bundle
|
26
|
-
script: "rake"
|