minicron 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/minicron.rb +2 -2
- data/lib/minicron/constants.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d10137d1ba5558c7eb7051503b96ef3cb6deb5d2
|
|
4
|
+
data.tar.gz: 76ac8e9cea1bb8018807ccbfde3cb4009f5b1b10
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c2243f665f9a20d89c95fed1253cc13be891da21fbbc73177f801f3cc4b096a23a5222ca87486072d62ee47fd404769f5900e381018c094bad81bfa1e3518638
|
|
7
|
+
data.tar.gz: 478b1ec66ad2c28377311f327df6aceb87956bc91afe2e5e2880f04235733ebe30b18610e2cf85586c08b6280d8eaf4d98f5fa2df61803f8bae8c2f51546709d
|
data/README.md
CHANGED
|
@@ -105,7 +105,7 @@ but I encourage you to give it a try in a non critical environment and help me t
|
|
|
105
105
|
|
|
106
106
|
2. On some distributions you may need to install the ````ruby-dev```` and ````build-essential```` packages
|
|
107
107
|
|
|
108
|
-
3. To install the latest release (currently 0.7.
|
|
108
|
+
3. To install the latest release (currently 0.7.2) you can ````gem install minicron````, depending on your ruby setup
|
|
109
109
|
you may need to run this with ````sudo````
|
|
110
110
|
|
|
111
111
|
4. Set your database configuration options in ````/etc/minicron.toml````, you can use the [minicron.toml](https://github.com/jamesrwhite/minicron/blob/master/config/minicron.toml) as a guide on what options are configurable
|
|
@@ -161,7 +161,7 @@ To launch the server (aka the Hub) run
|
|
|
161
161
|
minicron server start
|
|
162
162
|
````
|
|
163
163
|
|
|
164
|
-
by default it will bind to port 9292 on the host
|
|
164
|
+
by default it will bind to port 9292 on the host 0.0.0.0 but this can be configured by the command line
|
|
165
165
|
arguments ````--host```` ````--port```` and ````--path```` or in the config file.
|
|
166
166
|
|
|
167
167
|
By default the server will run as a daemon with its process id stored in ````/tmp/minicron.pid````
|
|
@@ -211,7 +211,7 @@ server that jobs use to communicate their status updates).
|
|
|
211
211
|
> **It is not recommended that you allow your minicron host to be accessible via the public internet!**
|
|
212
212
|
|
|
213
213
|
Obviously without authentication anyone who knew the address of your minicron host would be able to set up
|
|
214
|
-
a
|
|
214
|
+
a potentially malicious job on one of your servers! Future versions may be secure enough to expose publicly but personally I still would not recommend it, minicron is designed to be an internal tool and should be behind a
|
|
215
215
|
firewall that only allows connections from an internal network and/or a VPN.
|
|
216
216
|
|
|
217
217
|
Documentation
|
data/lib/minicron.rb
CHANGED
|
@@ -13,14 +13,14 @@ module Minicron
|
|
|
13
13
|
'trace' => false,
|
|
14
14
|
'client' => {
|
|
15
15
|
'scheme' => 'http',
|
|
16
|
-
'host' => '
|
|
16
|
+
'host' => '0.0.0.0',
|
|
17
17
|
'port' => 9292,
|
|
18
18
|
'path' => '/',
|
|
19
19
|
'connect_timeout' => 5,
|
|
20
20
|
'inactivity_timeout' => 5
|
|
21
21
|
},
|
|
22
22
|
'server' => {
|
|
23
|
-
'host' => '
|
|
23
|
+
'host' => '0.0.0.0',
|
|
24
24
|
'port' => 9292,
|
|
25
25
|
'path' => '/',
|
|
26
26
|
'debug' => false
|
data/lib/minicron/constants.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minicron
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James White
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rainbow
|