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 +4 -4
- data/bin/aipim +1 -0
- data/lib/aipim-rails/parser.rb +8 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd9d280457c11e1e979480fedda1aa57254c095d
|
4
|
+
data.tar.gz: 3f679b64ecb5f3233f6f7d7688466c72a462d89a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 996c074e11bdab42623b1ed84bfe5b4e0c14a1731bb46f6f33da2cd17fe43b4d9fb4cd5ec8bd2b45bff6dcd814bf1ef025e685ad071a2278ae792d7fc24bf2d1
|
7
|
+
data.tar.gz: dc341c14791f1b4723b3a306f9153da6503e1f8cec52f88ad10b55b6c509bd3d32f89109504ebc753a071f08c3b81930546ee8fd3a13cdc3686ec956b6f7415f
|
data/bin/aipim
CHANGED
data/lib/aipim-rails/parser.rb
CHANGED
@@ -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)
|
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
|
-
|
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
|