publify_amazon_sidebar 9.2.10 → 11.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 365ac5b6bf32b4cf15ab147456147fbbe3cb063bf7eddc8c832c7ac2bdcf22fa
4
- data.tar.gz: 84e32eab607893ab0c236bc2f8dd99f69d3ebe57dd710a67bf5fb30afb9ba2fc
3
+ metadata.gz: a53992c9c090f1f8e5488ea669fdbee36de2e3548f79303505fc3dd172bac4c5
4
+ data.tar.gz: a5cf1a1fbee18f178974b2a294dddf4be45623d8709336fb3bd2648d02a27cde
5
5
  SHA512:
6
- metadata.gz: 366d071c7ecede5e7a4485d2a9491d4382d7259aa7521d5d52fdb068b5996c3dcc518290a8934a0069d266bf81d8c135ce8900f777c3f21a263337a19d777977
7
- data.tar.gz: 9635049a0f6689e86b97fe6dd0fb4c59d993541cacb13cab5e95f5f3de9eedb5578276a406ad574026e29710ecc20485e3ddf25e55cfc563817097f46e12fc3f
6
+ metadata.gz: 8ca0d156275abac382ecef51a578b32b0e515ce7c035b6a3f032675fbe117ca24340526836cde7ae8a55476f41da0b1e458fa5a47c82eb18a58e684c4ce10b1f
7
+ data.tar.gz: ac694dbeffabb39f08098f692233f46cf4a54c937b875082f0de9016aff0e61e27c6d0cfa17c195a3f56c23d806e8f288ad440d2f0093d528e0e9599d524d305
data/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # Changelog
2
2
 
