flaky 0.0.15 → 0.0.16

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 814d8119a05329833700427fea7887b139bc28c4
4
- data.tar.gz: 0eab2db86f250b57daac494f77146d9de5e336bc
3
+ metadata.gz: 1e85d81f9e7ad261be0cff5ab059fa1b5c2492d6
4
+ data.tar.gz: 287c4adf9b939e1a767583c9ae5aaf003a4aa9f0
5
5
  SHA512:
6
- metadata.gz: cf645eb730fa486416d96b69c5db0b6869c375f4fcda4a7997aeb6f5e1acf64c7b3ae7a7b51ed4b5d72455e5fe8766e030da16200d81f126a1934d4c560d5097
7
- data.tar.gz: f678c427c7eed2cbcc2e6d40b6adc601ed043220ccdba65df29e80d6e004698f3c9768dc7238cc8550b3afa0e20e4597ed66789df86450644d2581691771864f
6
+ metadata.gz: 8e544470b5663a3f3ac816d0fc945b512c2ae443353e598ed9581b48be0bd7b4652605e365948b69df850a94c4ce8d506548ce3d202befb31268468e202b5866
7
+ data.tar.gz: 7d695c71580ab151b30da17274498b3dd143724d3a58cb895626bed521e1d11229f24f5b31b27ed75c5b14a8e6e82bb5c6fff0a64935e3aba38e659f438a84ef
data/lib/flaky.rb CHANGED
@@ -9,8 +9,8 @@ require 'posix/spawn' # http://rubygems.org/gems/posix-spawn
9
9
  require 'digest/md5'
10
10
 
11
11
  module Flaky
12
- VERSION = '0.0.15' unless defined? ::Flaky::VERSION
13
- DATE = '2013-12-05' unless defined? ::Flaky::DATE
12
+ VERSION = '0.0.16' unless defined? ::Flaky::VERSION
13
+ DATE = '2013-12-09' unless defined? ::Flaky::DATE
14
14
 
15
15
  # https://github.com/appium/ruby_lib/blob/0e203d76610abd519ba9d2fe9c14b50c94df5bbd/lib/appium_lib.rb#L24
16
16
  def self.add_to_path file, path=false
@@ -25,6 +25,7 @@ module Flaky
25
25
  test_name = File.join(File.dirname(test_name), File.basename(test_name, '.*'))
26
26
 
27
27
  count.times do
28
+ File.open('/tmp/flaky/current.txt', 'a') { |f| f.puts "Running: #{test_name} on #{os}" }
28
29
  appium.start
29
30
  run_cmd = "cd #{current_dir}; rake #{os.downcase}['#{name}']"
30
31
  passed = flaky.execute run_cmd: run_cmd, test_name: test_name, appium: appium
@@ -26,7 +26,7 @@ module Flaky
26
26
  file = test_file
27
27
  end
28
28
 
29
- raise "#{test_file} does not exist." if file.empty?
29
+ raise "#{file} does not exist." if file.empty?
30
30
 
31
31
  test_name = file.sub(current_dir + '/appium/', '')
32
32
  test_name = File.join(File.dirname(test_name), File.basename(test_name, '.*'))
data/release_notes.md CHANGED
@@ -1,3 +1,11 @@
1
+ #### v0.0.15 2013-12-05
2
+
3
+ - [5397189](https://github.com/appium/flaky/commit/539718980a1c1578da63c30f773e5c249415b2b9) Release 0.0.15
4
+ - [62aa23a](https://github.com/appium/flaky/commit/62aa23a99d3e18c39bc47c0a3075f803aabc7d1b) Update readme.md
5
+ - [c6b5e9c](https://github.com/appium/flaky/commit/c6b5e9cda34d76d4edf149eb90c7776a4cf23b2c) Add run from file option
6
+ - [37ed2c8](https://github.com/appium/flaky/commit/37ed2c89b78449f0c91b5582551f11de94435b83) Update todo.md
7
+
8
+
1
9
  #### v0.0.14 2013-11-22
2
10
 
3
11
  - [6f21c6f](https://github.com/appium/flaky/commit/6f21c6fb899628a41e5e98e2a837e376222edf5c) Release 0.0.14
data/todo.md CHANGED
@@ -8,3 +8,11 @@
8
8
  ```ruby
9
9
  lines.split("\n").each { |l| puts File.basename(l.split(',').first) }; nil
10
10
  ```
11
+
12
+ - Aggregate common errors
13
+
14
+ ```ruby
15
+ Dir.glob('/tmp/flaky/fail/**/*') { |f| puts f if File.file?(f) && File.readlines(f).to_s.include?('Object.afterWrite') }
16
+
17
+ Dir.glob('/tmp/flaky/fail/**/*') { |f| puts f if File.file?(f) && File.readlines(f).to_s.include?('target application appears to have died') }
18
+ ```
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flaky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-05 00:00:00.000000000 Z
11
+ date: 2013-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chronic_duration