smogon_dex 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/smogon_dex +8 -11
- 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: 71f49acfd1737f7f05d5289bce46bdf659221639
|
4
|
+
data.tar.gz: b251e4fc08635b1d425eed69e7493b7d7558b895
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e176af8a3bbb68acce1cf319ffcffcbac128f0d71bbce0b821da3133d109fc732be0439a25fe3ff10d1295ff014462816cdf21dce7de682aded0a3216c96a28
|
7
|
+
data.tar.gz: ee0e1ba4a0e53708aaafceecde2e132edc87c9b4ba6dd64565c44dc767f707dc2a79373b6074e4e04f05c7a6961f460f576cc06f51b741b916e55dd69b6e47ed
|
data/bin/smogon_dex
CHANGED
@@ -5,18 +5,15 @@ include SmogonDex
|
|
5
5
|
gen, search_catagory = nil
|
6
6
|
|
7
7
|
ARGV.each do |arg|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
ARGV.delete! arg
|
13
|
-
end
|
8
|
+
Generations.each do |generation|
|
9
|
+
if arg == "--#{generation}" and gen.nil?
|
10
|
+
gen = generation
|
11
|
+
ARGV.delete! arg
|
14
12
|
end
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
end
|
13
|
+
Catagories.each do |catagory|
|
14
|
+
if arg == "--#{catagory}" and search_catagory.nil?
|
15
|
+
search_catagory = catagory
|
16
|
+
ARGV.delete! arg
|
20
17
|
end
|
21
18
|
end
|
22
19
|
end
|