xcskarel 0.7.0 → 0.7.1
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/xcskarel +2 -3
- data/lib/xcskarel/version.rb +1 -1
- 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: 9989b96aa6ff52cf3fc52a82ec381ba4410d62f4
|
|
4
|
+
data.tar.gz: cd7fff217976a40c5405f96daf2ff3f043f5a77e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d32ad6a22b710bd163c14a188b4ff804bba907808204efe46fba78867979f86f9918c86307bb2831c9e82504d2f065848645d869fe4fcb256c9d76cf22b12bd9
|
|
7
|
+
data.tar.gz: 35443b16521422e86b5f183a22c6ba1689385bf265e3dc13c0e4e096f72de0f20779cacf89e14e4b53b52f280b3cb1dfde6d155ad6d353de2761f42af1ad3aa5
|
data/bin/xcskarel
CHANGED
|
@@ -43,12 +43,11 @@ class XCSKarelApplication
|
|
|
43
43
|
server = create_server_from_options(options)
|
|
44
44
|
all_bots = server.get_bots
|
|
45
45
|
# create Bot instances
|
|
46
|
-
bot_objs = all_bots.map { |json| XCSKarel::Bot.new(json) }
|
|
47
|
-
bot_files = bot_objs.map { |bot| name = "./xcskarel/#{bot.json['_id']}.json"; bot.to_file(name); name }
|
|
46
|
+
# bot_objs = all_bots.map { |json| XCSKarel::Bot.new(json) }
|
|
47
|
+
# bot_files = bot_objs.map { |bot| name = "./xcskarel/#{bot.json['_id']}.json"; bot.to_file(name); name }
|
|
48
48
|
unless options.no_filter
|
|
49
49
|
all_bots = XCSKarel::Filter.filter_key_paths(all_bots, ['name', '_id'])
|
|
50
50
|
end
|
|
51
|
-
binding.pry
|
|
52
51
|
out = options.no_pretty ? JSON.generate(all_bots) : JSON.pretty_generate(all_bots)
|
|
53
52
|
puts out
|
|
54
53
|
end
|
data/lib/xcskarel/version.rb
CHANGED