roadie-rails 2.0.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b598ab302972326c1a3be3f3b036abe8cb1ea5a5662e10754b19914e37dd1250
4
- data.tar.gz: 5deb626d2d7c474391653e3bcc0bb27687c90454ee204ae048f2026df974c5fa
3
+ metadata.gz: a3d1d4fb6f37c6612f565f809c51f5d1b1a9aea2a469ec431d1c180aadd19e46
4
+ data.tar.gz: 1d198927ae248450f45120f9c32d0af1eacaeed690ff18f78f819b0aadbe0a4c
5
5
  SHA512:
6
- metadata.gz: b67ed7362896c5569f3d34baef59b999356af250bcc72c0e53460dc76929db87ca94035bcc66623544690832e2b151197a4532a08ebf2e626520a4c616015ed4
7
- data.tar.gz: 3d98816b7c20d85d2b82c1d2ee5e9dbbcb704f1a70297d4c9eaa95fb209deea07a338de644a9e1bdf2d9c480830ebc64b00b5bccc125c7ad6706dbca5f64876c
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/.rubocop.yml CHANGED
@@ -27,7 +27,7 @@ Layout/SpaceInsideHashLiteralBraces:
27
27
  Style/Documentation:
28
28
  Enabled: false
29
29
 
30
- Layout/IndentArray:
30
+ Layout/FirstArrayElementIndentation:
31
31
  EnforcedStyle: consistent
32
32
 
33
33
  Layout/MultilineMethodCallIndentation:
@@ -64,7 +64,7 @@ Metrics/BlockLength:
64
64
  - 'spec/**/*_spec.rb'
65
65
  - 'spec/shared_examples/*.rb'
66
66
 
67
- Metrics/LineLength:
67
+ Layout/LineLength:
68
68
  IgnoredPatterns:
69
69
  - '^\s*it\s' # Test names can be long
70
70
  Exclude:
data/Changelog.md CHANGED
@@ -1,8 +1,38 @@
1
1
  ### development version
2
2
 
