From ae9efa0b5dab8a6ddc3fa74198994545db7ffd2c Mon Sep 17 00:00:00 2001 From: halorrr Date: Wed, 31 Jan 2024 21:29:52 -0500 Subject: [PATCH] update gem name to lunchmoney --- .rubocop.yml | 4 ---- Gemfile.lock | 4 ++-- README.md | 6 +++--- bin/console | 2 +- lib/lunchmoney-ruby.rb | 4 ---- lunchmoney-ruby.gemspec => lunchmoney.gemspec | 4 ++-- test/test_helper.rb | 2 +- 7 files changed, 9 insertions(+), 17 deletions(-) delete mode 100644 lib/lunchmoney-ruby.rb rename lunchmoney-ruby.gemspec => lunchmoney.gemspec (95%) diff --git a/.rubocop.yml b/.rubocop.yml index ee1a6e5..da090d9 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -12,10 +12,6 @@ AllCops: Exclude: - "sorbet/**/*" -Naming/FileName: - Exclude: - - "lib/lunchmoney-ruby.rb" # Due to the gem name this file needs to be kabob case instead of snake case - Sorbet: Enabled: true diff --git a/Gemfile.lock b/Gemfile.lock index d1affc0..21f1e21 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - lunchmoney-ruby (0.9.1) + lunchmoney (0.9.1) activesupport (>= 6.1) faraday (>= 1.0.0) sorbet-runtime (>= 0.5) @@ -153,7 +153,7 @@ PLATFORMS DEPENDENCIES appraisal dotenv - lunchmoney-ruby! + lunchmoney! minitest (~> 5.21) mocha (~> 2.1.0) pry-sorbet (~> 0.2) diff --git a/README.md b/README.md index d074e3b..2b62c86 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# lunchmoney-ruby +# lunchmoney This gem and readme are very much a work in progress. More to come! This gem is a library of the [LunchMoney API](https://lunchmoney.dev/) for the wonderful [LunchMoney](http://lunchmoney.app/) web app for personal finance & budgeting. -You can find the yard docs for this gem [here](https://halorrr.github.io/lunchmoney-ruby/) +You can find the yard docs for this gem [here](https://halorrr.github.io/lunchmoney/) ## Usage @@ -13,7 +13,7 @@ You can find the yard docs for this gem [here](https://halorrr.github.io/lunchmo Add this line to your application's `Gemfile`: ```Ruby -gem "lunchmoney-ruby" +gem "lunchmoney" ``` ### Set your lunchmoney token diff --git a/bin/console b/bin/console index bab49e4..02e9278 100755 --- a/bin/console +++ b/bin/console @@ -3,7 +3,7 @@ require "bundler/setup" require "dotenv/load" -require "lunchmoney-ruby" +require "lunchmoney" # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. diff --git a/lib/lunchmoney-ruby.rb b/lib/lunchmoney-ruby.rb deleted file mode 100644 index bfda4f9..0000000 --- a/lib/lunchmoney-ruby.rb +++ /dev/null @@ -1,4 +0,0 @@ -# typed: strict -# frozen_string_literal: true - -require_relative "lunchmoney" diff --git a/lunchmoney-ruby.gemspec b/lunchmoney.gemspec similarity index 95% rename from lunchmoney-ruby.gemspec rename to lunchmoney.gemspec index be3317c..085649f 100644 --- a/lunchmoney-ruby.gemspec +++ b/lunchmoney.gemspec @@ -3,13 +3,13 @@ require_relative "lib/lunchmoney/version" Gem::Specification.new do |spec| - spec.name = "lunchmoney-ruby" + spec.name = "lunchmoney" spec.version = LunchMoney::VERSION spec.author = "@halorrr" spec.email = "halorrr@gmail.com" spec.summary = "LunchMoney API client library." - spec.homepage = "https://github.com/halorrr/lunchmoney-ruby" + spec.homepage = "https://github.com/halorrr/lunchmoney" spec.required_ruby_version = ">= 3.1" spec.license = "MIT" diff --git a/test/test_helper.rb b/test/test_helper.rb index a087c58..e48d064 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -5,7 +5,7 @@ require "sorbet-runtime" require "dotenv/load" -require "lunchmoney-ruby" +require "lunchmoney" require "minitest/autorun" require "minitest/pride" require "active_support"