pageflow-external-links 2.4.1 → 2.5.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: 959b4de4fd00552fbf952ae08112b22c5e24e685e5f26ed39283fabb439e436a
4
- data.tar.gz: a088a0d48df598655f32118a2dee6dc58e05523eea4833b7711f371426719dc3
3
+ metadata.gz: 259b975baaa75883ed07e3ad493699d1c66c44470925bdbbf38c454bddf9178c
4
+ data.tar.gz: 5c5cc9384868618ec34930bbc8894979c2d30aa09889ee2a3bcf037772176f07
5
5
  SHA512:
6
- metadata.gz: 25cb06b59a6a5f3f1e27159f11ede11bb4d75cd4dd2b7bcdec06f5ecb6f6f2b4c3faddc6aee6833b26cb4613a9a3dd84a2c7cfd61dc45d4fdcbd2ef305070fd0
7
- data.tar.gz: 2c24e4e0d17401cf2169b945e407ce918de78d4b389e2b2639c478316744e09155267f123680f9aa172b747195fd12dcb0bcdb3a0f152f7f979defb5c3380e32
6
+ metadata.gz: a81ae5a576a364a1d675ef3ca657be33cff56a00d32c691b43b21501ea4663a60554cbec1f34213207f85dda3d982f2b3b52785e6cf0a757e76e775ee5c4385f
7
+ data.tar.gz: 71a12d17f1844307e830d4447bc9876ca57fcd9df20725a93e8549816c70aaf99acd680e0553107f7c95ffd8a110b34614af3d0d60a5bc9685e5c194f31f42b6
@@ -1,5 +1,5 @@
1
1
  name: tests
2
- on: [push, pull_request]
2
+ on: [push, pull_request, workflow_dispatch]
3
3
 
4
4
  jobs:
5
5
  call-workflow:
data/CHANGELOG.md CHANGED
@@ -1,26 +1,15 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 2.4.1
3
+ ### Version 2.5.0
4
4
 