3
- [full changelog](https://github.com/Mange/roadie-rails/compare/v2.0.0...master)
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).
13
+
14
+ ### 2.2.0
15
+
16
+ [full changelog](https://github.com/Mange/roadie-rails/compare/v2.1.1...v2.2.0)
17
+
18
+ * Support Rails 6.1 - [A. Fomera (afomera)](https://github.com/afomera)
19
+
20
+ ### 2.1.1
21
+
22
+ [full changelog](https://github.com/Mange/roadie-rails/compare/v2.1.0...v2.1.1)
23
+
24
+ * Relax Roadie dependency to allow v4.x
25
+
26
+ Development changes:
27
+
28
+ * Updated embedded Rails apps (used in tests) to work with new Sprockets 4.
29
+ * Updated Rubocop config to work with newer Rubocop versions.
30
+
31
+ ### 2.1.0
32
+
33
+ [full changelog](https://github.com/Mange/roadie-rails/compare/v2.0.0...v2.1.0)
34
+
35
+ * Rails 6 support (#88) - [Gleb Mazovetskiy (glebm)](https://github.com/glebm)
6
36
 
7
37
  ### 2.0.0
8
38
 
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 "codecov", group: :test, require: false
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://secure.travis-ci.org/Mange/roadie-rails.png)](http://travis-ci.org/#!/Mange/roadie-rails)
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.0'
23
+ gem 'roadie-rails', '~> 2.3'
24
24
  ```
25
25
 
26
26
  ## Usage ##
@@ -278,14 +278,17 @@ end
278
278
 
279
279
  ## Build status ##
280
280
 
281
- Tested with [Travis CI](http://travis-ci.org) using [almost all combinations of](http://travis-ci.org/#!/Mange/roadie-rails):
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
285
+ * MRI 2.7
286
+ * MRI 3.0
286
287
  * Rails
287
288
  * 5.1
288
289
  * 5.2
290
+ * 6.0
291
+ * 7.0
289
292
 
290
293
  Let me know if you want any other combination supported officially.
291
294
 
@@ -313,7 +316,7 @@ After running `rake` for the first time and you want to keep running tests witho
313
316
 
314
317
  (The MIT License)
315
318
 
316
- Copyright © 2013-2018 [Magnus Bergmark](https://github.com/Mange) <magnus.bergmark@gmail.com>, et. al.
319
+ Copyright © 2013-2021 [Magnus Bergmark](https://github.com/Mange) <magnus.bergmark@gmail.com>, et. al.
317
320
 
318
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:
319
322
 
data/Rakefile CHANGED
@@ -4,14 +4,14 @@ require "bundler/gem_tasks"
4
4
 
5
5
  desc "Install gems for embedded Rails apps"
6
6
  task :install_gems do
7
- Bundler.with_clean_env do
7
+ Bundler.with_unbundled_env do
8
8
  sh "./setup.sh install"
9
9
  end
10
10
  end
11
11
 
12
12
  desc "Update gems for embedded Rails apps"
13
13
  task :update_gems do
14
- Bundler.with_clean_env do
14
+ Bundler.with_unbundled_env do
15
15
  sh "./setup.sh update"
16
16
  end
17
17
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Roadie
4
4
  module Rails
5
- VERSION = "2.0.0"
5
+ VERSION = "2.3.0"
6
6
  end
7
7
  end
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", "< 5.3"
26
- spec.add_dependency "roadie", "~> 3.1"
25
+ spec.add_dependency "railties", ">= 5.1", "< 7.1"
26
+ spec.add_dependency "roadie", ">= 3.1", "< 5.0"
27
27
 
28
- spec.add_development_dependency "bundler", "~> 2.0"
29
- spec.add_development_dependency "rails", ">= 5.1", "< 5.3"
30
- spec.add_development_dependency "rspec", "~> 3.8"
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
@@ -23,9 +23,10 @@ function install() {
23
23
  }
24
24
 
25
25
 
26
- root=$(dirname $0)
26
+ root=$(dirname "$0")
27
27
 
28
- # Set by Travis CI; interferes with the nested repos
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
@@ -36,7 +37,7 @@ if [[ $1 == "install" ]]; then
36
37
  (
37
38
  header "Rails app $(basename "$app_path")"
38
39
  cd "$app_path"
39
- echo "Installing gems for $(basename "$app_path")"
40
+ echo -n "Installing gems for $(basename "$app_path")"
40
41
  install
41
42
  )
42
43
  done
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.0.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Magnus Bergmark
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-09 00:00:00.000000000 Z
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: '5.3'
22
+ version: '7.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,35 +29,41 @@ dependencies:
29
29
  version: '5.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.3'
32
+ version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: roadie
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '3.1'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '5.0'
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - "~>"
47
+ - - ">="
45
48
  - !ruby/object:Gem::Version
46
49
  version: '3.1'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '5.0'
47
53
  - !ruby/object:Gem::Dependency
48
54
  name: bundler
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
57
  - - "~>"
52
58
  - !ruby/object:Gem::Version
53
- version: '2.0'
59
+ version: '2.2'
54
60
  type: :development
55
61
  prerelease: false
56
62
  version_requirements: !ruby/object:Gem::Requirement
57
63
  requirements:
58
64
  - - "~>"
59
65
  - !ruby/object:Gem::Version
60
- version: '2.0'
66
+ version: '2.2'
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: rails
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +73,7 @@ dependencies:
67
73
  version: '5.1'
68
74
  - - "<"
69
75
  - !ruby/object:Gem::Version
70
- version: '5.3'
76
+ version: '7.1'
71
77
  type: :development
72
78
  prerelease: false
73
79
  version_requirements: !ruby/object:Gem::Requirement
@@ -77,21 +83,21 @@ dependencies:
77
83
  version: '5.1'
78
84
  - - "<"
79
85
  - !ruby/object:Gem::Version
80
- version: '5.3'
86
+ version: '7.1'
81
87
  - !ruby/object:Gem::Dependency
82
88
  name: rspec
83
89
  requirement: !ruby/object:Gem::Requirement
84
90
  requirements:
85
91
  - - "~>"
86
92
  - !ruby/object:Gem::Version
87
- version: '3.8'
93
+ version: '3.10'
88
94
  type: :development
89
95
  prerelease: false
90
96
  version_requirements: !ruby/object:Gem::Requirement
91
97
  requirements:
92
98
  - - "~>"
93
99
  - !ruby/object:Gem::Version
94
- version: '3.8'
100
+ version: '3.10'
95
101
  - !ruby/object:Gem::Dependency
96
102
  name: rspec-collection_matchers
97
103
  requirement: !ruby/object:Gem::Requirement
@@ -130,9 +136,9 @@ extra_rdoc_files:
130
136
  - Changelog.md
131
137
  - LICENSE.txt
132
138
  files:
139
+ - ".github/workflows/main.yml"
133
140
  - ".gitignore"
134
141
  - ".rubocop.yml"
135
- - ".travis.yml"
136
142
  - Changelog.md
137
143
  - Gemfile
138
144
  - LICENSE.txt
@@ -158,7 +164,7 @@ homepage: http://github.com/Mange/roadie-rails
158
164
  licenses:
159
165
  - MIT
160
166
  metadata: {}
161
- post_install_message:
167
+ post_install_message:
162
168
  rdoc_options: []
163
169
  require_paths:
164
170
  - lib
@@ -173,9 +179,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
179
  - !ruby/object:Gem::Version
174
180
  version: '0'
175
181
  requirements: []
176
- rubyforge_project:
177
- rubygems_version: 2.7.3
178
- signing_key:
182
+ rubygems_version: 3.0.9
183
+ signing_key:
179
184
  specification_version: 4
180
185
  summary: Making HTML emails comfortable for the Rails rockstars
181
186
  test_files: []
data/.travis.yml DELETED
@@ -1,25 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.5
5
- - 2.6
6
-
7
- matrix:
8
- fast_finish: true
9
-
10
- before_install:
11
- # Ruby 2.6.0 does not work with Bundler 2 unless the gem system is updated
12
- # first.
13
- # https://github.com/bundler/bundler/issues/6784
14
- - gem update --system
15
- # Install latest bundler; Travis has an old version that Rails 5+ don't like.
16
- # (2019-02-09; has 1.16.2, needs ~> 2.0)
17
- - gem install bundler
18
-
19
- cache:
20
- directories:
21
- - .bundle
22
- - spec/railsapps/rails_51/.bundle
23
- - spec/railsapps/rails_52/.bundle
24
- bundler_args: --path=.bundle
25
- script: "rake"