pageflow-panorama 0.2.0 → 0.3.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +0 -6
- data/app/assets/javascripts/pageflow/panorama/page_type.js +20 -3
- data/app/views/pageflow/panorama/page.html.erb +1 -1
- data/lib/pageflow/panorama/version.rb +1 -1
- data/pageflow-panorama.gemspec +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acb5097faba23f51c911ebbcd0f8bfb1858bf776
|
|
4
|
+
data.tar.gz: 7507871e96e9c34315fa51730a8d4b6eb6077c0c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0f19e3b882d533d714f3f113d1fa9a8258eb3ba55d470db41e7e3a5b2576174beb679a79ba340b0019a0320b163a7430d88283d1c8ffd66c25efc783a3aa525
|
|
7
|
+
data.tar.gz: c4e2071b78cbbdd11a5b504d558a31e28439f692c0a33430a94f0c19670acdf3496c980032f84915739278ce167b36d91be75b544ca14f943c841ce105d4c7cf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
### Version 0.3.0
|
|
4
|
+
|
|
5
|
+
2016-09-09
|
|
6
|
+
|
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow-panorama/compare/v0.2.0...v0.3.0)
|
|
8
|
+
|
|
9
|
+
- Add support for slim player control theme variant
|
|
10
|
+
([#8](https://github.com/codevise/pageflow-panorama/pull/8))
|
|
11
|
+
|
|
3
12
|
### Version 0.2.0
|
|
4
13
|
|
|
5
14
|
2016-06-09
|
data/Gemfile
CHANGED
|
@@ -2,9 +2,3 @@ source 'https://rubygems.org'
|
|
|
2
2
|
|
|
3
3
|
# Specify your gem's dependencies in panorama.gemspec
|
|
4
4
|
gemspec
|
|
5
|
-
|
|
6
|
-
gem 'state_machine', git: 'https://github.com/tf/state_machine.git', branch: 'master'
|
|
7
|
-
gem 'activeadmin', git: 'https://github.com/codevise/active_admin.git', branch: 'rails4'
|
|
8
|
-
gem 'ransack'
|
|
9
|
-
gem 'inherited_resources', '1.4.1'
|
|
10
|
-
gem 'formtastic', '2.3.0'
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
pageflow.pageType.register('panorama', _.extend({
|
|
2
2
|
enhance: function(pageElement, configuration) {
|
|
3
|
+
var that = this;
|
|
4
|
+
|
|
3
5
|
pageElement.addClass('hide_content_with_text');
|
|
4
6
|
|
|
5
|
-
pageElement.find('.play_button').on('
|
|
7
|
+
pageElement.find('.play_button').on('click', function() {
|
|
6
8
|
pageflow.hideText.activate();
|
|
7
9
|
});
|
|
8
10
|
|
|
@@ -10,6 +12,14 @@ pageflow.pageType.register('panorama', _.extend({
|
|
|
10
12
|
pageflow.hideText.deactivate();
|
|
11
13
|
e.stopPropagation();
|
|
12
14
|
});
|
|
15
|
+
|
|
16
|
+
this.removeUnplayedClass = function() {
|
|
17
|
+
pageElement.find('.content_and_background').removeClass('unplayed');
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
this.enableScrollIndicator = function() {
|
|
21
|
+
that.scrollIndicator.enable();
|
|
22
|
+
};
|
|
13
23
|
},
|
|
14
24
|
|
|
15
25
|
prepare: function(pageElement, configuration) {
|
|
@@ -22,11 +32,18 @@ pageflow.pageType.register('panorama', _.extend({
|
|
|
22
32
|
|
|
23
33
|
activating: function(pageElement, configuration) {
|
|
24
34
|
this._ensureIframe(pageElement, configuration);
|
|
35
|
+
pageElement.find('.content_and_background').addClass('unplayed');
|
|
25
36
|
},
|
|
26
37
|
|
|
27
|
-
activated: function(pageElement, configuration) {
|
|
38
|
+
activated: function(pageElement, configuration) {
|
|
39
|
+
pageflow.hideText.on('activate', this.removeUnplayedClass);
|
|
40
|
+
pageflow.hideText.on('deactivate', this.enableScrollIndicator);
|
|
41
|
+
},
|
|
28
42
|
|
|
29
|
-
deactivating: function(pageElement, configuration) {
|
|
43
|
+
deactivating: function(pageElement, configuration) {
|
|
44
|
+
pageflow.hideText.off('activate', this.removeUnplayedClass);
|
|
45
|
+
pageflow.hideText.off('deactivate', this.enableScrollIndicator);
|
|
46
|
+
},
|
|
30
47
|
|
|
31
48
|
deactivated: function(pageElement, configuration) {},
|
|
32
49
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
16
|
<div class="content">
|
|
17
|
-
<div class="controls">
|
|
17
|
+
<div class="controls" data-role="player_controls">
|
|
18
18
|
<span class="hint"><%= t('pageflow.public.panorama.start') %></span>
|
|
19
19
|
<%= info_box(configuration) %>
|
|
20
20
|
<div class="vjs-control-bar view-control">
|
data/pageflow-panorama.gemspec
CHANGED
|
@@ -16,7 +16,7 @@ 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.add_runtime_dependency "pageflow", "~> 0.
|
|
19
|
+
spec.add_runtime_dependency "pageflow", "~> 0.11"
|
|
20
20
|
spec.add_runtime_dependency "rubyzip", "~> 1.1"
|
|
21
21
|
spec.add_runtime_dependency 'pageflow-public-i18n', '~> 1.0'
|
|
22
22
|
|
|
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
spec.add_development_dependency "mysql2"
|
|
28
28
|
|
|
29
29
|
# Semantic versioning rake tasks
|
|
30
|
-
spec.add_development_dependency 'semmy', '~> 0.
|
|
30
|
+
spec.add_development_dependency 'semmy', '~> 0.3.0'
|
|
31
31
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pageflow-panorama
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Codevise Solutions
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-09-09 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: '0.
|
|
19
|
+
version: '0.11'
|
|
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: '0.
|
|
26
|
+
version: '0.11'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rubyzip
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -128,14 +128,14 @@ dependencies:
|
|
|
128
128
|
requirements:
|
|
129
129
|
- - "~>"
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version:
|
|
131
|
+
version: 0.3.0
|
|
132
132
|
type: :development
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
|
136
136
|
- - "~>"
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version:
|
|
138
|
+
version: 0.3.0
|
|
139
139
|
description:
|
|
140
140
|
email:
|
|
141
141
|
- info@codevise.de
|
|
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
209
209
|
version: '0'
|
|
210
210
|
requirements: []
|
|
211
211
|
rubyforge_project:
|
|
212
|
-
rubygems_version: 2.
|
|
212
|
+
rubygems_version: 2.5.1
|
|
213
213
|
signing_key:
|
|
214
214
|
specification_version: 4
|
|
215
215
|
summary: Pagetype for iframe embedded 360° panoramas
|