run_every 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/run_every.rb +3 -2
  2. metadata +16 -6
data/lib/run_every.rb CHANGED
@@ -21,14 +21,15 @@ class RunEvery
21
21
  end
22
22
 
23
23
  def minutes
24
- puts 'mins'
25
24
  start_timer(@interval * 60, &blk)
26
25
  end
27
26
 
28
27
  def seconds(&blk)
29
- puts 'seconds'
30
28
  start_timer(@interval, &blk)
31
29
  end
30
+
31
+ alias second seconds
32
+ alias minute minutes
32
33
 
33
34
  private
34
35
 
metadata CHANGED
@@ -2,18 +2,28 @@
2
2
  name: run_every
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.5
5
+ version: 0.1.6
6
6
  platform: ruby
7
- authors: []
8
-
7
+ authors:
8
+ - James Robertson
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-04 00:00:00 +01:00
13
+ date: 2012-01-12 00:00:00 +00:00
14
14
  default_executable:
15
- dependencies: []
16
-
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: xthreads
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: "0"
25
+ type: :runtime
26
+ version_requirements: *id001
17
27
  description:
18
28
  email:
19
29
  executables: []