5
- 2023-01-10
5
+ 2024-01-12
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-external-links/compare/v2.4.0...v2.4.1)
7
+ [Compare changes](https://github.com/codevise/pageflow-external-links/compare/2-4-stable...v2.5.0)
8
8
 
9
- - Prefix ExternalLink::Site to prevent referencing Pageflow::Site
10
- ([#49](https://github.com/codevise/pageflow-external-links/pull/49),
11
- [#50](https://github.com/codevise/pageflow-external-links/pull/50))
12
-
13
- ### Version 2.4.0
14
-
15
- 2022-12-28
16
-
17
- [Compare changes](https://github.com/codevise/pageflow-external-links/compare/2-3-stable...v2.4.0)
18
-
19
- - Add support for Pageflow 16
20
- ([#48](https://github.com/codevise/pageflow-external-links/pull/48))
21
- - Rebrush editor styles
22
- ([#47](https://github.com/codevise/pageflow-external-links/pull/47))
9
+ - Support Pageflow 17/Rails 7.1
10
+ ([#52](https://github.com/codevise/pageflow-external-links/pull/52),
11
+ [#51](https://github.com/codevise/pageflow-external-links/pull/51))
23
12
 
24
13
  See
25
- [2-3-stable branch](https://github.com/codevise/pageflow-external-links/blob/2-3-stable/CHANGELOG.md)
14
+ [2-4-stable branch](https://github.com/codevise/pageflow-external-links/blob/2-4-stable/CHANGELOG.md)
26
15
  for previous changes.
data/Gemfile CHANGED
@@ -3,5 +3,9 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in chart.gemspec
4
4
  gemspec
5
5
 
6
- # Give a hint to Bundler to prevent endless loop
7
- gem 'rails', '~> 5.2.0'
6
+ if ENV['PAGEFLOW_DEPENDENCIES'] == 'experimental'
7
+ git 'https://github.com/codevise/pageflow', branch: 'edge', glob: '**/*.gemspec' do
8
+ gem 'pageflow'
9
+ gem 'pageflow-support'
10
+ end
11
+ end
@@ -5,9 +5,25 @@ module Pageflow
5
5
  class Engine < Rails::Engine
6
6
  isolate_namespace Pageflow::ExternalLinks
7
7
 
8
- config.autoload_paths << File.join(config.root, 'lib')
9
8
  config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s]
10
9
 
10
+ if Rails.respond_to?(:autoloaders)
11
+ lib = root.join('lib')
12
+
13
+ config.autoload_paths << lib
14
+ config.eager_load_paths << lib
15
+
16
+ initializer 'pageflow_external_links.autoloading' do
17
+ Rails.autoloaders.main.ignore(
18
+ lib.join('generators'),
19
+ lib.join('pageflow-external-links.rb'),
20
+ lib.join('pageflow/external_links/version.rb')
21
+ )
22
+ end
23
+ else
24
+ config.autoload_paths << File.join(config.root, 'lib')
25
+ end
26
+
11
27
  config.generators do |g|
12
28
  g.test_framework :rspec,:fixture => false
13
29
  g.fixture_replacement :factory_girl, :dir => 'spec/factories'
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module ExternalLinks
3
- VERSION = '2.4.1'.freeze
3
+ VERSION = '2.5.0'.freeze
4
4
  end
5
5
  end
@@ -1,4 +1,5 @@
1
1
  require 'pageflow/external_links/engine'
2
+ require 'pageflow/external_links/version'
2
3
 
3
4
  module Pageflow
4
5
  module ExternalLinks
@@ -16,15 +16,15 @@ Gem::Specification.new do |spec|
16
16
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
17
  spec.require_paths = ['lib']
18
18
 
19
- spec.required_ruby_version = '~> 2.1'
19
+ spec.required_ruby_version = '>= 2.1'
20
20
 
21
- spec.add_runtime_dependency 'pageflow', ['>= 15.7', '< 17']
21
+ spec.add_runtime_dependency 'pageflow', ['>= 15.7', '< 18']
22
22
  spec.add_runtime_dependency 'pageflow-public-i18n', '~> 1.0'
23
23
 
24
24
  spec.add_development_dependency 'bundler', ['>= 1.0', '< 3']
25
- spec.add_development_dependency 'pageflow-support', ['>= 15.0', '< 17']
25
+ spec.add_development_dependency 'pageflow-support', ['>= 15.0', '< 18']
26
26
  spec.add_development_dependency 'rake', '~> 12.0'
27
- spec.add_development_dependency 'rspec-rails', '~> 3.0'
27
+ spec.add_development_dependency 'rspec-rails', '~> 6.0'
28
28
 
29
29
  # Semantic versioning rake tasks
30
30
  spec.add_development_dependency 'semmy', '~> 1.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-external-links
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-10 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '15.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '17'
22
+ version: '18'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '15.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '17'
32
+ version: '18'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pageflow-public-i18n
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -73,7 +73,7 @@ dependencies:
73
73
  version: '15.0'
74
74
  - - "<"
75
75
  - !ruby/object:Gem::Version
76
- version: '17'
76
+ version: '18'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
@@ -83,7 +83,7 @@ dependencies:
83
83
  version: '15.0'
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
- version: '17'
86
+ version: '18'
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: rake
89
89
  requirement: !ruby/object:Gem::Requirement
@@ -104,14 +104,14 @@ dependencies:
104
104
  requirements:
105
105
  - - "~>"
106
106
  - !ruby/object:Gem::Version
107
- version: '3.0'
107
+ version: '6.0'
108
108
  type: :development
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - "~>"
113
113
  - !ruby/object:Gem::Version
114
- version: '3.0'
114
+ version: '6.0'
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: semmy
117
117
  requirement: !ruby/object:Gem::Requirement
@@ -140,7 +140,6 @@ files:
140
140
  - ".sassdocrc"
141
141
  - CHANGELOG.md
142
142
  - Gemfile
143
- - Gemfile.ci
144
143
  - README.md
145
144
  - Rakefile
146
145
  - app/assets/images/pageflow/external_links/themes/default/pictograms/sprite.png
@@ -217,7 +216,7 @@ require_paths:
217
216
  - lib
218
217
  required_ruby_version: !ruby/object:Gem::Requirement
219
218
  requirements:
220
- - - "~>"
219
+ - - ">="
221
220
  - !ruby/object:Gem::Version
222
221
  version: '2.1'
223
222
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -226,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
225
  - !ruby/object:Gem::Version
227
226
  version: '0'
228
227
  requirements: []
229
- rubygems_version: 3.0.3.1
228
+ rubygems_version: 3.4.10
230
229
  signing_key:
231
230
  specification_version: 4
232
231
  summary: Pageflow Page Type for links to external sites
data/Gemfile.ci DELETED
@@ -1,8 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- gem 'pageflow-theme-doc-publisher', git: 'https://github.com/tf/pageflow-theme-doc-publisher'
6
-
7
- # Give a hint to Bundler to prevent endless loop
8
- gem 'rails', '~> 5.2.0'