mina-infinum 1.7.0 → 1.8.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
- SHA256:
3
- metadata.gz: dedf27e53b2db670c5c4e704f0516db2005a95eb900554e6ebd1daab20af3c8c
4
- data.tar.gz: 7a5bda32a77816b7f3acac2941f98a744f958afa2d1fad2e7c98eb68b1fe240a
2
+ SHA1:
3
+ metadata.gz: 74698f34c63fba89a8c26cd2c6075cb74d94828b
4
+ data.tar.gz: cd509d3519cfc3c950661ac24d1cc1bb498d5ade
5
5
  SHA512:
6
- metadata.gz: d0ccdf048a79018191f243cf8433b5b86cb74dbcd1c61371fccaaff5eabb1be3f6932ee4a71e557de0c6eb15b0e490b8dbd27ea1ebb097b3a144109a86b76a20
7
- data.tar.gz: f8237789990299730dea7238bac6b6841e0c50b461df18476295187bc3c77e38551512f90cb1548f403c80e651156ff417a05795c5c7db14efb4baf64ee47661
6
+ metadata.gz: d64723884fae5f27570716f1eb1d8e520596d31d0ae31a566c195c2b70373ef8568b42bacdf5fde33a055282ee2a8c484239c4d34a010cf36f48511ccea41839
7
+ data.tar.gz: e2ce960c7afa2ab000ec5c57d94965f89e4cdc33c870d66610b8a565c877cae66beb4123a5ae5054cf641e5144e9a783d7e1562fab87cf916a7a9e7684fa300b
data/README.md CHANGED
@@ -15,9 +15,10 @@ github
15
15
  ## Setup
16
16
 
17
17
  ``` ruby
18
- set :application_name, <APP_NAME> # Used in background workers tasks
19
- set :background_worker, <WORKER_NAME> # Used in background workers tasks (eg. 'dj')
20
- set :service_manager, <SERVICE_MANAGER> # systemd, upstart (default)
18
+ set :application_name, <APP_NAME> # Used in background workers tasks
19
+ set :background_worker, <WORKER_NAME> # Used in background workers tasks (eg. 'dj')
20
+ set :service_manager, <SERVICE_MANAGER> # systemd, upstart (default)
21
+ set :sidekiq_web_namespace, <SIDEKIQ_WEB_MOUNT> # Used for creating symlink to Sidekiq assets in public/
21
22
  ```
22
23
 
23
24
  Background workers name:
@@ -34,6 +35,7 @@ Background workers name:
34
35
  :'background_workers:start'
35
36
  :'background_workers:stop'
36
37
  :'background_workers:status'
38
+ :link_sidekiq_assets
37
39
  ```
38
40
 
39
41
  ## Contributing
@@ -1,4 +1,5 @@
1
1
  set :service_manager, :upstart
2
+ set :sidekiq_web_namespace, nil
2
3
 
3
4
  desc 'Restart application'
4
5
  task :restart_application do
@@ -14,3 +15,11 @@ namespace :background_workers do
14
15
  end
15
16
  end
16
17
  end
18
+
19
+ task :link_sidekiq_assets do
20
+ custom_assets_path = File.join('./', 'public', fetch(:sidekiq_web_namespace).to_s)
21
+
22
+ command "bundle_path=\"$(RAILS_ENV=#{fetch(:rails_env)} #{fetch(:bundle_bin)} show sidekiq)\""
23
+ command "mkdir -p #{custom_assets_path}"
24
+ command "ln -nfs $bundle_path/web/assets #{custom_assets_path}/sidekiq"
25
+ end
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Infinum
3
- VERSION = '1.7.0'.freeze
3
+ VERSION = '1.8.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-infinum
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stjepan Hadjic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-24 00:00:00.000000000 Z
11
+ date: 2020-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -164,7 +164,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
- rubygems_version: 3.1.2
167
+ rubyforge_project:
168
+ rubygems_version: 2.6.11
168
169
  signing_key:
169
170
  specification_version: 4
170
171
  summary: Collection of mina plugins we use in infinum