Skip to content

Commit fb9b447

Browse files
committed
Merge pull request #1 from Bugagazavr/autoload
Autoload support
2 parents 9890bfc + b7f3e68 commit fb9b447

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.rubocop_todo.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2016-05-08 06:18:31 +0300 using RuboCop version 0.39.0.
3+
# on 2016-05-11 07:25:12 +0300 using RuboCop version 0.39.0.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -36,3 +36,9 @@ Style/Documentation:
3636
- 'test/**/*'
3737
- 'lib/grape-swagger/representable.rb'
3838
- 'lib/grape-swagger/representable/parser.rb'
39+
40+
# Offense count: 1
41+
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
42+
Style/FileName:
43+
Exclude:
44+
- 'lib/grape-swagger-representable.rb'

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
33
# Specify your gem's dependencies in grape-swagger-representable.gemspec
44
gemspec
55

6-
gem 'grape-swagger', github: 'Bugagazavr/grape-swagger', branch: 'representers'
6+
gem 'grape-swagger', github: 'ruby-grape/grape-swagger'

lib/grape-swagger-representable.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require 'grape-swagger/representable'

lib/grape-swagger/representable.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
require 'grape-swagger/representable/version'
55
require 'grape-swagger/representable/parser'
66

7-
module Grape
8-
module Swagger
9-
module Representable
10-
end
7+
module GrapeSwagger
8+
module Representable
119
end
1210
end
1311

0 commit comments

Comments
 (0)