pageflow-panorama 2.3.0 → 2.4.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: 14a1c0d1d6a8183d7b0cdaf7924d391da6fc5cd5807afc2afb967dfc8f848244
4
- data.tar.gz: 0dee2b56cf1e39485032be7d3a2c1f362382684b84cc1178aefe6a2432887fd6
3
+ metadata.gz: 35b59d1a3913d072845bb9a2e7915df73fe555a9b2a4782fb95935a1bef1612f
4
+ data.tar.gz: 46d4540baf9eaca5757f664178291428098f75f0508953d4d284bb27f68fabc3
5
5
  SHA512:
6
- metadata.gz: 78c38565277d6fa7b787c8e6b95d61cac83234d3bd2af3a7d69d3c2cfa8a38d1cd27def67099ef1ab526ba3f093118a94d1b6d0647649a25143c05bf517b2068
7
- data.tar.gz: 21d734ba5fe809872778169584fec2558ef569c30f2fa107e99af572d8733679e8b4505bc2b5b5e23d7ef3af27bcfaa36d87f9fa2a6d619331cf882488c8580e
6
+ metadata.gz: 30c06d0238f84ee18ed34e2429e0ae1a8259b665f2fbddf2e7fd4e1ed9516d7bf9ea084eb55128999a65deffd8fc0d4437c96cb8fcff46fbbbdfc5d758830216
7
+ data.tar.gz: 120776df3987fe74c4c71b5f8e90abbe040d2b6e78f54d1258cf414b03d27bf81b0e1f0e3256982a79ca51e193dfed39fc91597eb5e3ae7474a316f91dbf89f9
@@ -1,5 +1,5 @@
1
1
  name: tests
2
- on: [push, pull_request]
2
+ on: [push, pull_request, workflow_dispatch]
3
3
 
4
4
  jobs:
5
5
  call-workflow:
data/CHANGELOG.md CHANGED
@@ -1,14 +1,16 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 2.3.0
3
+ ### Version 2.4.0
4
4
 
5
- 2022-12-28
5
+ 2024-01-15
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-panorama/compare/2-2-stable...v2.3.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-panorama/compare/2-3-stable...v2.4.0)
8
8
 
