pageflow-vr 1.3.0 → 1.5.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: 9cf8b9d115a44fb3617b07b45bca4eb2247d261e0d7f59f785c74ad110f37a30
4
- data.tar.gz: bdfdb7562b86d45126f4006dd354470bf967d072fe221027bebf5c3d8a2181f9
3
+ metadata.gz: d5bf63bd0b3eefdb4206752b115362854b79d9d63f94474b4832ba355c87ac87
4
+ data.tar.gz: 734660c8a2edc4e70aedc8b75371be99287757071a8d87582fdbfc904673fe5a
5
5
  SHA512:
6
- metadata.gz: cf207e5fb2e43afa2461b8df353a34d0e1900b061a2a3391efbff3ad7dd5b6a88c852f3e85a4f7ec22882da31f36ed4c370f9c232ef574cbac217ab1da86726a
7
- data.tar.gz: cd62b50035c99c26cf9cb1bc8a337a9568c68a10f457ba949c501d8f5bd3220f2ffb21e2957fa395651faf792a080795a1e1e335d154e3d4231b5badc534aedb
6
+ metadata.gz: 3335ffe29010f2cef8a225ac53d5e8c361d603eddd2c9f4f3655e92c752bb39b82a865bd133460d09f2c82b568a40df1faff3ae8eae07f436e70d953eeab5db9
7
+ data.tar.gz: '0855b294a20cea93e4daaf1b7c6b578ad263a180ce7cb7133be7761e2e7fd9f4f9899d66d1381959e9ead90b975f0c313b0c6af43fe428c98df33cefc3493282'
@@ -0,0 +1,6 @@
1
+ name: tests
2
+ on: [push, pull_request, workflow_dispatch]
3
+
4
+ jobs:
5
+ call-workflow:
6
+ uses: codevise/pageflow/.github/workflows/reusable-workflow-rspec.yml@master
data/CHANGELOG.md CHANGED
@@ -1,16 +1,15 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.3.0
3
+ ### Version 1.5.0
4
4
 
5
- 2019-11-04
5
+ 2024-01-15
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-vr/compare/1-2-stable...v1.3.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-vr/compare/1-4-stable...v1.5.0)
8
8
 
