commit f4f904ac3dbae31ceb9b0a5d0e5224612fd11a40 Author: Andrea Date: Sun Aug 24 09:15:17 2025 +0200 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8e217c6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/.bundle/ +/coverage/ +/tmp/* +!/tmp/.gitkeep \ No newline at end of file diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..5c143cd --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,3 @@ +AllCops: + TargetRubyVersion: 3.4 + NewCops: enable diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..d2403f1 --- /dev/null +++ b/Gemfile @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +# gem "rails" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..9ec57fc --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,12 @@ +GEM + remote: https://rubygems.org/ + specs: + +PLATFORMS + ruby + x86_64-linux + +DEPENDENCIES + +BUNDLED WITH + 2.7.1 diff --git a/README.md b/README.md new file mode 100644 index 0000000..83b6c65 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Ruby Project + +A little template for Ruby projects. diff --git a/bin/.gitkeep b/bin/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/lib/helpers.rb b/lib/helpers.rb new file mode 100644 index 0000000..8e9b8f9 --- /dev/null +++ b/lib/helpers.rb @@ -0,0 +1 @@ +# frozen_string_literal: true diff --git a/main.rb b/main.rb new file mode 100644 index 0000000..f2db1ba --- /dev/null +++ b/main.rb @@ -0,0 +1,6 @@ +#! /usr/bin/env ruby + +def main +end + +main if __FILE__ == $PROGRAM_NAME diff --git a/tests/main.rb b/tests/main.rb new file mode 100644 index 0000000..869183f --- /dev/null +++ b/tests/main.rb @@ -0,0 +1,8 @@ +require "minitest/autorun" +require_relative "../main" + +class TestMain < Minitest::Test + def test_main + assert_equal true, true + end +end diff --git a/tmp/.gitkeep b/tmp/.gitkeep new file mode 100644 index 0000000..e69de29