rswag3 0.0.1

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
+ SHA1:
3
+ metadata.gz: 9ff597d47eb1a74e918878b107ce1504d5f0020d
4
+ data.tar.gz: 0f247f1e078c451e2775f5e7a2dce9f15a1fb3cb
5
+ SHA512:
6
+ metadata.gz: 1a024abb4423fe2159bb9c6b8c28400a58988466e108eb7ce176e8b2499f64b93b28e7f4a4b88df0c6015218c717639f133f0d480b096f16de3ba30767d5cc05
7
+ data.tar.gz: c91a8d6436e384d875a75a88213c2483b6fbb6452a6e9c841bfacdc8e75a4811f2ef752fa495c9ff566c868674e5ee2fad1c1cca1dbb99ae6b72b723e3f72fce
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2019 Je33
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 rswag3:install
6
+
7
+ This will create:
8
+ spec/swagger_helper.rb
9
+ config/initializers/rswag3-api.rb
10
+ config/initializers/rswag3-ui.rb
@@ -0,0 +1,12 @@
1
+ require 'rails/generators'
2
+
3
+ module Rswag3
4
+ class InstallGenerator < Rails::Generators::Base
5
+
6
+ def install_components
7
+ generate 'rswag3:specs:install'
8
+ generate 'rswag3:api:install'
9
+ generate 'rswag3:ui:install'
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,4 @@
1
+ module Rswag3
2
+ class Railtie < ::Rails::Railtie
3
+ end
4
+ end
data/lib/rswag3.rb ADDED
@@ -0,0 +1,6 @@
1
+ require 'rswag3/specs'
2
+ require 'rswag3/api'
3
+ require 'rswag3/ui'
4
+
5
+ module Rswag3
6
+ end
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rswag3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Evgeniy Koltsov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-03-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rswag3-specs
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 0.0.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.0.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: rswag3-api
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.0.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.0.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: rswag3-ui
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.0.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.0.1
55
+ description: Generate beautiful API documentation, including a UI to explore and test
56
+ operations, directly from your rspec integration tests
57
+ email:
58
+ - jetapahob@gmail.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - MIT-LICENSE
64
+ - lib/generators/rswag3/install/USAGE
65
+ - lib/generators/rswag3/install/install_generator.rb
66
+ - lib/rswag3.rb
67
+ - lib/rswag3/railtie.rb
68
+ homepage: https://github.com/Je33/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
+ rubyforge_project:
88
+ rubygems_version: 2.5.1
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: Swagger tooling for Rails API's
92
+ test_files: []