rails_api_documentation 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +30 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +34 -0
- data/lib/rails_api_doc/version.rb +1 -1
- data/lib/rails_api_doc.rb +2 -1
- metadata +4 -2
- data/lib/tasks/rails_api_doc_tasks.rake +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd3abb9fc0f71df8bb4203ee9b096f62d8928a15
|
4
|
+
data.tar.gz: c648ecfd2e714eccd80c955f93f079e084d92cfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86b861002f1c8e85365779bb399fab84e52f67c3dbe845c70298281c32a4302d8d3648ddeaf1d977db1010d8736d0e70e739ed77d800718fd4de41a0e9c6fdf4
|
7
|
+
data.tar.gz: c428d4d5e9b4964d41f0e0e65b4e38630e9fd3166ad7f2bc3314e15b598abe7e0f6f6bd83a4cbb45dc5ba7180a37cb4e1ae4005330a64e65f9e8284e6079c2b6
|
data/Gemfile
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# author: Vadim Shaveiko <@vshaveyko>
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
# Specify your gem's dependencies in rails_api_doc.gemspec
|
6
|
+
gemspec
|
7
|
+
gem 'actionpack', '~> 5.0', '>= 5.0.0.1'
|
8
|
+
gem 'rails', '~> 5.0.0'
|
9
|
+
gem 'sqlite3'
|
10
|
+
# gem 'uglifier', '>= 1.0.3'
|
11
|
+
|
12
|
+
gem 'slim'
|
13
|
+
|
14
|
+
gem 'coffee-rails', '~> 4.1.0'
|
15
|
+
|
16
|
+
gem 'sass-rails'
|
17
|
+
|
18
|
+
gem 'libv8', '~> 3.16.14.15', platforms: :ruby
|
19
|
+
gem 'therubyracer', '~> 0.12.2', platforms: :ruby
|
20
|
+
gem 'therubyrhino', '2.0.4', platforms: :jruby
|
21
|
+
|
22
|
+
gem 'pry'
|
23
|
+
gem 'pry-stack_explorer'
|
24
|
+
|
25
|
+
group :development, :test do
|
26
|
+
gem 'rspec-rails', '~> 3.5'
|
27
|
+
end
|
28
|
+
|
29
|
+
gem 'has_scope'
|
30
|
+
gem 'rabl'
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2016 vs
|
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.
|
data/Rakefile
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
begin
|
2
|
+
require 'bundler/setup'
|
3
|
+
rescue LoadError
|
4
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
+
end
|
6
|
+
|
7
|
+
require 'rdoc/task'
|
8
|
+
|
9
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
+
rdoc.rdoc_dir = 'rdoc'
|
11
|
+
rdoc.title = 'RailsApiDoc'
|
12
|
+
rdoc.options << '--line-numbers'
|
13
|
+
rdoc.rdoc_files.include('README.md')
|
14
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
+
end
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
require 'bundler/gem_tasks'
|
23
|
+
|
24
|
+
require 'rake/testtask'
|
25
|
+
|
26
|
+
Rake::TestTask.new(:test) do |t|
|
27
|
+
t.libs << 'lib'
|
28
|
+
t.libs << 'test'
|
29
|
+
t.pattern = 'test/**/*_test.rb'
|
30
|
+
t.verbose = false
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
task default: :test
|
data/lib/rails_api_doc.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# author: Vadim Shaveiko <@vshaveyko>
|
2
2
|
# frozen_string_literal: true
|
3
|
-
require 'rails_api_doc/engine'
|
4
3
|
module RailsApiDoc
|
5
4
|
|
6
5
|
extend ActiveSupport::Autoload
|
@@ -24,3 +23,5 @@ module RailsApiDoc
|
|
24
23
|
autoload :Controller
|
25
24
|
|
26
25
|
end
|
26
|
+
|
27
|
+
require 'rails_api_doc/engine'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_api_documentation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vs
|
@@ -129,7 +129,10 @@ executables: []
|
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
|
+
- Gemfile
|
133
|
+
- MIT-LICENSE
|
132
134
|
- README.md
|
135
|
+
- Rakefile
|
133
136
|
- app/assets/config/rails_api_doc_manifest.js
|
134
137
|
- app/assets/javascripts/api_doc.js
|
135
138
|
- app/assets/javascripts/components.js
|
@@ -169,7 +172,6 @@ files:
|
|
169
172
|
- lib/rails_api_doc/engine.rb
|
170
173
|
- lib/rails_api_doc/types.rb
|
171
174
|
- lib/rails_api_doc/version.rb
|
172
|
-
- lib/tasks/rails_api_doc_tasks.rake
|
173
175
|
homepage: https://github.com/vshaveyko/rails_api_doc
|
174
176
|
licenses:
|
175
177
|
- MIT
|