rpdoc 0.1.15 → 0.1.16

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
  SHA256:
3
- metadata.gz: a1aefef23fd434bcdaf54e5f5410fff34ae86c53a4d3f2a795b06554311c2f67
4
- data.tar.gz: bc37d48a0756e244f275412494db34ebd500462346c5956dfed39868f843b707
3
+ metadata.gz: 3332b67613587936b3b88b4f35fb1e78621faf65623f35e46b45e73c5b8bb221
4
+ data.tar.gz: 7d1b22cf5313d4ad91f2e470e67c157b61f4e1f00f1bfb9b912c1f357fcf6023
5
5
  SHA512:
6
- metadata.gz: 4a1e38d33361a4934dc65176d65bca4a2c8fc872da02c7a1daf82c515c34043e6514682c7aa0975c2480a2076268b74ff14e33e4a3613d8d9a9e99613f9c5c1b
7
- data.tar.gz: a0777048f84cfde4a0bfd6ce6c3d8d161f80c0f9280900dda449c34c6eb7317730afc171e3665fa64f9e3cc77121907dc84a28979154624923269632041aeb24
6
+ metadata.gz: 3067394739da8951ec0bbab2028c5b765dce497dd34feeca00ea3325d01e6717e3f418a4957936ac81843ffb6212172d2e6a4a85e1a351f62384cba0723251b6
7
+ data.tar.gz: 9b21d3ba8cb79e13f1f5dfef58a155cde0edb1e8f861402f516f68b16dfe7def15e8f59b4b4c89e85e733150b378547b8479cee73ce5ea3795c3231d7c51055c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## [0.1.16] - 2023-06-01
2
+ - Fix default rpdoc_example_folders bug.
3
+
1
4
  ## [0.1.15] - 2023-05-18
2
5
  - Add gitlab templates.
3
6
  - Update gemspec.
data/VERSION.md CHANGED
@@ -1 +1 @@
1
- 0.1.15
1
+ 0.1.16
data/lib/rpdoc/helper.rb CHANGED
@@ -30,7 +30,7 @@ RSpec.shared_context 'rpdoc' do
30
30
  example.metadata[:rpdoc_action_name] ||= controller.action_name
31
31
  example.metadata[:rpdoc_example_key] ||= example.metadata[:description].underscore
32
32
  example.metadata[:rpdoc_example_name] ||= example.metadata[:description]
33
- example.metadata[:rpdoc_example_folders] ||= controller.controller_path.split('/')
33
+ example.metadata[:rpdoc_example_folders] ||= controller.class.controller_path.split('/')
34
34
 
35
35
  postman_response = Rpdoc::PostmanResponse.new(example, request, response)
36
36
  postman_response.save
data/lib/rpdoc/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rpdoc
4
- VERSION = "0.1.15"
4
+ VERSION = "0.1.16"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - yuntai
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-18 00:00:00.000000000 Z
11
+ date: 2023-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_requester