Browse Source

Add a console for manual investigation and debugging

tags/0.3.0^2
Bèr Kessels 10 months ago
parent
commit
e430fe27dc
3 changed files with 15 additions and 0 deletions
  1. 1
    0
      Gemfile
  2. 5
    0
      Gemfile.lock
  3. 9
    0
      bin/console

+ 1
- 0
Gemfile View File

@@ -29,6 +29,7 @@ group :development, :test do
gem 'awesome_print'
gem 'better_errors'
gem 'byebug'
gem 'pry'

gem 'foreman'
end

+ 5
- 0
Gemfile.lock View File

@@ -40,6 +40,7 @@ GEM
jsonapi-renderer (0.2.0)
jsonapi-serializable (0.3.1)
jsonapi-renderer (~> 0.2.0)
method_source (0.9.2)
mini_portile2 (2.3.0)
minitest (5.11.3)
multi_json (1.13.1)
@@ -54,6 +55,9 @@ GEM
ast (~> 2.4.0)
pg (1.1.4)
powerpack (0.1.2)
pry (0.12.2)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
rack (2.0.6)
rack-protection (2.0.5)
rack
@@ -103,6 +107,7 @@ DEPENDENCIES
nokogiri
nominatim!
opening_hours_converter
pry
rack-test
rake
rubocop

+ 9
- 0
bin/console View File

@@ -0,0 +1,9 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

require 'bundler/setup'
require_relative '../lib/hours.rb'

require 'pry'

Pry.start

Loading…
Cancel
Save