From 6438de08b5ee93c96931b64f90ce93653d32e6e4 Mon Sep 17 00:00:00 2001 From: Ale <50752933+st3llaris@users.noreply.github.com> Date: Mon, 27 May 2024 16:33:02 -0300 Subject: [PATCH] initial commit --- Gemfile.lock | 64 ++++++++++++++++++++++++++++++++++++++++ lib/rutorrent/bencode.rb | 0 rutorrent.gemspec | 12 ++++---- spec/rutorrent_spec.rb | 4 --- 4 files changed, 70 insertions(+), 10 deletions(-) create mode 100644 Gemfile.lock create mode 100644 lib/rutorrent/bencode.rb diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..628c0b4 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,64 @@ +PATH + remote: . + specs: + rutorrent (0.1.0) + +GEM + remote: https://rubygems.org/ + specs: + ast (2.4.2) + diff-lcs (1.5.1) + json (2.7.2) + language_server-protocol (3.17.0.3) + parallel (1.24.0) + parser (3.3.1.0) + ast (~> 2.4.1) + racc + racc (1.8.0) + rainbow (3.1.1) + rake (13.2.1) + regexp_parser (2.9.2) + rexml (3.2.8) + strscan (>= 3.0.9) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) + rubocop (1.64.0) + json (~> 2.3) + language_server-protocol (>= 3.17.0) + parallel (~> 1.10) + parser (>= 3.3.0.2) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.31.1, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.31.3) + parser (>= 3.3.1.0) + ruby-progressbar (1.13.0) + strscan (3.1.0) + unicode-display_width (2.5.0) + +PLATFORMS + ruby + x86_64-linux + +DEPENDENCIES + rake (~> 13.0) + rspec (~> 3.0) + rubocop (~> 1.21) + rutorrent! + +BUNDLED WITH + 2.5.10 diff --git a/lib/rutorrent/bencode.rb b/lib/rutorrent/bencode.rb new file mode 100644 index 0000000..e69de29 diff --git a/rutorrent.gemspec b/rutorrent.gemspec index 4643f10..5f50963 100644 --- a/rutorrent.gemspec +++ b/rutorrent.gemspec @@ -8,17 +8,17 @@ Gem::Specification.new do |spec| spec.authors = ["Ale"] spec.email = ["50752933+st3llaris@users.noreply.github.com"] - spec.summary = "TODO: Write a short summary, because RubyGems requires one." - spec.description = "TODO: Write a longer description or delete this line." - spec.homepage = "TODO: Put your gem's website or public repo URL here." + spec.summary = "A Ruby Torrent Client" + spec.description = "A Ruby Torrent Client" + spec.homepage = "https://github.com/st3llaris/rutorrent" spec.license = "MIT" spec.required_ruby_version = ">= 3.0.0" - spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'" + spec.metadata["allowed_push_host"] = "https://rubygems.org" spec.metadata["homepage_uri"] = spec.homepage - spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here." - spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here." + spec.metadata["source_code_uri"] = "https://github.com/st3llaris/rutorrent" + spec.metadata["changelog_uri"] = "https://github.com/st3llaris/rutorrent/blob/master/CHANGELOG.md" # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. diff --git a/spec/rutorrent_spec.rb b/spec/rutorrent_spec.rb index f3c672c..5b5552c 100644 --- a/spec/rutorrent_spec.rb +++ b/spec/rutorrent_spec.rb @@ -4,8 +4,4 @@ it "has a version number" do expect(Rutorrent::VERSION).not_to be nil end - - it "does something useful" do - expect(false).to eq(true) - end end