3
+ ## 11.0.0 / 2026-10-04
4
+
5
+ * Depend on `publify_core` 11.0.0
6
+
7
+ * Support Ruby 3.2 through 4.0, dropping support for older versions
8
+ * Support Ruby 3.0 and up ([#74] by [mvz])
9
+ * Add Ruby 3.4 to the GitHub Actions matrix ([#102] by [mvz])
10
+ * Drop support for Ruby versions that are end-of-life ([#108] by [mvz])
11
+ * Test with Ruby 4.0 in CI ([#134] by [mvz])
12
+
13
+ * Support Rails 7.1 and 7.2
14
+ * Test with all supported Rails versions ([#109] by [mvz])
15
+ * Drop support for Rails 6.1 ([#123] by [mvz])
16
+ * Drop support for Rails 7.0 ([#145] by [mvz])
17
+ * Test with Rails 7.2 ([#166] by [mvz])
18
+
19
+ * Internal changes
20
+ * Allow starting the GitHub Actions workflow manually ([#92] by [mvz])
21
+ * Switch to weekly dependabot updates ([#116] by [mvz])
22
+ * Update RuboCop configuration and autocorrect new offenses ([#122] by [mvz])
23
+ * Remove scheduled CI runs ([#130] by [mvz])
24
+ * Remove permissions from GITHUB_TOKEN in CI ([#157] by [mvz])
25
+ * Loosen development dependencies ([#170] by [mvz])
26
+ * Downgrade rspec-rails ([#171] by [mvz])
27
+
28
+ [mvz]: https://github.com/mvz
29
+
30
+ [#74]: https://github.com/publify/publify_amazon_sidebar/pull/74
31
+ [#92]: https://github.com/publify/publify_amazon_sidebar/pull/92
32
+ [#102]: https://github.com/publify/publify_amazon_sidebar/pull/102
33
+ [#108]: https://github.com/publify/publify_amazon_sidebar/pull/108
34
+ [#109]: https://github.com/publify/publify_amazon_sidebar/pull/109
35
+ [#116]: https://github.com/publify/publify_amazon_sidebar/pull/116
36
+ [#122]: https://github.com/publify/publify_amazon_sidebar/pull/122
37
+ [#123]: https://github.com/publify/publify_amazon_sidebar/pull/123
38
+ [#130]: https://github.com/publify/publify_amazon_sidebar/pull/130
39
+ [#134]: https://github.com/publify/publify_amazon_sidebar/pull/134
40
+ [#145]: https://github.com/publify/publify_amazon_sidebar/pull/145
41
+ [#157]: https://github.com/publify/publify_amazon_sidebar/pull/157
42
+ [#166]: https://github.com/publify/publify_amazon_sidebar/pull/166
43
+ [#170]: https://github.com/publify/publify_amazon_sidebar/pull/170
44
+ [#171]: https://github.com/publify/publify_amazon_sidebar/pull/171
45
+
46
+ ## 10.0.0 / 2023-06-25
47
+
48
+ * Support Ruby 2.7, 3.0, 3.1 and 3.2
49
+ * Update dependencies
50
+ * Depend on `publify_core` 10.0.0
51
+
3
52
  ## 9.2.10 / 2023-01-08
4
53
 
5
54
  * Depend on `publify_core` 9.2.10
@@ -1,8 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class AmazonSidebar < Sidebar
4
- description \
5
- "Adds sidebar links to any Amazon.com books linked in the body of the page"
4
+ description "Adds sidebar links to any Amazon.com books linked in the body of the page"
6
5
  setting :title, "Cited books"
7
6
  setting :associate_id, "justasummary-20"
8
7
  setting :maxlinks, 4
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PublifyAmazonSidebar
4
- VERSION = "9.2.10"
4
+ VERSION = "11.0.0"
5
5
  end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :appraisal do
4
+ desc "Check appraisals"
5
+ task :check do
6
+ Appraisal::AppraisalFile.each do |appraisal|
7
+ existing = File.read(appraisal.gemfile_path)
8
+ signature = Appraisal::Customize.heading || "This file was generated by Appraisal"
9
+ header = appraisal.send :comment_lines, signature
10
+ body = appraisal.send :quoted_gemfile
11
+ expected = [header, body].join("\n\n")
12
+ raise "Outdated appraisal: #{appraisal.name}" unless existing.chomp == expected.chomp
13
+ end
14
+ end
15
+ end
@@ -3,15 +3,16 @@
3
3
  namespace :manifest do
4
4
  def gemmable_files
5
5
  `git ls-files -z`.split("\x0").reject do |file|
6
- file.match(%r{^(bin|spec)/}) ||
6
+ file.match(%r{^(bin|spec|gemfiles)/}) ||
7
7
  file.end_with?("/.keep") ||
8
8
  file.start_with?(".") ||
9
- %w(Manifest.txt Gemfile Rakefile publify_amazon_sidebar.gemspec).include?(file)
9
+ %w(Manifest.txt Gemfile Rakefile Appraisals publify_amazon_sidebar.gemspec)
10
+ .include?(file)
10
11
  end
11
12
  end
12
13
 
13
14
  def manifest_files
14
- File.open("Manifest.txt").readlines.map(&:chomp)
15
+ File.readlines("Manifest.txt").map(&:chomp)
15
16
  end
16
17
 
17
18
  desc "Create manifest"
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: publify_amazon_sidebar
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.2.10
4
+ version: 11.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matijs van Zuijlen
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-01-14 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: publify_core
@@ -16,56 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 9.2.10
18
+ version: 11.0.0
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: 9.2.10
27
- - !ruby/object:Gem::Dependency
28
- name: rspec-rails
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '4.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '4.0'
41
- - !ruby/object:Gem::Dependency
42
- name: simplecov
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: 0.19.0
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 0.19.0
55
- - !ruby/object:Gem::Dependency
56
- name: sqlite3
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
25
+ version: 11.0.0
69
26
  description: Amazon sidebar for the Publify blogging system.
70
27
  email:
71
28
  - matijs@matijs.net
@@ -82,13 +39,15 @@ files:
82
39
  - lib/publify_amazon_sidebar.rb
83
40
  - lib/publify_amazon_sidebar/engine.rb
84
41
  - lib/publify_amazon_sidebar/version.rb
42
+ - lib/tasks/appraisal.rake
85
43
  - lib/tasks/manifest.rake
86
44
  - lib/tasks/publify_amazon_sidebar_tasks.rake
87
45
  homepage: https://publify.github.io/
88
46
  licenses:
89
47
  - MIT
90
- metadata: {}
91
- post_install_message:
48
+ metadata:
49
+ homepage_uri: https://publify.github.io/
50
+ rubygems_mfa_required: 'true'
92
51
  rdoc_options: []
93
52
  require_paths:
94
53
  - lib
@@ -96,15 +55,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
55
  requirements:
97
56
  - - ">="
98
57
  - !ruby/object:Gem::Version
99
- version: 2.5.0
58
+ version: 3.2.0
100
59
  required_rubygems_version: !ruby/object:Gem::Requirement
101
60
  requirements:
102
61
  - - ">="
103
62
  - !ruby/object:Gem::Version
104
63
  version: '0'
105
64
  requirements: []
106
- rubygems_version: 3.1.6
107
- signing_key:
65
+ rubygems_version: 4.0.22
108
66
  specification_version: 4
109
67
  summary: Amazon sidebar for the Publify blogging system.
110
68
  test_files: []