pageflow-timeline-page 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: 063e0179679252e1f89cd3feb37f599a0ff5203ea8faf8086eb12de0c2560f2c
4
- data.tar.gz: b4461a83ed2c6ed1f4a0ea3e5ed6c0b2b6a5f7e5485af189cd1307d8d1502833
3
+ metadata.gz: 24b5a8734752374d96ec59aab263bbb544a51e3919373bdb911f598dba3bc384
4
+ data.tar.gz: 92c1b54b663a82504e2fa0018f57b8df67bfd49c0df7f6f1cbfa3964fb1fe31b
5
5
  SHA512:
6
- metadata.gz: 9fc711c6a782ad46c5f14fbbd62e8804dbc260a24e6b01ba0a03bb665f41276dfb0fec09b73b15f45a119e9ec37d25bffe024c08d3659a3ecf6f443e6cd116c2
7
- data.tar.gz: f6a48d92e7af4508ae6152922674340259981a296bf63a755d66c6a348c2cbfbb8d3a958a20aab0b240cb287dd78f403bc5e2498dc43287136abe6f736d7bba2
6
+ metadata.gz: fd3fcaf56125095efbf0ef0894d819f0a9d1cb73a198e9d4a90fd956dac1d03379cbdac59a06033725d021a1ce4b8247afa490b8b01e79c2d5e46f6b11ad717e
7
+ data.tar.gz: bbb2210d249522c2552483ab04cca45d661bcfa9ebde170f14dd0174d215b0ddfee8571382f1c0a8090f02959f61783565ebf16ad6db4411a231599682b81ecb
@@ -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,16 +1,15 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.4.0
3
+ ### Version 1.6.0
4
4
 
5
- 2019-11-04
5
+ 2024-01-15
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-timeline-page/compare/1-3-stable...v1.4.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-timeline-page/compare/1-5-stable...v1.6.0)
8
8
 
