From: Ruben Beltran del Rio Date: Tue, 7 Feb 2023 20:47:00 +0000 (+0100) Subject: Add dangling files X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/commitdiff_plain?ds=inline Add dangling files --- diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..a1b93f3 --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source :rubygems + +gemspec diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..fea9197 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,63 @@ +PATH + remote: . + specs: + lyricli (0.0.1) + launchy (~> 2.1.2) + multi_json (~> 1.3.6) + nokogiri (~> 1.5.5) + rdio (~> 0.1.0) + +GEM + remote: http://rubygems.org/ + specs: + addressable (2.3.2) + archive-tar-minitar (0.5.2) + columnize (0.3.6) + daemons (1.1.9) + diff-lcs (1.1.3) + eventmachine (1.0.0) + json (1.7.5) + launchy (2.1.2) + addressable (~> 2.3) + linecache19 (0.5.12) + ruby_core_source (>= 0.1.4) + multi_json (1.3.6) + nokogiri (1.5.5) + oauth (0.4.7) + rack (1.4.1) + rdio (0.1.0) + json + oauth (>= 0.3.0) + rspec (2.11.0) + rspec-core (~> 2.11.0) + rspec-expectations (~> 2.11.0) + rspec-mocks (~> 2.11.0) + rspec-core (2.11.1) + rspec-expectations (2.11.3) + diff-lcs (~> 1.1.3) + rspec-mocks (2.11.3) + ruby-debug-base19 (0.11.25) + columnize (>= 0.3.1) + linecache19 (>= 0.5.11) + ruby_core_source (>= 0.1.4) + ruby-debug19 (0.11.6) + columnize (>= 0.3.1) + linecache19 (>= 0.5.11) + ruby-debug-base19 (>= 0.11.19) + ruby_core_source (0.1.5) + archive-tar-minitar (>= 0.5.2) + thin (1.5.0) + daemons (>= 1.0.9) + eventmachine (>= 0.12.6) + rack (>= 1.0.0) + yard (0.8.2.1) + +PLATFORMS + ruby + +DEPENDENCIES + lyricli! + rspec (~> 2.11.0) + ruby-debug19 (~> 0.11.6) + thin (~> 1.5.0) + yard (~> 0.8.2.1) diff --git a/bin/lrc b/bin/lrc index 19e5456..18371ab 100755 --- a/bin/lrc +++ b/bin/lrc @@ -19,7 +19,7 @@ Options: end opts.on("-l", "--list-sources", "List all available Sources") do - puts Lyricli.sources + puts Lyricli.listSources() exit end @@ -36,17 +36,7 @@ Options: end opts.on("-t", "--title", "Shows the song title and artist") do - Lyricli.show_title - end - - opts.on("-h", "--help", "Shows this message") do - puts opts - exit - end - - opts.on("-v", "--version", "Show version") do - puts Lyricli.version - exit + Lyricli.show_title = true end end.parse!