swagger_yard 0.3.4 → 0.3.5

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: fbaa9b5d7d53b11b910f876553fba88c5b7aa906
4
- data.tar.gz: e784d091c73324be6644fba2c711663645758713
3
+ metadata.gz: 15d5836beac3af1865cfb811b531d4b3998cc5d4
4
+ data.tar.gz: b2017de06dd82f00ffeacb4dbf16fe2399e22b09
5
5
  SHA512:
6
- metadata.gz: c0321da037d482c008f53b75b7db60bc0d8db507faefb46b4e8853654d49d0c45f0182fbc0fbdabaeeec08b6457d787e9909114992a995311670907d28645419
7
- data.tar.gz: e8b9724266bfdf98d7bdaab4963695cea48833754dcbd0e0bc524dc74889ea091d69e39468dbbff0743144084db9b4165a530e15477d656399811025f42bcc4b
6
+ metadata.gz: 1ca5f85cf9b7543be72fee44ef44852d71947fd7ed20a34363666b540d3e441415ac2ce11b2aacee2a8e1460d298887152ff7972f87dd92065eebc302bbb3bdb
7
+ data.tar.gz: 2d87279b97f90bd3b69b7af502601c2013b62add6487d7d0ba2d7d661bab3341b64fc0ccf40e51afda8aedd54e9464a0d006e8f36fda07e52b440bb5cbdf447c
@@ -79,8 +79,8 @@ module SwaggerYard
79
79
  # unavailable or constant is not defined, catch exception and skip these
80
80
  # attributes.
81
81
  begin
82
- h["x-controller"] = api_decl.class_name.constantize.controller_path
83
- h["x-action"] = ruby_method
82
+ h["x-controller"] = api_decl.class_name.constantize.controller_path.to_s
83
+ h["x-action"] = ruby_method.to_s
84
84
  rescue NameError, NoMethodError
85
85
  end
86
86
  end
@@ -1,3 +1,3 @@
1
1
  module SwaggerYard
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagger_yard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - chtrinh (Chris Trinh)