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 +4 -4
- data/lib/swagger_yard/operation.rb +2 -2
- data/lib/swagger_yard/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: 15d5836beac3af1865cfb811b531d4b3998cc5d4
|
4
|
+
data.tar.gz: b2017de06dd82f00ffeacb4dbf16fe2399e22b09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/swagger_yard/version.rb
CHANGED