rocket_cms 0.35.0 → 0.37.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: 8a90552d8b2be28d032feff8ff02ee3b6f3d77caa692ae015cf9395b711a4876
4
- data.tar.gz: 901754951a02fcce2aa66905101a51f6a34d97a77844bf6f07f9a7a959f23de8
3
+ metadata.gz: 884c6a22d0d184933601678961617d4ea0023bea146a098ab2ddc2f203080e7f
4
+ data.tar.gz: 58b19142714cb015da722ff900c251f4a88bde73f19aa3a9c7c0a5ff89d47be4
5
5
  SHA512:
6
- metadata.gz: 5dab7f7ab31b57f0b371f8d8e6c60df3186b6f4738d68c0e55d2b64325cca99b763172d66d5183006a9e714353fb8c6e3e68f35ff283138a052b0e0cb2439cb7
7
- data.tar.gz: 2546fff6283204b2af1d29effe641c9f787159ede53f1638dabb427378693bb0a2cfabb49a7b541a60bc38e9ba06900018a66cb5bfe9a0327ae8fd6da3f3feb8
6
+ metadata.gz: 19dd07f7e5e50009ab08459a6078ab9429595960a228f7cf90dbe3e7df8ef8f7dfa69e716e36466180ac835f1bfa56bde807eeb827a3098faab3935881bf71b4
7
+ data.tar.gz: 0f18e56c4e8b6e73e5a6c0b2aec62f2a271a12700b9f18f3a47e9a9eff574615d154c2506359bac3b5a20df825650b991b71511a6cabec5fcbf2b690e5fa85d3
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.5
1
+ 3.3.1
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.35.0)
4
+ rocket_cms (0.37.0)
5
5
  addressable
6
6
  coffee-rails
7
7
  jquery-rails
8
8
  kaminari
9
9
  manual_slug
10
- rails (>= 5.1, < 6.2)
10
+ rails (>= 5.1, < 8)
11
11
  smart_excerpt
12
12
  stringex
13
13
  thor
@@ -16,67 +16,84 @@ PATH
16
16
  GEM
17
17
  remote: https://rubygems.org/
18
18
  specs:
19
- actioncable (6.1.0)
20
- actionpack (= 6.1.0)
21
- activesupport (= 6.1.0)
19
+ actioncable (7.1.3.2)
20
+ actionpack (= 7.1.3.2)
21
+ activesupport (= 7.1.3.2)
22
22
  nio4r (~> 2.0)
23
23
  websocket-driver (>= 0.6.1)
24
- actionmailbox (6.1.0)
25
- actionpack (= 6.1.0)
26
- activejob (= 6.1.0)
27
- activerecord (= 6.1.0)
28
- activestorage (= 6.1.0)
29
- activesupport (= 6.1.0)
24
+ zeitwerk (~> 2.6)
25
+ actionmailbox (7.1.3.2)
26
+ actionpack (= 7.1.3.2)
27
+ activejob (= 7.1.3.2)
28
+ activerecord (= 7.1.3.2)
29
+ activestorage (= 7.1.3.2)
30
+ activesupport (= 7.1.3.2)
30
31
  mail (>= 2.7.1)
31
- actionmailer (6.1.0)
32
- actionpack (= 6.1.0)
33
- actionview (= 6.1.0)
34
- activejob (= 6.1.0)
35
- activesupport (= 6.1.0)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
35
+ actionmailer (7.1.3.2)
36
+ actionpack (= 7.1.3.2)
37
+ actionview (= 7.1.3.2)
38
+ activejob (= 7.1.3.2)
39
+ activesupport (= 7.1.3.2)
36
40
  mail (~> 2.5, >= 2.5.4)
37
- rails-dom-testing (~> 2.0)
38
- actionpack (6.1.0)
39
- actionview (= 6.1.0)
40
- activesupport (= 6.1.0)
41
- rack (~> 2.0, >= 2.0.9)
41
+ net-imap
42
+ net-pop
43
+ net-smtp
44
+ rails-dom-testing (~> 2.2)
45
+ actionpack (7.1.3.2)
46
+ actionview (= 7.1.3.2)
47
+ activesupport (= 7.1.3.2)
48
+ nokogiri (>= 1.8.5)
49
+ racc
50
+ rack (>= 2.2.4)
51
+ rack-session (>= 1.0.1)
42
52
  rack-test (>= 0.6.3)