9
- - Add support for Pageflow 16
10
- ([#36](https://github.com/codevise/pageflow-panorama/pull/36))
9
+ - Support Pageflow 17
10
+ ([#39](https://github.com/codevise/pageflow-panorama/pull/39),
11
+ [#38](https://github.com/codevise/pageflow-panorama/pull/38),
12
+ [#37](https://github.com/codevise/pageflow-panorama/pull/37))
11
13
 
12
14
  See
13
- [2-2-stable branch](https://github.com/codevise/pageflow-panorama/blob/2-2-stable/CHANGELOG.md)
15
+ [2-3-stable branch](https://github.com/codevise/pageflow-panorama/blob/2-3-stable/CHANGELOG.md)
14
16
  for previous changes.
data/Gemfile CHANGED
@@ -3,5 +3,9 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in panorama.gemspec
4
4
  gemspec
5
5
 
6
- # Speed up dependency resolution
7
- gem 'rails', '~> 5.2.0'
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
@@ -6,8 +6,25 @@ module Pageflow
6
6
  class Engine < Rails::Engine
7
7
  isolate_namespace Pageflow::Panorama
8
8
 
9
- config.paths.add('lib', eager_load: true)
10
9
  config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s]
10
+
11
+ if Rails.respond_to?(:autoloaders)
12
+ lib = root.join('lib')
13
+
14
+ config.autoload_paths << lib
15
+ config.eager_load_paths << lib
16
+
17
+ initializer 'pageflow_panorama.autoloading' do
18
+ Rails.autoloaders.main.ignore(
19
+ root.join('lib/generators'),
20
+ root.join('lib/pageflow/panorama/configuration.rb'),
21
+ root.join('lib/pageflow/panorama/version.rb'),
22
+ root.join('lib/pageflow/panorama/zip_entry_paperclip_io_adapter.rb')
23
+ )
24
+ end
25
+ else
26
+ config.paths.add('lib', eager_load: true)
27
+ end
11
28
  end
12
29
  end
13
30
  end
@@ -14,7 +14,7 @@ module Pageflow
14
14
  end
15
15
 
16
16
  def json_seed_template
17
- 'pageflow/panorama/page_type.json.jbuilder'
17
+ 'pageflow/panorama/page_type'
18
18
  end
19
19
 
20
20
  def thumbnail_candidates
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module Panorama
3
- VERSION = '2.3.0'.freeze
3
+ VERSION = '2.4.0'.freeze
4
4
  end
5
5
  end
@@ -1,4 +1,6 @@
1
1
  require 'pageflow/panorama/engine'
2
+ require 'pageflow/panorama/version'
3
+ require 'pageflow/panorama/configuration'
2
4
 
3
5
  module Pageflow
4
6
  module Panorama
@@ -16,18 +16,18 @@ 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.required_ruby_version = '~> 2.1'
19
+ spec.required_ruby_version = '>= 2.1'
20
20
 
21
- spec.add_runtime_dependency 'pageflow', ['>= 15.0', '< 17']
21
+ spec.add_runtime_dependency 'pageflow', ['>= 15.0', '< 18']
22
22
  spec.add_runtime_dependency 'rubyzip', '~> 1.1'
23
23
  spec.add_runtime_dependency 'aws-sdk-s3', '~> 1.17'
24
24
  spec.add_runtime_dependency 'pageflow-public-i18n', '~> 1.0'
25
25
 
26
- spec.add_development_dependency 'pageflow-support', ['>= 15.0', '< 17']
27
26
  spec.add_development_dependency 'bundler', ['>= 1.0', '< 3']
28
- spec.add_development_dependency 'rake', '~> 12.0'
29
- spec.add_development_dependency 'rspec-rails', '~> 3.7'
30
27
  spec.add_development_dependency 'factory_bot_rails', '~> 4.8'
28
+ spec.add_development_dependency 'pageflow-support', ['>= 15.0', '< 18']
29
+ spec.add_development_dependency 'rake', '~> 12.0'
30
+ spec.add_development_dependency 'rspec-rails', '~> 6.0'
31
31
 
32
32
  # Semantic versioning rake tasks
33
33
  spec.add_development_dependency 'semmy', '~> 1.0'
@@ -1,3 +1,5 @@
1
+ require 'rspec/mocks'
2
+
1
3
  module Doubles
2
4
  extend RSpec::Mocks::ExampleMethods
3
5
  extend self
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: 2.3.0
4
+ version: 2.4.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: 2022-12-28 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: '15.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '17'
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: '15.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '17'
32
+ version: '18'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rubyzip
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -73,45 +73,59 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1.0'
75
75
  - !ruby/object:Gem::Dependency
76
- name: pageflow-support
76
+ name: bundler
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: '15.0'
81
+ version: '1.0'
82
82
  - - "<"
83
83
  - !ruby/object:Gem::Version
84
- version: '17'
84
+ version: '3'
85
85
  type: :development
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="
90
90
  - !ruby/object:Gem::Version
91
- version: '15.0'
91
+ version: '1.0'
92
92
  - - "<"
93
93
  - !ruby/object:Gem::Version
94
- version: '17'
94
+ version: '3'
95
95
  - !ruby/object:Gem::Dependency
96
- name: bundler
96
+ name: factory_bot_rails
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '4.8'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - "~>"
107
+ - !ruby/object:Gem::Version
108
+ version: '4.8'
109
+ - !ruby/object:Gem::Dependency
110
+ name: pageflow-support
97
111
  requirement: !ruby/object:Gem::Requirement
98
112
  requirements:
99
113
  - - ">="
100
114
  - !ruby/object:Gem::Version
101
- version: '1.0'
115
+ version: '15.0'
102
116
  - - "<"
103
117
  - !ruby/object:Gem::Version
104
- version: '3'
118
+ version: '18'
105
119
  type: :development
106
120
  prerelease: false
107
121
  version_requirements: !ruby/object:Gem::Requirement
108
122
  requirements:
109
123
  - - ">="
110
124
  - !ruby/object:Gem::Version
111
- version: '1.0'
125
+ version: '15.0'
112
126
  - - "<"
113
127
  - !ruby/object:Gem::Version
114
- version: '3'
128
+ version: '18'
115
129
  - !ruby/object:Gem::Dependency
116
130
  name: rake
117
131
  requirement: !ruby/object:Gem::Requirement
@@ -132,28 +146,14 @@ dependencies:
132
146
  requirements:
133
147
  - - "~>"
134
148
  - !ruby/object:Gem::Version
135
- version: '3.7'
136
- type: :development
137
- prerelease: false
138
- version_requirements: !ruby/object:Gem::Requirement
139
- requirements:
140
- - - "~>"
141
- - !ruby/object:Gem::Version
142
- version: '3.7'
143
- - !ruby/object:Gem::Dependency
144
- name: factory_bot_rails
145
- requirement: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - "~>"
148
- - !ruby/object:Gem::Version
149
- version: '4.8'
149
+ version: '6.0'
150
150
  type: :development
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - "~>"
155
155
  - !ruby/object:Gem::Version
156
- version: '4.8'
156
+ version: '6.0'
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: semmy
159
159
  requirement: !ruby/object:Gem::Requirement
@@ -213,7 +213,7 @@ files:
213
213
  - db/migrate/20160824115300_add_parent_file_to_packages.rb
214
214
  - db/migrate/20190307093122_copy_panorama_package_attributes_of_failed_uploads.rb
215
215
  - lib/generators/pageflow_panorama/install/install_generator.rb
216
- - lib/pageflow-panorama.rb
216
+ - lib/pageflow/panorama.rb
217
217
  - lib/pageflow/panorama/archive.rb
218
218
  - lib/pageflow/panorama/configuration.rb
219
219
  - lib/pageflow/panorama/engine.rb
@@ -255,7 +255,7 @@ require_paths:
255
255
  - lib
256
256
  required_ruby_version: !ruby/object:Gem::Requirement
257
257
  requirements:
258
- - - "~>"
258
+ - - ">="
259
259
  - !ruby/object:Gem::Version
260
260
  version: '2.1'
261
261
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
264
  - !ruby/object:Gem::Version
265
265
  version: '0'
266
266
  requirements: []
267
- rubygems_version: 3.0.8
267
+ rubygems_version: 3.4.10
268
268
  signing_key:
269
269
  specification_version: 4
270
270
  summary: Pagetype for iframe embedded 360° panoramas