# frozen_string_literal: true

# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
#   movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
#   Character.create(name: 'Luke', movie: movies.first)

Event.create!([
                {
                  name: 'BugSmash',
                  location: 'Denver, CO',
                  price: 0.00,
                  starts_at: 30.days.from_now,
                  capacity: 10,
                  description: %(
      Join us for a fun evening of bug smashing! It's a great
      way to get involved in open source projects whether you're
      reporting bugs, fixing bugs, or even creating
      a few bugs!
    ).squish
                },
                {
                  name: 'Hackathon',
                  location: 'Austin, TX',
                  price: 15.00,
                  starts_at: 45.days.from_now,
                  capacity: 10,
                  description: %(
      Got a killer app idea you've been itching to work on? Hunker
      down and hack away! This is an intense, focused day of hacking
      on anything you want. The entry fee goes toward a bounty of cash
      and prizes for winners in a variety of categories.
    ).squish
                },
                {
                  name: 'Kata Camp',
                  location: 'Dallas, TX',
                  price: 75.00,
                  starts_at: 65.days.from_now,
                  capacity: 10,
                  description: %(
      Kata Camp is where developers go to practice their craft without interruptions. Skip the status reports and stand-up meetings of a typical project. Just get 'er done! Price includes a buffet lunch and a leather-bound journal to record your kata achievements.
    ).squish
                },
                {
                  name: "Coffee 'n Code",
                  location: 'Portland, OR',
                  price: 0.00,
                  starts_at: 20.days.ago,
                  capacity: 10,
                  description: %(
      Start your day off right with a good cup of Joe while you sling some code with other local developers. By the time you hit the office, you'll be in the groove!
    ).squish
                },
                {
                  name: 'Rails User Group',
                  location: 'Reston, VA',
                  price: 0.00,
                  starts_at: 2.days.ago,
                  capacity: 10,
                  description: %(
      Come enjoy a technical talk and meet local Rails developers! This week's topic is a comparison of editors, templating systems, and whether to use tabs or spaces.
    ).squish
                },
                {
                  name: 'Ruby User Group',
                  location: 'Chigaco, IL',
                  price: 0.00,
                  starts_at: 5.days.ago,
                  capacity: 10,
                  description: %(
      Do you heart Ruby? So do we! Every week a local developer presents
      a new Ruby-related topic to help you keep on top of your game.
    ).squish
                },
                {
                  name: '5-Minute Lightning Talks',
                  location: 'Kansas City, MO',
                  price: 15.00,
                  starts_at: 10.days.ago,
                  capacity: 10,
                  description: %(
      Got a newfangled trick? A handy new tool? A just-released library? Here's your chance to share it! But you only get 5 minutes to present your must-know tip, so keep it snappy. Price includes an open ice cream and root beer float bar.
    ).squish
                },
                {
                  name: 'Drone Zone',
                  location: 'Minneapolis, MN',
                  price: 0.00,
                  starts_at: 90.days.from_now,
                  capacity: 20,
                  description: %{
      What happens when software and hardware geeks get together?
      Thing spin, whirl, and (possibly) collide! Everyone is welcome, whether you're new to hacking with drones and drone software, or have experience that reaches to the sky.
    }.squish
                },
                {
                  name: 'Coding Ninjas',
                  location: 'San Diego, CA',
                  price: 25.00,
                  starts_at: 10.days.from_now,
                  capacity: 10,
                  description: %(
      Why ninjas? We have no idea, but the icon is cool. Don't miss this opportunity to show off your ninja moves.
    ).squish
                }
              ])
