···11+The zlib License
22+33+Copyright (c) 2025 Jakub Suder
44+55+This software is provided 'as-is', without any express or implied
66+warranty. In no event will the authors be held liable for any damages
77+arising from the use of this software.
88+99+Permission is granted to anyone to use this software for any purpose,
1010+including commercial applications, and to alter it and redistribute it
1111+freely, subject to the following restrictions:
1212+1313+1. The origin of this software must not be misrepresented; you must not
1414+ claim that you wrote the original software. If you use this software
1515+ in a product, an acknowledgment in the product documentation would be
1616+ appreciated but is not required.
1717+1818+2. Altered source versions must be plainly marked as such, and must not be
1919+ misrepresented as being the original software.
2020+2121+3. This notice may not be removed or altered from any source distribution.
+1-3
lib/tapfall.rb
···11# frozen_string_literal: true
2233-require_relative "tapfall/version"
33+require_relative 'tapfall/version'
4455module Tapfall
66- class Error < StandardError; end
77- # Your code goes here...
86end
+1-1
lib/tapfall/version.rb
···11# frozen_string_literal: true
2233module Tapfall
44- VERSION = "0.1.0"
44+ VERSION = '0.0.1'
55end
-4
spec/tapfall_spec.rb
···44 it "has a version number" do
55 expect(Tapfall::VERSION).not_to be nil
66 end
77-88- it "does something useful" do
99- expect(false).to eq(true)
1010- end
117end
+5-17
tapfall.gemspec
···1111 spec.summary = "TODO: Write a short summary, because RubyGems requires one."
1212 spec.description = "TODO: Write a longer description or delete this line."
1313 spec.homepage = "TODO: Put your gem's website or public repo URL here."
1414+1515+ spec.license = "Zlib"
1416 spec.required_ruby_version = ">= 3.2.0"
15171616- spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
1718 spec.metadata["homepage_uri"] = spec.homepage
1819 spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
1920 spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
20212121- # Specify which files should be added to the gem when it is released.
2222- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
2323- gemspec = File.basename(__FILE__)
2424- spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
2525- ls.readlines("\x0", chomp: true).reject do |f|
2626- (f == gemspec) ||
2727- f.start_with?(*%w[bin/ Gemfile .gitignore .rspec spec/ .github/])
2828- end
2222+ spec.files = Dir.chdir(__dir__) do
2323+ Dir['*.md'] + Dir['*.txt'] + Dir['lib/**/*'] + Dir['sig/**/*']
2924 end
3030- spec.bindir = "exe"
3131- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
2525+3226 spec.require_paths = ["lib"]
3333-3434- # Uncomment to register a new dependency of your gem
3535- # spec.add_dependency "example-gem", "~> 1.0"
3636-3737- # For more information and examples about making a new gem, check out our
3838- # guide at: https://bundler.io/guides/creating_gem.html
3927end