See if it deploys

This commit is contained in:
2022-01-31 12:17:03 -05:00
parent 13efc63c88
commit 711cd95ad4
3 changed files with 14 additions and 12 deletions
+10 -9
View File
@@ -242,7 +242,7 @@ GEM
hashie (5.0.0) hashie (5.0.0)
http_parser.rb (0.8.0) http_parser.rb (0.8.0)
httpclient (2.8.3) httpclient (2.8.3)
i18n (1.9.0) i18n (1.9.1)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
iso_country_codes (0.7.8) iso_country_codes (0.7.8)
jquery-rails (4.4.0) jquery-rails (4.4.0)
@@ -288,15 +288,15 @@ GEM
rake rake
mini_magick (4.11.0) mini_magick (4.11.0)
mini_mime (1.1.2) mini_mime (1.1.2)
mini_portile2 (2.7.1)
minitest (5.15.0) minitest (5.15.0)
multi_json (1.15.0) multi_json (1.15.0)
multi_xml (0.6.0) multi_xml (0.6.0)
multipart-post (2.1.1) multipart-post (2.1.1)
naught (1.1.0) naught (1.1.0)
nio4r (2.5.8) nio4r (2.5.8)
nokogiri (1.13.1) nokogiri (1.13.1-x86_64-darwin)
mini_portile2 (~> 2.7.0) racc (~> 1.4)
nokogiri (1.13.1-x86_64-linux)
racc (~> 1.4) racc (~> 1.4)
oauth2 (1.4.7) oauth2 (1.4.7)
faraday (>= 0.8, < 2.0) faraday (>= 0.8, < 2.0)
@@ -390,7 +390,7 @@ GEM
rspec-core (~> 3.10.0) rspec-core (~> 3.10.0)
rspec-expectations (~> 3.10.0) rspec-expectations (~> 3.10.0)
rspec-mocks (~> 3.10.0) rspec-mocks (~> 3.10.0)
rspec-core (3.10.1) rspec-core (3.10.2)
rspec-support (~> 3.10.0) rspec-support (~> 3.10.0)
rspec-expectations (3.10.2) rspec-expectations (3.10.2)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
@@ -398,7 +398,7 @@ GEM
rspec-its (1.3.0) rspec-its (1.3.0)
rspec-core (>= 3.0.0) rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0) rspec-expectations (>= 3.0.0)
rspec-mocks (3.10.2) rspec-mocks (3.10.3)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0) rspec-support (~> 3.10.0)
rspec-rails (5.1.0) rspec-rails (5.1.0)
@@ -480,10 +480,11 @@ GEM
nokogiri (~> 1.8) nokogiri (~> 1.8)
yard (0.9.27) yard (0.9.27)
webrick (~> 1.7.0) webrick (~> 1.7.0)
zeitwerk (2.5.3) zeitwerk (2.5.4)
PLATFORMS PLATFORMS
ruby x86_64-darwin-21
x86_64-linux
DEPENDENCIES DEPENDENCIES
ace-rails-ap ace-rails-ap
@@ -542,4 +543,4 @@ DEPENDENCIES
webmock webmock
BUNDLED WITH BUNDLED WITH
2.1.4 2.3.6
+3 -2
View File
@@ -1,7 +1,7 @@
development: development:
validation_framework: :active_model #optional validation_framework: :active_model #optional
#database: "http://mozo:secret@localhost:5984/qwaiter_development" #database: "http://mozo:secret@localhost:5984/qwaiter_development"
database: "http://admin:admin@localhost:5984/mozo_development" database: "http://admin:<%= ENV['COUCHDB_ADMIN_PASSWORD']%>@localhost:5984/mozo_development"
#database: mozo_development #database: mozo_development
test: test:
validation_framework: :active_model #optional validation_framework: :active_model #optional
@@ -11,7 +11,8 @@ test:
# database: "http://admin:secret@localhost:5984/qwaiter_test" # database: "http://admin:secret@localhost:5984/qwaiter_test"
production: production:
validation_framework: :active_model #optional validation_framework: :active_model #optional
database: qwaiter database: "http://admin:<%= ENV['COUCHDB_ADMIN_PASSWORD']%>@localhost:5984/qwaiter"
#database: qwaiter
user_app: user_app:
validation_framework: :active_model #optional validation_framework: :active_model #optional
database: mozo_development database: mozo_development
+1 -1
View File
@@ -9,7 +9,7 @@ Qwaiter::Application.configure do
config.cache_classes = false config.cache_classes = false
config.middleware.insert_before 0, Rack::Cors do config.middleware.insert_before 0, Rack::Cors do
allow do allow do
origins 'https://localhost:4202', 'https://localhost:4201', 'http://localhost:9296', 'supplier.mozo.local', 'user.mozo.local', 'events.mozo.local' origins 'https://localhost:4202', 'https://localhost:4201', 'https://localhost:9296', 'supplier.mozo.local', 'user.mozo.local', 'events.mozo.local'
#resource '/user/*', :headers => '*', :methods => '*' #[:get, :post, :options] #resource '/user/*', :headers => '*', :methods => '*' #[:get, :post, :options]
resource '*', headers: :any, methods: %i[get post put patch delete options] resource '*', headers: :any, methods: %i[get post put patch delete options]
end end