rswag 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rswag might be problematic. Click here for more details.

@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6d263da06b3d241a3fe88dadeb5bbe872812ed23
4
+ data.tar.gz: 9986bf0e243dcf882c30c12fb9ed0586df805152
5
+ SHA512:
6
+ metadata.gz: 62f0ea49d792272171c893d66120d82abfd4ad9fecbffde2749cd4ff9fc98acc08eeed1a4c520f6476ff768df2defa0228c894b4ab2c637f38b67be07148a5ae
7
+ data.tar.gz: c240f6903c4f15b94038e794dc5e038fe5c25015c3ba9ca15f8a2f1ac4b28a3beb024e019dfc7c46905383f18a5612dc74725edead93518c54c19283bfca83dc
@@ -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
@@ -0,0 +1,7 @@
1
+ require 'rswag/version'
2
+ require 'rswag/specs'
3
+ require 'rswag/api'
4
+ require 'rswag/ui'
5
+
6
+ module Rswag
7
+ end
@@ -0,0 +1,4 @@
1
+ module Rswag
2
+ class Railtie < ::Rails::Railtie
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module Rswag
2
+ VERSION = '1.0.0'
3
+ end
metadata ADDED
@@ -0,0 +1,93 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rswag
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Richie Morris
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rswag-specs
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rswag-api
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rswag-ui
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 1.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 1.0.0
55
+ description: Generate beautiful API documentation, including a UI to explore and test
56
+ operations, directly from your rspec integration tests
57
+ email:
58
+ - domaindrivendev@gmail.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
+ - lib/rswag/version.rb
69
+ homepage: https://github.com/domaindrivendev/rswag
70
+ licenses:
71
+ - MIT
72
+ metadata: {}
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubyforge_project:
89
+ rubygems_version: 2.4.5
90
+ signing_key:
91
+ specification_version: 4
92
+ summary: Swagger tooling for Rails API's
93
+ test_files: []