aipim-rails 0.0.169 → 0.0.172

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: b2c8f09713ca4089744e7c3a34a97ff4392ed351
4
- data.tar.gz: eb2aafd15c7a6e88149e2b7bfd80bc068aa46299
3
+ metadata.gz: d80f7dd94812105060e19234b6cd135910534c92
4
+ data.tar.gz: b99173f7b55e717f6206ff9c44efdc5bf4be48ef
5
5
  SHA512:
6
- metadata.gz: d55c67b214d0f8a632cc169cb73b63b8cd30d3b302f109d6e1d479978024acbf0ddd143090c8eade2799a0a2302bc08ad574b91db088867404c4efaae15f9b34
7
- data.tar.gz: 83ab7b6ede7c69f4e5d20a4712eb53508135c482ef4fbad8073f45e49197012d7b0c4b6343b07d76fc22cd64f5ad51adda170cb03b2fbad1b9e8dd4a83f9452f
6
+ metadata.gz: bb8ccd6e75836f0505f0f27ad2e112ee7b4917f1b48ef87ef053d6b02af7fb97cadc57ae10a1f86a121b2014520356f535b8a25e98ed6859abe79f43fc8ac484
7
+ data.tar.gz: f60f3a1eb4b0ef2799f70a007880a954f60ea6d62ae834d3de680480787163aa820d57fe5dd7b4562ae51c005f3c6095373e444176d094136ca6d2458d78711a
data/bin/aipim CHANGED
@@ -5,14 +5,12 @@ path = File.expand_path(File.dirname(__FILE__))+"/../"
5
5
  # pegar o nome dos arquivos das features
6
6
  def get_files
7
7
  files = []
8
- ARGV.each do |arg|
9
- ls = %x[ls ../features].split("\n")
10
- ls.each do |f|
11
- f = f.split("/")
12
- f.delete_at(0) if f[0] == "features"
13
- f = f[0]
14
- files << f if !(f =~ /.feature\z/).nil?
15
- end
8
+ ls = %x[ls features].split("\n")
9
+ ls.each do |f|
10
+ f = f.split("/")
11
+ f.delete_at(0) if f[0] == "features"
12
+ f = f[0]
13
+ files << f if !(f =~ /.feature\z/).nil?
16
14
  end
17
15
  files
18
16
  end
@@ -3,10 +3,9 @@ require 'aipim-rails/parser_helper'
3
3
  module Parser
4
4
 
5
5
  def self.init(filename)
6
- filename
6
+ parser(filename)
7
7
  end
8
8
 
9
-
10
9
  def self.tag_screenshot(line,file,workset)
11
10
  if line && ParserHelper.is_tag?(line) && ParserHelper.is_screenshot?(line)
12
11
  workset[:screenshot] = true
@@ -74,9 +73,9 @@ module Parser
74
73
  screenshot: false,
75
74
  screenshot_counter: 0,
76
75
  screenshots: screenshots,
77
- feature_name: nil,
76
+ feature_name: "",
78
77
  feature_description: [],
79
- context_name: nil,
78
+ context_name: "",
80
79
  context_description: [],
81
80
  scenarios: []
82
81
  }
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.169
4
+ version: 0.0.172
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facta TI