minicron 0.7.5 → 0.7.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4247c7b0a2874ba3c658df32d6d1dd9182e6b210
4
- data.tar.gz: 1832c47897e9f2933a0a42e7c21476633293319a
3
+ metadata.gz: 4e56bf6a4890ec60c50ff3843130e356c62a4205
4
+ data.tar.gz: a99ba6773693386d61f30607f2198af48704ac38
5
5
  SHA512:
6
- metadata.gz: d196437be5ebebdd185a176a8d384dd619479684927e52b35e6dc096150c4975745cbfee3cdb351aed65dfd07126c3423db27e82669cc2e3987e610b4bed1552
7
- data.tar.gz: 3e0a20f945bd05b1474ae6b53dbc843a7035ad239028554780edda6be137d04740d803a197f5f590826bd726fe09e610e0331e7f0b7d9ba7ef12238ea2ef7b16
6
+ metadata.gz: a5bd6f87272cd992a266bcee8b13b12cb7152f45a2ff93d9a4c32c3dd97e38e3baccd68cc107b4aa4748a8b9eeb86dd6c419a1ad6527de8819d7375535715e20
7
+ data.tar.gz: cf7f3861b4efff02d9eb7e67ded6c3f1f34702825cdfe3f27c34306bc87fd63c302756e5b7839f66be30e4df76de4bd19057927425553f3073ef55ec9e00101f
data/README.md CHANGED
@@ -107,7 +107,7 @@ but I encourage you to give it a try in a non critical environment and help me t
107
107
 
108
108
  2. On some distributions you may need to install the ````ruby-dev```` and ````build-essential```` packages
109
109
 
110
- 3. To install the latest release (currently 0.7.5) you can ````gem install minicron````, depending on your ruby setup
110
+ 3. To install the latest release (currently 0.7.6) you can ````gem install minicron````, depending on your ruby setup
111
111
  you may need to run this with ````sudo````
112
112
 
113
113
  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
@@ -1,6 +1,6 @@
1
1
  # The minicron module
2
2
  module Minicron
3
- VERSION = '0.7.5'
3
+ VERSION = '0.7.6'
4
4
  DEFAULT_CONFIG_FILE = '/etc/minicron.toml'
5
5
  BASE_PATH = File.expand_path('../../../', __FILE__)
6
6
  LIB_PATH = File.expand_path('../../', __FILE__)
@@ -83,7 +83,7 @@
83
83
  this._super(controller, model);
84
84
  },
85
85
  afterModel: function(model, transition) {
86
- var client = new Faye.Client(window.location.protocol + '//' + window.location.host + window.config.path + '/faye'),
86
+ var client = new Faye.Client(window.location.protocol + '//' + window.location.host + (window.config.path === '/' ? '/faye' : window.config.path + '/faye')),
87
87
  store = model.store,
88
88
  self = this;
89
89
  window.store = store;
@@ -78,7 +78,7 @@ describe Minicron do
78
78
  'port' => 9292,
79
79
  'path' => '/',
80
80
  'debug' => false,
81
- 'pid_file' => '/tmp/minicron.pid'
81
+ 'pid_file' => '/tmp/minicron.pid',
82
82
  'cron_file' => '/etc/crontab'
83
83
  },
84
84
  'database' => {
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.5
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James White
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-14 00:00:00.000000000 Z
11
+ date: 2015-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rainbow