Skip to content

Commit

Permalink
Merge pull request #128 from getlago/v0.14.0-alpha
Browse files Browse the repository at this point in the history
misc: Bump version to v0.14.0-alpha
  • Loading branch information
rsempe authored Nov 10, 2022
2 parents 942435b + 2bdfaf2 commit 7bed1de
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion api
Submodule api updated 52 files
+19 −0 app/controllers/api/v1/credit_notes_controller.rb
+2 −5 app/graphql/types/billable_metrics/object.rb
+1 −0 app/graphql/types/charges/usage.rb
+17 −0 app/graphql/types/groups/object.rb
+15 −0 app/graphql/types/groups/usage.rb
+1 −0 app/graphql/types/invoices/invoice_item.rb
+14 −0 app/jobs/credit_notes/refunds/stripe_create_job.rb
+2 −1 app/models/credit_note.rb
+1 −0 app/models/fee.rb
+5 −0 app/models/group.rb
+1 −0 app/models/invoice.rb
+9 −0 app/serializers/v1/charge_usage_serializer.rb
+1 −0 app/serializers/v1/fee_serializer.rb
+4 −2 app/services/billable_metrics/aggregations/base_service.rb
+4 −1 app/services/billable_metrics/aggregations/recurring_count_service.rb
+46 −0 app/services/credit_notes/create_service.rb
+151 −0 app/services/credit_notes/refunds/stripe_service.rb
+14 −0 app/services/credit_notes/update_service.rb
+1 −0 app/services/fees/charge_service.rb
+2 −2 app/services/groups/create_batch_service.rb
+36 −14 app/services/invoices/customer_usage_service.rb
+7 −0 app/services/payment_providers/stripe_service.rb
+76 −28 app/views/templates/invoice.slim
+1 −0 config/routes.rb
+7 −0 db/migrate/20221028091920_add_group_id_to_fees.rb
+3 −0 db/schema.rb
+2 −227 db/seeds.rb
+197 −0 db/seeds/base.rb
+235 −0 db/seeds/groups.rb
+34 −0 db/seeds/invoices.rb
+20 −3 schema.graphql
+217 −5 schema.json
+34 −2 spec/controllers/api/v1/credit_notes_controller_spec.rb
+15 −0 spec/factories/refunds.rb
+31 −0 spec/fixtures/stripe/charge_refund_updated_event.json
+4 −4 spec/graphql/mutations/credit_notes/update_spec.rb
+9 −2 spec/graphql/resolvers/billable_metrics_resolver_spec.rb
+184 −15 spec/graphql/resolvers/customers/usage_resolver_spec.rb
+20 −0 spec/graphql/resolvers/invoice_resolver_spec.rb
+24 −0 spec/jobs/credit_notes/refunds/stripe_create_job_spec.rb
+0 −2 spec/models/credit_note_spec.rb
+164 −5 spec/requests/api/v1/customers_spec.rb
+4 −1 spec/requests/api/v1/invoices_spec.rb
+14 −1 spec/services/billable_metrics/aggregations/count_service_spec.rb
+65 −1 spec/services/credit_notes/create_service_spec.rb
+253 −0 spec/services/credit_notes/refunds/stripe_service_spec.rb
+18 −2 spec/services/credit_notes/update_service_spec.rb
+1 −0 spec/services/credit_notes/void_service_spec.rb
+25 −0 spec/services/fees/charge_service_spec.rb
+2 −2 spec/services/groups/create_batch_service_spec.rb
+6 −1 spec/services/invoices/customer_usage_service_spec.rb
+29 −1 spec/services/payment_providers/stripe_service_spec.rb
8 changes: 4 additions & 4 deletions docker-compose.arm64.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-arm64v8:v0.13.2-alpha
image: getlago/api-arm64v8:v0.14.0-alpha
restart: unless-stopped
depends_on:
- db
Expand Down Expand Up @@ -70,7 +70,7 @@ services:

front:
container_name: lago-front
image: getlago/front-arm64v8:v0.13.0-alpha
image: getlago/front-arm64v8:v0.14.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 @@ -107,7 +107,7 @@ services:

api-worker:
container_name: lago-worker
image: getlago/api-arm64v8:v0.13.2-alpha
image: getlago/api-arm64v8:v0.14.0-alpha
restart: unless-stopped
depends_on:
- api
Expand Down Expand Up @@ -141,7 +141,7 @@ services:

api-clock:
container_name: lago-clock
image: getlago/api-arm64v8:v0.13.2-alpha
image: getlago/api-arm64v8:v0.14.0-alpha
restart: unless-stopped
depends_on:
- api
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:

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

front:
container_name: lago-front
image: getlago/front:v0.13.0-alpha
image: getlago/front:v0.14.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 @@ -113,7 +113,7 @@ services:

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

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

0 comments on commit 7bed1de

Please sign in to comment.