web47core 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/app/helpers/core_link_helper.rb +1 -1
- data/lib/web47core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6478bbaee535d0c5da28a2789ffa8b8ebe1e6615ab49c7c6e4160ac30c06c3d1
|
4
|
+
data.tar.gz: 4f3a3d1bc035802f6d86f8b8a0b878ca53c1d100a523bb858c300f01b4dc4995
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60bef8e8f95ee1b37eadf532b8a8cc164e97aaea38656999940009b30f1336e5a59c79781c53f6fe4cb3932bcfd58870d06e69cda8615801f0a1ef50ebf9c9bb
|
7
|
+
data.tar.gz: ae89618fb65cbabf97910e4b73c3064c9cc23d9411fd00c9f3348c6a125209b27bb860a058748a4c4073b18b32c610bc3b0393c5617eb411e0c6130e83dbe8aa
|
data/README.md
CHANGED
@@ -145,6 +145,7 @@ Before starting the server, you need to run the database command
|
|
145
145
|
```mongo
|
146
146
|
db.cron_tabs.updateMany({_type: 'JobCronTab'}, {$set: {_type: 'Cron::JobTab'}});
|
147
147
|
```
|
148
|
+
|
148
149
|
#### Routes
|
149
150
|
Update abilities to new class names
|
150
151
|
CronTab, JobCronTab, CronJobServer to Cron::Tab, Cron::JobTab, Cron::Server
|
@@ -200,6 +201,12 @@ class CronController < AdminController
|
|
200
201
|
rescue_from Mongoid::Errors::DocumentNotFound, with: :document_not_found_error
|
201
202
|
end
|
202
203
|
```
|
204
|
+
|
205
|
+
To start or stop the cron server, run the bundler command:
|
206
|
+
```
|
207
|
+
bundle exec cron_server start|stop
|
208
|
+
```
|
209
|
+
|
203
210
|
##### DelayedJobController
|
204
211
|
Update the DelayedJobController with something like below, and remove the views and any localization you might have made.
|
205
212
|
```ruby
|
@@ -214,6 +221,12 @@ class DelayedJobsController < AdminController
|
|
214
221
|
rescue_from Mongoid::Errors::DocumentNotFound, with: :document_not_found_error
|
215
222
|
end
|
216
223
|
```
|
224
|
+
|
225
|
+
To start or stop the delayed jobs, run the bundler command:
|
226
|
+
```
|
227
|
+
bundle exec delayed_job start|stop
|
228
|
+
```
|
229
|
+
|
217
230
|
##### StatusController
|
218
231
|
Remove controller, views and localizations
|
219
232
|
##### SystemConfigurationsController
|
@@ -40,7 +40,7 @@ module CoreLinkHelper
|
|
40
40
|
# Add the table action button and setup the drop down
|
41
41
|
#
|
42
42
|
def table_action_button(action_id, icon_name = 'more_horiz')
|
43
|
-
datum = {
|
43
|
+
datum = { target: action_id,
|
44
44
|
constrainWidth: false,
|
45
45
|
gutter: 28,
|
46
46
|
alignment: 'right' }
|
data/lib/web47core/version.rb
CHANGED