Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RESOLVE] Create a seeds task to have initial data on the db for development #1419

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
83530cb
[RESOLVE] Create a seeds task to have initial data on the db for deve…
GabriellyAssuncao Nov 28, 2022
8070369
fix: pipeline problems
GabriellyAssuncao Dec 6, 2022
4acda92
Bump bootsnap from 1.14.0 to 1.15.0
dependabot[bot] Nov 28, 2022
7d4409c
[dependabot skip] Update NOTICE-ruby
Nov 28, 2022
a83d572
Remove unused ProfileHelper
wwahammy Nov 16, 2022
eeebf01
Remove unused NonprofitsHelper
wwahammy Nov 16, 2022
fcdecfe
Bump debug from 1.6.3 to 1.7.0
dependabot[bot] Dec 5, 2022
5c60a26
[dependabot skip] Update NOTICE-ruby
Dec 5, 2022
76de2ce
Bump decode-uri-component from 0.2.0 to 0.2.2
dependabot[bot] Dec 5, 2022
5a59e56
Bump good_job from 3.6.0 to 3.6.2
dependabot[bot] Dec 5, 2022
6e1b3d9
[dependabot skip] Update NOTICE-ruby
Dec 5, 2022
8b2bc19
Bump timecop from 0.9.5 to 0.9.6
dependabot[bot] Dec 6, 2022
7f04e0b
[dependabot skip] Update NOTICE-ruby
Dec 6, 2022
88a849a
Bump express from 4.17.1 to 4.18.2
dependabot[bot] Dec 6, 2022
2523630
Bump date from 3.0.3 to 3.3.0
dependabot[bot] Dec 6, 2022
0747789
[dependabot skip] Update NOTICE-ruby
Dec 6, 2022
716243a
Bump nokogiri from 1.13.9 to 1.13.10
dependabot[bot] Dec 8, 2022
1baea44
[dependabot skip] Update NOTICE-ruby
Dec 8, 2022
0b4f931
New translations users.yml (Portuguese, Brazilian)
wwahammy Dec 8, 2022
05c764d
hotfix: solve some pipeline troubles updating some gems
GabriellyAssuncao Dec 15, 2022
cf11be0
Merge branch 'main' of github.com:FGA-GCES/houdini into FGA_GCES_Seed…
GabriellyAssuncao Dec 15, 2022
23e42d5
fix: resolve merge conflicts
GabriellyAssuncao Dec 24, 2022
d6b4c28
Merge branch 'main' into FGA_GCES_Seeds_File
GabriellyAssuncao Feb 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ gem 'sassc', '~> 2.0', '>= 2.0.1'
gem 'stripe', '~> 1.58' # January 19, 2017 version of the Stripe API https://stripe.com/docs/api
gem 'webpacker', '~> 5.4.3'
gem 'good_job', '~> 3.6'
gem 'net-http'
gem 'net-smtp'
gem 'net-imap'
gem 'uri', '0.10.0'
GabriellyAssuncao marked this conversation as resolved.
Show resolved Hide resolved

# fix for https://www.ruby-lang.org/en/news/2021/11/15/date-parsing-method-regexp-dos-cve-2021-41817/
gem "date", "~> 3.0.2"
Expand Down
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ GEM
msgpack (1.6.0)
multi_json (1.15.0)
multi_xml (0.6.0)
net-http (0.3.1)
uri
net-imap (0.3.1)
net-protocol
net-protocol (0.1.3)
timeout
net-smtp (0.3.3)
Expand Down Expand Up @@ -456,6 +460,7 @@ GEM
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (2.3.0)
uri (0.10.0)
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
Expand Down Expand Up @@ -514,6 +519,9 @@ DEPENDENCIES
listen
lograge (~> 0.12.0)
money (~> 6.16)
net-http
net-imap
net-smtp
param_validation!
pg (~> 1.4)
premailer-rails (~> 1.12)
Expand Down Expand Up @@ -544,6 +552,7 @@ DEPENDENCIES
timecop (~> 0.9.5)
traceroute (~> 0.8.0)
turbo_test
uri (= 0.10.0)
validate_url
webmock (~> 3.18)
webpacker (~> 5.4.3)
Expand Down
8 changes: 4 additions & 4 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
puts("[seeds] Loading admin user")

system_admin = User.find_or_create_by(
name: "Admin",
email: "admin@gmail.com",
name: "John",
email: "jonh@gmail.com",
state_code: "AZ",
city: "Phoenix",
confirmed_at: Time.now.utc
Expand All @@ -31,8 +31,8 @@
puts("[seeds] Loading nonprofit informations")

nonprofit_admin = Nonprofit.find_or_create_by(
name: "Admin Nonprofit",
email: "admin@gmail.com",
name: "Manager Nonprofit",
email: "manager@gmail.com",
state_code: "AZ",
city: "Phoenix",
)
Expand Down