pageflow 12.5.0 → 12.6.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pageflow might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25b1b394c27e1b14c6c3eda8df1d5db7fea4253287cf579a9984f474c097583a
4
- data.tar.gz: 810b47167f169680c8b2e35b7c210cad870d81dc0f0dcc03eebfdd4fc57210de
3
+ metadata.gz: d7a9ec0648822851e7c4e0d555d8bd34e8976e85936ca5c59bdb065d055dc801
4
+ data.tar.gz: 536dbfb80537fbcf90c7d137fe4b02ade45952948314cf88d1a58e4ceb9d6bf1
5
5
  SHA512:
6
- metadata.gz: fb8b88ad2ec2ecc9f516b20ae79638857fee65c91478c63a1f393597967dabd7c5c125cccfd943d6c8a4d1bdee207dade3cd0e72a0028a5f90b1c33bdaf49528
7
- data.tar.gz: f9c0dd5c0031a2c300a5012492982c526fcd3ef99ca469eefc1c4035f12221b8b31a60100c774ca6a26fa5ef442e3519c41e09f0d4981d86ab87d2b86454d088
6
+ metadata.gz: 0fa76e57beef1df910bdc0c602eb419aaf85dec2799987a8186b1d226d773a99407966ffdf4964e43a42adfbcfc7af50164abb5a814b74d29b84b3fc0eb56d30
7
+ data.tar.gz: db1e5b3d5be88c54dc47de4a34537db50aaaa115a7c1793bd06e7579727f427a3c5a9bb574cdf1247f3cac18ade4e7b04eb08b63cf966b2d46561ff30d1f619b
data/CHANGELOG.md CHANGED
@@ -1,27 +1,24 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 12.5.0
3
+ ### Version 12.6.0
4
4
 
5
- 2019-01-21
5
+ 2019-01-28
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow/compare/12-4-stable...v12.5.0)
7
+ [Compare changes](https://github.com/codevise/pageflow/compare/12-5-stable...v12.6.0)
8
8
 
9
-
10
- ##### Manual Update Steps
11
- - Install new migrations in host application
12
-
13
- ##### Further Changes
14
- - Create new entries with default locale
15
- ([#1103](https://github.com/codevise/pageflow/pull/1103))
16
- - Trigger resize hooks on cookie notice dismiss
17
- ([#1102](https://github.com/codevise/pageflow/pull/1102))
18
- - Improve lazy loading thumbnails
19
- ([#1098](https://github.com/codevise/pageflow/pull/1098))
20
- - Ensure hls videos are used in Safari
21
- ([#1097](https://github.com/codevise/pageflow/pull/1097))
22
- - Prevent loading of invisible images before load event
23
- ([#1095](https://github.com/codevise/pageflow/pull/1095))
9
+ - Do not use asset_host in entry stylesheet link tags
10
+ ([#1110](https://github.com/codevise/pageflow/pull/1110))
11
+ - Add theme vars for phone typography of tagline and subtitle
12
+ ([#1109](https://github.com/codevise/pageflow/pull/1109))
13
+
14
+ ##### Internal:
15
+ - Also release pageflow-support when running release task
16
+ ([#1116](https://github.com/codevise/pageflow/pull/1116))
17
+ - Run npm ci on Travis and release:prepare task
18
+ ([#1114](https://github.com/codevise/pageflow/pull/1114))
19
+ - Add package-lock.json to version control
20
+ ([#1111](https://github.com/codevise/pageflow/pull/1111))
24
21
 
25
22
  See
26
- [12-4-stable branch](https://github.com/codevise/pageflow/blob/12-4-stable/CHANGELOG.md)
23
+ [12-5-stable branch](https://github.com/codevise/pageflow/blob/12-5-stable/CHANGELOG.md)
27
24
  for previous changes.
data/Rakefile CHANGED
@@ -14,6 +14,10 @@ RDoc::Task.new(:rdoc) do |rdoc|
14
14
  rdoc.rdoc_files.include('lib/**/*.rb')
15
15
  end
16
16
 
17
+ task 'release' do
18
+ Rake.application['pageflow:release:pageflow_support'].invoke
19
+ end
20
+
17
21
  require 'semmy'
18
22
  Semmy::Tasks.install do |config|
19
23
  config.github_repository = 'codevise/pageflow'
@@ -11,6 +11,9 @@ $page-header-typography: () !default;
11
11
  /// Typography for header tagline.
12
12
  $page-header-tagline-typography: () !default;
13
13
 
14
+ /// Typography for header tagline in phone layout.
15
+ $page-header-tagline-phone-typography: () !default;
16
+
14
17
  /// Typography for header title.
15
18
  $page-header-title-typography: () !default;
16
19
 
@@ -26,6 +29,9 @@ $page-header-first-page-title-phone-typography: () !default;
26
29
  /// Typography for header subtitle.
27
30
  $page-header-subtitle-typography: () !default;
28
31
 
32
+ /// Typography for header subtitle in phone layout.
33
+ $page-header-subtitle-phone-typography: () !default;
34
+
29
35
  /// Typography for content text.
30
36
  $page-content-text-typography: () !default;
31
37
 
@@ -142,6 +148,12 @@ $page-content-text-line-height: 1.5em !default;
142
148
  letter-spacing: 0
143
149
  )
144
150
  );
151
+
152
+ @include phone {
153
+ @include typography(
154
+ $page-header-tagline-phone-typography
155
+ );
156
+ }
145
157
  }
146
158
 
147
159
  .title {
@@ -182,6 +194,12 @@ $page-content-text-line-height: 1.5em !default;
182
194
  margin-bottom: $page-header-subtitle-margin-bottom
183
195
  )
184
196
  );
197
+
198
+ @include phone {
199
+ @include typography(
200
+ $page-header-subtitle-phone-typography
201
+ );
202
+ }
185
203
  }
186
204
  }
187
205
 
@@ -71,9 +71,16 @@ module Pageflow
71
71
  p: Pageflow::VERSION,
72
72
  format: 'css')
73
73
 
74
- stylesheet_link_tag(url,
75
- media: 'all',
76
- data: {name: 'entry'})
74
+ # We cannot use stylesheet_link_tag here since that always uses
75
+ # the asset host. Entry stylesheet requests are subject to
76
+ # `Configuration#public_entry_request_scope` and
77
+ # `Configuration#public_entry_redirect` which might depend on
78
+ # the hostname.
79
+ tag(:link,
80
+ rel: 'stylesheet',
81
+ href: url,
82
+ media: 'all',
83
+ data: {name: 'entry'})
77
84
  end
78
85
 
79
86
  def entry_mobile_navigation_pages(entry)
@@ -1,3 +1,3 @@
1
1
  module Pageflow
2
- VERSION = '12.5.0'.freeze
2
+ VERSION = '12.6.0'.freeze
3
3
  end
@@ -8,7 +8,17 @@ namespace :pageflow do
8
8
  namespace :node_package do
9
9
  desc 'Build node package'
10
10
  task :build do
11
- system('bin/npm run build')
11
+ system('bin/npm ci && bin/npm run build')
12
+ end
13
+ end
14
+
15
+ namespace :release do
16
+ task :pageflow_support do
17
+ Dir.chdir('spec/support') do
18
+ puts '=== Releasing pageflow-support ==='
19
+ system('bundle exec rake release')
20
+ puts '==='
21
+ end
12
22
  end
13
23
  end
14
24
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.5.0
4
+ version: 12.6.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-01-21 00:00:00.000000000 Z
11
+ date: 2019-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails