pageflow-external-links 2.1.0 → 2.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1238f8a7790db04f3106262157e7de423636835b8b54d51dffb372323d95e907
|
4
|
+
data.tar.gz: 7fffd9d6757b2f808f839cf7bfa438228c7895293e10c0df6f62e1a218461a4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 854344f01b6c50908abe8f192a592e941481469a7dd71beb7963b59ba5f12bf27444e28c6343a1d34d5e5ed885b2d783c23d7a2cbe2a4a1aeaa6a67b5f738d8d
|
7
|
+
data.tar.gz: 27cd62ab68a17527325a107d66f29d5448cdbf296d71c15332143e982db211c1a7f28b34daa47218e8f6e3c0180e31a8b6033d638c199db4e3464b55e9573c78
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,16 +1,18 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
### Version 2.
|
3
|
+
### Version 2.2.0
|
4
4
|
|
5
|
-
2019-
|
5
|
+
2019-11-04
|
6
6
|
|
7
|
-
[Compare changes](https://github.com/codevise/pageflow-external-links/compare/2-
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow-external-links/compare/2-1-stable...v2.2.0)
|
8
8
|
|
9
|
-
-
|
10
|
-
([#
|
11
|
-
-
|
12
|
-
([#
|
9
|
+
- Change file lookup to usage.perma_id
|
10
|
+
([#42](https://github.com/codevise/pageflow-external-links/pull/42))
|
11
|
+
- Fix Travis CI
|
12
|
+
([#43](https://github.com/codevise/pageflow-external-links/pull/43))
|
13
|
+
- Extend pageflow version requirement to < 16
|
14
|
+
([#41](https://github.com/codevise/pageflow-external-links/pull/41))
|
13
15
|
|
14
16
|
See
|
15
|
-
[2-
|
17
|
+
[2-1-stable branch](https://github.com/codevise/pageflow-external-links/blob/2-1-stable/CHANGELOG.md)
|
16
18
|
for previous changes.
|
@@ -1,6 +1,8 @@
|
|
1
1
|
module Pageflow
|
2
2
|
module ExternalLinks
|
3
3
|
module SitesHelper
|
4
|
+
include RevisionFileHelper
|
5
|
+
|
4
6
|
def external_links_site_css_class(site)
|
5
7
|
['link-item', site.title.blank? && site.description.blank? ? 'no_text' : ''].compact.join(' ')
|
6
8
|
end
|
@@ -9,7 +11,7 @@ module Pageflow
|
|
9
11
|
def external_links_site_thumbnail_css_class(site)
|
10
12
|
classes = ['link-thumbnail']
|
11
13
|
|
12
|
-
if file = site.
|
14
|
+
if file = find_file_in_entry(ImageFile, site.thumbnail)
|
13
15
|
classes << file_thumbnail_css_class(file, :link_thumbnail_large)
|
14
16
|
end
|
15
17
|
|
@@ -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', '~>
|
21
|
+
spec.add_runtime_dependency 'pageflow', '~> 15.x'
|
22
22
|
spec.add_runtime_dependency 'pageflow-public-i18n', '~> 1.0'
|
23
23
|
|
24
24
|
spec.add_development_dependency 'bundler', ['>= 1.0', '< 3']
|
25
|
-
spec.add_development_dependency 'pageflow-support', '~>
|
25
|
+
spec.add_development_dependency 'pageflow-support', '~> 15.x'
|
26
26
|
spec.add_development_dependency 'rake', '~> 12.0'
|
27
27
|
spec.add_development_dependency 'rspec-rails', '~> 3.0'
|
28
28
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pageflow-external-links
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.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-
|
11
|
+
date: 2019-11-04 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:
|
19
|
+
version: 15.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:
|
26
|
+
version: 15.x
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pageflow-public-i18n
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
67
|
+
version: 15.x
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: 15.x
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: rake
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|