pageflow-linkmap-page 2.2.0 → 2.3.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: c1a18f3bb77acbad943c0648729e1d748e0c30fb685cbb700514920313a701be
4
- data.tar.gz: e5a641ab8fd520414035553dfc1242bfee4dfb35423c2278c1a25d02fa90f183
3
+ metadata.gz: 2135a26bf70ea5e6041023d862895ed0ec0f880264938752eba61c671cc3cd2c
4
+ data.tar.gz: 3af1e7b67b5af250a412e775103d84a2e8bfd7f9e6e528a8a65f6621574e9d40
5
5
  SHA512:
6
- metadata.gz: 2a79656eaf85fa16d48c7e30531d4a1907ca1ca0ecdd62d04984b3740506f3e86b865d7a8da41aca3cad85145b32952e3e450acfccf30dc7feb00742c074cc17
7
- data.tar.gz: 8c93f349e4f83c4fe915d5ae12de25f1b39281d48dc46d94bca128a91d7b8fb41f37b43f824d47b30ca7829d6aa6891cc551cf0e883aedd7dcce9df48449fb37
6
+ metadata.gz: 44064a5f2a1bdaf480bc2b05d25dadc50f92a9337265ec4f3811267062aac1056d5df9b8ac528f664535d982cc970a734e5676b9486e01f8322f4121bc62a1b2
7
+ data.tar.gz: d897c9a3afaa26121e8008cce40350e58c00d09ea0a58c8b7b784ff9319aedd92c1e706ca122b3f98134769f5ce319ef80661402237a0a47e8b86c3d493ed3e3
@@ -1,22 +1,18 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 2.2.0
3
+ ### Version 2.3.0
4
4
 
5
- 2019-03-05
5
+ 2019-04-08
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-linkmap-page/compare/2-1-stable...v2.2.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-linkmap-page/compare/2-2-stable...v2.3.0)
8
8
 
