init
This commit is contained in:
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
/.bundle/
|
||||||
|
/coverage/
|
||||||
|
/tmp/*
|
||||||
|
!/tmp/.gitkeep
|
3
.rubocop.yml
Normal file
3
.rubocop.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
AllCops:
|
||||||
|
TargetRubyVersion: 3.4
|
||||||
|
NewCops: enable
|
5
Gemfile
Normal file
5
Gemfile
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
# gem "rails"
|
12
Gemfile.lock
Normal file
12
Gemfile.lock
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
ruby
|
||||||
|
x86_64-linux
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.7.1
|
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Ruby Project
|
||||||
|
|
||||||
|
A little template for Ruby projects.
|
0
bin/.gitkeep
Normal file
0
bin/.gitkeep
Normal file
1
lib/helpers.rb
Normal file
1
lib/helpers.rb
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# frozen_string_literal: true
|
6
main.rb
Normal file
6
main.rb
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#! /usr/bin/env ruby
|
||||||
|
|
||||||
|
def main
|
||||||
|
end
|
||||||
|
|
||||||
|
main if __FILE__ == $PROGRAM_NAME
|
8
tests/main.rb
Normal file
8
tests/main.rb
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
require "minitest/autorun"
|
||||||
|
require_relative "../main"
|
||||||
|
|
||||||
|
class TestMain < Minitest::Test
|
||||||
|
def test_main
|
||||||
|
assert_equal true, true
|
||||||
|
end
|
||||||
|
end
|
0
tmp/.gitkeep
Normal file
0
tmp/.gitkeep
Normal file
Reference in New Issue
Block a user