43
- rails-dom-testing (~> 2.0)
44
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
45
- actiontext (6.1.0)
46
- actionpack (= 6.1.0)
47
- activerecord (= 6.1.0)
48
- activestorage (= 6.1.0)
49
- activesupport (= 6.1.0)
53
+ rails-dom-testing (~> 2.2)
54
+ rails-html-sanitizer (~> 1.6)
55
+ actiontext (7.1.3.2)
56
+ actionpack (= 7.1.3.2)
57
+ activerecord (= 7.1.3.2)
58
+ activestorage (= 7.1.3.2)
59
+ activesupport (= 7.1.3.2)
60
+ globalid (>= 0.6.0)
50
61
  nokogiri (>= 1.8.5)
51
- actionview (6.1.0)
52
- activesupport (= 6.1.0)
62
+ actionview (7.1.3.2)
63
+ activesupport (= 7.1.3.2)
53
64
  builder (~> 3.1)
54
- erubi (~> 1.4)
55
- rails-dom-testing (~> 2.0)
56
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
- activejob (6.1.0)
58
- activesupport (= 6.1.0)
65
+ erubi (~> 1.11)
66
+ rails-dom-testing (~> 2.2)
67
+ rails-html-sanitizer (~> 1.6)
68
+ activejob (7.1.3.2)
69
+ activesupport (= 7.1.3.2)
59
70
  globalid (>= 0.3.6)
60
- activemodel (6.1.0)
61
- activesupport (= 6.1.0)
62
- activerecord (6.1.0)
63
- activemodel (= 6.1.0)
64
- activesupport (= 6.1.0)
65
- activestorage (6.1.0)
66
- actionpack (= 6.1.0)
67
- activejob (= 6.1.0)
68
- activerecord (= 6.1.0)
69
- activesupport (= 6.1.0)
70
- marcel (~> 0.3.1)
71
- mimemagic (~> 0.3.2)
72
- activesupport (6.1.0)
71
+ activemodel (7.1.3.2)
72
+ activesupport (= 7.1.3.2)
73
+ activerecord (7.1.3.2)
74
+ activemodel (= 7.1.3.2)
75
+ activesupport (= 7.1.3.2)
76
+ timeout (>= 0.4.0)
77
+ activestorage (7.1.3.2)
78
+ actionpack (= 7.1.3.2)
79
+ activejob (= 7.1.3.2)
80
+ activerecord (= 7.1.3.2)
81
+ activesupport (= 7.1.3.2)
82
+ marcel (~> 1.0)
83
+ activesupport (7.1.3.2)
84
+ base64
85
+ bigdecimal
73
86
  concurrent-ruby (~> 1.0, >= 1.0.2)
87
+ connection_pool (>= 2.2.5)
88
+ drb
74
89
  i18n (>= 1.6, < 2)
75
90
  minitest (>= 5.1)
91
+ mutex_m
76
92
  tzinfo (~> 2.0)
77
- zeitwerk (~> 2.3)
78
- addressable (2.7.0)
79
- public_suffix (>= 2.0.2, < 5.0)
93
+ addressable (2.8.6)
94
+ public_suffix (>= 2.0.2, < 6.0)
95
+ base64 (0.2.0)
96
+ bigdecimal (3.1.7)
80
97
  builder (3.2.4)
81
98
  coffee-rails (5.0.0)
82
99
  coffee-script (>= 2.2.0)
@@ -85,99 +102,134 @@ GEM
85
102
  coffee-script-source
86
103
  execjs
87
104
  coffee-script-source (1.12.2)
88
- concurrent-ruby (1.1.7)
105
+ concurrent-ruby (1.2.3)
106
+ connection_pool (2.4.1)
89
107
  crass (1.0.6)
90
- erubi (1.10.0)
91
- execjs (2.7.0)
92
- globalid (0.4.2)
93
- activesupport (>= 4.2.0)
108
+ date (3.3.4)
109
+ drb (2.2.1)
110
+ erubi (1.12.0)
111
+ execjs (2.9.1)
112
+ globalid (1.2.1)
113
+ activesupport (>= 6.1)
94
114
  htmlentities (4.3.4)
95
- i18n (1.8.5)
115
+ i18n (1.14.4)
96
116
  concurrent-ruby (~> 1.0)
97
- jquery-rails (4.4.0)
117
+ io-console (0.7.2)
118
+ irb (1.12.0)
119
+ rdoc
120
+ reline (>= 0.4.2)
121
+ jquery-rails (4.6.0)
98
122
  rails-dom-testing (>= 1, < 3)
99
123
  railties (>= 4.2.0)
