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.0.pre.rc7 db/seeds.rb
renalware-core-2.0.0.pre.rc6 db/seeds.rb
renalware-core-2.0.0.pre.rc5 db/seeds.rb
renalware-core-2.0.0.pre.rc4 db/seeds.rb
renalware-core-2.0.0.pre.rc3 db/seeds.rb
renalware-core-2.0.0.pre.rc1 db/seeds.rb
renalware-core-2.0.0.pre.beta12 db/seeds.rb
renalware-core-2.0.0.pre.beta11 db/seeds.rb
renalware-core-2.0.0.pre.beta10 db/seeds.rb
renalware-core-2.0.0.pre.beta9 db/seeds.rb
renalware-core-2.0.0.pre.beta8 db/seeds.rb
renalware-core-2.0.0.pre.beta7 db/seeds.rb
renalware-core-2.0.0.pre.beta6 db/seeds.rb
renalware-core-2.0.0.pre.beta5 db/seeds.rb
renalware-core-2.0.0.pre.beta4 db/seeds.rb