9
- - Fix Travis CI
10
- ([#9](https://github.com/codevise/pageflow-vr/pull/9))
11
- - Extend pageflow version requirement to < 16
12
- ([#8](https://github.com/codevise/pageflow-vr/pull/8))
9
+ - Support Pageflow 17
10
+ ([#22](https://github.com/codevise/pageflow-vr/pull/22),
11
+ [#21](https://github.com/codevise/pageflow-vr/pull/21))
13
12
 
14
13
  See
15
- [1-2-stable branch](https://github.com/codevise/pageflow-vr/blob/1-2-stable/CHANGELOG.md)
14
+ [1-4-stable branch](https://github.com/codevise/pageflow-vr/blob/1-4-stable/CHANGELOG.md)
16
15
  for previous changes.
data/Gemfile CHANGED
@@ -2,3 +2,10 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in pageflow-vr.gemspec
4
4
  gemspec
5
+
6
+ if ENV['PAGEFLOW_DEPENDENCIES'] == 'experimental'
7
+ git 'https://github.com/codevise/pageflow', branch: 'edge', glob: '**/*.gemspec' do
8
+ gem 'pageflow'
9
+ gem 'pageflow-support'
10
+ end
11
+ end
data/README.md CHANGED
@@ -1,7 +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
+ [![Build Status](https://github.com/codevise/pageflow-vr/workflows/tests/badge.svg)](https://github.com/codevise/pageflow-vr/actions)
5
5
 
6
6
  Page type to display 360° videos.
7
7
 
@@ -3,7 +3,22 @@ module Pageflow
3
3
  class Engine < Rails::Engine
4
4
  isolate_namespace Pageflow::Vr
5
5
 
6
- config.autoload_paths << File.join(config.root, 'lib')
6
+ if Rails.respond_to?(:autoloaders)
7
+ lib = root.join('lib')
8
+
9
+ config.autoload_paths << lib
10
+ config.eager_load_paths << lib
11
+
12
+ initializer 'pageflow_vr.autoloading' do
13
+ Rails.autoloaders.main.ignore(
14
+ lib.join('pageflow/vr/version.rb'),
15
+ lib.join('generators')
16
+ )
17
+ end
18
+ else
19
+ config.autoload_paths << File.join(config.root, 'lib')
20
+ end
21
+
7
22
  config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s]
8
23
 
9
24
  initializer "pageflow-vr.add_watchable_files", group: :all do |app|
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module Vr
3
- VERSION = '1.3.0'
3
+ VERSION = '1.5.0'
4
4
  end
5
5
  end
@@ -1,4 +1,5 @@
1
1
  require 'pageflow/vr/engine'
2
+ require 'pageflow/vr/version'
2
3
 
3
4
  module Pageflow
4
5
  module Vr
data/pageflow-vr.gemspec CHANGED
@@ -15,14 +15,15 @@ Gem::Specification.new do |spec|
15
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
16
  spec.require_paths = ['lib']
17
17
 
18
- spec.required_ruby_version = '~> 2.1'
18
+ spec.required_ruby_version = '>= 2.1'
19
19
 
20
- spec.add_dependency 'pageflow', ['>= 12.0', '< 16']
20
+ spec.add_dependency 'pageflow', ['>= 12.0', '< 18']
21
21
  spec.add_dependency 'pageflow-public-i18n', '~> 1.10'
22
22
 
23
23
  spec.add_development_dependency 'bundler', ['>= 1.12', '< 3']
24
- spec.add_development_dependency 'pageflow-support', ['>= 14', '< 16']
24
+ spec.add_development_dependency 'pageflow-support', ['>= 14', '< 18']
25
25
  spec.add_development_dependency 'rake', '~> 12.0'
26
- spec.add_development_dependency 'rspec-rails', '~> 3.0'
26
+ spec.add_development_dependency 'rspec-rails', '~> 6.0'
27
+
27
28
  spec.add_development_dependency 'semmy', '~> 1.0'
28
29
  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.3.0
4
+ version: 1.5.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: 2019-11-04 00:00:00.000000000 Z
11
+ date: 2024-01-15 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: '16'
22
+ version: '18'
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: '16'
32
+ version: '18'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pageflow-public-i18n
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -73,7 +73,7 @@ dependencies:
73
73
  version: '14'
74
74
  - - "<"
75
75
  - !ruby/object:Gem::Version
76
- version: '16'
76
+ version: '18'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
@@ -83,7 +83,7 @@ dependencies:
83
83
  version: '14'
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
- version: '16'
86
+ version: '18'
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: rake
89
89
  requirement: !ruby/object:Gem::Requirement
@@ -104,14 +104,14 @@ dependencies:
104
104
  requirements:
105
105
  - - "~>"
106
106
  - !ruby/object:Gem::Version
107
- version: '3.0'
107
+ version: '6.0'
108
108
  type: :development
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - "~>"
113
113
  - !ruby/object:Gem::Version
114
- version: '3.0'
114
+ version: '6.0'
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: semmy
117
117
  requirement: !ruby/object:Gem::Requirement
@@ -134,9 +134,9 @@ extensions: []
134
134
  extra_rdoc_files: []
135
135
  files:
136
136
  - ".eslintrc"
137
+ - ".github/workflows/tests.yml"
137
138
  - ".gitignore"
138
139
  - ".rspec"
139
- - ".travis.yml"
140
140
  - CHANGELOG.md
141
141
  - CODE_OF_CONDUCT.md
142
142
  - Gemfile
@@ -172,7 +172,7 @@ files:
172
172
  - config/locales/en.yml
173
173
  - config/routes.rb
174
174
  - lib/generators/pageflow_vr/install/install_generator.rb
175
- - lib/pageflow-vr.rb
175
+ - lib/pageflow/vr.rb
176
176
  - lib/pageflow/vr/engine.rb
177
177
  - lib/pageflow/vr/plugin.rb
178
178
  - lib/pageflow/vr/projection_auto_detection.rb
@@ -188,7 +188,7 @@ require_paths:
188
188
  - lib
189
189
  required_ruby_version: !ruby/object:Gem::Requirement
190
190
  requirements:
191
- - - "~>"
191
+ - - ">="
192
192
  - !ruby/object:Gem::Version
193
193
  version: '2.1'
194
194
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -197,8 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  - !ruby/object:Gem::Version
198
198
  version: '0'
199
199
  requirements: []
200
- rubyforge_project:
201
- rubygems_version: 2.7.5
200
+ rubygems_version: 3.4.10
202
201
  signing_key:
203
202
  specification_version: 4
204
203
  summary: Page type for 360° videos based on Google Vrview.
data/.travis.yml DELETED
@@ -1,13 +0,0 @@
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
11
-
12
- services:
13
- - mysql