Sha256: 5b21bdcee887035844462267363cdde7c49b22b40615416b230a85515b894d27

Contents?: true

Size: 632 Bytes

Versions: 65

Compression:

Stored size: 632 Bytes

Contents

# frozen_string_literal: true

require "csv"
require_relative "./seeds/seeds_helper.rb"

def log(msg, type: :full)
  case type
  when :full
    print "-----> #{msg}"
    if block_given?
      ms = Benchmark.ms { yield }
      milliseconds = "#{ms.to_i}ms"
      print "\r-----> #{milliseconds.ljust(8, ' ')} #{msg}"
    end
    print "\n"
  when :sub
    puts "                #{msg}"
  else
    raise "Unknown type #{type}"
  end
end

PaperTrail.enabled = false

# Seed the database with data common to all installations.
# Site specific data should be seeded from the host application.
require_relative "./seeds/default/seeds.rb"

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
renalware-core-2.1.1 db/seeds.rb
renalware-core-2.1.0 db/seeds.rb
renalware-core-2.0.167 db/seeds.rb
renalware-core-2.0.166 db/seeds.rb
renalware-core-2.0.165 db/seeds.rb
renalware-core-2.0.164 db/seeds.rb
renalware-core-2.0.163 db/seeds.rb
renalware-core-2.0.162 db/seeds.rb
renalware-core-2.0.161 db/seeds.rb
renalware-core-2.0.160 db/seeds.rb
renalware-core-2.0.159 db/seeds.rb
renalware-core-2.0.158 db/seeds.rb
renalware-core-2.0.157 db/seeds.rb
renalware-core-2.0.156 db/seeds.rb
renalware-core-2.0.155 db/seeds.rb
renalware-core-2.0.153 db/seeds.rb
renalware-core-2.0.152 db/seeds.rb
renalware-core-2.0.151 db/seeds.rb
renalware-core-2.0.149 db/seeds.rb
renalware-core-2.0.148 db/seeds.rb