100
124
  thor (>= 0.14, < 2.0)
101
- kaminari (1.2.1)
125
+ kaminari (1.2.2)
102
126
  activesupport (>= 4.1.0)
103
- kaminari-actionview (= 1.2.1)
104
- kaminari-activerecord (= 1.2.1)
105
- kaminari-core (= 1.2.1)
106
- kaminari-actionview (1.2.1)
127
+ kaminari-actionview (= 1.2.2)
128
+ kaminari-activerecord (= 1.2.2)
129
+ kaminari-core (= 1.2.2)
130
+ kaminari-actionview (1.2.2)
107
131
  actionview
108
- kaminari-core (= 1.2.1)
109
- kaminari-activerecord (1.2.1)
132
+ kaminari-core (= 1.2.2)
133
+ kaminari-activerecord (1.2.2)
110
134
  activerecord
111
- kaminari-core (= 1.2.1)
112
- kaminari-core (1.2.1)
113
- loofah (2.8.0)
135
+ kaminari-core (= 1.2.2)
136
+ kaminari-core (1.2.2)
137
+ loofah (2.22.0)
114
138
  crass (~> 1.0.2)
115
- nokogiri (>= 1.5.9)
116
- mail (2.7.1)
139
+ nokogiri (>= 1.12.0)
140
+ mail (2.8.1)
117
141
  mini_mime (>= 0.1.1)
142
+ net-imap
143
+ net-pop
144
+ net-smtp
118
145
  manual_slug (0.4.0)
119
146
  activesupport
120
- marcel (0.3.3)
121
- mimemagic (~> 0.3.2)
122
- method_source (1.0.0)
123
- mimemagic (0.3.5)
124
- mini_mime (1.0.2)
125
- mini_portile2 (2.4.0)
126
- minitest (5.14.2)
127
- nio4r (2.5.4)
128
- nokogiri (1.10.10)
129
- mini_portile2 (~> 2.4.0)
130
- public_suffix (4.0.6)
131
- rack (2.2.3)
132
- rack-test (1.1.0)
133
- rack (>= 1.0, < 3)
134
- rails (6.1.0)
135
- actioncable (= 6.1.0)
136
- actionmailbox (= 6.1.0)
137
- actionmailer (= 6.1.0)
138
- actionpack (= 6.1.0)
139
- actiontext (= 6.1.0)
140
- actionview (= 6.1.0)
141
- activejob (= 6.1.0)
142
- activemodel (= 6.1.0)
143
- activerecord (= 6.1.0)
144
- activestorage (= 6.1.0)
145
- activesupport (= 6.1.0)
147
+ marcel (1.0.4)
148
+ mini_mime (1.1.5)
149
+ mini_portile2 (2.8.6)
150
+ minitest (5.22.3)
151
+ mutex_m (0.2.0)
152
+ net-imap (0.4.10)
153
+ date
154
+ net-protocol
155
+ net-pop (0.1.2)
156
+ net-protocol
157
+ net-protocol (0.2.2)
158
+ timeout
159
+ net-smtp (0.5.0)
160
+ net-protocol
161
+ nio4r (2.7.1)
162
+ nokogiri (1.16.4)
163
+ mini_portile2 (~> 2.8.2)
164
+ racc (~> 1.4)
165
+ psych (5.1.2)
166
+ stringio
167
+ public_suffix (5.0.5)
168
+ racc (1.7.3)
169
+ rack (3.0.10)
170
+ rack-session (2.0.0)
171
+ rack (>= 3.0.0)
172
+ rack-test (2.1.0)
173
+ rack (>= 1.3)
174
+ rackup (2.1.0)
175
+ rack (>= 3)
176
+ webrick (~> 1.8)
177
+ rails (7.1.3.2)
178
+ actioncable (= 7.1.3.2)
179
+ actionmailbox (= 7.1.3.2)
180
+ actionmailer (= 7.1.3.2)
181
+ actionpack (= 7.1.3.2)
182
+ actiontext (= 7.1.3.2)
183
+ actionview (= 7.1.3.2)
184
+ activejob (= 7.1.3.2)
185
+ activemodel (= 7.1.3.2)
186
+ activerecord (= 7.1.3.2)
187
+ activestorage (= 7.1.3.2)
188
+ activesupport (= 7.1.3.2)
146
189
  bundler (>= 1.15.0)
