Sha256: f07683680b3586df090d1d5cf398eb95104a92b978d1e8206f22bd164032c428

Contents?: true

Size: 574 Bytes

Versions: 35

Compression:

Stored size: 574 Bytes

Contents

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


# 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

35 entries across 35 versions & 1 rubygems

Version Path
renalware-core-2.0.16 db/seeds.rb
renalware-core-2.0.15 db/seeds.rb
renalware-core-2.0.14 db/seeds.rb
renalware-core-2.0.13 db/seeds.rb
renalware-core-2.0.12 db/seeds.rb
renalware-core-2.0.11 db/seeds.rb
renalware-core-2.0.9 db/seeds.rb
renalware-core-2.0.8 db/seeds.rb
renalware-core-2.0.7 db/seeds.rb
renalware-core-2.0.5 db/seeds.rb
renalware-core-2.0.4 db/seeds.rb
renalware-core-2.0.3 db/seeds.rb
renalware-core-2.0.2 db/seeds.rb
renalware-core-2.0.1 db/seeds.rb
renalware-core-2.0.0 db/seeds.rb
renalware-core-2.0.0.pre.rc13 db/seeds.rb
renalware-core-2.0.0.pre.rc11 db/seeds.rb
renalware-core-2.0.0.pre.rc10 db/seeds.rb
renalware-core-2.0.0.pre.rc9 db/seeds.rb
renalware-core-2.0.0.pre.rc8 db/seeds.rb