Skip to content

Commit

Permalink
misc: update docker compose versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdenquin committed Aug 23, 2022
1 parent 3db6f7a commit 9070c06
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api
Submodule api updated 99 files
+0 −8 .gitignore
+2 −2 .rubocop.yml
+8 −8 app/controllers/api/v1/plans_controller.rb
+1 −1 app/controllers/api/v1/subscriptions_controller.rb
+5 −2 app/graphql/concerns/charge_model_attributes_handler.rb
+1 −0 app/graphql/concerns/execution_error_responder.rb
+1 −0 app/graphql/mutations/subscriptions/create.rb
+0 −11 app/graphql/types/charges/fixed_amount_target_enum.rb
+2 −2 app/graphql/types/charges/input.rb
+10 −4 app/graphql/types/charges/object.rb
+0 −1 app/graphql/types/charges/usage.rb
+0 −3 app/graphql/types/invoices/object.rb
+13 −0 app/graphql/types/subscriptions/billing_time_enum.rb
+10 −7 app/graphql/types/subscriptions/object.rb
+14 −19 app/models/charge.rb
+1 −0 app/models/fee.rb
+4 −0 app/models/invoice.rb
+22 −1 app/models/invoice_subscription.rb
+0 −28 app/models/subscription.rb
+1 −2 app/serializers/v1/charge_serializer.rb
+1 −1 app/serializers/v1/charge_usage_serializer.rb
+1 −0 app/serializers/v1/fee_serializer.rb
+2 −0 app/serializers/v1/subscription_serializer.rb
+3 −2 app/services/base_service.rb
+1 −1 app/services/billable_metrics/aggregations/base_service.rb
+1 −1 app/services/billable_metrics/aggregations/count_service.rb
+4 −4 app/services/billable_metrics/aggregations/max_service.rb
+16 −3 app/services/billable_metrics/aggregations/sum_service.rb
+5 −3 app/services/billable_metrics/aggregations/unique_count_service.rb
+13 −5 app/services/charges/charge_models/base_service.rb
+13 −13 app/services/charges/charge_models/graduated_service.rb
+2 −2 app/services/charges/charge_models/package_service.rb
+37 −14 app/services/charges/charge_models/percentage_service.rb
+2 −2 app/services/charges/charge_models/standard_service.rb
+18 −9 app/services/charges/validators/percentage_service.rb
+46 −0 app/services/charges/validators/volume_service.rb
+12 −32 app/services/fees/charge_service.rb
+36 −77 app/services/fees/subscription_service.rb
+18 −83 app/services/invoices/create_service.rb
+18 −76 app/services/invoices/customer_usage_service.rb
+0 −1 app/services/plans/create_service.rb
+19 −5 app/services/subscriptions/create_service.rb
+33 −7 app/services/subscriptions/dates/monthly_service.rb
+30 −3 app/services/subscriptions/dates/weekly_service.rb
+41 −5 app/services/subscriptions/dates/yearly_service.rb
+46 −11 app/services/subscriptions/dates_service.rb
+6 −4 app/services/wallet_transactions/validate_service.rb
+1 −1 app/services/wallets/terminate_service.rb
+1 −1 app/services/wallets/update_service.rb
+17 −10 app/services/wallets/validate_service.rb
+5 −2 app/views/templates/invoice.slim
+0 −1 config/credentials.yml.enc
+0 −1 config/credentials/development.yml.enc
+0 −1 config/credentials/staging.yml.enc
+0 −1 config/credentials/test.yml.enc
+5 −1 config/locales/en.yml
+6 −0 db/migrate/20220816120137_update_properties_on_percentage_charges.rb
+7 −0 db/migrate/20220818141616_add_events_count_to_fees.rb
+11 −0 db/migrate/20220818151052_remove_amount_currency_null_constraint_from_charges.rb
+3 −2 db/schema.rb
+40 −0 docker-compose.ci.yml
+17 −0 lib/tasks/charges.rake
+14 −15 schema.graphql
+95 −145 schema.json
+1 −1 scripts/start.sh
+13 −4 spec/factories/charge_factory.rb
+2 −5 spec/graphql/mutations/plans/create_spec.rb
+2 −5 spec/graphql/mutations/plans/update_spec.rb
+5 −0 spec/graphql/mutations/subscriptions/create_spec.rb
+24 −0 spec/graphql/mutations/wallets/create_spec.rb
+1 −3 spec/graphql/resolvers/customers/usage_resolver_spec.rb
+57 −2 spec/models/charge_spec.rb
+56 −0 spec/models/invoice_subscription_spec.rb
+0 −10 spec/models/subscription_spec.rb
+21 −22 spec/requests/api/v1/plans_spec.rb
+3 −1 spec/requests/api/v1/subscriptions_spec.rb
+0 −1 spec/serializers/v1/charge_serializer_spec.rb
+3 −0 spec/services/billable_metrics/aggregations/max_service_spec.rb
+7 −1 spec/services/billable_metrics/aggregations/sum_service_spec.rb
+3 −0 spec/services/billable_metrics/aggregations/unique_count_service_spec.rb
+45 −13 spec/services/charges/charge_models/graduated_service_spec.rb
+13 −4 spec/services/charges/charge_models/package_service_spec.rb
+72 −47 spec/services/charges/charge_models/percentage_service_spec.rb
+12 −3 spec/services/charges/charge_models/standard_service_spec.rb
+41 −43 spec/services/charges/validators/percentage_service_spec.rb
+134 −0 spec/services/charges/validators/volume_service_spec.rb
+1 −0 spec/services/fees/add_on_service_spec.rb
+3 −0 spec/services/fees/charge_service_spec.rb
+194 −100 spec/services/fees/subscription_service_spec.rb
+213 −16 spec/services/invoices/create_service_spec.rb
+145 −0 spec/services/invoices/customer_usage_service_spec.rb
+2 −4 spec/services/plans/create_service_spec.rb
+15 −25 spec/services/plans/update_service_spec.rb
+81 −4 spec/services/subscriptions/create_service_spec.rb
+173 −22 spec/services/subscriptions/dates/monthly_service_spec.rb
+140 −18 spec/services/subscriptions/dates/weekly_service_spec.rb
+203 −19 spec/services/subscriptions/dates/yearly_service_spec.rb
+15 −1 spec/services/subscriptions/dates_service_spec.rb
+5 −5 spec/services/wallets/validate_service_spec.rb
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:

api:
container_name: lago-api
image: getlago/api:v0.5.3-alpha
image: getlago/api:v0.6.0-alpha
restart: unless-stopped
depends_on:
- db
Expand Down Expand Up @@ -64,7 +64,7 @@ services:

front:
container_name: lago-front
image: getlago/front:v0.5.3-alpha
image: getlago/front:v0.6.0-alpha
restart: unless-stopped
# Use this command if you want to use SSL with Let's Encrypt
# command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
Expand Down Expand Up @@ -100,7 +100,7 @@ services:

api-worker:
container_name: lago-worker
image: getlago/api:v0.5.3-alpha
image: getlago/api:v0.6.0-alpha
restart: unless-stopped
depends_on:
- api
Expand Down Expand Up @@ -129,7 +129,7 @@ services:

api-clock:
container_name: lago-clock
image: getlago/api:v0.5.3-alpha
image: getlago/api:v0.6.0-alpha
restart: unless-stopped
depends_on:
- api
Expand Down

0 comments on commit 9070c06

Please sign in to comment.