Skip to content

Commit 919091e

Browse files
authored
Merge pull request #1 from llenodo/fix-json-classnames
Change classnames to capitalize `JSON`
2 parents 3878ba9 + fb0f142 commit 919091e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/rspec_api_documentation.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ module Writers
3737
autoload :HtmlWriter
3838
autoload :TextileWriter
3939
autoload :MarkdownWriter
40-
autoload :JsonWriter
40+
autoload :JSONWriter
4141
autoload :AppendJsonWriter
42-
autoload :JsonIodocsWriter
42+
autoload :JSONIodocsWriter
4343
autoload :IndexHelper
4444
autoload :CombinedTextWriter
4545
autoload :CombinedJsonWriter

lib/rspec_api_documentation/writers/json_iodocs_writer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module RspecApiDocumentation
44
module Writers
5-
class JsonIodocsWriter < Writer
5+
class JSONIodocsWriter < Writer
66
attr_accessor :api_key
77
delegate :docs_dir, :to => :configuration
88

lib/rspec_api_documentation/writers/json_writer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module RspecApiDocumentation
44
module Writers
5-
class JsonWriter < Writer
5+
class JSONWriter < Writer
66
delegate :docs_dir, :to => :configuration
77

88
def write

0 commit comments

Comments
 (0)