easy_seeds 1.0.4 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/easy_seeds/seeder.rb +1 -0
  3. data/lib/easy_seeds/version.rb +1 -1
  4. metadata +2 -53
  5. data/.DS_Store +0 -0
  6. data/.gitignore +0 -4
  7. data/README.md +0 -101
  8. data/demo/db/.DS_Store +0 -0
  9. data/demo/db/.gitignore +0 -1
  10. data/demo/db/migrate/20221220031557_create_users.rb +0 -16
  11. data/demo/db/migrate/20221229181317_create_restaurants.rb +0 -15
  12. data/demo/db/migrate/20221230024550_create_menus.rb +0 -9
  13. data/demo/db/migrate/20221230161702_create_menu_items.rb +0 -11
  14. data/demo/db/migrate/20230105193341_create_active_storage_tables.active_storage.rb +0 -57
  15. data/demo/db/migrate/20230107051041_create_reviews.rb +0 -10
  16. data/demo/db/migrate/20230107053024_create_carts.rb +0 -10
  17. data/demo/db/migrate/20230107161239_create_transactions.rb +0 -10
  18. data/demo/db/migrate/20230111045953_edit_restaurants.rb +0 -5
  19. data/demo/db/migrate/20230111051203_edit_restaurants_desc.rb +0 -5
  20. data/demo/db/migrate/20230111052037_add_descto_menu_items.rb +0 -5
  21. data/demo/db/migrate/20230111052640_add_header_to_menu_items.rb +0 -5
  22. data/demo/db/migrate/20230111053049_add_fk_carts.rb +0 -5
  23. data/demo/db/migrate/20230111170524_edit_transaction.rb +0 -5
  24. data/demo/db/migrate/20230112184231_create_locations.rb +0 -10
  25. data/demo/db/migrate/20230127004056_drop_carts.rb +0 -5
  26. data/demo/db/migrate/20230127004504_create_carts2.rb +0 -9
  27. data/demo/db/migrate/20230127004817_create_cart_items.rb +0 -10
  28. data/demo/db/migrate/20230129230534_remove_cart_index.rb +0 -6
  29. data/demo/db/migrate/20230129231213_edit_carts_index.rb +0 -5
  30. data/demo/db/migrate/20230201235823_remove_cart_item_index.rb +0 -6
  31. data/demo/db/migrate/20230201235957_edit_cart_items_index.rb +0 -5
  32. data/demo/db/migrate/20230203015313_remove_username.rb +0 -5
  33. data/demo/db/migrate/20230204005331_add_rest_avg_price.rb +0 -5
  34. data/demo/db/schema.rb +0 -149
  35. data/demo/db/seed_files/1_users_seeds.csv +0 -6
  36. data/demo/db/seed_files/2_restaurants_seeds.csv +0 -45
  37. data/demo/db/seed_files/3_menus_seeds.csv +0 -45
  38. data/demo/db/seed_files/4_menu_items_seeds.csv +0 -2085
  39. data/demo/db/seed_files/5_reviews_seeds.csv +0 -80
  40. data/demo/db/seed_files/6_carts_seeds.csv +0 -3
  41. data/demo/db/seed_files/7_cart_items_seeds.csv +0 -5
  42. data/demo/db/seed_files/8_transactions_seeds.csv +0 -4
  43. data/demo/db/seed_files/9_locations_seeds.csv +0 -2
  44. data/demo/db/seed_image_files/1_restaurant_image_seeds.csv +0 -45
  45. data/demo/db/seeds.rb +0 -45
  46. data/demo/seed_files/1_user_seeds_sample.csv +0 -5
  47. data/demo/seed_files/2_resturaunts_seeds_sample.csv +0 -6
  48. data/demo/seed_files/3_menu_seeds_sample.csv +0 -6
  49. data/demo/seed_files/4_menu_items_seed_sample.csv +0 -6
  50. data/demo/seed_image_files/.DS_Store +0 -0
  51. data/demo/seed_image_files/1_image_seed_sample.csv +0 -17
  52. data/demo/seed_image_files/2_image_seed_sample.csv +0 -18
  53. data/easy_seeds-1.0.0.gem +0 -0
  54. data/easy_seeds-1.0.1.gem +0 -0
  55. data/easy_seeds.gemspec +0 -28
