rswagger 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3efe4d1d175695a9afdfaabf08a529f10811b9abef934edba5d60d3ba497f472
4
+ data.tar.gz: c1c0c29146a6445dc9f0c302ca64c43a3e769640093f84086cd7e6f14adce590
5
+ SHA512:
6
+ metadata.gz: 6a41d0989ef7467396ad9d9fe6c28ff1a03b8836de8884355127bc4b73621afce61a40785883d6b3a4ef13c17daa13c99fa365f025f6bef20ed4b50a0c79cf9a
7
+ data.tar.gz: '0762780110083b7a734bb225f31941eb4fd17e5d7528150a4311eca2e403d70b84bd76988a7a6acb4dfa8a3c152a0e66d9b286de7b23ed8652703c421ee603b5'
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2015 domaindrivendev
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,10 @@
1
+ Description:
2
+ Adds a Swagger to your Rails API
3
+
4
+ Example:
5
+ rails generate rswag:install
6
+
7
+ This will create:
8
+ spec/swagger_helper.rb
9
+ config/initializers/rswag-api.rb
10
+ config/initializers/rswag-ui.rb
@@ -0,0 +1,12 @@
1
+ require 'rails/generators'
2
+
3
+ module Rswag
4
+ class InstallGenerator < Rails::Generators::Base
5
+
6
+ def install_components
7
+ generate 'rswag:specs:install'
8
+ generate 'rswag:api:install'
9
+ generate 'rswag:ui:install'
10
+ end
11
+ end
12
+ end
data/lib/rswag.rb ADDED
@@ -0,0 +1,6 @@
1
+ require 'rswag/specs'
2
+ require 'rswag/api'
3
+ require 'rswag/ui'
4
+
5
+ module Rswag
6
+ end
@@ -0,0 +1,4 @@
1
+ module Rswag
2
+ class Railtie < ::Rails::Railtie
3
+ end
4
+ end
metadata ADDED
@@ -0,0 +1,91 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rswagger
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.7
5
+ platform: ruby
6
+ authors:
7
+ - Dmitry Yarikov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-08-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rswagger-specs
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.7
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.7
27
+ - !ruby/object:Gem::Dependency
28
+ name: rswagger-api
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 2.0.7
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 2.0.7
41
+ - !ruby/object:Gem::Dependency
42
+ name: rswagger-ui
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 2.0.7
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.7
55
+ description: Generate beautiful API documentation, including a UI to explore and test
56
+ operations, directly from your rspec integration tests
57
+ email:
58
+ - dmitry@yarikov.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - MIT-LICENSE
64
+ - lib/generators/rswag/install/USAGE
65
+ - lib/generators/rswag/install/install_generator.rb
66
+ - lib/rswag.rb
67
+ - lib/rswag/railtie.rb
68
+ homepage: https://github.com/yarikov/rswag
69
+ licenses:
70
+ - MIT
71
+ metadata: {}
72
+ post_install_message:
73
+ rdoc_options: []
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ requirements: []
87
+ rubygems_version: 3.0.4
88
+ signing_key:
89
+ specification_version: 4
90
+ summary: Swagger tooling for Rails API's
91
+ test_files: []