pageflow 12.0.0.rc4 → 12.0.0.rc5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pageflow might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/widget_margins.scss +1 -1
- data/lib/generators/pageflow/initializer/templates/pageflow.rb +1 -0
- data/lib/pageflow.rb +4 -0
- data/lib/pageflow/built_in_widget_types_plugin.rb +10 -0
- data/lib/pageflow/version.rb +1 -1
- metadata +3 -3
- data/config/initializers/widget_types.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0405dda6ec7f2ff60538c83ec2481e2f31ded8d8
|
4
|
+
data.tar.gz: 322007b4d7aefc9f0aa91535cd79a3c91ca63d06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 925faba790f71ad915f8ff03af556d311446eab4318d4406588a094a0666dea5b3eb788ba16beaa060118425a1371001936728b12794f1b4cb704ff15ce70872
|
7
|
+
data.tar.gz: 44229fd9810564366a848189748a6ad7f49ba1ff3aab1a4943e159e998e8cd6534ef9f481ebde7e0be82b017f23b868a880652f32b19d35e138cdde83db70f3d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,44 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
### Version 12.0.0.rc5
|
4
|
+
|
5
|
+
2017-05-31
|
6
|
+
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow/compare/v12.0.0.rc4...v12.0.0.rc5)
|
8
|
+
|
9
|
+
#### Breaking Changes
|
10
|
+
|
11
|
+
- The built-in widget types must now be registered in the host
|
12
|
+
application.
|
13
|
+
([#774](https://github.com/codevise/pageflow/pull/774),
|
14
|
+
[#776](https://github.com/codevise/pageflow/pull/776))
|
15
|
+
|
16
|
+
To keep existing functionality from previous Pageflow versions, add
|
17
|
+
this line to the Pageflow initializer in your host application:
|
18
|
+
|
19
|
+
config.plugin(Pageflow.built_in_widget_types_plugin)
|
20
|
+
|
21
|
+
- The built-in widget types must now be registered in the host
|
22
|
+
application.
|
23
|
+
|
24
|
+
To keep existing functionality from previous Pageflow versions, add
|
25
|
+
these lines to `config/initializers/pageflow.rb` in your host
|
26
|
+
application:
|
27
|
+
|
28
|
+
# Register the built-in widget types.
|
29
|
+
# You can remove these or add different versions with the same name.
|
30
|
+
config.widget_types.register(Pageflow::BuiltInWidgetType.navigation, default: true)
|
31
|
+
config.widget_types.register(Pageflow::BuiltInWidgetType.mobile_navigation, default: true)
|
32
|
+
config.widget_types.register(Pageflow::BuiltInWidgetType.classic_player_controls, default: true)
|
33
|
+
config.widget_types.register(Pageflow::BuiltInWidgetType.slim_player_controls)
|
34
|
+
|
35
|
+
##### Bug Fixes
|
36
|
+
|
37
|
+
- Upgrade to Sinon 2
|
38
|
+
([#777](https://github.com/codevise/pageflow/pull/777))
|
39
|
+
- Bug fix: Mark %pageflow_widget_margin_right optional
|
40
|
+
([#773](https://github.com/codevise/pageflow/pull/773))
|
41
|
+
|
3
42
|
### Version 12.0.0.rc4
|
4
43
|
|
5
44
|
2017-05-23
|
@@ -5,6 +5,7 @@ Pageflow.configure do |config|
|
|
5
5
|
|
6
6
|
# Plugins provide page types and widget types.
|
7
7
|
config.plugin(Pageflow.built_in_page_types_plugin)
|
8
|
+
config.plugin(Pageflow.built_in_widget_types_plugin)
|
8
9
|
# config.plugin(Pageflow::Rainbow.plugin)
|
9
10
|
|
10
11
|
# Add custom themes by invoking the pageflow:theme generator and
|
data/lib/pageflow.rb
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
module Pageflow
|
2
|
+
class BuiltInWidgetTypesPlugin < Plugin
|
3
|
+
def configure(config)
|
4
|
+
config.widget_types.register(Pageflow::BuiltInWidgetType.navigation, default: true)
|
5
|
+
config.widget_types.register(Pageflow::BuiltInWidgetType.mobile_navigation, default: true)
|
6
|
+
config.widget_types.register(Pageflow::BuiltInWidgetType.slim_player_controls)
|
7
|
+
config.widget_types.register(Pageflow::BuiltInWidgetType.classic_player_controls, default: true)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
data/lib/pageflow/version.rb
CHANGED
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.0.0.
|
4
|
+
version: 12.0.0.rc5
|
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: 2017-05-
|
11
|
+
date: 2017-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -1790,7 +1790,6 @@ files:
|
|
1790
1790
|
- config/initializers/page_type_helpers.rb
|
1791
1791
|
- config/initializers/paperclip.rb
|
1792
1792
|
- config/initializers/view_components.rb
|
1793
|
-
- config/initializers/widget_types.rb
|
1794
1793
|
- config/initializers/zencoder.rb
|
1795
1794
|
- config/locales/de.yml
|
1796
1795
|
- config/locales/en.yml
|
@@ -1898,6 +1897,7 @@ files:
|
|
1898
1897
|
- lib/pageflow/built_in_file_type.rb
|
1899
1898
|
- lib/pageflow/built_in_page_types_plugin.rb
|
1900
1899
|
- lib/pageflow/built_in_widget_type.rb
|
1900
|
+
- lib/pageflow/built_in_widget_types_plugin.rb
|
1901
1901
|
- lib/pageflow/configuration.rb
|
1902
1902
|
- lib/pageflow/engine.rb
|
1903
1903
|
- lib/pageflow/feature.rb
|
@@ -1,7 +0,0 @@
|
|
1
|
-
Pageflow.configure do |config|
|
2
|
-
config.widget_types.register(Pageflow::BuiltInWidgetType.navigation, default: true)
|
3
|
-
config.widget_types.register(Pageflow::BuiltInWidgetType.mobile_navigation, default: true)
|
4
|
-
|
5
|
-
config.widget_types.register(Pageflow::BuiltInWidgetType.classic_player_controls, default: true)
|
6
|
-
config.widget_types.register(Pageflow::BuiltInWidgetType.slim_player_controls)
|
7
|
-
end
|