@@ -1,80 +0,0 @@
1
- restaurant_id:int,user_id:int,body:text
2
- 1,1,Great food and service! Highly recommend.
3
- 3,1,Not enough chicken in my ramen.
4
- 3,3,"Nice atmosphere, friendly staff."
5
- 4,4,Best sushi I've had in a long time.
6
- 5,5,Good value for the price.
7
- 3,1,"Like I said, not enough chicken."
8
- 7,2,"Good Thai food, reasonable prices."
9
- 8,3,Nice selection of craft beers.
10
- 9,4,Wonderful French cuisine.
11
- 10,5,"Excellent service, great ambiance."
12
- 11,1,"Delicious sandwiches, fast service."
13
- 12,2,Great selection of vegetarian options.
14
- 13,3,Nice outdoor seating area.
15
- 14,4,"Lovely Italian food, reasonable prices."
16
- 15,5,"Good Chinese food, prompt service."
17
- 16,1,"Tasty Mexican food, friendly staff."
18
- 17,2,"Delicious Greek food, great atmosphere."
19
- 18,3,"Great seafood, friendly service."
20
- 19,4,"Lovely ambiance, excellent service."
21
- 20,5,Good value for the price.
22
- 21,1,"Delicious pizzas, great atmosphere."
23
- 22,2,Good value for the price.
24
- 23,3,Nice outdoor seating area.
25
- 24,4,"Tasty sandwiches, fast service."
26
- 25,5,Great selection of vegetarian options.
27
- 26,1,"Lovely Italian food, reasonable prices."
28
- 27,2,"Good Thai food, reasonable prices."
29
- 28,3,Nice selection of craft beers.
30
- 29,4,Wonderful French cuisine.
31
- 30,5,"Excellent service, great ambiance."
32
- 31,1,"Delicious burgers, nice patio."
33
- 32,2,"Great seafood, friendly service."
34
- 33,3,"Lovely ambiance, excellent service."
35
- 34,4,Best sushi I've had in a long time.
36
- 35,5,"Good Chinese food, prompt service."
37
- 36,1,"Tasty Mexican food, friendly staff."
38
- 37,2,"Delicious Greek food, great atmosphere."
39
- 38,3,Great food and service! Highly recommend.
40
- 39,4,"Nice atmosphere, friendly staff."
41
- 40,1,"Terrible service, rude staff."
42
- 41,2,Overpriced and mediocre food.
43
- 42,3,Would not recommend. Poor service.
44
- 43,4,"Disgusting bathrooms, stay away."
45
- 44,5,"Terrible food, don't waste your money."
46
- 40,1,"Rude staff, wouldn't come back."
47
- 41,2,"Terrible experience, stay away."
48
- 42,3,"Vulgar staff, will not return."
49
- 43,4,"Terrible service, avoid at all costs."
50
- 44,5,"Horrible food, rude staff."
51
- 40,1,Worst restaurant I've ever been to.
52
- 41,2,"Rude staff, terrible food."
53
- 42,3,Avoid this place at all costs.
54
- 43,4,Vulgar and unprofessional staff.
55
- 44,5,"Terrible experience, would not recommend."
56
- 40,1,"Terrible service, rude staff."
57
- 41,2,Overpriced and mediocre food.
58
- 42,3,Would not recommend. Poor service.
59
- 43,4,"Disgusting bathrooms, stay away."
60
- 44,5,"Terrible food, don't waste your money."
61
- 40,1,"Rude staff, wouldn't come back."
62
- 41,2,"Terrible experience, stay away."
63
- 42,3,"Vulgar staff, will not return."
64
- 43,4,"Terrible service, avoid at all costs."
65
- 44,5,"Horrible food, rude staff."
66
- 40,1,Worst restaurant I've ever been to.
67
- 41,2,"Rude staff, terrible food."
68
- 42,3,Avoid this place at all costs.
69
- 43,4,Vulgar and unprofessional staff.
70
- 44,5,"Terrible experience, would not recommend."
71
- 40,1,"Terrible service, rude staff."
72
- 41,2,Overpriced and mediocre food.
73
- 42,3,Would not recommend. Poor service.
74
- 43,4,"Disgusting bathrooms, stay away."
75
- 44,5,"Terrible food, don't waste your money."
76
- 40,1,"Rude staff, wouldn't come back."
77
- 41,2,"Terrible experience, stay away."
78
- 42,3,"Vulgar staff, will not return."
79
- 43,4,"Terrible service, avoid at all costs."
80
- 44,5,"Horrible food, rude staff."
@@ -1,3 +0,0 @@
1
- user_id:int,restaurant_id:int
2
- 1,1
3
- 1,2
@@ -1,5 +0,0 @@
1
- cart_id:int,menu_item_id:int,quantity:int
2
- 1,19,5
3
- 1,20,5
4
- 2,81,3
5
- 2,84,5
@@ -1,4 +0,0 @@
1
- user_id:int,restaurant_id:int,transaction_sum,review_left:boolean
2
- 1,44,42.69,FALSE
3
- 1,21,2123.23,FALSE
4
- 1,18,299.95,FALSE
@@ -1,2 +0,0 @@
1
- user_id:int,latitude:float,longitude:float
2
- 1,37.747401957356246,-122.4456108834198
@@ -1,45 +0,0 @@
1
- ID,URL,Filename
2
- 1,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/21_taste_house.jpeg,21_taste_house.jpeg
3
- 2,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/4505_burgers_bbq.jpeg,4505_burgers_bbq.jpeg
4
- 3,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/absinthe_brasserie_and_bar.webp,absinthe_brasserie_and_bar.webp
5
- 4,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/alices.jpg,alices.jpg
6
- 5,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/als_super_cafe.jpg,als_super_cafe.jpg
7
- 6,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/amami_sushi_bistro_sf.jpg,amami_sushi_bistro_sf.jpg
8
- 7,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/ananda_fuara.jpeg,ananda_fuara.jpeg
9
- 8,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/andersen_bakery.webp,andersen_bakery.webp
10
- 9,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/an_chi_vietnamese_cuisine.jpg,an_chi_vietnamese_cuisine.jpg
11
- 10,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/arts_cafe.jpeg,arts_cafe.jpeg
12
- 11,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/atlas_cafe.webp,atlas_cafe.webp
13
- 12,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/b.jpeg,b.jpeg
14
- 13,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/bac_lieu_restaurant.jpg,bac_lieu_restaurant.jpg
15
- 14,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/balboa_cafe.png,balboa_cafe.png
16
- 15,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/balboa_ice_cream.jpeg,balboa_ice_cream.jpeg
17
- 16,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/barbacco.jpeg,barbacco.jpeg
18
- 17,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/bb_tea.jpg,bb_tea.jpg
19
- 18,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/big_joes.jpeg,big_joes.jpeg
20
- 19,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/bite.jpg,bite.jpg
21
- 20,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/boba_gen.jpeg,boba_gen.jpeg
22
- 21,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/boba_guys.jpeg,boba_guys.jpeg
23
- 22,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/bottega.jpeg,bottega.jpeg
24
- 23,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/boudin_bakery_cafe.jpeg,boudin_bakery_cafe.jpeg
25
- 24,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/brew_cha.jpeg,brew_cha.jpeg
26
- 25,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/bullshead_restaurant.jpg,bullshead_restaurant.jpg
27
- 26,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/burger_joint.jpeg,burger_joint.jpeg
28
- 27,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/burrito_loco.jpeg,burrito_loco.jpeg
29
- 28,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/cafe_bakery_restaurant.jpeg,cafe_bakery_restaurant.jpeg
30
- 29,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/cafe_de_casa.webp,cafe_de_casa.webp
31
- 30,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/cafe_tiramisu.jpeg,cafe_tiramisu.jpeg
32
- 31,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/casa_mexicana.jpg,casa_mexicana.jpg
33
- 32,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/cesarios.jpeg,cesarios.jpeg
34
- 33,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/casa_mexicana.jpg,casa_mexicana.jpg
35
- 34,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/cesarios.jpeg,cesarios.jpeg
36
- 35,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/chaiya_thai_restaurant.jpg,chaiya_thai_restaurant.jpg
37
- 36,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/cinderella_baker_cafe.jpeg,cinderella_baker_cafe.jpeg
38
- 37,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/cocos_ramen.jpeg,cocos_ramen.jpeg
39
- 38,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/crossroad_pizzeria.jpeg,crossroad_pizzeria.jpeg
40
- 39,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/deli_23.jpeg,deli_23.jpeg
41
- 40,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/domo.jpg,domo.jpg
42
- 41,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/doppio_zero_san_francisco.jpeg,doppio_zero_san_francisco.jpeg
43
- 42,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/double_rainbow_ice_cream.jpeg,double_rainbow_ice_cream.jpeg
44
- 43,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/dumpling_home.jpeg,dumpling_home.jpeg
45
- 44,https://suber-eats-seeds.s3.us-west-1.amazonaws.com/pho_ha_tien.jpeg,pho_ha_tien.jpeg
data/demo/db/seeds.rb DELETED
@@ -1,45 +0,0 @@
1
- require_relative './easy_seeds/easy_seeds.rb'
2
- require "open-uri"
3
-
4
- =begin
5
-
6
- Example of what your seeds.rb file should look like. Full project at https://github.com/mfong4151/Suber-Eats
7
-
8
- ___ CSV Seed_Files Setup ____
9
-
10
- See the samples for how CSV's are set up. The headers need to match the database column names exactly.
11
- Use the format -- column_name:data_type -- for the headers. Easy_Seeder will do type conversion for you. Default is "string" and does not need to be declared.
12
- Accepted data types: string, integer, float, boolean, date.
13
- If you need an additional data type ping Marcos or Max and we can update.
14
-
15
- ___ CSV Seed_Files Setup ____
16
-
17
- Seed image files Require a Id, URL and Filename. You can copy these last two straight from the AWS console.
18
- the Id will attach the image path to that Id's object instance. See "Easy Seeder Setup" for information on file ordering.
19
-
20
- ___ Easy Seeder Setup ___
21
-
22
- File order matters!
23
- Place your model names in class_names for each class you are making Seed Data for. Each class needs its own CSV.
24
-
25
- The order of class_names and the order of files in seed_files should match your migration order (to prevent null database constraint failures).
26
- EasySeeds.attach_images runs after all database instances are created. It uses the value in class_image_names
27
- to attach images to an instance of that Class_Name and Id.
28
-
29
- hit us up with questions.
30
-
31
- =end
32
-
33
-
34
-
35
- class_names = [User, Restaurant, Menu, MenuItem, Review, Cart, CartItem, Transaction, Location]
36
- table_strings = ['users', 'restaurants', 'menus', 'menu_items', 'reviews', 'carts', 'cart_items', 'transactions', 'locations']
37
-
38
- EasySeeds::Destroy.destroy_tables(class_names, table_strings)
39
-
40
- puts 'Creating easy seeds data'
41
- class_names.delete_at(-1)
42
- EasySeeds::Seeder.create_easy_seed_data(class_names)
43
-
44
- class_image_names = [Restaurant]
45
- EasySeeds::Images.attach_images(class_image_names)
@@ -1,5 +0,0 @@
1
- Username,Email,Password,name,phone_number
2
- Demo-lition,demo@user.io,password,Demo Lition,123-456-7890
3
- mfong,mfong415@gmail.com,password,Maxwell Fong,234-567-8901
4
- nracherla,simpSupreme@gmail.com,password,Nishant Racherla,345-678-9821
5
- dieggucio,dieggucio@aa.io,password,Dieggucio no Guccio,800-200-6000
@@ -1,6 +0,0 @@
1
- name: string,description: text,rating: float,address: string,state_code: string,city: string,longitude: float,latitude: float
2
- Pho Ha Tien,It's Phoneomenal!,4.5,"1900 Ocean Ave, San Francisco, CA",CA,San Francisco,37.72,-122.4622,
3
- Marugame Udon,It's cheap and good!,4.9,"3251 20th Ave, San Francisco, CA",CA,San Francisco,37.72818,-122.47702,
4
- Bodega SF,Pho Swag,4.7,"138 Mason St, San Francisco, CA 94102",CA,San Francisco,37.78473,-122.40934,
5
- Monza Pizzeria,It's not Diogeornos!,4.4,"1934 Ocean Ave, San Francisco, CA 94127",CA,San Francisco,37.72584,-122.46332,
6
- El Super Burrito,Best Burritio in Downtown SF!,4.2,"1200 Polk St, San Francisco, CA 94109",CA,San Francisco,37.7876691,-122.4221302,
@@ -1,6 +0,0 @@
1
- restaurant_id,menu_items_id
2
- 1,1
3
- 1,2
4
- 1,3
5
- 1,4
6
- 1,5
@@ -1,6 +0,0 @@
1
- item_name,menu_id,item_price,item_image
2
- Ha Tien Special Extra Large Combo Noodle Soup,1,19.25,
3
- Combo Beef Noodle Soup,1,16.75,
4
- Rare Beef,1,16.75,
5
- Beef Meatball,1,16.75,
6
- Rare Beef with Chicken,1,16.75,
Binary file
@@ -1,17 +0,0 @@
1
- ID,URL,Filename
2
- 1,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/DragonDen/DragonDen-Exterior.webp,Houses/DragonDen/DragonDen-Exterior.webp
3
- 1,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/DragonDen/DragonDen-Living-Room.jpeg,Houses/DragonDen/DragonDen-Living-Room.jpeg
4
- 1,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/DragonDen/DragonDen-Den.jpeg,Houses/DragonDen/DragonDen-Den.jpeg
5
- 1,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/DragonDen/DragonDen-Library.jpeg,Houses/DragonDen/DragonDen-Library.jpeg
6
- 2,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/HobbitHovel1/HobbitHovel1-Exterior.jpeg,Houses/HobbitHovel1/HobbitHovel1-Exterior.jpeg
7
- 2,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/HobbitHovel1/HobbitHovel1-Living-Room.jpeg,Houses/HobbitHovel1/HobbitHovel1-Living-Room.jpeg
8
- 2,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/HobbitHovel1/HobbitHovel1-Balcony.jpeg,Houses/HobbitHovel1/HobbitHovel1-Balcony.jpeg
9
- 2,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/HobbitHovel1/HobbitHovel1-Den.jpeg,Houses/HobbitHovel1/HobbitHovel1-Den.jpeg
10
- 3,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Kitchy1/Kitchy1-Exterior.jpeg,Houses/Kitchy1/Kitchy1-Exterior.jpeg
11
- 3,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Kitchy1/Kitchy1-Living-Room.jpeg,Houses/Kitchy1/Kitchy1-Living-Room.jpeg
12
- 3,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Kitchy1/Kitchy1-Bedroom.jpeg,Houses/Kitchy1/Kitchy1-Bedroom.jpeg
13
- 4,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Nautilus/Nautilus-Exterior.jpeg,Houses/Nautilus/Nautilus-Exterior.jpeg
14
- 4,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Nautilus/Nautilus-Entry.jpeg,Houses/Nautilus/Nautilus-Entry.jpeg
15
- 4,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Nautilus/Nautilus-Living-Room.jpeg,Houses/Nautilus/Nautilus-Living-Room.jpeg
16
- 4,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Nautilus/Nautilus-Bedroom.jpeg,Houses/Nautilus/Nautilus-Bedroom.jpeg
17
- 4,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Nautilus/Nautilus-Door.jpeg,Houses/Nautilus/Nautilus-Door.jpeg
@@ -1,18 +0,0 @@
1
- ID,URL,Filename
2
- 5,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Rustic1/Rustic1-Exterior.jpeg,Houses/Rustic1/Rustic1-Exterior.jpeg
3
- 5,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Rustic1/Rustic1-Dining-Room.jpeg,Houses/Rustic1/Rustic1-Dining-Room.jpeg
4
- 5,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Rustic1/Rustic1-Den.jpeg,Houses/Rustic1/Rustic1-Den.jpeg
5
- 5,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Rustic1/Rustic1-Cabinet.jpeg,Houses/Rustic1/Rustic1-Cabinet.jpeg
6
- 6,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Rustic2/Rustic2-Exterior.jpeg,Houses/Rustic2/Rustic2-Exterior.jpeg
7
- 6,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Rustic2/Rustic2-Kitchen.jpeg,Houses/Rustic2/Rustic2-Kitchen.jpeg
8
- 6,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Rustic2/Rustic2-Bedroom.jpeg,Houses/Rustic2/Rustic2-Bedroom.jpeg
9
- 6,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Rustic2/Rustic2-Den.jpeg,Houses/Rustic2/Rustic2-Den.jpeg
10
- 7,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Seaside/Seaside-Exterior.webp,Houses/Seaside/Seaside-Exterior.webp
11
- 7,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Seaside/Seaside-Living-Room.jpeg,Houses/Seaside/Seaside-Living-Room.jpeg
12
- 7,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Seaside/Seaside-Bedroom.jpeg,Houses/Seaside/Seaside-Bedroom.jpeg
13
- 7,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Seaside/Seaside-Sink.jpeg,Houses/Seaside/Seaside-Sink.jpeg
14
- 7,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Seaside/Seaside-Sink2.jpeg,Houses/Seaside/Seaside-Sink2.jpeg
15
- 8,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Treehouse/TreeHouse-Exterior.jpeg,Houses/Treehouse/TreeHouse-Exterior.jpeg
16
- 8,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Treehouse/TreeHouse-Living-Room.jpeg,Houses/Treehouse/TreeHouse-Living-Room.jpeg
17
- 8,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Treehouse/TreeHouse-Bedroom.jpeg,Houses/Treehouse/TreeHouse-Bedroom.jpeg
18
- 8,https://willow-seeds.s3.us-west-2.amazonaws.com/Houses/Treehouse/TreeHouse-Alchemy.jpeg,Houses/Treehouse/TreeHouse-Alchemy.jpeg
data/easy_seeds-1.0.0.gem DELETED
Binary file
data/easy_seeds-1.0.1.gem DELETED
Binary file
data/easy_seeds.gemspec DELETED
@@ -1,28 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require_relative "lib/easy_seeds/version"
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "easy_seeds"
8
- spec.version = "1.0.4"
9
- spec.authors = ["Maxwell Fong", "Marcos Henrich"]
10
- spec.email = ["mfong415@gmail.com", "jmarcoshenrich@gmail.com"]
11
- spec.description = "A library for easily generating seed data in Ruby on Rails from .CSV files"
12
- spec.summary = "Seed files from .CSVs for your Ruby on Rails project"
13
- spec.homepage = "https://github.com/mfong4151/easy-seeds"
14
- spec.license = "MIT"
15
- spec.files = `git ls-files -z`.split("\x0")
16
- spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
-
19
- spec.require_paths = ["lib"]
20
-
21
- spec.add_dependency "csv"
22
- spec.required_ruby_version = ">= 2.7.0"
23
- spec.metadata = {
24
- "source_code_uri" => "https://github.com/mfong4151/easy-seeds",
25
- "bug_tracker_uri" => "https://github.com/mfong4151/easy-seeds/issues",
26
- "documentation_uri" => "https://github.com/mfong4151/easy-seeds/blob/main/README.md"
27
- }
28
- end