chicanery 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Gemfile.lock +1 -1
  2. data/lib/chicanery.rb +5 -1
  3. metadata +3 -3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chicanery (0.0.9)
4
+ chicanery (0.1.0)
5
5
  nokogiri (~> 1)
6
6
 
7
7
  GEM
data/lib/chicanery.rb CHANGED
@@ -16,7 +16,7 @@ module Chicanery
16
16
  include Handlers
17
17
  include StateComparison
18
18
 
19
- VERSION = "0.0.9"
19
+ VERSION = "0.1.0"
20
20
 
21
21
  def poll_period seconds=nil
22
22
  @poll_period = seconds if seconds
@@ -25,6 +25,10 @@ module Chicanery
25
25
 
26
26
  def execute args
27
27
  load args.shift
28
+ run_every poll_period
29
+ end
30
+
31
+ def run_every poll_period
28
32
  begin
29
33
  loop do
30
34
  run
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chicanery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  segments:
179
179
  - 0
180
- hash: 3346665369497425707
180
+ hash: -1168261720268673254
181
181
  required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  version: '0'
187
187
  segments:
188
188
  - 0
189
- hash: 3346665369497425707
189
+ hash: -1168261720268673254
190
190
  requirements: []
191
191
  rubyforge_project:
192
192
  rubygems_version: 1.8.23