flaky 0.1.0 → 0.1.1

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: 9421ff9ef34076e88d0b894f570fc5d1560322ff
4
- data.tar.gz: 3c1edb28ce8cfffe5e5a2cfcde4129653fd0e3cf
3
+ metadata.gz: d5f94aa17cb93d97950dec074ca80ad912b61c9b
4
+ data.tar.gz: 405486923ed99be2c3a0165e5ba8b3300b0169ac
5
5
  SHA512:
6
- metadata.gz: 0c16687f1d4185b021f7d97c4cb7a3de2d8127a3e7dee2fa6c19c2798ba820c87792705019fa69f4ae6c538e93b0ad5c4c28fc38ad862b69c1ec9f1fa9092e77
7
- data.tar.gz: 48e1860b24d2c53d2e2a1ea9ec9cde63665866e8b37225d967b8267771b5632828dafd8bb5846827b6eae0642985bc9a14574d0e2b8f90c3101cc4cfb8cb043d
6
+ metadata.gz: 176333a8a05f759a6017ed360cbcef1ed74f41c23476c514640e76ef935dc5a853d68ae41e7a4aec96c0b7c6cccacd178685b82afd9123fd0b6716f7cf415683
7
+ data.tar.gz: 1b66ac9b571df99316574fc7438e950a670230354a85eef8a52412fd7b779f1f45ce15e0fa41d7cfcfaa3f1122123ce7a41712a779fe6e03b4cc4574288ad739
data/bin/flake CHANGED
@@ -18,10 +18,12 @@ MSG
18
18
 
19
19
  args = ARGV
20
20
 
21
- disable_video = args.index '--no-video'
22
- if disable_video != nil
21
+ video = args.index '--video'
22
+ if video != nil
23
+ Flaky.no_video = false
24
+ args.delete_at(video) # remove flag from args
25
+ else
23
26
  Flaky.no_video = true
24
- args.delete_at(disable_video) # remove flag from args
25
27
  end
26
28
 
27
29
  Flaky.no_video = true if ENV['SAUCE_USERNAME'] && ENV['SAUCE_ACCESS_KEY']
data/lib/flaky.rb CHANGED
@@ -10,8 +10,8 @@ require 'digest/md5'
10
10
  require 'toml'
11
11
 
12
12
  module Flaky
13
- VERSION = '0.1.0' unless defined? ::Flaky::VERSION
14
- DATE = '2014-04-30' unless defined? ::Flaky::DATE
13
+ VERSION = '0.1.1' unless defined? ::Flaky::VERSION
14
+ DATE = '2014-05-19' unless defined? ::Flaky::DATE
15
15
 
16
16
  class << self; attr_accessor :no_video; end
17
17
  self.no_video = false; # set default value
@@ -33,7 +33,11 @@ module Flaky
33
33
  raise "#{test_file} does not exist." unless File.exist?(test_file)
34
34
  test_file = File.expand_path test_file
35
35
 
36
- test_name = test_file.sub(File.expand_path(File.join(current_dir, active_dir), ''))
36
+ test_name = test_file.sub(File.expand_path(File.join(current_dir, active_dir)), '')
37
+
38
+ # remove leading /
39
+ test_name.sub!(test_name.match(/^\//).to_s, '')
40
+
37
41
  test_name = File.join(File.dirname(test_name), File.basename(test_name, '.*'))
38
42
 
39
43
  count.times do
data/release_notes.md CHANGED
@@ -1,3 +1,16 @@
1
+ #### v0.1.0 2014-04-30
2
+
3
+ - [f8a79a4](https://github.com/appium/flaky/commit/f8a79a47fe01bd0e1f9e668b0a97d7d9ba6d41b7) Release 0.1.0
4
+ - [0fee9fe](https://github.com/appium/flaky/commit/0fee9fe9b830573d80c707725acef229df58375e) Fix test names
5
+ - [6742eee](https://github.com/appium/flaky/commit/6742eeec8c9febc118a0c771d27401d3487e26d2) Update exist check
6
+ - [0f45df9](https://github.com/appium/flaky/commit/0f45df99b19b81aeb221ab4fadcf4d50cf7e8826) Enable flaky.txt for all_tests run mode
7
+ - [3203d63](https://github.com/appium/flaky/commit/3203d63874c98888ebe5ef1b842f658ab8cc7abc) Update readme.md
8
+ - [add1220](https://github.com/appium/flaky/commit/add12203ed41f18f4f18a37e42f798fdc69a49ca) Fix no_video crash
9
+ - [552db94](https://github.com/appium/flaky/commit/552db94887ec688e094409016ddb3b46319a2e57) Android coverage and iOS video fix
10
+ - [4f2422e](https://github.com/appium/flaky/commit/4f2422e9ba23171aaba3838bdac8070cbf5b9832) Update readme.md
11
+ - [031f562](https://github.com/appium/flaky/commit/031f56218a07720f971e95a9aa706c66adf62acd) Use .sync instead of .flush
12
+
13
+
1
14
  #### v0.0.31 2014-01-29
2
15
 
3
16
  - [fc6bb10](https://github.com/appium/flaky/commit/fc6bb107661869ff93a34a7947488ac904c3c0c5) Release 0.0.31
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.1.0
4
+ version: 0.1.1
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: 2014-04-30 00:00:00.000000000 Z
11
+ date: 2014-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chronic_duration