belzebuth 0.1.0 → 0.2.0

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
  SHA1:
3
- metadata.gz: 7fdfe65feb3e1f1e0a250de4382d6107932c01bd
4
- data.tar.gz: 2db9f0e00ba697f17a9ed49804c217be042fa52b
3
+ metadata.gz: 7845baec2298ad873385192a396d988b9aa971ad
4
+ data.tar.gz: 98b9e9dabd808aa68585182027d7d7996e6a4b18
5
5
  SHA512:
6
- metadata.gz: 2dfc173e1ec836c6a486626017142640e55be7748b7355f2fb0a966651e14b4776f466b53fe3759d7c5bc5be99284030186ddafbc9c6961b81980328e4c59b79
7
- data.tar.gz: 43725a442aa9ddc0deda347899e4d6dfc22971b134d375801a1c7257d4e104cfa2504a99995b4e3dfa27d878e1ef118fb6fa258ee656faa56203bfd9e9a8a6e3
6
+ metadata.gz: 1ee58de2345c179e106f575080e96a62623005ba49790a2133dc65c0d26ec988d3b00e164bb22db06c407e8ba54a77bd1252722f68d68bda0771a65fac62670b
7
+ data.tar.gz: 59fc91680a8e1cf49e81dfe5d1aca79baa3eb60c0808b91e5841b0569e92563ee716727a6bacec11ca1f5de1c1a945d61329cd5e270d7bea321cfde4637b443c
@@ -1,5 +1,6 @@
1
1
  sudo: false
2
2
  language: ruby
3
+ jdk: oraclejdk8
3
4
  rvm:
4
- - 1.9.3
5
+ - jruby-1.7.2
5
6
  before_install: gem install bundler -v 1.14.5
data/README.md CHANGED
@@ -39,3 +39,4 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/ph/bel
39
39
 
40
40
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
41
 
42
+
@@ -1,3 +1,3 @@
1
1
  module Belzebuth
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -5,6 +5,7 @@ require "belzebuth/wait_condition/regular_expression"
5
5
  require "belzebuth/wait_condition/closure"
6
6
  require "belzebuth/wait_condition/blocking"
7
7
  require "belzebuth/wait_condition/timed"
8
+ require "belzebuth/wait_condition/file_exist"
8
9
  require "uri"
9
10
 
10
11
  module Belzebuth
@@ -0,0 +1,13 @@
1
+ # encoding: utf-8
2
+ require "belzebuth/wait_condition/base"
3
+ module Belzebuth module WaitCondition
4
+ class FileExist
5
+ def initialize(file)
6
+ @file = file
7
+ end
8
+
9
+ def call(process)
10
+ File.exist?(file)
11
+ end
12
+ end
13
+ end end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: belzebuth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pier-Hugues Pellerin
@@ -108,6 +108,7 @@ files:
108
108
  - lib/belzebuth/wait_condition/base.rb
109
109
  - lib/belzebuth/wait_condition/blocking.rb
110
110
  - lib/belzebuth/wait_condition/closure.rb
111
+ - lib/belzebuth/wait_condition/file_exist.rb
111
112
  - lib/belzebuth/wait_condition/regular_expression.rb
112
113
  - lib/belzebuth/wait_condition/timed.rb
113
114
  homepage: http://github.com/ph/belzebuth