147
- railties (= 6.1.0)
148
- sprockets-rails (>= 2.0.0)
149
- rails-dom-testing (2.0.3)
150
- activesupport (>= 4.2.0)
190
+ railties (= 7.1.3.2)
191
+ rails-dom-testing (2.2.0)
192
+ activesupport (>= 5.0.0)
193
+ minitest
151
194
  nokogiri (>= 1.6)
152
- rails-html-sanitizer (1.3.0)
153
- loofah (~> 2.3)
154
- railties (6.1.0)
155
- actionpack (= 6.1.0)
156
- activesupport (= 6.1.0)
157
- method_source
158
- rake (>= 0.8.7)
159
- thor (~> 1.0)
160
- rake (13.0.3)
195
+ rails-html-sanitizer (1.6.0)
196
+ loofah (~> 2.21)
197
+ nokogiri (~> 1.14)
198
+ railties (7.1.3.2)
199
+ actionpack (= 7.1.3.2)
200
+ activesupport (= 7.1.3.2)
201
+ irb
202
+ rackup (>= 1.0.0)
203
+ rake (>= 12.2)
204
+ thor (~> 1.0, >= 1.2.2)
205
+ zeitwerk (~> 2.6)
206
+ rake (13.2.1)
207
+ rdoc (6.6.3.1)
208
+ psych (>= 4.0.0)
209
+ reline (0.5.3)
210
+ io-console (~> 0.5)
211
+ simpleidn (0.2.1)
212
+ unf (~> 0.1.4)
161
213
  smart_excerpt (0.1.6)
162
214
  activesupport
163
215
  htmlentities
164
- sprockets (4.0.2)
165
- concurrent-ruby (~> 1.0)
166
- rack (> 1, < 3)
167
- sprockets-rails (3.2.2)
168
- actionpack (>= 4.0)
169
- activesupport (>= 4.0)
170
- sprockets (>= 3.0.0)
171
- stringex (2.8.5)
172
- thor (1.0.1)
173
- tzinfo (2.0.4)
216
+ stringex (2.8.6)
217
+ stringio (3.1.0)
218
+ thor (1.3.1)
219
+ timeout (0.4.1)
220
+ tzinfo (2.0.6)
174
221
  concurrent-ruby (~> 1.0)
175
- validates_email_format_of (1.6.3)
176
- i18n
177
- websocket-driver (0.7.3)
222
+ unf (0.1.4)
223
+ unf_ext
224
+ unf_ext (0.0.9.1)
225
+ validates_email_format_of (1.8.2)
226
+ i18n (>= 0.8.0)
227
+ simpleidn
228
+ webrick (1.8.1)
229
+ websocket-driver (0.7.6)
178
230
  websocket-extensions (>= 0.1.0)
179
231
  websocket-extensions (0.1.5)
180
- zeitwerk (2.4.2)
232
+ zeitwerk (2.6.13)
181
233
 
182
234
  PLATFORMS
183
235
  ruby
@@ -188,4 +240,4 @@ DEPENDENCIES
188
240
  rocket_cms!
189
241
 
190
242
  BUNDLED WITH
191
- 2.1.4
243
+ 2.5.9
@@ -18,6 +18,7 @@ require 'capistrano/puma'
18
18
  install_plugin Capistrano::Puma
19
19
  install_plugin Capistrano::Puma::Workers
20
20
  install_plugin Capistrano::Puma::Jungle
21
+ install_plugin Capistrano::Puma::Systemd
21
22
 
22
23
  require "capistrano/scm/git"
23
24
  install_plugin Capistrano::SCM::Git
@@ -13,6 +13,9 @@ set :use_sudo, false
13
13
  set :puma_state, -> { File.join(shared_path, 'tmp', 'puma', 'state') }
14
14
  set :puma_pid, -> { File.join(shared_path, 'tmp', 'puma', 'pid') }
15
15
  set :puma_conf, -> { File.join(current_path, 'config', 'puma.rb') }
16
+ set :puma_preload_app, false
17
+ set :puma_service_unit_name, "puma"
18
+ set :puma_systemctl_user, :user
16
19
 
17
20
  Rake::Task["puma:check"].clear
18
21
  Rake::Task["puma:config"].clear
@@ -5,39 +5,38 @@
5
5
  "private": true,
6
6
  "repository": "git@rscz.ru:rocket-science/<%= app_name.downcase %>.git",
