allora 0.0.6 → 0.0.7

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ff281f838230fe1451b49f7abfc6777bf7d5b81d
4
+ data.tar.gz: 9ae0d34c81ad01051b15b9ccd50e669e717aeb64
5
+ SHA512:
6
+ metadata.gz: 4ed7af5cd33bcf5e15fc60b209dd8c63078d22962bac70e4f2361d8a7ee8430e8a07171d319b805825539655e2d6c50306401e65c6f819175257eee4cde85078
7
+ data.tar.gz: 38df2e96d42d0c31ad62d5dd18d56be61de404a377ece63d8124f18e3e3a0ae352922707fe371f0e6c68c75e6b1c37358d894cd29f4e19ea5b87568c8e427972
@@ -85,9 +85,9 @@ module Allora
85
85
  run_at = int_to_time(redis.get(job_info_key(name)))
86
86
 
87
87
  if run_at <= time
88
- redis.multi
89
- redis.set(job_info_key(name), time_to_int(job.next_at(time)))
90
- redis.exec
88
+ redis.multi do
89
+ redis.set(job_info_key(name), time_to_int(job.next_at(time)))
90
+ end
91
91
  else
92
92
  redis.unwatch && false
93
93
  end
@@ -22,5 +22,5 @@
22
22
  ##
23
23
 
24
24
  module Allora
25
- VERSION = "0.0.6"
25
+ VERSION = "0.0.7"
26
26
  end
metadata CHANGED
@@ -1,34 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allora
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
5
- prerelease:
4
+ version: 0.0.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - d11wtq
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-04-25 00:00:00.000000000 Z
11
+ date: 2013-07-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: redis
16
- requirement: &70314336266220 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
- version_requirements: *70314336266220
25
- description: ! "Allora (Italian for \"at that time\") provides a replacement for the
26
- classic UNIX\n cron, using nothing but ruby. It is very small,
27
- easy to follow and relatively\n feature-light. It does support
28
- a locking mechanism, backed by Redis, or any\n other custom
29
- implementation, which makes it possible to run the scheduler on\n more
30
- than one server, without worrying about jobs executing more than once per\n scheduled
31
- time."
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: |-
28
+ Allora (Italian for "at that time") provides a replacement for the classic UNIX
29
+ cron, using nothing but ruby. It is very small, easy to follow and relatively
30
+ feature-light. It does support a locking mechanism, backed by Redis, or any
31
+ other custom implementation, which makes it possible to run the scheduler on
32
+ more than one server, without worrying about jobs executing more than once per
33
+ scheduled time.
32
34
  email:
33
35
  - chris@w3style.co.uk
34
36
  executables: []
@@ -53,27 +55,25 @@ files:
53
55
  - lib/allora/version.rb
54
56
  homepage: https://github.com/flippa/allora
55
57
  licenses: []
58
+ metadata: {}
56
59
  post_install_message:
57
60
  rdoc_options: []
58
61
  require_paths:
59
62
  - lib
60
63
  required_ruby_version: !ruby/object:Gem::Requirement
61
- none: false
62
64
  requirements:
63
- - - ! '>='
65
+ - - '>='
64
66
  - !ruby/object:Gem::Version
65
67
  version: '0'
66
68
  required_rubygems_version: !ruby/object:Gem::Requirement
67
- none: false
68
69
  requirements:
69
- - - ! '>='
70
+ - - '>='
70
71
  - !ruby/object:Gem::Version
71
72
  version: '0'
72
73
  requirements: []
73
74
  rubyforge_project: allora
74
- rubygems_version: 1.8.11
75
+ rubygems_version: 2.0.3
75
76
  signing_key:
76
- specification_version: 3
77
+ specification_version: 4
77
78
  summary: A ruby scheduler that keeps it simple, with support for distributed schedules
78
79
  test_files: []
79
- has_rdoc: