pageflow-internal-links 1.5.0 → 1.6.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: 0a739cd6030d37ff7f80b31ea4c3c5743a7dc895419e844dd593f753e442978d
4
- data.tar.gz: 175dd06521bbd62c7399246791da9799293ff409175127696551e9214c292b5d
3
+ metadata.gz: 6ee1e9e7bd503deca6265262434c1e0cfd9a600a4c9dd986fec98c870ba45360
4
+ data.tar.gz: 3fb53e751514899d7ffbcdfd85a0c020f8d60a90b9049dc08484ba563a403e11
5
5
  SHA512:
6
- metadata.gz: ff33b025a006d7beb0074445430936016b755d3b6fea98d349df2d5b2f17daf868c8895021c9a4e4bd5550a924b7851d54797091f934641b7273529ef0fb2b49
7
- data.tar.gz: d702cbafbb66ccbc3129018de09516d12b9dce93b1c9c6f2f0a87faf22a0d2f36e52b821300828b5719e1200c95baf946b00fe1ef1dafdae15250a1995eda922
6
+ metadata.gz: 6e18f124b916d2092c854b777770ebf33e08fe05450b4e64d54e7f9a89b66f2296d1ee48af94513c1a5fac98eced83981d45537e7dc14ac0492f66aef3c27a56
7
+ data.tar.gz: 685dc7fa32658576006f5f8240239aeda9ecf00864eb96e72605d9028bc2d469c3af12d5e5bcc30aed881dbc6278350716896d74fa6d8bd88dee5d5235a57590
@@ -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,14 +1,15 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.5.0
3
+ ### Version 1.6.0
4
4
 
5
- 2022-12-28
5
+ 2024-01-15
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-internal-links/compare/1-4-stable...v1.5.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-internal-links/compare/1-5-stable...v1.6.0)
8
8
 
9
- - Add support for Pageflow 16
10
- ([#23](https://github.com/codevise/pageflow-internal-links/pull/23))
9
+ - Support Pageflow 17
10
+ ([#25](https://github.com/codevise/pageflow-internal-links/pull/25),
11
+ [#24](https://github.com/codevise/pageflow-internal-links/pull/24))
11
12
 
12
13
  See
13
- [1-4-stable branch](https://github.com/codevise/pageflow-internal-links/blob/1-4-stable/CHANGELOG.md)
14
+ [1-5-stable branch](https://github.com/codevise/pageflow-internal-links/blob/1-5-stable/CHANGELOG.md)
14
15
  for previous changes.
data/Gemfile CHANGED
@@ -1,5 +1,10 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in chart.gemspec
4
- gem 'rails', '~> 5.2.0' #Added specific rails version because the travis tests were failing due to dependancy problem. REDMIN#17649
5
3
  gemspec
4
+
5
+ if ENV['PAGEFLOW_DEPENDENCIES'] == 'experimental'
6
+ git 'https://github.com/codevise/pageflow', branch: 'edge', glob: '**/*.gemspec' do
7
+ gem 'pageflow'
8
+ gem 'pageflow-support'
9
+ end
10
+ end
@@ -3,7 +3,23 @@ module Pageflow
3
3
  class Engine < Rails::Engine
4
4
  isolate_namespace Pageflow::InternalLinks
5
5
 
6
- config.autoload_paths << File.join(config.root, 'lib')
6
+ if Rails.respond_to?(:autoloaders)
7
+ lib = root.join('lib')
8
+
9
+ config.autoload_paths << lib
10
+ config.eager_load_paths << lib
11
+
12
+ initializer 'pageflow_internal_links.autoloading' do
13
+ Rails.autoloaders.main.ignore(
14
+ lib.join('generators'),
15
+ lib.join('pageflow-internal-links.rb'),
16
+ lib.join('pageflow/internal_links/version.rb')
17
+ )
18
+ end
19
+ else
20
+ config.autoload_paths << File.join(config.root, 'lib')
21
+ end
22
+
7
23
  config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s]
8
24
  end
9
25
  end
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module InternalLinks
3
- VERSION = '1.5.0'.freeze
3
+ VERSION = '1.6.0'.freeze
4
4
  end
5
5
  end
@@ -1,4 +1,5 @@
1
1
  require 'pageflow/internal_links/engine'
2
+ require 'pageflow/internal_links/version'
2
3
 
3
4
  module Pageflow
4
5
  module InternalLinks
@@ -16,14 +16,14 @@ 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.0', '< 17']
21
+ spec.add_runtime_dependency 'pageflow', ['>= 15.0', '< 18']
22
22
 
23
23
  spec.add_development_dependency 'bundler', ['>= 1.0', '< 3']
24
- spec.add_development_dependency 'pageflow-support', ['>= 15.0', '< 17']
24
+ spec.add_development_dependency 'pageflow-support', ['>= 15.0', '< 18']
25
25
  spec.add_development_dependency 'rake', '~> 12.0'
26
- spec.add_development_dependency 'rspec-rails', '~> 3.0'
26
+ spec.add_development_dependency 'rspec-rails', '~> 6.0'
27
27
 
28
28
  # Semantic versioning rake tasks
29
29
  spec.add_development_dependency 'semmy', '~> 1.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-internal-links
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-28 00:00:00.000000000 Z
11
+ date: 2024-01-15 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.0'
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.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '17'
32
+ version: '18'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  version: '15.0'
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: '17'
62
+ version: '18'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -69,7 +69,7 @@ dependencies:
69
69
  version: '15.0'
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: '17'
72
+ version: '18'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rake
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -90,14 +90,14 @@ dependencies:
90
90
  requirements:
91
91
  - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: '3.0'
93
+ version: '6.0'
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.0'
100
+ version: '6.0'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: semmy
103
103
  requirement: !ruby/object:Gem::Requirement
@@ -204,7 +204,7 @@ require_paths:
204
204
  - lib
205
205
  required_ruby_version: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - "~>"
207
+ - - ">="
208
208
  - !ruby/object:Gem::Version
209
209
  version: '2.1'
210
210
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  - !ruby/object:Gem::Version
214
214
  version: '0'
215
215
  requirements: []
216
- rubygems_version: 3.0.8
216
+ rubygems_version: 3.4.10
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: Pageflow page types for linking to other pages.