diff --git a/Gemfile b/Gemfile index fd0d806..5716d9f 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,5 @@ gemspec ruby "3.3.4" -gem "dorian-times" gem "rspec" gem "rubocop-rails-omakase" diff --git a/Gemfile.lock b/Gemfile.lock index 69acbcb..d9daa7b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -30,7 +30,6 @@ GEM activesupport bigdecimal dorian-to_struct - dorian-times (0.5.2) dorian-to_struct (0.5.0) drb (2.2.1) i18n (1.14.5) @@ -104,7 +103,6 @@ PLATFORMS DEPENDENCIES dorian-json-each! - dorian-times rspec rubocop-rails-omakase diff --git a/bin/times b/bin/times deleted file mode 100755 index f69ae55..0000000 --- a/bin/times +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'times' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) - -bundle_binstub = File.expand_path("bundle", __dir__) - -if File.file?(bundle_binstub) - if File.read(bundle_binstub, 300).include?( - "This file was generated by Bundler" - ) - load(bundle_binstub) - else - abort( - "Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. -Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again." - ) - end -end - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("dorian-times", "times") diff --git a/spec/json_each_spec.rb b/spec/json_each_spec.rb index 36d5935..ddf9199 100644 --- a/spec/json_each_spec.rb +++ b/spec/json_each_spec.rb @@ -3,7 +3,4 @@ require "spec_helper" RSpec.describe "each" do - it "works" do - expect(`bin/times 2 | bin/each "puts it.to_i * 2"`).to eq("2\n4\n") - end end