9
- - Only show scroll indicators if at least 20% of panorama is hidden
10
- ([#52](https://github.com/codevise/pageflow-linkmap-page/pull/52))
11
- - Improve phone emulation support
12
- ([#54](https://github.com/codevise/pageflow-linkmap-page/pull/54))
13
- - Bug fix: Handle scroller widget margin correctly
14
- ([#51](https://github.com/codevise/pageflow-linkmap-page/pull/51))
15
- - Bug fix: Prevent letter boxes in pan zoom
16
- ([#50](https://github.com/codevise/pageflow-linkmap-page/pull/50))
17
- - Bug fix: Fix hiding linkmap info boxes
18
- ([#49](https://github.com/codevise/pageflow-linkmap-page/pull/49))
9
+ - Adapt page dom for pageflow 14
10
+ ([#57](https://github.com/codevise/pageflow-linkmap-page/pull/57))
11
+ - Setup page type lint specs
12
+ ([#56](https://github.com/codevise/pageflow-linkmap-page/pull/56))
13
+ - Adjust attachment name in image_file-factory
14
+ ([#55](https://github.com/codevise/pageflow-linkmap-page/pull/55))
19
15
 
20
16
  See
21
- [2-1-stable branch](https://github.com/codevise/pageflow-linkmap-page/blob/2-1-stable/CHANGELOG.md)
17
+ [2-2-stable branch](https://github.com/codevise/pageflow-linkmap-page/blob/2-2-stable/CHANGELOG.md)
22
18
  for previous changes.
@@ -27,7 +27,7 @@
27
27
 
28
28
  @include user-select(none);
29
29
 
30
- .backgroundArea {
30
+ .page_background {
31
31
  background: #000;
32
32
  }
33
33
 
@@ -1,6 +1,6 @@
1
- <div class="blackLayer"></div>
1
+ <div class="black_layer"></div>
2
2
  <%= content_tag(:div, class: linkmap_content_and_background_css_classes(configuration)) do %>
3
- <div class="backgroundArea">
3
+ <div class="page_background">
4
4
  <%= background_image_div(configuration, 'fixed_background_image', class: 'fixed_background') %>
5
5
  <div class="scroller">
6
6
  <div class="linkmap">
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module LinkmapPage
3
- VERSION = '2.2.0'.freeze
3
+ VERSION = '2.3.0'.freeze
4
4
  end
5
5
  end
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.required_ruby_version = '~> 2.1'
20
20
 
21
- spec.add_runtime_dependency 'pageflow', '~> 13.x'
21
+ spec.add_runtime_dependency 'pageflow', '~> 14.x'
22
22
  spec.add_runtime_dependency 'pageflow-external-links', '~> 2.x'
23
23
 
24
- spec.add_development_dependency 'pageflow-support', '~> 13.x'
25
- spec.add_development_dependency 'bundler', '~> 1.0'
24
+ spec.add_development_dependency 'bundler', ['>= 1.0', '< 3']
25
+ spec.add_development_dependency 'pageflow-support', '~> 14.x'
26
26
  spec.add_development_dependency 'rake', '~> 12.0'
27
27
  spec.add_development_dependency 'rspec-rails', '~> 3.7'
28
28
  spec.add_development_dependency 'factory_bot_rails', '~> 4.8'
@@ -3,23 +3,23 @@ FactoryBot.modify do
3
3
 
4
4
  factory :image_file do
5
5
  trait :red_fixture do
6
- processed_attachment { File.open(fixtures.join('red.png')) }
6
+ attachment { File.open(fixtures.join('red.png')) }
7
7
  end
8
8
 
9
9
  trait :color_map_fixture do
10
- processed_attachment { File.open(fixtures.join('color_map.png')) }
10
+ attachment { File.open(fixtures.join('color_map.png')) }
11
11
  end
12
12
 
13
13
  trait :transparent_fixture do
14
- processed_attachment { File.open(fixtures.join('transparent.png')) }
14
+ attachment { File.open(fixtures.join('transparent.png')) }
15
15
  end
16
16
 
17
17
  trait :dots_and_lines_fixture do
18
- processed_attachment { File.open(fixtures.join('dots_and_lines.png')) }
18
+ attachment { File.open(fixtures.join('dots_and_lines.png')) }
19
19
  end
20
20
 
21
21
  trait :green_and_black_fixture do
22
- processed_attachment { File.open(fixtures.join('green_and_black.png')) }
22
+ attachment { File.open(fixtures.join('green_and_black.png')) }
23
23
  end
24
24
  end
25
25
  end
@@ -0,0 +1,4 @@
1
+ require 'spec_helper'
2
+ require 'pageflow/lint'
3
+
4
+ Pageflow::Lint.page_type(Pageflow::LinkmapPage.page_type)
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.2.0
4
+ version: 2.3.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: 2019-03-05 00:00:00.000000000 Z
11
+ date: 2019-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 13.x
19
+ version: 14.x
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 13.x
26
+ version: 14.x
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pageflow-external-links
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -39,33 +39,39 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.x
41
41
  - !ruby/object:Gem::Dependency
42
- name: pageflow-support
42
+ name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 13.x
47
+ version: '1.0'
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '3'
48
51
  type: :development
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - "~>"
55
+ - - ">="
53
56
  - !ruby/object:Gem::Version
54
- version: 13.x
57
+ version: '1.0'
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: '3'
55
61
  - !ruby/object:Gem::Dependency
56
- name: bundler
62
+ name: pageflow-support
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '1.0'
67
+ version: 14.x
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '1.0'
74
+ version: 14.x
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: rake
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -316,6 +322,7 @@ files:
316
322
  - spec/factories/masked_image_file.rb
317
323
  - spec/helpers/pageflow/linkmap_page/areas_helper_spec.rb
318
324
  - spec/integration/masked_image_file_type_spec.rb
325
+ - spec/integration/page_type_spec.rb
319
326
  - spec/models/pageflow/linkmap_page/color_map_file_spec.rb
320
327
  - spec/models/pageflow/linkmap_page/masked_image_file_spec.rb
321
328
  - spec/pageflow/linkmap_page/paperclip_processors/colors_spec.rb
@@ -361,6 +368,7 @@ test_files:
361
368
  - spec/factories/masked_image_file.rb
362
369
  - spec/helpers/pageflow/linkmap_page/areas_helper_spec.rb
363
370
  - spec/integration/masked_image_file_type_spec.rb
371
+ - spec/integration/page_type_spec.rb
364
372
  - spec/models/pageflow/linkmap_page/color_map_file_spec.rb
365
373
  - spec/models/pageflow/linkmap_page/masked_image_file_spec.rb
366
374
  - spec/pageflow/linkmap_page/paperclip_processors/colors_spec.rb