rocket_pants-pagination 0.2.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef0098f446c644254cb53894790bfa8a5842a0fc
4
- data.tar.gz: d2870ffad776050808b0c793d1f3f55289ebb359
3
+ metadata.gz: f96416f528240deb711e605d8a36c71795d7a0bf
4
+ data.tar.gz: 0e08dc2ea159c7df7e86ed93668df2f4e562a04d
5
5
  SHA512:
6
- metadata.gz: baafface1ac12d8904d5a1743af6d4cdd6fdd3295281cb7f9641060779b07a6d229bd686fee03460141ddab2da01a69fea9775670f71d41bb8df1b11bc11d334
7
- data.tar.gz: f7642485f63caa05a3e78ec164a2e333ead3df2169f1db6b23d4a7f9f5f7b831548e5067e0bfb0b09f02f54a09c743f2349b8b41ec8afce95573bb71c8b322b6
6
+ metadata.gz: c6f6cbe628734a01f2326d13209f47f8397741be5fe5638ed78c9981682586be9963b4ab72c472af85a2ddd83d304a737e0bb0d0496e8dc6328b9cc8b189d1a9
7
+ data.tar.gz: b5f74afa335815f0be8fa33b145754649df0e249b15420ff21c6505a64f9ee516f426ec7406e2af6be2b6036601bd97a43022c55c61cf750c12136903c5425fa
@@ -1,6 +1,6 @@
1
1
  module RocketPants
2
2
  module Pagination
3
- module Swagger
3
+ module SwaggerSchema
4
4
  include ::Swagger::Blocks
5
5
 
6
6
  swagger_schema :RocketPants_Pagination do
@@ -1,5 +1,5 @@
1
1
  module RocketPants
2
2
  module Pagination
3
- VERSION = '0.2.1'
3
+ VERSION = '1.0.0'
4
4
  end
5
5
  end
@@ -3,7 +3,6 @@ require 'active_model_serializers'
3
3
  require 'will_paginate'
4
4
 
5
5
  require 'rocket_pants/pagination/version'
6
- require 'rocket_pants/pagination/swagger' if defined?(::Swagger::Blocks)
7
6
 
8
7
  module RocketPants
9
8
  #
@@ -15,6 +14,8 @@ module RocketPants
15
14
  # @author Alessandro Desantis <desa.alessandro@gmail.com>
16
15
  #
17
16
  module Pagination
17
+ autoload :SwaggerSchema, 'rocket_pants/pagination/swagger_schema'
18
+
18
19
  #
19
20
  # Reserved root keys
20
21
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocket_pants-pagination
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Desantis
@@ -125,7 +125,7 @@ files:
125
125
  - bin/console
126
126
  - bin/setup
127
127
  - lib/rocket_pants/pagination.rb
128
- - lib/rocket_pants/pagination/swagger.rb
128
+ - lib/rocket_pants/pagination/swagger_schema.rb
129
129
  - lib/rocket_pants/pagination/version.rb
130
130
  - rocket_pants-pagination.gemspec
131
131
  homepage: https://github.com/alessandro1997/rocket_pants-pagination