klue-langcraft 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.builders/_.rb +1 -0
- data/.builders/boot.rb +39 -0
- data/.builders/generators/01-bootstrap.rb +135 -0
- data/.releaserc.json +40 -0
- data/.rspec +3 -0
- data/.rubocop.yml +106 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +22 -0
- data/Guardfile +30 -0
- data/LICENSE.txt +21 -0
- data/README.md +109 -0
- data/Rakefile +34 -0
- data/bin/console +16 -0
- data/bin/setup +11 -0
- data/lib/klue/langcraft/version.rb +7 -0
- data/lib/klue/langcraft.rb +19 -0
- data/package-lock.json +8185 -0
- data/package.json +14 -0
- data/sig/klue/langcraft.rbs +6 -0
- metadata +82 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'klue/langcraft/version'
|
4
|
+
|
5
|
+
module Klue
|
6
|
+
module Langcraft
|
7
|
+
# raise Klue::Langcraft::Error, 'Sample message'
|
8
|
+
Error = Class.new(StandardError)
|
9
|
+
|
10
|
+
# Your code goes here...
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
if ENV.fetch('KLUE_DEBUG', 'false').downcase == 'true'
|
15
|
+
namespace = 'KlueLangcraft::Version'
|
16
|
+
file_path = $LOADED_FEATURES.find { |f| f.include?('klue-langcraft/version') }
|
17
|
+
version = KlueLangcraft::VERSION.ljust(9)
|
18
|
+
puts "#{namespace.ljust(35)} : #{version.ljust(9)} : #{file_path}"
|
19
|
+
end
|