apipie-rails 0.5.17 → 0.5.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -2
- data/CHANGELOG.md +7 -0
- data/Gemfile.rails60 +2 -6
- data/lib/apipie/markup.rb +14 -11
- data/lib/apipie/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 827ccd7271b49556c90c5bf516ac782ecf7fa38fa380bada85c6ec5c3ac7f5e3
|
4
|
+
data.tar.gz: e989cb29115cc40c0e1033b4800caef2cc9bccac43a6bffd43f0bb974bc68a5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1fae727ae94f9083a1b02984f660ff189e30aa5eee2d9792f3d233cce46472bff8a19b077c3863be167f8738016d96c421b50dbfe3c29604397eb7aa5fbb13d
|
7
|
+
data.tar.gz: 71df5da3fd578b00518cc2121d2a32a9c664ac681cb52d266412759c25c5a46ef49a5d40e45006ac28f6d1ce8dd1676e0b44589f6b7869e77b2b3d04f4686195
|
data/.travis.yml
CHANGED
@@ -9,7 +9,8 @@ rvm:
|
|
9
9
|
- 2.3.8
|
10
10
|
- 2.4.5
|
11
11
|
- 2.5.3
|
12
|
-
- 2.6.
|
12
|
+
- 2.6.5
|
13
|
+
- 2.7.0
|
13
14
|
gemfile:
|
14
15
|
- Gemfile.rails42
|
15
16
|
- Gemfile.rails51 # Min ruby 2.2.2
|
@@ -18,8 +19,12 @@ matrix:
|
|
18
19
|
exclude:
|
19
20
|
- rvm: 2.5.3
|
20
21
|
gemfile: Gemfile.rails42
|
21
|
-
- rvm: 2.6.
|
22
|
+
- rvm: 2.6.5
|
22
23
|
gemfile: Gemfile.rails42
|
24
|
+
- rvm: 2.7.0
|
25
|
+
gemfile: Gemfile.rails42
|
26
|
+
- rvm: 2.7.0
|
27
|
+
gemfile: Gemfile.rails51
|
23
28
|
- rvm: 2.2.10
|
24
29
|
gemfile: Gemfile.rails60
|
25
30
|
- rvm: 2.3.8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Changelog
|
2
2
|
===========
|
3
3
|
|
4
|
+
[v0.5.17](https://github.com/Apipie/apipie-rails/tree/v0.5.18) (2020-05-20)
|
5
|
+
--------
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/Apipie/apipie-rails/compare/v0.5.17...v0.5.18)
|
8
|
+
|
9
|
+
- Optional rdoc dependency with lazyload [\#683](https://github.com/Apipie/apipie-rails/pull/683) ([vkrizan](https://github.com/vkrizan))
|
10
|
+
|
4
11
|
[v0.5.17](https://github.com/Apipie/apipie-rails/tree/v0.5.17) (2020-01-20)
|
5
12
|
--------
|
6
13
|
|
data/Gemfile.rails60
CHANGED
@@ -2,13 +2,9 @@ source "https://rubygems.org"
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
gem 'rails', '~> 6.0.
|
5
|
+
gem 'rails', '~> 6.0.2'
|
6
6
|
gem 'mime-types', '~> 2.99.3'
|
7
7
|
gem 'rails-controller-testing'
|
8
|
-
gem 'rspec-rails',
|
9
|
-
gem 'rspec-core', git: 'https://github.com/rspec/rspec-core'
|
10
|
-
gem 'rspec-mocks', git: 'https://github.com/rspec/rspec-mocks'
|
11
|
-
gem 'rspec-support', git: 'https://github.com/rspec/rspec-support'
|
12
|
-
gem 'rspec-expectations', git: 'https://github.com/rspec/rspec-expectations'
|
8
|
+
gem 'rspec-rails', '4.0.0.beta3'
|
13
9
|
|
14
10
|
gem 'test_engine', path: 'spec/dummy/components/test_engine', group: :test
|
data/lib/apipie/markup.rb
CHANGED
@@ -4,20 +4,23 @@ module Apipie
|
|
4
4
|
|
5
5
|
class RDoc
|
6
6
|
|
7
|
-
def initialize
|
8
|
-
require 'rdoc'
|
9
|
-
require 'rdoc/markup/to_html'
|
10
|
-
if Gem::Version.new(::RDoc::VERSION) < Gem::Version.new('4.0.0')
|
11
|
-
@rdoc ||= ::RDoc::Markup::ToHtml.new()
|
12
|
-
else
|
13
|
-
@rdoc ||= ::RDoc::Markup::ToHtml.new(::RDoc::Options.new)
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
7
|
def to_html(text)
|
18
|
-
|
8
|
+
rdoc.convert(text)
|
19
9
|
end
|
20
10
|
|
11
|
+
private
|
12
|
+
|
13
|
+
def rdoc
|
14
|
+
@rdoc ||= begin
|
15
|
+
require 'rdoc'
|
16
|
+
require 'rdoc/markup/to_html'
|
17
|
+
if Gem::Version.new(::RDoc::VERSION) < Gem::Version.new('4.0.0')
|
18
|
+
::RDoc::Markup::ToHtml.new()
|
19
|
+
else
|
20
|
+
::RDoc::Markup::ToHtml.new(::RDoc::Options.new)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
21
24
|
end
|
22
25
|
|
23
26
|
class Markdown
|
data/lib/apipie/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apipie-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Pokorny
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-05-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -341,8 +341,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
341
341
|
- !ruby/object:Gem::Version
|
342
342
|
version: '0'
|
343
343
|
requirements: []
|
344
|
-
|
345
|
-
rubygems_version: 2.7.10
|
344
|
+
rubygems_version: 3.1.2
|
346
345
|
signing_key:
|
347
346
|
specification_version: 4
|
348
347
|
summary: Rails REST API documentation tool
|