enat 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -3
- data/lib/enat/version.rb +2 -2
- metadata +2 -2
data/README.markdown
CHANGED
@@ -4,6 +4,9 @@ Every Now And Then
|
|
4
4
|
It's quite simple, really - it lets you do something every specified interval of time. When supplied with a block, it
|
5
5
|
yields the iteration count (starts at zero).
|
6
6
|
|
7
|
+
It requires 'active_support/time', so as to allow time intervals to be specified as 5.seconds, 6.7.days, etc. The 'every'
|
8
|
+
method accepts integers or floats.
|
9
|
+
|
7
10
|
If the operation inside the block takes longer than the specified interval, then the next iteration will begin
|
8
11
|
immediately after the last.
|
9
12
|
|
@@ -20,8 +23,6 @@ Examples
|
|
20
23
|
end
|
21
24
|
|
22
25
|
Installation
|
23
|
-
|
26
|
+
============
|
24
27
|
|
25
|
-
$ bundle install
|
26
|
-
$ gem build enat.gemspec
|
27
28
|
$ gem install enat
|
data/lib/enat/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Enat
|
2
|
-
VERSION = "0.1.
|
3
|
-
end
|
2
|
+
VERSION = "0.1.1"
|
3
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|