7
7
  "dependencies": {
8
- "@rails/actioncable": "^6.0.0",
9
- "@rails/ujs": "^6.0.0",
10
- "turbolinks": "^5.2.0",
11
- "@babel/core": "^7.0.0",
12
- "@babel/plugin-proposal-class-properties": "^7.0.0",
13
- "@babel/plugin-proposal-function-bind": "^7.0.0",
14
- "@babel/plugin-transform-runtime": "^7.7.4",
15
- "@babel/polyfill": "^7.0.0",
16
- "@babel/preset-env": "^7.0.0",
17
- "@babel/preset-react": "^7.0.0",
18
- "autoprefixer": "^9.3.1",
19
- "babel-loader": "^8.0.2",
20
- "compression-webpack-plugin": "^3.0.0",
21
- "core-js": "3",
22
- "css-hot-loader": "^1.3.6",
23
- "css-loader": "^3.2.0",
24
- "extract-css-chunks-webpack-plugin": "^4.6.0",
25
- "file-loader": "^4.3.0",
26
- "html-loader": "^0.5.5",
27
- "node-sass": "^4.0.0",
8
+ "@babel/core": "^7.14.6",
9
+ "@babel/plugin-proposal-class-properties": "^7.14.5",
10
+ "@babel/plugin-proposal-function-bind": "^7.14.5",
11
+ "@babel/plugin-transform-runtime": "^7.14.5",
12
+ "@babel/preset-env": "^7.14.7",
13
+ "@babel/preset-react": "^7.14.5",
14
+ "@rails/actioncable": "^6.1.4",
15
+ "@rails/ujs": "^6.1.4",
16
+ "autoprefixer": "^10.3.1",
17
+ "babel-loader": "^8.2.2",
18
+ "compression-webpack-plugin": "^8.0.1",
19
+ "core-js": "^3.15.2",
20
+ "css-hot-loader": "^1.4.4",
21
+ "css-loader": "^5.2.7",
22
+ "extract-css-chunks-webpack-plugin": "^4.9.0",
23
+ "file-loader": "^6.2.0",
24
+ "html-loader": "^2.1.2",
25
+ "node-sass": "^6.0.1",
28
26
  "normalize.css": "^8.0.1",
29
- "postcss-functions": "^3.0.0",
30
- "postcss-loader": "^3.0.0",
31
- "sass-loader": "^8.0.0",
32
- "style-loader": "^1.0.0",
33
- "url-loader": "^2.3.0",
34
- "webpack": "^4.25.1",
35
- "webpack-cli": "^3.1.2",
36
- "webpack-dev-server": "^3.1.10",
37
- "webpack-manifest-plugin": "^2.0.4"
27
+ "postcss-functions": "^4.0.2",
28
+ "postcss-loader": "^6.1.1",
29
+ "sass-loader": "^12.1.0",
30
+ "style-loader": "^3.1.0",
31
+ "turbolinks": "^5.2.0",
32
+ "url-loader": "^4.1.1",
33
+ "webpack": "^5.44.0",
34
+ "webpack-cli": "^4.7.2",
35
+ "webpack-dev-server": "^3.11.2",
36
+ "webpack-manifest-plugin": "^3.1.1"
38
37
  },
39
38
  "scripts": {
40
39
  "build": "webpack --config config/webpack.config.js",
41
- "start": "webpack-dev-server --config config/webpack.config.js --hot --inline"
40
+ "start": "webpack serve --config config/webpack.config.js --progress --hot --inline"
42
41
  }
43
42
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  var path = require('path');
4
4
  var webpack = require('webpack');
5
- var ManifestPlugin = require('webpack-manifest-plugin');
5
+ var { WebpackManifestPlugin } = require('webpack-manifest-plugin');
6
6
 
7
7
  var autoprefixer = require('autoprefixer');
8
8
  var CompressionPlugin = require("compression-webpack-plugin");
@@ -55,6 +55,7 @@ var config = {
55
55
  {
56
56
  loader: ExtractCssChunks.loader,
57
57
  options: {
58
+ modules: false,
58
59
  hmr: production ? false : true,
59
60
  // Force reload all
60
61
  //reloadAll: true,
@@ -71,7 +72,15 @@ var config = {
71
72
  loader: "postcss-loader",
72
73
  },
73
74
  {
74
- loader: "sass-loader"
75
+ loader: "sass-loader",
76
+ options: {
77
+ sassOptions: {
78
+ includePaths: [
79
+ path.resolve(__dirname, "..", "webpack"),
80
+ //path.resolve(__dirname, "..", "node_modules"),
81
+ ]
82
+ }
83
+ },
75
84
  }
76
85
  ]
77
86
  },
@@ -108,7 +117,7 @@ var config = {
108
117
  }
109
118
  ),
