pageflow 14.5.1 → 14.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -112,6 +112,14 @@ module Pageflow
112
112
  [:title, [:title, :id]]
113
113
  end
114
114
 
115
+ def self.ransackable_attributes(_auth_object)
116
+ %w[title type_name created_at edited_at first_published_at]
117
+ end
118
+
119
+ def self.ransackable_associations(_auth_object)
120
+ %w[account published_revision]
121
+ end
122
+
115
123
  def self.ransackable_scopes(_)
116
124
  [:with_publication_state, :published]
117
125
  end
@@ -69,6 +69,12 @@ module Pageflow
69
69
  devise_mailer.send(notification, self, *args).deliver_later
70
70
  end
71
71
 
72
+ module ClassMethods
73
+ def ransackable_attributes(_auth_object)
74
+ %w[first_name last_name email]
75
+ end
76
+ end
77
+
72
78
  private
73
79
 
74
80
  def needs_password?(attributes)
@@ -1,3 +1,3 @@
1
1
  module Pageflow
2
- VERSION = '14.5.1'.freeze
2
+ VERSION = '14.5.2'.freeze
3
3
  end
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: 14.5.1
4
+ version: 14.5.2
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: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -1000,8 +1000,11 @@ files:
1000
1000
  - app/assets/javascripts/pageflow/cookie_notice.js
1001
1001
  - app/assets/javascripts/pageflow/cookies.js
1002
1002
  - app/assets/javascripts/pageflow/delayed_start.js
1003
+ - app/assets/javascripts/pageflow/dist/editor.js
1004
+ - app/assets/javascripts/pageflow/dist/frontend.js
1003
1005
  - app/assets/javascripts/pageflow/dist/react-client.js
1004
1006
  - app/assets/javascripts/pageflow/dist/react-server.js
1007
+ - app/assets/javascripts/pageflow/dist/ui.js
1005
1008
  - app/assets/javascripts/pageflow/editor/api.js
1006
1009
  - app/assets/javascripts/pageflow/editor/api/common_page_configuration_tabs.js
1007
1010
  - app/assets/javascripts/pageflow/editor/api/errors.js
@@ -2109,8 +2112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2109
2112
  - !ruby/object:Gem::Version
2110
2113
  version: '0'
2111
2114
  requirements: []
2112
- rubyforge_project:
2113
- rubygems_version: 2.7.5
2115
+ rubygems_version: 3.0.3
2114
2116
  signing_key:
2115
2117
  specification_version: 4
2116
2118
  summary: Multimedia story telling for the web.