-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hermann Mayer <hermann.mayer92@gmail.com>
- Loading branch information
Showing
9 changed files
with
48 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'conversejs/rails' | ||
require 'zeitwerk' | ||
|
||
# The root namespace of the conversjs gem. | ||
module Conversejs | ||
# Setup a Zeitwerk autoloader instance and configure it | ||
loader = Zeitwerk::Loader.for_gem | ||
|
||
# Finish the auto loader configuration | ||
loader.setup | ||
|
||
# Make sure to eager load all constants | ||
loader.eager_load | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# frozen_string_literal: true | ||
|
||
module Conversejs | ||
# The boilerplate Rails engine namespace. | ||
class Engine < ::Rails::Engine; end | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# frozen_string_literal: true | ||
|
||
# The gem version details. | ||
module Conversejs | ||
# The version of the +conversejs+ gem | ||
VERSION = '3.7.0' | ||
|
||
class << self | ||
# Returns the version of gem as a string. | ||
# | ||
# @return [String] the gem version as string | ||
def version | ||
VERSION | ||
end | ||
|
||
# Returns the version of the gem as a +Gem::Version+. | ||
# | ||
# @return [Gem::Version] the gem version as object | ||
def gem_version | ||
Gem::Version.new VERSION | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters