pageflow-vr 1.1.0 → 1.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: 1237c87ba6ce085e25ba3fdad8a6d3fff9ede5a952ecf4fae233c37b306418fa
4
- data.tar.gz: 5bfbafb1e6d2659b04990e605642a4ea7b5e55e6b9649f8591f480592ce646c5
3
+ metadata.gz: 835326af7d3f1d8e2a3b7c8534c3917ea006ab475f5fa3ab7d13317d750c0a3a
4
+ data.tar.gz: 64a1bc240e9b9f4d38def0297d779cedbfd0befd756df5380e48121be22dc80e
5
5
  SHA512:
6
- metadata.gz: f105c9ad7de6990095aa2212cb49d8a4487ac9cc7e4b20281fca6ef10e9799b2469ffb1d7944249c1830e348fa2ddae82b963f4d3cfb0174937e52a3015adf88
7
- data.tar.gz: 14bb3bb562c8ec70022cadf4eb21ebdbc6b0c326daeb41541f24a17515fce22d4882bea221794fbf83d59a4344da9c54e6b1eedf6fcef182042b0675948292c0
6
+ metadata.gz: d443041fa101ce5804186931916f73e39c0d2ec238e0df85788df1388f58fee3f8ef3d0a6eda46c4b513f2a5db03a2c5bcca27bf9a130d2438230a4f3298cbbd
7
+ data.tar.gz: e15550c30e26c57da2919a5e7f23cc04220278111cd6723cbf4321da173bcdf73cd9eca5d6df0df2feb604307ca41f9dede9b33f25658d4e4ee1da9901d344be
data/.gitignore CHANGED
@@ -5,6 +5,7 @@
5
5
  /coverage/
6
6
  /doc/
7
7
  /pkg/
8
+ /spec/dummy/
8
9
  /spec/reports/
9
10
  /tmp/
10
11
  /.localeapp
data/.travis.yml ADDED
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+ rvm: 2.5
3
+
4
+ # User container based travis infrastructure which allows caching
5
+ # features for open source projects.
6
+ sudo: false
7
+ cache: bundler
8
+
9
+ script:
10
+ - bin/rspec
data/CHANGELOG.md CHANGED
@@ -1,19 +1,16 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.1.0
3
+ ### Version 1.2.0
4
4
 
5
- 2018-12-10
5
+ 2019-04-08
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-vr/compare/1-0-stable...v1.1.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-vr/compare/1-1-stable...v1.2.0)
8
8
 
