apipie-rails 0.5.17 → 0.5.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 855ada05457368ea7521d46865242c73a15c33a33546d7b0dac1d2b90d779c70
4
- data.tar.gz: 0cc30d4f4a38a476cab6ed92b6a4a00c45bd2036c8b35fb8373fbb215fb2ea80
3
+ metadata.gz: 827ccd7271b49556c90c5bf516ac782ecf7fa38fa380bada85c6ec5c3ac7f5e3
4
+ data.tar.gz: e989cb29115cc40c0e1033b4800caef2cc9bccac43a6bffd43f0bb974bc68a5f
5
5
  SHA512:
6
- metadata.gz: 9b0ba79aee65ed21249fa35336166783697719fabc74831816513ea1d0b91162bde342b51fad08121ea38c27f5015bbf196ac524049dcbbc8635dd0a57f13cff
7
- data.tar.gz: 0f9f593ee579dba0baf16175e8c9d916dd370eba6a5c37cee4df2a92dea1efe0ea936b2444597274dd327244063000bb3a9cff454413956cd98bd27c5652afc6
6
+ metadata.gz: e1fae727ae94f9083a1b02984f660ff189e30aa5eee2d9792f3d233cce46472bff8a19b077c3863be167f8738016d96c421b50dbfe3c29604397eb7aa5fbb13d
7
+ data.tar.gz: 71df5da3fd578b00518cc2121d2a32a9c664ac681cb52d266412759c25c5a46ef49a5d40e45006ac28f6d1ce8dd1676e0b44589f6b7869e77b2b3d04f4686195
@@ -9,7 +9,8 @@ rvm:
9
9
  - 2.3.8
10
10
  - 2.4.5
11
11
  - 2.5.3
12
- - 2.6.0
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.0
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
@@ -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
 
@@ -2,13 +2,9 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rails', '~> 6.0.0.rc1'
5
+ gem 'rails', '~> 6.0.2'
6
6
  gem 'mime-types', '~> 2.99.3'
7
7
  gem 'rails-controller-testing'
8
- gem 'rspec-rails', git: 'https://github.com/rspec/rspec-rails', branch: '4-0-dev'
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
@@ -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
- @rdoc.convert(text)
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
@@ -1,3 +1,3 @@
1
1
  module Apipie
2
- VERSION = '0.5.17'
2
+ VERSION = '0.5.18'
3
3
  end
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.17
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-01-10 00:00:00.000000000 Z
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
- rubyforge_project:
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