Skip to content

Commit

Permalink
Merge pull request #300 from getlago/bump_version
Browse files Browse the repository at this point in the history
misc: Bump to v0.52.1-beta
  • Loading branch information
rsempe authored Nov 29, 2023
2 parents 71f269a + a50f4de commit 19285f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion api
Submodule api updated 76 files
+1 −1 app/controllers/api/v1/analytics/gross_revenues_controller.rb
+3 −3 app/controllers/api/v1/analytics/invoice_collections_controller.rb
+1 −1 app/controllers/api/v1/analytics/invoiced_usages_controller.rb
+1 −1 app/controllers/api/v1/analytics/mrrs_controller.rb
+4 −4 app/graphql/resolvers/analytics/invoice_collections_resolver.rb
+2 −2 app/graphql/types/analytics/invoice_collections/object.rb
+1 −1 app/graphql/types/query_type.rb
+36 −37 app/models/analytics/gross_revenue.rb
+2 −2 app/models/analytics/invoice_collection.rb
+66 −33 app/models/analytics/mrr.rb
+1 −1 app/serializers/v1/analytics/invoice_collection_serializer.rb
+2 −2 app/services/analytics/invoice_collections_service.rb
+75 −0 app/services/charges/amount_details/range_graduated_percentage_service.rb
+71 −0 app/services/charges/amount_details/range_graduated_service.rb
+1 −5 app/services/charges/charge_models/base_service.rb
+14 −28 app/services/charges/charge_models/graduated_percentage_service.rb
+14 −27 app/services/charges/charge_models/graduated_service.rb
+41 −8 app/services/charges/charge_models/package_service.rb
+14 −14 app/services/charges/charge_models/percentage_service.rb
+7 −0 app/services/charges/charge_models/prorated_graduated_service.rb
+38 −5 app/services/charges/charge_models/volume_service.rb
+16 −12 app/services/events/post_validation_service.rb
+5 −1 app/services/fees/subscription_service.rb
+5 −5 app/services/invoices/calculate_fees_service.rb
+1 −1 app/services/invoices/generate_pdf_service.rb
+2 −6 app/services/invoices/payments/adyen_service.rb
+1 −1 app/services/payment_provider_customers/adyen_service.rb
+4 −1 app/services/payment_provider_customers/create_service.rb
+1 −1 app/services/webhooks/retry_service.rb
+9 −0 app/views/helpers/money_helper.rb
+41 −30 app/views/templates/invoices/_subscription_details.slim
+3 −2 app/views/templates/invoices/charge.slim
+2 −1 app/views/templates/invoices/fees/_true_up_fee.slim
+263 −1 app/views/templates/invoices/v3.slim
+470 −0 app/views/templates/invoices/v4.slim
+13 −0 app/views/templates/invoices/v4/_default_fee.slim
+63 −0 app/views/templates/invoices/v4/_graduated.slim
+63 −0 app/views/templates/invoices/v4/_graduated_percentage.slim
+33 −0 app/views/templates/invoices/v4/_package.slim
+47 −0 app/views/templates/invoices/v4/_percentage.slim
+33 −0 app/views/templates/invoices/v4/_volume.slim
+3 −0 config/environments/test.rb
+6 −0 config/locales/de/invoice.yml
+20 −0 config/locales/en/invoice.yml
+6 −0 config/locales/es/invoice.yml
+6 −0 config/locales/fr/invoice.yml
+1 −1 config/routes.rb
+7 −0 db/migrate/20231123095209_add_unique_index_on_invoice_subscriptions.rb
+16 −0 db/migrate/20231128092231_update_default_amount_details_on_fees.rb
+4 −3 db/schema.rb
+18 −18 schema.graphql
+181 −181 schema.json
+1 −6 spec/graphql/resolvers/analytics/gross_revenues_resolver_spec.rb
+10 −10 spec/graphql/resolvers/analytics/invoice_collections_resolver_spec.rb
+1 −1 spec/graphql/types/analytics/invoice_collections/object_spec.rb
+10 −10 spec/models/analytics/invoice_collection_spec.rb
+2 −12 spec/requests/api/v1/analytics/gross_revenues_spec.rb
+9 −9 spec/requests/api/v1/analytics/invoice_collections_spec.rb
+140 −0 spec/scenarios/subscriptions/downgrade_spec.rb
+29 −0 spec/serializers/v1/analytics/invoice_collection_serializer_spec.rb
+0 −29 spec/serializers/v1/analytics/outstanding_invoice_serializer_spec.rb
+1 −1 spec/services/analytics/invoice_collections_service_spec.rb
+56 −0 spec/services/charges/amount_details/range_graduated_percentage_service_spec.rb
+56 −0 spec/services/charges/amount_details/range_graduated_service_spec.rb
+138 −6 spec/services/charges/charge_models/graduated_percentage_service_spec.rb
+138 −6 spec/services/charges/charge_models/graduated_service_spec.rb
+31 −2 spec/services/charges/charge_models/package_service_spec.rb
+49 −49 spec/services/charges/charge_models/percentage_service_spec.rb
+36 −10 spec/services/charges/charge_models/prorated_graduated_service_spec.rb
+63 −7 spec/services/charges/charge_models/volume_service_spec.rb
+11 −0 spec/services/events/post_validation_service_spec.rb
+19 −18 spec/services/fees/charge_service_spec.rb
+22 −0 spec/services/invoices/calculate_fees_service_spec.rb
+37 −13 spec/services/invoices/payments/adyen_service_spec.rb
+81 −27 spec/services/payment_provider_customers/create_service_spec.rb
+1 −1 spec/services/webhooks/retry_service_spec.rb
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:

api:
container_name: lago-api
image: getlago/api:v0.52.0-beta
image: getlago/api:v0.52.1-beta
restart: unless-stopped
depends_on:
- db
Expand Down Expand Up @@ -82,7 +82,7 @@ services:

front:
container_name: lago-front
image: getlago/front:v0.52.0-beta
image: getlago/front:v0.52.1-beta
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 @@ -120,7 +120,7 @@ services:

api-worker:
container_name: lago-worker
image: getlago/api:v0.52.0-beta
image: getlago/api:v0.52.1-beta
restart: unless-stopped
depends_on:
- api
Expand Down Expand Up @@ -163,7 +163,7 @@ services:
# It is recommendend if you have a high usage of events to not impact the other Sidekiq Jobs.
#api-events-worker:
# container_name: lago-events-worker
# image: getlago/api:v0.52.0-beta
# image: getlago/api:v0.52.1-beta
# restart: unless-stopped
# depends_on:
# - api
Expand Down Expand Up @@ -200,7 +200,7 @@ services:

api-clock:
container_name: lago-clock
image: getlago/api:v0.52.0-beta
image: getlago/api:v0.52.1-beta
restart: unless-stopped
depends_on:
- api
Expand Down
2 changes: 1 addition & 1 deletion front
Submodule front updated 217 files

0 comments on commit 19285f8

Please sign in to comment.