tomograph 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/exe/tomograph +6 -2
- data/lib/tomograph/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: e96adfae5efd5ca49a20ff4716777a1f52172bbc
|
4
|
+
data.tar.gz: 6f29c27c133e5c3afda0068b4bd3687910234e0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4ac3af665940430ae0c75c677825f045948f85547855379c272909a75a751701087a142c2217895121ee5929d032bb1a35b716d30fd5027473ff57e5ca06804
|
7
|
+
data.tar.gz: b56a42fccd8fd628a8017a7cea85c6369889c3a797b6e27db74292b6ae75cc5e170ae6dd95304f6136b8258576412b9ea5f551866557c4d8686f39bd861abaf2
|
data/CHANGELOG.md
CHANGED
data/exe/tomograph
CHANGED
@@ -51,8 +51,12 @@ end
|
|
51
51
|
def write_split_json(actions, output)
|
52
52
|
FileUtils.mkdir_p(output)
|
53
53
|
actions.clone.each do |action|
|
54
|
-
json_name = "#{action.delete("path").to_s} #{action.delete("method")}"
|
55
|
-
|
54
|
+
json_name = "#{action.delete("path").to_s} #{action.delete("method")}.json"
|
55
|
+
[['/', ':'],
|
56
|
+
['{', '('],
|
57
|
+
['}', ')']].each do |pattern, replacement|
|
58
|
+
json_name.gsub!(pattern, replacement)
|
59
|
+
end
|
56
60
|
write_json(action, File.join(output, json_name))
|
57
61
|
end
|
58
62
|
end
|
data/lib/tomograph/version.rb
CHANGED