110
119
  new CleanUpExtractCssChunks(),
111
- new ManifestPlugin({
120
+ new WebpackManifestPlugin({
112
121
  writeToFileEmit: true,
113
122
  //basePath: "",
114
123
  publicPath: production ? "/webpack/" : 'http://' + host + ':' + devServerPort + '/webpack/',
@@ -118,6 +127,7 @@ var config = {
118
127
  ],
119
128
  optimization: {
120
129
  minimize: production,
130
+ moduleIds: production ? 'deterministic' : 'named',
121
131
  splitChunks: {
122
132
  cacheGroups: {
123
133
  default: false,
@@ -149,10 +159,6 @@ if (production) {
149
159
  );
150
160
  config.output.publicPath = '/webpack/';
151
161
  } else {
152
- config.plugins.push(
153
- new webpack.NamedModulesPlugin(),
154
- )
155
-
156
162
  config.devServer = {
157
163
  port: devServerPort,
158
164
  disableHostCheck: true,
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = '0.35.0'
2
+ VERSION = '0.37.0'
3
3
  end
data/rocket_cms.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.add_development_dependency 'bundler'
21
21
  spec.add_development_dependency 'rake'
22
22
 
23
- spec.add_dependency 'rails', '>= 5.1', '< 6.2'
23
+ spec.add_dependency 'rails', '>= 5.1', '< 8'
24
24
  spec.add_dependency 'jquery-rails'
25
25
  spec.add_dependency 'coffee-rails'
26
26
  #spec.add_dependency 'turbolinks'
data/template.rb CHANGED
@@ -54,7 +54,7 @@ gem 'cancancan'
54
54
  #{if mongoid then "gem 'cancancan'" end}
55
55
 
56
56
  gem 'cloner'
57
- gem 'puma'
57
+ gem 'puma', github: 'AnatolyShirykalov/puma', branch: '5.3.2'
58
58
 
59
59
  gem 'sentry-raven'
60
60
 
@@ -96,7 +96,7 @@ group :development, :test do
96
96
  gem 'capybara'
97
97
  # https://github.com/mattheworiordan/capybara-screenshot/issues/243
98
98
  gem 'capybara-screenshot'
99
- gem 'selenium-webdriver'
99
+ gem 'selenium-webdriver', '4.0.0.beta4'
100
100
  gem 'webdrivers'
101
101
  gem 'database_cleaner'
102
102
  #{if mongoid then " gem 'database_cleaner-mongoid'" else "" end}
@@ -541,6 +541,8 @@ threads 1, 3
541
541
  current_dir = File.expand_path("../..", __FILE__)
542
542
  base_dir = File.expand_path("../../..", __FILE__)
543
543
 
544
+ #{'directory "#{current_dir}"'}
545
+
544
546
  # rackup DefaultRackup
545
547
 
546
548
  # Default to production
@@ -553,7 +555,7 @@ if rails_env == 'development'
553
555
  else
554
556
  # https://github.com/seuros/capistrano-puma/blob/642d141ee502546bd5a43a76cd9f6766dc0fcc7a/lib/capistrano/templates/puma.rb.erb#L25
555
557
  prune_bundler
556
- preload_app!
558
+ preload_app! false
557
559
  # Change to match your CPU core count
558
560
  workers 1
559
561
  #{'shared_dir = "#{base_dir}/shared"'}
@@ -568,6 +570,7 @@ else
568
570
  #{'pidfile "#{shared_dir}/tmp/puma/pid"'}
569
571
  #{'state_path "#{shared_dir}/tmp/puma/state"'}
570
572
  activate_control_app
573
+ reopen_logs
571
574
  on_restart do
572
575
  puts 'Refreshing Gemfile'
573
576
  #{'ENV["BUNDLE_GEMFILE"] = "#{current_dir}/Gemfile" unless rails_env == \'development\''}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocket_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-23 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '5.1'
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
- version: '6.2'
50
+ version: '8'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '5.1'
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
- version: '6.2'
60
+ version: '8'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: jquery-rails
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -364,7 +364,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
364
364
  - !ruby/object:Gem::Version
365
365
  version: '0'
366
366
  requirements: []
367
- rubygems_version: 3.1.4
367
+ rubygems_version: 3.5.9
368
368
  signing_key:
369
369
  specification_version: 4
370
370
  summary: Please DO NOT use this gem directly, use rocket_cms_mongoid or rocket_cms_activerecord