
Security News
ESLint Adds Support for Parallel Linting, Closing 10-Year-Old Feature Request
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
共享食物数据模块,后续可以扩展成所有对食物数据的依赖,并适当的服务化相关的业务 (通过http 或者 grpc) 提供服务。
gem 'shared_food', git: 'git@git.boohee.cn:ruby/shared_food.git' branch: 'v0.0.1'
## ifood
ifood_development:
<<: *default
database: ifood_dev
ifood_test:
<<: *default
database: ifood_test
ifood_qa:
<<: *default
host: boohee-qa
database: ifood_qa
ifood_production:
<<: *default
database: ifood_pd
SharedFood.config do |conf| conf.ifood_image_host = 'f1.boohee.com' conf.food_image_host = 's.boohee.cn' conf.up_image_host = 'up.boohee.cn' end
直接使用 food 相关 model,如 Food, FoodUnit, FoodLight, FoodIngredient 等 如果使用全文检索
Food#search_with_fields(keyword, page = 1, per_page = 20) 返回 foods 和 total_pages
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.