mina-infinum 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -8
- data/lib/mina/infinum/tasks.rb +0 -11
- data/lib/mina/infinum/version.rb +1 -1
- data/mina-infinum.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ae256ebf86551896c2f8623e4cafbb19de71156322afb7f103fa43c63733be1
|
4
|
+
data.tar.gz: c4f0d456ceb597c541d2bfb8b316f7c1b3a58e591753b112e94b65bb21f7054f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d211f7b48726bd5a21380b9c1c2b4257485097ae95d97473fd130e1935d2febd9c4d78088066958da421227bcc4f222c770f4f52f1f10dbce0443afb663cf72e
|
7
|
+
data.tar.gz: d346e39fa550525db65204d6c3e7e3e7516b2c7a8f633bc602f029582a9a4d5b39372fa1790dfe6fe35f3cfe989998d886cecb96c7408737934222f29d777f6e
|
data/README.md
CHANGED
@@ -3,12 +3,11 @@
|
|
3
3
|
For `mina 0.3.0` please take a look at [v0.3.0 branch](https://github.com/infinum/mina-infinum/tree/v0.3.0)
|
4
4
|
## Plugins
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
```
|
6
|
+
* [mina](https://github.com/mina-deploy/mina), '~> 1.0.0'
|
7
|
+
* [mina-data_sync](https://github.com/d4be4st/mina-data_sync), '~> 1.0.0'
|
8
|
+
* [mina-dox](https://github.com/infinum/mina-dox), '~> 0.1'
|
9
|
+
* [mina-secrets](https://github.com/infinum/mina-secrets), '~> 1.0.0'
|
10
|
+
* [mina-whenever](https://github.com/mina-deploy/mina-whenever), '~> 1.0.0'
|
12
11
|
|
13
12
|
Removed mina-delayed_job as we are moving towards delayed_job in processes.
|
14
13
|
github
|
@@ -18,7 +17,6 @@ github
|
|
18
17
|
``` ruby
|
19
18
|
set :application_name, <APP_NAME> # Used in background workers tasks
|
20
19
|
set :background_worker, <WORKER_NAME> # Used in background workers tasks (eg. 'dj')
|
21
|
-
set :publish_api_path, <PUBLIC API PATH> # Used in publish api docs tasks(eg. 'api/v1/docs')
|
22
20
|
```
|
23
21
|
|
24
22
|
Background workers name:
|
@@ -31,7 +29,6 @@ Background workers name:
|
|
31
29
|
|
32
30
|
``` ruby
|
33
31
|
:restart_application # restart passenger
|
34
|
-
:publish_api_doc # Publish dox to the server
|
35
32
|
:'background_workers:restart'
|
36
33
|
:'background_workers:start'
|
37
34
|
:'background_workers:stop'
|
data/lib/mina/infinum/tasks.rb
CHANGED
@@ -18,14 +18,3 @@ namespace :background_workers do
|
|
18
18
|
command %(sudo stop #{background_worker_name} > /dev/null 2>&1; sudo start #{background_worker_name})
|
19
19
|
end
|
20
20
|
end
|
21
|
-
|
22
|
-
task :publish_api_doc do
|
23
|
-
ensure!(:publish_api_path)
|
24
|
-
run(:remote) do
|
25
|
-
command "mkdir -p #{fetch(:current_path)}/public/#{fetch(:publish_api_path)}"
|
26
|
-
end
|
27
|
-
|
28
|
-
run(:local) do
|
29
|
-
command "scp -P #{fetch(:port)} public/#{fetch(:publish_api_path)}/index.html #{fetch(:user)}@#{fetch(:domain)}:#{fetch(:current_path)}/public/#{fetch(:publish_api_path)}"
|
30
|
-
end
|
31
|
-
end
|
data/lib/mina/infinum/version.rb
CHANGED
data/mina-infinum.gemspec
CHANGED
@@ -31,6 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
32
32
|
spec.add_dependency 'mina', '~> 1.0'
|
33
33
|
spec.add_dependency 'mina-data_sync', '~> 1.0'
|
34
|
+
spec.add_dependency 'mina-dox', '~> 0.1'
|
34
35
|
spec.add_dependency 'mina-secrets', '~> 1.2'
|
35
36
|
spec.add_dependency 'mina-whenever', '~> 1.0'
|
36
37
|
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.
|
4
|
+
version: 1.3.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: 2018-
|
11
|
+
date: 2018-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: mina-dox
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.1'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.1'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: mina-secrets
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|