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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68dab30fa771c79b9648e319ced4bd2264ba4d71
4
- data.tar.gz: a5d4bf4ca5be0c68fcbdb2bf38d092206ad09798
3
+ metadata.gz: e96adfae5efd5ca49a20ff4716777a1f52172bbc
4
+ data.tar.gz: 6f29c27c133e5c3afda0068b4bd3687910234e0c
5
5
  SHA512:
6
- metadata.gz: bb450d6411f3ea0afc48bd46eab99bef42de95c0f83c1864d1616f348e8ad577ec6e4f33b414e2eba16a06d6cb5a82a56beb17fe0be5921d4c9c8113b936330e
7
- data.tar.gz: 625cacbfcd9489612496aa2e1f594f860648301924df7bca407a27a2c00ededac727a336c780a6c2ef36cf64c76e3ef5ab40805b215cb81416ceb88141c26768
6
+ metadata.gz: a4ac3af665940430ae0c75c677825f045948f85547855379c272909a75a751701087a142c2217895121ee5929d032bb1a35b716d30fd5027473ff57e5ca06804
7
+ data.tar.gz: b56a42fccd8fd628a8017a7cea85c6369889c3a797b6e27db74292b6ae75cc5e170ae6dd95304f6136b8258576412b9ea5f551866557c4d8686f39bd861abaf2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ### 2.4.1 - 2018-11-9
4
+
5
+ * bug fixes
6
+ * use parens for IDs in JSON filenames
7
+
3
8
  ### 2.4.0 - 2018-11-9
4
9
 
5
10
  * features
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")}".gsub('/', ':') +
55
- '.json'
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
@@ -1,3 +1,3 @@
1
1
  module Tomograph
2
- VERSION = '2.4.0'.freeze
2
+ VERSION = '2.4.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomograph
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.efimov