aipim-rails 0.0.172 → 0.0.174

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: d80f7dd94812105060e19234b6cd135910534c92
4
- data.tar.gz: b99173f7b55e717f6206ff9c44efdc5bf4be48ef
3
+ metadata.gz: cd9d280457c11e1e979480fedda1aa57254c095d
4
+ data.tar.gz: 3f679b64ecb5f3233f6f7d7688466c72a462d89a
5
5
  SHA512:
6
- metadata.gz: bb8ccd6e75836f0505f0f27ad2e112ee7b4917f1b48ef87ef053d6b02af7fb97cadc57ae10a1f86a121b2014520356f535b8a25e98ed6859abe79f43fc8ac484
7
- data.tar.gz: f60f3a1eb4b0ef2799f70a007880a954f60ea6d62ae834d3de680480787163aa820d57fe5dd7b4562ae51c005f3c6095373e444176d094136ca6d2458d78711a
6
+ metadata.gz: 996c074e11bdab42623b1ed84bfe5b4e0c14a1731bb46f6f33da2cd17fe43b4d9fb4cd5ec8bd2b45bff6dcd814bf1ef025e685ad071a2278ae792d7fc24bf2d1
7
+ data.tar.gz: dc341c14791f1b4723b3a306f9153da6503e1f8cec52f88ad10b55b6c509bd3d32f89109504ebc753a071f08c3b81930546ee8fd3a13cdc3686ec956b6f7415f
data/bin/aipim CHANGED
@@ -75,6 +75,7 @@ elsif ARGV[0] == 'html'
75
75
  %x[rm -f aipim/html/*.feature.html]
76
76
  # pega o nome das features
77
77
  files = get_files
78
+
78
79
  # recebe o features master
79
80
  features = []
80
81
  files.each do |f|
@@ -7,8 +7,8 @@ module Parser
7
7
  end
8
8
 
9
9
  def self.tag_screenshot(line,file,workset)
10
- if line && ParserHelper.is_tag?(line) && ParserHelper.is_screenshot?(line)
11
- workset[:screenshot] = true
10
+ if line && ParserHelper.is_tag?(line)
11
+ workset[:screenshot] = true if ParserHelper.is_screenshot?(line)
12
12
  line = ParserHelper::read_line(file)
13
13
  end
14
14
  return line, workset
@@ -105,7 +105,12 @@ module Parser
105
105
  end
106
106
 
107
107
  def self.get_screenshot_files(filename)
108
- %x[\ls aipim/screenshots/#{filename}].split("\n")
108
+ if File.directory?("aipim/screenshots/#{filename}")
109
+ ret = %x[\ls aipim/screenshots/#{filename}].split("\n")
110
+ else
111
+ ret = []
112
+ end
113
+ ret
109
114
  end
110
115
 
111
116
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aipim-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.172
4
+ version: 0.0.174
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facta TI