aipim-rails 0.0.179 → 0.0.181
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 +4 -4
- data/bin/aipim +12 -9
- data/lib/aipim-rails/html.rb +9 -3
- data/lib/webdriver/screenshot.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2efaa4af9200648b33b27af3f72057130719c82c
|
4
|
+
data.tar.gz: 397acdcd7b76b9db5e57c2ba7f91224cf3fe89c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ae21dee85af1c6ea320890ea255b46b3316525a770f8dc1b5cc77251d9bf94a3af22f52386026fe6b5da54c5d5f6ef341f0a00eb3d4797707d97d00c5a73695
|
7
|
+
data.tar.gz: f82eb20c368cf44799db39e5ea419ae5455d5d2d85f19bdb3344dd28169d976da16f501ce52f872917b9f897cbb7b3d618a4d143f2e9269517a3fb39aeeeb031
|
data/bin/aipim
CHANGED
@@ -4,15 +4,18 @@ require 'aipim-rails'
|
|
4
4
|
path = File.expand_path(File.dirname(__FILE__))+"/../"
|
5
5
|
# pegar o nome dos arquivos das features
|
6
6
|
def get_files
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
7
|
+
files = []
|
8
|
+
ARGV.delete_at(0)
|
9
|
+
ARGV.each do |arg|
|
10
|
+
ls = %x[ls #{arg}].split("\n")
|
11
|
+
ls.each do |f|
|
12
|
+
f = f.split("/")
|
13
|
+
f.delete_at(0) if f[0] == "features"
|
14
|
+
f = f[0]
|
15
|
+
files << f if !(f =~ /.feature\z/).nil?
|
16
|
+
end
|
17
|
+
end
|
18
|
+
files
|
16
19
|
end
|
17
20
|
|
18
21
|
if ARGV[0] == 'generate'
|
data/lib/aipim-rails/html.rb
CHANGED
@@ -110,11 +110,17 @@ module Html
|
|
110
110
|
|
111
111
|
output.puts '
|
112
112
|
</ul>
|
113
|
-
</div>
|
114
|
-
|
113
|
+
</div>'
|
114
|
+
|
115
|
+
if scenario[:screenshot]
|
116
|
+
|
117
|
+
output.puts '
|
115
118
|
<div class="panel-footer scenario-screenshot">
|
116
119
|
<a href="../screenshots/'+feature[:filename]+'/'+scenario[:screenshot]+'"><img src="../screenshots/'+feature[:filename]+'/'+scenario[:screenshot]+'" /></a>
|
117
|
-
</div>
|
120
|
+
</div>'
|
121
|
+
end
|
122
|
+
|
123
|
+
output.puts '
|
118
124
|
</div>'
|
119
125
|
|
120
126
|
end
|
data/lib/webdriver/screenshot.rb
CHANGED
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.
|
4
|
+
version: 0.0.181
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Facta TI
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
79
|
rubyforge_project:
|
80
|
-
rubygems_version: 2.0.
|
80
|
+
rubygems_version: 2.0.7
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Teste aipim
|