9
- - Fix Travis CI
10
- ([#16](https://github.com/codevise/pageflow-timeline-page/pull/16))
11
- - Extend pageflow version requirement to < 16
12
- ([#15](https://github.com/codevise/pageflow-timeline-page/pull/15))
9
+ - Support Pageflow 17
10
+ ([#19](https://github.com/codevise/pageflow-timeline-page/pull/19),
11
+ [#18](https://github.com/codevise/pageflow-timeline-page/pull/18))
13
12
 
14
13
  See
15
- [1-3-stable branch](https://github.com/codevise/pageflow-timeline-page/blob/1-3-stable/CHANGELOG.md)
14
+ [1-5-stable branch](https://github.com/codevise/pageflow-timeline-page/blob/1-5-stable/CHANGELOG.md)
16
15
  for previous changes.
data/Gemfile CHANGED
@@ -2,3 +2,10 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in chart.gemspec
4
4
  gemspec
5
+
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
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Pageflow Timeline Page
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/pageflow-timeline-page.svg)](http://badge.fury.io/rb/pageflow-timeline-page)
4
- [![Build Status](https://travis-ci.org/codevise/pageflow-timeline-page.svg?branch=master)](https://travis-ci.org/codevise/pageflow-timeline-page)
4
+ [![Build Status](https://github.com/codevise/pageflow-timeline-page/workflows/tests/badge.svg)](https://github.com/codevise/pageflow-timeline-page/actions)
5
5
 
6
6
  Page type to display a chronological list of page links.
7
7
 
@@ -3,9 +3,25 @@ module Pageflow
3
3
  class Engine < Rails::Engine
4
4
  isolate_namespace Pageflow::TimelinePage
5
5
 
6
- config.autoload_paths << File.join(config.root, 'lib')
7
6
  config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s]
8
7
 
8
+ if Rails.respond_to?(:autoloaders)
9
+ lib = root.join('lib')
10
+
11
+ config.autoload_paths << lib
12
+ config.eager_load_paths << lib
13
+
14
+ initializer 'pageflow_progress_navigation_bar.autoloading' do
15
+ Rails.autoloaders.main.ignore(
16
+ lib.join('generators'),
17
+ lib.join('pageflow-timeline-page.rb'),
18
+ lib.join('pageflow/timeline_page/version.rb')
19
+ )
20
+ end
21
+ else
22
+ config.autoload_paths << File.join(config.root, 'lib')
23
+ end
24
+
9
25
  initializer "pageflow-timline-page.add_watchable_files", group: :all do |app|
10
26
  app.config.watchable_files.concat Dir["#{config.root}/app/assets/javascripts/**/*.jsx*"]
11
27
  end
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module TimelinePage
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/timeline_page/engine'
2
+ require 'pageflow/timeline_page/version'
2
3
 
3
4
  module Pageflow
4
5
  module TimelinePage
@@ -15,14 +15,14 @@ Gem::Specification.new do |spec|
15
15
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
16
  spec.require_paths = ['lib']
17
17
 
18
- spec.required_ruby_version = '~> 2.1'
18
+ spec.required_ruby_version = '>= 2.1'
19
19
 
20
- spec.add_dependency 'pageflow', ['>= 12.0.0.rc6', '< 16']
20
+ spec.add_dependency 'pageflow', ['>= 12.0.0.rc6', '< 18']
21
21
 
22
22
  spec.add_development_dependency 'bundler', ['>= 1.0', '< 3']
23
- spec.add_development_dependency 'pageflow-support', ['>= 14', '< 16']
24
- spec.add_development_dependency 'rspec-rails', '~> 3.0'
23
+ spec.add_development_dependency 'pageflow-support', ['>= 14', '< 18']
25
24
  spec.add_development_dependency 'rake', '~> 12.0'
25
+ spec.add_development_dependency 'rspec-rails', '~> 6.0'
26
26
 
27
27
  # Semantic versioning rake tasks
28
28
  spec.add_development_dependency 'semmy', '~> 1.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-timeline-page
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: 2019-11-04 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: 12.0.0.rc6
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '16'
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: 12.0.0.rc6
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '16'
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: '14'
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: '16'
62
+ version: '18'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -69,35 +69,35 @@ dependencies:
69
69
  version: '14'
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: '16'
72
+ version: '18'
73
73
  - !ruby/object:Gem::Dependency
74
- name: rspec-rails
74
+ name: rake
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - "~>"
78
78
  - !ruby/object:Gem::Version
79
- version: '3.0'
79
+ version: '12.0'
80
80
  type: :development
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - "~>"
85
85
  - !ruby/object:Gem::Version
86
- version: '3.0'
86
+ version: '12.0'
87
87
  - !ruby/object:Gem::Dependency
88
- name: rake
88
+ name: rspec-rails
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
91
  - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: '12.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: '12.0'
100
+ version: '6.0'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: semmy
103
103
  requirement: !ruby/object:Gem::Requirement
@@ -119,8 +119,8 @@ executables: []
119
119
  extensions: []
120
120
  extra_rdoc_files: []
121
121
  files:
122
+ - ".github/workflows/tests.yml"
122
123
  - ".gitignore"
123
- - ".travis.yml"
124
124
  - CHANGELOG.md
125
125
  - Gemfile
126
126
  - README.md
@@ -169,7 +169,7 @@ require_paths:
169
169
  - lib
170
170
  required_ruby_version: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - "~>"
172
+ - - ">="
173
173
  - !ruby/object:Gem::Version
174
174
  version: '2.1'
175
175
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -178,8 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  - !ruby/object:Gem::Version
179
179
  version: '0'
180
180
  requirements: []
181
- rubyforge_project:
182
- rubygems_version: 2.7.5
181
+ rubygems_version: 3.4.10
183
182
  signing_key:
184
183
  specification_version: 4
185
184
  summary: Pageflow page type for links ordered as timeline.
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