cirro-ruby-client 2.5.6 → 2.5.8

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: 81d817a04b802f00540118e81d40f3ad997a80ca8ba0dda7a3ec5fd954b011ca
4
- data.tar.gz: 9026a10e44c5df3dff3bbb862b1fd82f1a64752841873f5767402ab3aef0de00
3
+ metadata.gz: 469da366e12c49c034b4163ec868c46648c89987ca4c7c5496c0eade3588abaf
4
+ data.tar.gz: fdb0bc733f50efdd5a96baad2ced8e12bab3f22c1585db34e887b3b0948c70e2
5
5
  SHA512:
6
- metadata.gz: f096248c2b4c7aadd108f21e7a01b93d4dc2516fbf3c90965a81b373e4248146f4e843e583d7968ff8056063160b14e7439a7a730275d9fcbb2ff2dc05039d65
7
- data.tar.gz: 88f57252232d0af55c6bb5a0f5ac1af7c2899a0ee03dfd6fc89809f9089f98797661fbb5da67b03563d0ea86c54d0e3ae689949aa666ac39743513fa65c54a9c
6
+ metadata.gz: f08e7ee0f8939c11b4e67bc23ae7866c5c9efb1c6eeee10f221c6cb125d0a270313c2328dab2b5b67412d98849b056b9f6a9e203cfc77baf024a6c024003b667
7
+ data.tar.gz: 2ad64745a462aa8976e9da0c87613b66b2dbf56b6cd481f443c9fe1d75b6ce0d86de5965ad6fd2571a6919ce8e0515302dfab370f57115b4b9bb5ae5bdd30ae4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cirro-ruby-client (2.5.4)
4
+ cirro-ruby-client (2.5.8)
5
5
  activesupport
6
6
  faraday (< 1.2.0)
7
7
  faraday_middleware
@@ -11,13 +11,14 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activemodel (7.0.4)
15
- activesupport (= 7.0.4)
16
- activesupport (7.0.4)
14
+ activemodel (6.1.7)
15
+ activesupport (= 6.1.7)
16
+ activesupport (6.1.7)
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
18
  i18n (>= 1.6, < 2)
19
19
  minitest (>= 5.1)
20
20
  tzinfo (~> 2.0)
21
+ zeitwerk (~> 2.3)
21
22
  addressable (2.8.0)
22
23
  public_suffix (>= 2.0.2, < 5.0)
23
24
  ast (2.4.1)
@@ -42,9 +43,9 @@ GEM
42
43
  faraday (>= 0.15.2, < 2.0)
43
44
  faraday_middleware (>= 0.9.0, < 2.0)
44
45
  rack (>= 0.2)
45
- jwt (2.5.0)
46
+ jwt (2.6.0)
46
47
  method_source (1.0.0)
47
- minitest (5.16.3)
48
+ minitest (5.17.0)
48
49
  multipart-post (2.2.3)
49
50
  parallel (1.19.2)
50
51
  parser (2.7.2.0)
@@ -53,7 +54,7 @@ GEM
53
54
  coderay (~> 1.1)
54
55
  method_source (~> 1.0)
55
56
  public_suffix (4.0.6)
56
- rack (3.0.1)
57
+ rack (3.0.3)
57
58
  rainbow (3.0.0)
58
59
  rake (12.3.3)
59
60
  regexp_parser (1.8.1)
@@ -93,6 +94,7 @@ GEM
93
94
  addressable (>= 2.3.6)
94
95
  crack (>= 0.3.2)
95
96
  hashdiff (>= 0.4.0, < 2.0.0)
97
+ zeitwerk (2.6.6)
96
98
 
97
99
  PLATFORMS
98
100
  ruby
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.description = 'Simple wrapper for Cirro API'
11
11
  spec.homepage = 'https://cirro.io/api-docs/v1#cirro-api-documentation'
12
12
  spec.license = 'MIT'
13
- spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
13
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.6.9')
14
14
 
15
15
  spec.metadata['homepage_uri'] = spec.homepage
16
16
  spec.metadata['source_code_uri'] = 'https://github.com/test-IO/cirro-ruby-client'
@@ -1,7 +1,7 @@
1
1
  # rubocop:disable Style/MutableConstant
2
2
  module CirroIO
3
3
  module Client
4
- VERSION = '2.5.6'
4
+ VERSION = '2.5.8'
5
5
  end
6
6
  end
7
7
  # rubocop:enable Style/MutableConstant
@@ -11,7 +11,7 @@ module CirroIOV2
11
11
  Responses::GigResponse.new(response.body)
12
12
  end
13
13
 
14
- def archive(id, params)
14
+ def archive(id, params = nil)
15
15
  response = client.request_client.request(:post, "#{resource_root}/#{id}/archive", body: params)
16
16
  Responses::GigResponse.new(response.body)
17
17
  end
@@ -20,6 +20,11 @@ module CirroIOV2
20
20
  response = client.request_client.request(:post, "#{resource_root}/#{id}/expire")
21
21
  Responses::GigInvitationResponse.new(response.body)
22
22
  end
23
+
24
+ def reset(id, params = nil)
25
+ response = client.request_client.request(:post, "#{resource_root}/#{id}/reset", body: params)
26
+ Responses::GigInvitationResponse.new(response.body)
27
+ end
23
28
  end
24
29
  end
25
30
  end
@@ -6,6 +6,11 @@ module CirroIOV2
6
6
  Responses::NotificationTemplateListResponse.new(response.body)
7
7
  end
8
8
 
9
+ def create(params)
10
+ response = client.request_client.request(:post, resource_root, body: params)
11
+ Responses::NotificationTemplateResponse.new(response.body)
12
+ end
13
+
9
14
  def update(id, params)
10
15
  response = client.request_client.request(:post, "#{resource_root}/#{id}", body: params)
11
16
  Responses::NotificationTemplateResponse.new(response.body)
@@ -37,6 +37,8 @@ module CirroIOV2
37
37
  :end_at,
38
38
  :archived_at,
39
39
  :total_seats,
40
+ :seats_min,
41
+ :seats_max,
40
42
  :invitation_mode,
41
43
  :filter_query,
42
44
  :tasks,
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.6
4
+ version: 2.5.8
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: 2023-01-10 00:00:00.000000000 Z
11
+ date: 2023-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -160,7 +160,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
161
  - - ">="
162
162
  - !ruby/object:Gem::Version
163
- version: 2.3.0
163
+ version: 2.6.9
164
164
  required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - ">="