oas_rails 0.17.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d60145b23d4b27b3fc5f1f58e024cb4ea0df37c6d10932d64b9bc5ce08641e83
4
- data.tar.gz: '099cce8d88c18549bded9eaa2e3f4b9176a1a934f2a511bb3d6af567c18822ed'
3
+ metadata.gz: dfa0787c34b55b3a16ad7d606cee9c950c2d6b8bbefd0ff7529ed44fcd63b4b8
4
+ data.tar.gz: ebf135745a3c80267567e6eddc3064f25c89527cb155d0654fb94bcf9ca52b32
5
5
  SHA512:
6
- metadata.gz: 5bb4524c0f29f381c9e1fa3b351bbb5a860e05a71e83fa7298ec62b68a39f6a2b2a8c21057e1f0a262482d4e565be4e33ff79b490aff2539d074a98dc5506199
7
- data.tar.gz: 22f0679476e47e8e72a7fd77c68d944a75b68fd8b004c030676a84ab8a008433d17530d1a985b75ffdebb55ce56795bf7c14679d65ade303c65732ffe705dfec
6
+ metadata.gz: 770939ee5caeb0bfae558a7479e2f0f94ca74b9880f5645ae5a1e0db06bd5c4243c939a63cd4a267e3ff8b85ef003b073f20a8c82240af8391fd89637a92447b
7
+ data.tar.gz: b71703565f950bc1b48dac836ce4e77a1627364f6ed9068bd565a97a46617ae576a6a01cf33661be9faf9825e03db32c6da65ee3f8213407e2e1966a10ea52e3
data/README.md CHANGED
@@ -23,7 +23,7 @@ Explore the interactive documentation live:
23
23
  <https://vimeo.com/1013687332>
24
24
  🎬
25
25
 
26
- ![Screenshot](https://a-chacon.com/assets/images/oas_rails_ui.png)
26
+ ![Screenshot](https://a-chacon.com/oas_core/assets/rails_theme.png)
27
27
 
28
28
  ## Related Projects
29
29
 
@@ -11,10 +11,7 @@ module OasRails
11
11
 
12
12
  def build
13
13
  OasCore::OasRoute.new(
14
- controller_class: controller_class,
15
- controller_action: controller_action,
16
14
  controller: controller,
17
- controller_path: controller_path,
18
15
  method_name: method,
19
16
  verb: verb,
20
17
  path: path,
@@ -30,18 +27,10 @@ module OasRails
30
27
  "#{@rails_route.defaults[:controller].camelize}Controller"
31
28
  end
32
29
 
33
- def controller_action
34
- "#{controller_class}##{@rails_route.defaults[:action]}"
35
- end
36
-
37
30
  def controller
38
31
  @rails_route.defaults[:controller]
39
32
  end
40
33
 
41
- def controller_path
42
- Rails.root.join("app/controllers/#{controller}_controller.rb").to_s
43
- end
44
-
45
34
  def method
46
35
  @rails_route.defaults[:action]
47
36
  end
@@ -1,3 +1,3 @@
1
1
  module OasRails
2
- VERSION = "0.17.0"
2
+ VERSION = "0.17.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oas_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - a-chacon
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 0.4.0
32
+ version: 0.5.2
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.4.0
39
+ version: 0.5.2
40
40
  description: OasRails is a Rails engine for generating automatic interactive documentation
41
41
  for your Rails APIs. It generates an OAS 3.1 document and displays it using RapiDoc.
42
42
  email: