cirro-ruby-client 2.5.3 → 2.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16ac5345905be9000d1babb8c6729e4d972af7263b9a3cf91c7d470b8b5af198
4
- data.tar.gz: bced0b73e2c5a49b2e448401f79683900e441952853b03a3453116729c9680b1
3
+ metadata.gz: 8d694c3e8f8646a2c7249e229314685156169bf169a68fa1d90e2b2947b7e935
4
+ data.tar.gz: '09668fe924234babd35f8ad7e90e251b21552081d8e804927bfecaa7cd9f6708'
5
5
  SHA512:
6
- metadata.gz: 68ba0cc2b8ec811ff7bf31db9476372fa211281a07122346ef7ca7aafef61d036237373fbe802adbf61ceed266dbb27a1fb847fc3b071a9347593cc38a588413
7
- data.tar.gz: 59d823c2d0540d5463b36553774e3ff9f1ccc5941d27843742e6d348f6aff5df95d3d0f5c86593f7d8564321c135e09b6efd6abc9f7ddab5ea5fd4769f4ef6af
6
+ metadata.gz: f6c3029d82c79445bf754d8427a7afccb785f6a931ebdb5771bb704f25352cf3d5ffa072000c17fdc2dc21a310f758f8e203fce6a13eb04fd8aa6863346d4ddf
7
+ data.tar.gz: 8371438b9268425f9f02157720e423135af303974c022204552fb39faf6e81dfda3e988e2aa5a356f6c4a998070015ddb6a13b2378a524762caed91f55ee91de
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cirro-ruby-client (2.5.3)
4
+ cirro-ruby-client (2.5.4)
5
5
  activesupport
6
6
  faraday (< 1.2.0)
7
7
  faraday_middleware
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This gem provides access to the [Cirro REST API](https://staging.cirro.io/api-docs/v1#cirro-api-documentation).
4
4
 
5
- [![CircleCI](https://circleci.com/gh/test-IO/cirro-ruby-client/tree/master.svg?style=svg)](https://circleci.com/gh/test-IO/cirro-ruby-client/tree/master)
5
+ [![CircleCI](https://circleci.com/gh/test-IO/cirro-ruby-client/tree/master.svg?style=svg&circle-token=a77e4eac5646768d681283763d2a29a55a221d7c)](https://circleci.com/gh/test-IO/cirro-ruby-client/tree/master)
6
6
 
7
7
  ## Installation
8
8
 
@@ -1,7 +1,7 @@
1
1
  # rubocop:disable Style/MutableConstant
2
2
  module CirroIO
3
3
  module Client
4
- VERSION = '2.5.3'
4
+ VERSION = '2.5.4'
5
5
  end
6
6
  end
7
7
  # rubocop:enable Style/MutableConstant
@@ -6,8 +6,8 @@ module CirroIOV2
6
6
  Responses::GigInvitationListResponse.new(response.body)
7
7
  end
8
8
 
9
- def accept(id)
10
- response = client.request_client.request(:post, "#{resource_root}/#{id}/accept")
9
+ def accept(id, params = nil)
10
+ response = client.request_client.request(:post, "#{resource_root}/#{id}/accept", body: params)
11
11
  Responses::GigInvitationResponse.new(response.body)
12
12
  end
13
13
 
@@ -54,7 +54,7 @@ module CirroIOV2
54
54
  include Base
55
55
  end
56
56
 
57
- GigInvitationResponse = Struct.new(:id, :object, :status, :gig_id, :user_id) do
57
+ GigInvitationResponse = Struct.new(:id, :object, :status, :gig_id, :user_id, :no_reward) do
58
58
  include Base
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cirro-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cirro Dev Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-22 00:00:00.000000000 Z
11
+ date: 2023-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport