pageflow-before-after 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: 6e1869337431d78908a60ff6b6e17b94734e3d22cbc0cfd2196b12db4e78e10e
4
- data.tar.gz: 9c76c2d87f559b51cbb56d6b074baeb6784a3614a95ce7fea4058b747544f390
3
+ metadata.gz: d281dfd317ae6f79024f3dc8f3d25d2ace2d20661506a1d8c525988c055b8a3c
4
+ data.tar.gz: 76fadfc17ce6ee48916dd76ebdb9e0a360a923dd0b38426593b04364b8d5b6cd
5
5
  SHA512:
6
- metadata.gz: 0a30f8aff069ccc80c6f7513d1a790ce4436d251afaa0787f2144c42d7f25e1d2b13b9510376e992ba30a75d92173976397fbd72277f9c49e6db3f304fcbdc45
7
- data.tar.gz: fb9dfea0a943077e65be98567b8f7efc854135072a7cd3e09b1f2951f97152b129d9f5796834018962aabb147f08b4dcccd45aff920bf4f0dc1f0137df1820bc
6
+ metadata.gz: fe6d87b944c3bb785a13557515afe1dac14f06923cc00e6e6f9e8b78f4e5d5a5a502eec2bfe57646e86e668c1d70a799a9c89e33c3613633d6d883c5c55afbfe
7
+ data.tar.gz: 6817fe8f12781b6e8cd025cfc0cc2dfbb899c376ac69bd01395463ad51961cae499bf1215d3d68389dedfbc1575eb021b9273a970aa0a5dbfc54d0fe49631d1c
@@ -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,14 @@
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-before-after/compare/1-3-stable...v1.4.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-before-after/compare/1-5-stable...v1.6.0)
8
8
 
9
- - Fix Travis CI
10
- ([#27](https://github.com/codevise/pageflow-before-after/pull/27))
11
- - Extend pageflow version requirement to < 16
12
- ([#26](https://github.com/codevise/pageflow-before-after/pull/26))
9
+ - Support Pageflow 17
10
+ ([#31](https://github.com/codevise/pageflow-before-after/pull/31))
13
11
 
14
12
  See
15
- [1-3-stable branch](https://github.com/codevise/pageflow-before-after/blob/1-3-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
@@ -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,9 +1,9 @@
1
1
  # Pageflow Before After
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/pageflow-before-after.svg)](http://badge.fury.io/rb/pageflow-before-after)
4
- [![Build Status](https://travis-ci.org/codevise/pageflow-before-after.svg?branch=master)](https://travis-ci.org/codevise/pageflow-before-after)
4
+ [![Build Status](https://github.com/codevise/pageflow-before-after/workflows/tests/badge.svg)](https://github.com/codevise/pageflow-before-after/actions)
5
5
 
6
- Page type showing before/after image sliders (Digit style).
6
+ Page type showing before/after image sliders.
7
7
 
8
8
  ## Installation
9
9
 
@@ -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.4.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', '< 16']
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', '< 16']
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.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: '14'
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: '14'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '16'
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: '16'
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: '16'
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
@@ -113,8 +113,8 @@ executables: []
113
113
  extensions: []
114
114
  extra_rdoc_files: []
115
115
  files:
116
+ - ".github/workflows/tests.yml"
116
117
  - ".gitignore"
117
- - ".travis.yml"
118
118
  - CHANGELOG.md
119
119
  - Gemfile
120
120
  - README.md
@@ -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,8 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  requirements: []
168
- rubyforge_project:
169
- rubygems_version: 2.7.5
168
+ rubygems_version: 3.4.10
170
169
  signing_key:
171
170
  specification_version: 4
172
171
  summary: Pageflow page type for before/after image slider.
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