9
- - Add support for Pageflow 13
10
- ([#3](https://github.com/codevise/pageflow-vr/pull/3),
11
- [#4](https://github.com/codevise/pageflow-vr/pull/4))
12
- - Bug fix: Allow displaying vrview in embedded entry
13
- ([#2](https://github.com/codevise/pageflow-vr/pull/2))
14
- - Bug fix: Skip projectionAutoDetection for videos without usage
15
- ([#5](https://github.com/codevise/pageflow-vr/pull/5))
9
+ - Add support for Pageflow 14
10
+ ([#7](https://github.com/codevise/pageflow-vr/pull/7))
11
+ - Setup page type lint specs
12
+ ([#6](https://github.com/codevise/pageflow-vr/pull/6))
16
13
 
17
14
  See
18
- [1-0-stable branch](https://github.com/codevise/pageflow-vr/blob/1-0-stable/CHANGELOG.md)
15
+ [1-1-stable branch](https://github.com/codevise/pageflow-vr/blob/1-1-stable/CHANGELOG.md)
19
16
  for previous changes.
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Pageflow VR
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/pageflow-vr.svg)](http://badge.fury.io/rb/pageflow-vr)
4
+ [![Build Status](https://travis-ci.org/codevise/pageflow-vr.svg?branch=master)](https://travis-ci.org/codevise/pageflow-vr)
4
5
 
5
6
  Page type to display 360° videos.
6
7
 
data/bin/rspec ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rspec' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 150) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("rspec-core", "rspec")
@@ -0,0 +1,21 @@
1
+ module PageflowVr
2
+ class InstallGenerator < Rails::Generators::Base
3
+ desc 'Install the Pageflow plugin and the necessary migrations.'
4
+
5
+ def register_plugin
6
+ append_to_file('app/assets/javascripts/components.js') do
7
+ "//= require pageflow/vr/components\n"
8
+ end
9
+ end
10
+
11
+ private
12
+
13
+ def engine_name_suffix
14
+ engine.engine_name.gsub(/^pageflow_/, '')
15
+ end
16
+
17
+ def engine
18
+ Pageflow::Vr::Engine
19
+ end
20
+ end
21
+ end
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module Vr
3
- VERSION = '1.1.0'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
data/pageflow-vr.gemspec CHANGED
@@ -17,11 +17,12 @@ Gem::Specification.new do |spec|
17
17
 
18
18
  spec.required_ruby_version = '~> 2.1'
19
19
 
20
- spec.add_dependency 'pageflow', ['>= 12.0', '< 14']
20
+ spec.add_dependency 'pageflow', ['>= 12.0', '< 15']
21
21
  spec.add_dependency 'pageflow-public-i18n', '~> 1.10'
22
22
 
23
- spec.add_development_dependency 'bundler', '~> 1.12'
23
+ spec.add_development_dependency 'bundler', ['>= 1.12', '< 3']
24
+ spec.add_development_dependency 'pageflow-support', '~> 14.x'
24
25
  spec.add_development_dependency 'rake', '~> 12.0'
25
- spec.add_development_dependency 'rspec', '~> 3.0'
26
+ spec.add_development_dependency 'rspec-rails', '~> 3.0'
26
27
  spec.add_development_dependency 'semmy', '~> 1.0'
27
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-vr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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: 2018-12-10 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '12.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '14'
22
+ version: '15'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '12.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '14'
32
+ version: '15'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pageflow-public-i18n
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -48,16 +48,36 @@ dependencies:
48
48
  name: bundler
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.12'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: '3'
54
57
  type: :development
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
57
60
  requirements:
58
- - - "~>"
61
+ - - ">="
59
62
  - !ruby/object:Gem::Version
60
63
  version: '1.12'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: '3'
67
+ - !ruby/object:Gem::Dependency
68
+ name: pageflow-support
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: 14.x
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: 14.x
61
81
  - !ruby/object:Gem::Dependency
62
82
  name: rake
63
83
  requirement: !ruby/object:Gem::Requirement
@@ -73,7 +93,7 @@ dependencies:
73
93
  - !ruby/object:Gem::Version
74
94
  version: '12.0'
75
95
  - !ruby/object:Gem::Dependency
76
- name: rspec
96
+ name: rspec-rails
77
97
  requirement: !ruby/object:Gem::Requirement
78
98
  requirements:
79
99
  - - "~>"
@@ -110,6 +130,7 @@ files:
110
130
  - ".eslintrc"
111
131
  - ".gitignore"
112
132
  - ".rspec"
133
+ - ".travis.yml"
113
134
  - CHANGELOG.md
114
135
  - CODE_OF_CONDUCT.md
115
136
  - Gemfile
@@ -139,10 +160,12 @@ files:
139
160
  - app/views/pageflow/vr/static_files/vrview.html
140
161
  - app/views/pageflow/vr/static_files/vrview.js
141
162
  - bin/console
163
+ - bin/rspec
142
164
  - bin/setup
143
165
  - config/locales/de.yml
144
166
  - config/locales/en.yml
145
167
  - config/routes.rb
168
+ - lib/generators/pageflow_vr/install/install_generator.rb
146
169
  - lib/pageflow-vr.rb
147
170
  - lib/pageflow/vr/engine.rb
148
171
  - lib/pageflow/vr/plugin.rb
@@ -169,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
192
  version: '0'
170
193
  requirements: []
171
194
  rubyforge_project:
172
- rubygems_version: 2.7.5
195
+ rubygems_version: 2.7.8
173
196
  signing_key:
174
197
  specification_version: 4
175
198
  summary: Page type for 360° videos based on Google Vrview.