jobly 0.2.6 → 0.2.7

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
2
  SHA256:
3
- metadata.gz: 3a7926c9fb8795e011f9580a3f56a11cdab1c2107204a93e7b831d6bfa0953a3
4
- data.tar.gz: 41e7bc1e01dfeaf5bb20b3aff721585fa4e75cbbd55215eb7b6f6769ea736741
3
+ metadata.gz: 2a62f99e33b48abd10b383c790fbd7c4deff19bfc0e72a35678e5e9656c89740
4
+ data.tar.gz: a2c31a69f3bc32d106c9d174448417de33ab2e55745dc7c0832977b06ff5a303
5
5
  SHA512:
6
- metadata.gz: afd149cf0b665da6791b77bba10c7a6c72d0510f2c2721b4c383427876b1a00749c7ae472cd476801a5ac8fc74d6f4c1846d7f738983720aced8a1f5a551165c
7
- data.tar.gz: d4b4627453c13796d584f759e523fd4f214684ec7d02e2eb205dd87752145b60b30553d3c8ebb5a9a13d308e7f62b0b0a9c254c2a938942b7b57c9e32f2dd21d
6
+ metadata.gz: 1d200e9b6083da6c4c08903d99afadb011ca1bd09f407ea2a365cb20671ba23c827132e101d7dc6c04555e15fd2f2aa7a481827d90c4259f4703e301b2012365
7
+ data.tar.gz: d101ce8ba68a570f7bdabf94fffb4b2d4542db02ed2bf90ed849657262adb6c78b1cbe97ba0c2b2c0171dec23c4a41ba51c1a1ea4ac653b8d15049282c246cbf
@@ -17,9 +17,9 @@ module Jobly
17
17
  redis_url: ENV['JOBLY_REDIS_URL'] || "redis://localhost:6379/0",
18
18
  status_expiration: ENV['JOBLY_STATUS_EXPIRATION']&.to_i || 30,
19
19
  jobs_namespace: ENV['JOBLY_JOBS_NAMESPACE'],
20
+ slack_webhook: ENV['JOBLY_SLACK_WEBHOOK'],
20
21
  slack_channel: ENV['JOBLY_SLACK_CHANNEL'] || "#general",
21
22
  slack_user: ENV['JOBLY_SLACK_USER'] || "Jobly",
22
- slack_webhook: ENV['JOBLY_SLACK_WEBHOOK'],
23
23
  log: ENV['JOBLY_LOG'],
24
24
  auth: ENV['JOBLY_AUTH'],
25
25
  mounts: nil,
@@ -2,7 +2,7 @@ module Jobly
2
2
  module ArgumentConverters
3
3
  refine Array do
4
4
  def to_params
5
- map { |pair| pair.split ':' }.to_h.transform_keys(&:to_sym)
5
+ map { |pair| pair.split ':', 2 }.to_h.transform_keys(&:to_sym)
6
6
  end
7
7
  end
8
8
  end
@@ -10,5 +10,8 @@ Jobly.configure do |config|
10
10
  # config.status_expiration = 30
11
11
  # config.jobs_namespace = 'Jobs'
12
12
  # config.log = 'log/%s.log'
13
+ # config.slack_webhook = 'https://hooks.slack.com/services/...'
14
+ # config.slack_channel = '#debug'
15
+ # config.slack_user = 'Botly'
13
16
  # config.auth = 'admin:secret'
14
17
  end
@@ -10,3 +10,6 @@ export JOBLY_STATUS_EXPIRATION=30
10
10
  export JOBLY_JOBS_NAMESPACE=Jobs
11
11
  export JOBLY_LOG=Jobs
12
12
  export JOBLY_AUTH=admin:secret
13
+ export JOBLY_SLACK_WEBHOOK=https://hooks.slack.com/services/...
14
+ export JOBLY_SLACK_CHANNEL=#debug
15
+ export JOBLY_SLACK_USER=Botly
data/lib/jobly/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jobly
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jobly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-22 00:00:00.000000000 Z
11
+ date: 2019-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mister_bin
@@ -241,10 +241,14 @@ files:
241
241
  - lib/jobly/templates/minimal/Gemfile
242
242
  - lib/jobly/templates/minimal/jobs/ping.rb
243
243
  - lib/jobly/version.rb
244
- homepage: https://github.com/dannyben/jobly
244
+ homepage: https://jobly.dannyb.co/
245
245
  licenses:
246
246
  - MIT
247
- metadata: {}
247
+ metadata:
248
+ bug_tracker_uri: https://github.com/dannyben/jobly/issues
249
+ changelog_uri: https://github.com/DannyBen/jobly/blob/master/CHANGELOG.md
250
+ documentation_uri: https://jobly.dannyb.co/
251
+ source_code_uri: https://github.com/dannyben/jobly
248
252
  post_install_message:
249
253
  rdoc_options: []
250
254
  require_paths: