pageflow-linkmap-page 2.9.0 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +1 -1
- data/CHANGELOG.md +8 -6
- data/Gemfile +6 -1
- data/app/models/pageflow/linkmap_page/color_map_file.rb +5 -1
- data/bin/rspec +1 -1
- data/lib/pageflow/linkmap_page/engine.rb +24 -1
- data/lib/pageflow/linkmap_page/version.rb +1 -1
- data/lib/pageflow-linkmap-page.rb +1 -0
- data/pageflow-linkmap-page.gemspec +5 -5
- metadata +24 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85421da46a5415360ae35bbe327c15f8a8458f6e5a1e3f9ee9969848241a8467
|
4
|
+
data.tar.gz: d47e22c5ca43661311dc9ff6d4bf6e02500e8e74d58b53e5f2aa5a52d095e5f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe20e5219c51681a84dbf57888bdb5e831e72dc8165b85b5a7a951c0733cf62415a739f1552e884b9d3b0163b5052936184b3037a768d4015ee72ec1ae41ff55
|
7
|
+
data.tar.gz: 9d23640ea0dfcda4821468a5861c8549ac431082fa862b3bae809d8ec47ac8a91734f47a77a4aaa78f42356ad6d7061e319566b643f8721ba944df30bff14129
|
data/.github/workflows/tests.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
### Version 2.
|
3
|
+
### Version 2.10.0
|
4
4
|
|
5
|
-
|
5
|
+
2024-01-15
|
6
6
|
|
7
|
-
[Compare changes](https://github.com/codevise/pageflow-linkmap-page/compare/2-
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow-linkmap-page/compare/2-9-stable...v2.10.0)
|
8
8
|
|
9
|
-
-
|
10
|
-
([#
|
9
|
+
- Support Pageflow 17
|
10
|
+
([#79](https://github.com/codevise/pageflow-linkmap-page/pull/79),
|
11
|
+
[#78](https://github.com/codevise/pageflow-linkmap-page/pull/78),
|
12
|
+
[#77](https://github.com/codevise/pageflow-linkmap-page/pull/77))
|
11
13
|
|
12
14
|
See
|
13
|
-
[2-
|
15
|
+
[2-9-stable branch](https://github.com/codevise/pageflow-linkmap-page/blob/2-9-stable/CHANGELOG.md)
|
14
16
|
for previous changes.
|
data/Gemfile
CHANGED
@@ -6,4 +6,9 @@ gemspec
|
|
6
6
|
gem 'spring-commands-rspec', group: :development
|
7
7
|
gem 'spring-commands-teaspoon', group: :development
|
8
8
|
|
9
|
-
|
9
|
+
if ENV['PAGEFLOW_DEPENDENCIES'] == 'experimental'
|
10
|
+
git 'https://github.com/codevise/pageflow', branch: 'edge', glob: '**/*.gemspec' do
|
11
|
+
gem 'pageflow'
|
12
|
+
gem 'pageflow-support'
|
13
|
+
end
|
14
|
+
end
|
@@ -46,7 +46,11 @@ module Pageflow
|
|
46
46
|
|
47
47
|
do_not_validate_attachment_file_type :attachment
|
48
48
|
|
49
|
-
|
49
|
+
if ActiveRecord.version >= Gem::Version.new('7.1')
|
50
|
+
serialize :attachment_colors, type: Object, coder: YAML
|
51
|
+
else
|
52
|
+
serialize :attachment_colors
|
53
|
+
end
|
50
54
|
|
51
55
|
def sprite_url
|
52
56
|
attachment.url(:sprite)
|
data/bin/rspec
CHANGED
@@ -4,7 +4,7 @@ ENV['RAILS_ENV'] ||= 'test'
|
|
4
4
|
dummy_root = File.expand_path("../spec/dummy/rails-4.1.9", File.dirname(__FILE__))
|
5
5
|
|
6
6
|
begin
|
7
|
-
load File.expand_path("../spring", __FILE__) if File.
|
7
|
+
load File.expand_path("../spring", __FILE__) if File.exist?(dummy_root)
|
8
8
|
rescue LoadError
|
9
9
|
end
|
10
10
|
require 'bundler/setup'
|
@@ -1,13 +1,36 @@
|
|
1
1
|
require 'pageflow-external-links'
|
2
|
+
require 'paperclip'
|
3
|
+
|
4
|
+
require 'pageflow/linkmap_page/paperclip_processors/colors'
|
5
|
+
require 'pageflow/linkmap_page/paperclip_processors/color_mask'
|
6
|
+
require 'pageflow/linkmap_page/paperclip_processors/invoke_callback'
|
7
|
+
require 'pageflow/linkmap_page/paperclip_processors/image_dimensions'
|
2
8
|
|
3
9
|
module Pageflow
|
4
10
|
module LinkmapPage
|
5
11
|
class Engine < Rails::Engine
|
6
12
|
isolate_namespace Pageflow::LinkmapPage
|
7
13
|
|
8
|
-
config.autoload_paths << File.join(config.root, 'lib')
|
9
14
|
config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s]
|
10
15
|
|
16
|
+
if Rails.respond_to?(:autoloaders)
|
17
|
+
lib = root.join('lib')
|
18
|
+
|
19
|
+
config.autoload_paths << lib
|
20
|
+
config.eager_load_paths << lib
|
21
|
+
|
22
|
+
initializer 'pageflow_linkmap_page.autoloading' do
|
23
|
+
Rails.autoloaders.main.ignore(
|
24
|
+
lib.join('generators'),
|
25
|
+
lib.join('pageflow-linkmap-page.rb'),
|
26
|
+
lib.join('pageflow/linkmap_page/paperclip_processors'),
|
27
|
+
lib.join('pageflow/linkmap_page/version.rb')
|
28
|
+
)
|
29
|
+
end
|
30
|
+
else
|
31
|
+
config.autoload_paths << File.join(config.root, 'lib')
|
32
|
+
end
|
33
|
+
|
11
34
|
initializer 'pageflow_linkmap_page.paperclip' do
|
12
35
|
Paperclip.configure do |config|
|
13
36
|
config.register_processor(:pageflow_linkmap_page_image_colors,
|
@@ -16,16 +16,16 @@ 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 = '
|
19
|
+
spec.required_ruby_version = '>= 2.1'
|
20
20
|
|
21
|
-
spec.add_runtime_dependency 'pageflow', ['>= 15.7', '<
|
21
|
+
spec.add_runtime_dependency 'pageflow', ['>= 15.7', '< 18']
|
22
22
|
spec.add_runtime_dependency 'pageflow-external-links', '~> 2.x'
|
23
23
|
|
24
24
|
spec.add_development_dependency 'bundler', ['>= 1.0', '< 3']
|
25
|
-
spec.add_development_dependency 'pageflow-support', ['>= 15.0', '< 17']
|
26
|
-
spec.add_development_dependency 'rake', '~> 12.0'
|
27
|
-
spec.add_development_dependency 'rspec-rails', '~> 3.7'
|
28
25
|
spec.add_development_dependency 'factory_bot_rails', '~> 4.8'
|
26
|
+
spec.add_development_dependency 'pageflow-support', ['>= 15.0', '< 18']
|
27
|
+
spec.add_development_dependency 'rake', '~> 12.0'
|
28
|
+
spec.add_development_dependency 'rspec-rails', '~> 6.0'
|
29
29
|
spec.add_development_dependency 'sqlite3', '~> 1.3'
|
30
30
|
|
31
31
|
# Browser like integration testing
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pageflow-linkmap-page
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codevise Solutions Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
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.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
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.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '18'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: pageflow-external-links
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,6 +64,20 @@ dependencies:
|
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '3'
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: factory_bot_rails
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '4.8'
|
74
|
+
type: :development
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '4.8'
|
67
81
|
- !ruby/object:Gem::Dependency
|
68
82
|
name: pageflow-support
|
69
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,7 +87,7 @@ dependencies:
|
|
73
87
|
version: '15.0'
|
74
88
|
- - "<"
|
75
89
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
90
|
+
version: '18'
|
77
91
|
type: :development
|
78
92
|
prerelease: false
|
79
93
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -83,7 +97,7 @@ dependencies:
|
|
83
97
|
version: '15.0'
|
84
98
|
- - "<"
|
85
99
|
- !ruby/object:Gem::Version
|
86
|
-
version: '
|
100
|
+
version: '18'
|
87
101
|
- !ruby/object:Gem::Dependency
|
88
102
|
name: rake
|
89
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,28 +118,14 @@ dependencies:
|
|
104
118
|
requirements:
|
105
119
|
- - "~>"
|
106
120
|
- !ruby/object:Gem::Version
|
107
|
-
version: '
|
121
|
+
version: '6.0'
|
108
122
|
type: :development
|
109
123
|
prerelease: false
|
110
124
|
version_requirements: !ruby/object:Gem::Requirement
|
111
125
|
requirements:
|
112
126
|
- - "~>"
|
113
127
|
- !ruby/object:Gem::Version
|
114
|
-
version: '
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
name: factory_bot_rails
|
117
|
-
requirement: !ruby/object:Gem::Requirement
|
118
|
-
requirements:
|
119
|
-
- - "~>"
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: '4.8'
|
122
|
-
type: :development
|
123
|
-
prerelease: false
|
124
|
-
version_requirements: !ruby/object:Gem::Requirement
|
125
|
-
requirements:
|
126
|
-
- - "~>"
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version: '4.8'
|
128
|
+
version: '6.0'
|
129
129
|
- !ruby/object:Gem::Dependency
|
130
130
|
name: sqlite3
|
131
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -373,7 +373,7 @@ require_paths:
|
|
373
373
|
- lib
|
374
374
|
required_ruby_version: !ruby/object:Gem::Requirement
|
375
375
|
requirements:
|
376
|
-
- - "
|
376
|
+
- - ">="
|
377
377
|
- !ruby/object:Gem::Version
|
378
378
|
version: '2.1'
|
379
379
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -382,7 +382,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
382
382
|
- !ruby/object:Gem::Version
|
383
383
|
version: '0'
|
384
384
|
requirements: []
|
385
|
-
rubygems_version: 3.
|
385
|
+
rubygems_version: 3.4.10
|
386
386
|
signing_key:
|
387
387
|
specification_version: 4
|
388
388
|
summary: Pageflow page type for a page that contains customizable link areas
|