pageflow-internal-links 1.4.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: a67bfee3d626cf9a0a643a7add49c68d8c067893cc8c1c3bb5347fd33efa2073
4
- data.tar.gz: 372ebdcdbadabe29207dbcd006070f11ca5758db38d890957ea61bba96e38c8d
3
+ metadata.gz: 6ee1e9e7bd503deca6265262434c1e0cfd9a600a4c9dd986fec98c870ba45360
4
+ data.tar.gz: 3fb53e751514899d7ffbcdfd85a0c020f8d60a90b9049dc08484ba563a403e11
5
5
  SHA512:
6
- metadata.gz: 3a2fb981be093a996100e8eff03a36f92abfe733f9b449bb6a71d964a2cfdf38805dd5d777061bd7d6122feaa976a3e0d6ad0d084a75b7902085b00c14ef1c3a
7
- data.tar.gz: 3465a131040f6d91f066620b1d0c44ae68ba1542de82005572a7d888908f46fe0921881a699691bc2552a0660da426926ecb98e12cc2cc18940f651a9aaa71b6
6
+ metadata.gz: 6e18f124b916d2092c854b777770ebf33e08fe05450b4e64d54e7f9a89b66f2296d1ee48af94513c1a5fac98eced83981d45537e7dc14ac0492f66aef3c27a56
7
+ data.tar.gz: 685dc7fa32658576006f5f8240239aeda9ecf00864eb96e72605d9028bc2d469c3af12d5e5bcc30aed881dbc6278350716896d74fa6d8bd88dee5d5235a57590
@@ -0,0 +1,6 @@
1
+ name: tests
2
+ on: [push, pull_request, workflow_dispatch]
3
+
4
+ jobs:
5
+ call-workflow:
6
+ uses: codevise/pageflow/.github/workflows/reusable-workflow-rspec.yml@master
data/CHANGELOG.md CHANGED
@@ -1,14 +1,15 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.4.0
3
+ ### Version 1.6.0
4
4
 
5
- 2020-08-13
5
+ 2024-01-15
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-internal-links/compare/1-3-stable...v1.4.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-internal-links/compare/1-5-stable...v1.6.0)
8
8
 
9
- - Bug fix: Remove empty space in mosaic layout
10
- ([#22](https://github.com/codevise/pageflow-internal-links/pull/22))
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-3-stable branch](https://github.com/codevise/pageflow-internal-links/blob/1-3-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
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Pageflow Internal Links
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/pageflow-internal-links.svg)](http://badge.fury.io/rb/pageflow-internal-links)
4
- [![Build Status](https://travis-ci.org/codevise/pageflow-internal-links.svg?branch=master)](https://travis-ci.org/codevise/pageflow-internal-links)
4
+ [![Build Status](https://github.com/codevise/pageflow-internal-links/workflows/tests/badge.svg)](https://github.com/codevise/pageflow-internal-links/actions)
5
5
 
6
6
  Page types for linking to pages inside a Pageflow.
7
7
 
@@ -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.4.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.x'
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.x'
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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-internal-links
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.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: 2020-08-13 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
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 15.x
19
+ version: '15.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '18'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '15.0'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 15.x
32
+ version: '18'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -48,16 +54,22 @@ dependencies:
48
54
  name: pageflow-support
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
- - - "~>"
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '15.0'
60
+ - - "<"
52
61
  - !ruby/object:Gem::Version
53
- version: 15.x
62
+ version: '18'
54
63
  type: :development
55
64
  prerelease: false
56
65
  version_requirements: !ruby/object:Gem::Requirement
57
66
  requirements:
58
- - - "~>"
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '15.0'
70
+ - - "<"
59
71
  - !ruby/object:Gem::Version
60
- version: 15.x
72
+ version: '18'
61
73
  - !ruby/object:Gem::Dependency
62
74
  name: rake
63
75
  requirement: !ruby/object:Gem::Requirement
@@ -78,14 +90,14 @@ dependencies:
78
90
  requirements:
79
91
  - - "~>"
80
92
  - !ruby/object:Gem::Version
81
- version: '3.0'
93
+ version: '6.0'
82
94
  type: :development
83
95
  prerelease: false
84
96
  version_requirements: !ruby/object:Gem::Requirement
85
97
  requirements:
86
98
  - - "~>"
87
99
  - !ruby/object:Gem::Version
88
- version: '3.0'
100
+ version: '6.0'
89
101
  - !ruby/object:Gem::Dependency
90
102
  name: semmy
91
103
  requirement: !ruby/object:Gem::Requirement
@@ -107,10 +119,10 @@ executables: []
107
119
  extensions: []
108
120
  extra_rdoc_files: []
109
121
  files:
122
+ - ".github/workflows/tests.yml"
110
123
  - ".gitignore"
111
124
  - ".jshintrc"
112
125
  - ".scss-lint.yml"
113
- - ".travis.yml"
114
126
  - CHANGELOG.md
115
127
  - Gemfile
116
128
  - README.md
@@ -192,7 +204,7 @@ require_paths:
192
204
  - lib
193
205
  required_ruby_version: !ruby/object:Gem::Requirement
194
206
  requirements:
195
- - - "~>"
207
+ - - ">="
196
208
  - !ruby/object:Gem::Version
197
209
  version: '2.1'
198
210
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -201,8 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
213
  - !ruby/object:Gem::Version
202
214
  version: '0'
203
215
  requirements: []
204
- rubyforge_project:
205
- rubygems_version: 2.7.9
216
+ rubygems_version: 3.4.10
206
217
  signing_key:
207
218
  specification_version: 4
208
219
  summary: Pageflow page types for linking to other pages.
data/.travis.yml DELETED
@@ -1,13 +0,0 @@
1
- language: ruby
2
- rvm: 2.5
3
-
4
- # User container based travis infrastructure which allows caching
5
- # features for open source projects.
6
- sudo: false
7
- cache: bundler
8
-
9
- script:
10
- - bin/rspec
11
-
12
- services:
13
- - mysql