roadie-rails 3.0.0 → 3.1.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: 3763b68398678ce8340c842702ed7321dce653b992c336c5d646e554696f2e83
4
- data.tar.gz: a09a2aa1df722ddb5d13635ea1efaab6756c44f9a50258e27c2042b71e4dd8dc
3
+ metadata.gz: 16580bfa2467fceffbbc8e06e701098916fbcbb9bee06837939bdd8e8b8ee32c
4
+ data.tar.gz: f0ef8c91dfb32a406a3a4e3d705fd0ccfc7a49b939e378acb1296a58e03c2314
5
5
  SHA512:
6
- metadata.gz: fb6f168beb438f59455e2b04ce07e6face9b4db9f226e5603bbe20bdaf0568ea2870ace9d6edde1884fbe0e09958d74f19b5a6c565d08b572459a60aee8ce203
7
- data.tar.gz: e0b3f1146229dc609018db1d77d544ef4f9e9c3644e6a834b38dd7b00adcdafef02d79e248c914b24db1622beaacdffefbcc863383fd1b9005763bdab8ad3cd1
6
+ metadata.gz: 38c8fcad0c0b77105922656042f8f5e0ff515bcca6cad7f65b0f6817bffdd02920a7a1184d61a993ea54d6287b78f641726937d3c53d2784e319b3be4049b57f
7
+ data.tar.gz: 1e35117740bbec441a9e7f443176695982db10e245b9d00491350a277fcbf66100e384798df04bfd6789478fdc3feaf85565b0581981b2078e689a4ea98405fa
@@ -11,15 +11,20 @@ on:
11
11
  jobs:
12
12
  base:
13
13
  name: Ruby ${{ matrix.ruby }}
14
- runs-on: ubuntu-20.04
14
+ runs-on: ubuntu-latest
15
15
  strategy:
16
16
  fail-fast: false
17
17
  matrix:
18
- ruby: ["2.6", "2.7", "3.0", "3.1"]
18
+ ruby:
19
+ - "2.6"
20
+ - "2.7"
21
+ - "3.0"
22
+ - "3.1"
23
+ - "3.2"
19
24
 
20
25
  steps:
21
26
  - name: Checkout code
22
- uses: actions/checkout@v2
27
+ uses: actions/checkout@v4
23
28
 
24
29
  # This setup is not compatible with the way Travis CI was
25
30
  # setup, so the cache will only work for the root folder.
@@ -30,14 +35,23 @@ jobs:
30
35
  bundler-cache: true
31
36
 
32
37
  - name: Rake
33
- run: rake
38
+ run: bundle exec rake
34
39
 
35
- - uses: codecov/codecov-action@v2
40
+ - uses: codecov/codecov-action@v3
36
41
 
37
42
  lint:
38
43
  runs-on: ubuntu-latest
39
44
  steps:
45
+ - name: Checkout code
46
+ uses: actions/checkout@v4
47
+
48
+ # This setup is not compatible with the way Travis CI was
49
+ # setup, so the cache will only work for the root folder.
50
+ - name: Setup Ruby
51
+ uses: ruby/setup-ruby@v1
52
+ with:
53
+ ruby-version: "3.2"
54
+ bundler-cache: true
55
+
40
56
  - name: standardrb
41
- env:
42
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43
- uses: amoeba/standardrb-action@v2
57
+ run: bundle exec standardrb
data/Changelog.md CHANGED
@@ -1,6 +1,17 @@
1
1
  ### development version
2
2
 
3
- [full changelog](https://github.com/Mange/roadie-rails/compare/v3.0.0...master)
3
+ [full changelog](https://github.com/Mange/roadie-rails/compare/v3.1.0...master)
4
+
5
+ ### 3.1.0
6
+
7
+ [full changelog](https://github.com/Mange/roadie-rails/compare/v3.0.0...v3.1.0)
8
+
9
+ * Support Rails 7.1 - [Frederik Spang](https://github.com/frederikspang)
10
+ * Add support for Ruby 3.2.
11
+
12
+ Development changes:
13
+
14
+ * Fix Github CI lint job with standardrb.
4
15
 
5
16
  ### 3.0.0
6
17
 
data/README.md CHANGED
@@ -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', '~> 3.0'
23
+ gem 'roadie-rails'
24
24
  ```
25
25
 
26
26
  ## Usage ##
@@ -51,7 +51,7 @@ module Roadie
51
51
  [a-z0-9]{64} # New style is 64 characters
52
52
  )
53
53
  \. # Dot for the file extension
54
- /x.freeze
54
+ /x
55
55
 
56
56
  def remove_asset_digest(path)
57
57
  path.gsub(DIGEST_PATTERN, ".")
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Roadie
4
4
  module Rails
5
- VERSION = "3.0.0"
5
+ VERSION = "3.1.0"
6
6
  end
7
7
  end
data/roadie-rails.gemspec CHANGED
@@ -18,16 +18,16 @@ Gem::Specification.new do |spec|
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
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
22
21
  spec.extra_rdoc_files = %w[README.md Changelog.md LICENSE.txt]
23
22
  spec.require_paths = ["lib"]
24
23
 
25
- spec.add_dependency "railties", ">= 5.1", "< 7.1"
24
+ spec.add_dependency "railties", ">= 5.1", "< 8.0"
26
25
  spec.add_dependency "roadie", "~> 5.0"
27
26
 
28
27
  spec.add_development_dependency "bundler", "~> 2.2"
29
- spec.add_development_dependency "rails", ">= 5.1", "< 7.1"
28
+ spec.add_development_dependency "rails", ">= 5.1", "< 8.0"
30
29
  spec.add_development_dependency "rspec", "~> 3.10"
31
30
  spec.add_development_dependency "rspec-collection_matchers"
32
31
  spec.add_development_dependency "rspec-rails"
32
+ spec.add_development_dependency "standard"
33
33
  end
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.0.0
4
+ version: 3.1.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: 2022-02-02 00:00:00.000000000 Z
11
+ date: 2023-10-19 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: '7.1'
22
+ version: '8.0'
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: '7.1'
32
+ version: '8.0'
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: '7.1'
70
+ version: '8.0'
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: '7.1'
80
+ version: '8.0'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: rspec
83
83
  requirement: !ruby/object:Gem::Requirement
@@ -120,6 +120,20 @@ dependencies:
120
120
  - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
+ - !ruby/object:Gem::Dependency
124
+ name: standard
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
123
137
  description: Hooks Roadie into your Rails application to help with email generation.
124
138
  email:
125
139
  - magnus.bergmark@gmail.com
@@ -174,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
188
  - !ruby/object:Gem::Version
175
189
  version: '0'
176
190
  requirements: []
177
- rubygems_version: 3.0.9
191
+ rubygems_version: 3.4.21
178
192
  signing_key:
179
193
  specification_version: 4
180
194
  summary: Making HTML emails comfortable for the Rails rockstars