pageflow-before-after 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: 188d2b6108ca9a56230acbd9733a4782bc016f3a9c241f3963c4506228b43119
4
- data.tar.gz: b92b2dccebc85e2361beb69542233d0c81b2e47eceb7f27488e8b179d57433a2
3
+ metadata.gz: d281dfd317ae6f79024f3dc8f3d25d2ace2d20661506a1d8c525988c055b8a3c
4
+ data.tar.gz: 76fadfc17ce6ee48916dd76ebdb9e0a360a923dd0b38426593b04364b8d5b6cd
5
5
  SHA512:
6
- metadata.gz: f6f87a00bca0c0ae32b11a43a032e5609bf4223037770a9361758a3911175fa62c95e364b907ea444a7b1649d0750da61bdc249bde3d430d912b6906227ba38e
7
- data.tar.gz: 8731dc89e4e39bb30dd946cea18761cd9936c0c68c1cf41e2fe134347276fb45fb1857a6fee1a3645a0245567b1efab550088f4baaad46f5bbd755ec3f37251f
6
+ metadata.gz: fe6d87b944c3bb785a13557515afe1dac14f06923cc00e6e6f9e8b78f4e5d5a5a502eec2bfe57646e86e668c1d70a799a9c89e33c3613633d6d883c5c55afbfe
7
+ data.tar.gz: 6817fe8f12781b6e8cd025cfc0cc2dfbb899c376ac69bd01395463ad51961cae499bf1215d3d68389dedfbc1575eb021b9273a970aa0a5dbfc54d0fe49631d1c
@@ -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,16 +1,14 @@
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-before-after/compare/1-4-stable...v1.5.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-before-after/compare/1-5-stable...v1.6.0)
8
8
 
9
- - Add support for Pageflow 16
10
- ([#29](https://github.com/codevise/pageflow-before-after/pull/29))
11
- - Set up GitHub actions
12
- ([#28](https://github.com/codevise/pageflow-before-after/pull/28))
9
+ - Support Pageflow 17
10
+ ([#31](https://github.com/codevise/pageflow-before-after/pull/31))
13
11
 
14
12
  See
15
- [1-4-stable branch](https://github.com/codevise/pageflow-before-after/blob/1-4-stable/CHANGELOG.md)
13
+ [1-5-stable branch](https://github.com/codevise/pageflow-before-after/blob/1-5-stable/CHANGELOG.md)
16
14
  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
- # Speed up dependency resolution
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
@@ -3,8 +3,23 @@ module Pageflow
3
3
  class Engine < Rails::Engine
4
4
  isolate_namespace Pageflow::BeforeAfter
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]
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_before_after.autoloading' do
15
+ Rails.autoloaders.main.ignore(
16
+ lib.join('pageflow-before-after.rb'),
17
+ lib.join('pageflow/before_after/version.rb')
18
+ )
19
+ end
20
+ else
21
+ config.autoload_paths << File.join(config.root, 'lib')
22
+ end
8
23
  end
9
24
  end
10
25
  end
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module BeforeAfter
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/before_after/engine'
2
+ require 'pageflow/before_after/version'
2
3
 
3
4
  module Pageflow
4
5
  module BeforeAfter
@@ -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_dependency 'pageflow', ['>= 14', '< 17']
21
+ spec.add_dependency 'pageflow', ['>= 14', '< 18']
22
22
  spec.add_dependency 'pageflow-public-i18n', '~> 1.8'
23
23
 
24
24
  spec.add_dependency 'jquery-ui-rails', '~> 5.0'
25
25
 
26
- spec.add_development_dependency 'pageflow-support', ['>= 14', '< 17']
27
- spec.add_development_dependency 'rspec-rails', '~> 3.0'
26
+ spec.add_development_dependency 'pageflow-support', ['>= 14', '< 18']
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-before-after
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: '14'
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: '14'
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
@@ -67,7 +67,7 @@ dependencies:
67
67
  version: '14'
68
68
  - - "<"
69
69
  - !ruby/object:Gem::Version
70
- version: '17'
70
+ version: '18'
71
71
  type: :development
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -77,21 +77,21 @@ dependencies:
77
77
  version: '14'
78
78
  - - "<"
79
79
  - !ruby/object:Gem::Version
80
- version: '17'
80
+ version: '18'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: rspec-rails
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: '3.0'
87
+ version: '6.0'
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: '3.0'
94
+ version: '6.0'
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: semmy
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -156,7 +156,7 @@ require_paths:
156
156
  - lib
157
157
  required_ruby_version: !ruby/object:Gem::Requirement
158
158
  requirements:
159
- - - "~>"
159
+ - - ">="
160
160
  - !ruby/object:Gem::Version
161
161
  version: '2.1'
162
162
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  requirements: []
168
- rubygems_version: 3.0.8
168
+ rubygems_version: 3.4.10
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: Pageflow page type for before/after image slider.