cirro-ruby-client 2.5.5 → 2.5.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ca5782ead2e747f8684e7a9905f93891b9fc51a04740ff7f167cc2763b4607c
4
- data.tar.gz: 15f977eebc256f442124ec41f244ad4a60200519d9ddb819ce6c83d33e3ec9c4
3
+ metadata.gz: d3671421de14ffa02d024af6247de5e18454017c86e57bedd7b34602d03ab332
4
+ data.tar.gz: e1ec7cfc8f40ad2adcef72acf81ab232181ceb88f32e6a9a2578e469bb0de489
5
5
  SHA512:
6
- metadata.gz: 94232d3ec382c31dfb915d4f03c2d9ea1bf18ce822b2f51cd81633a96594b3fef0a8b07f90c6420283674fc644cfee4b0d686f95ae2165cb31703744d429df5d
7
- data.tar.gz: ff9a6e73ed697aca587a6e7a71487a175f291853a46e0f5a15774072758a478a24887ac74063dcbcbd9be33ac462e2a7c3a4376063a8b81ece9be7fb47bdd778
6
+ metadata.gz: 332d132f127945f9bf7f42713c9ff6cdb067788380e10914b58e23fda846aa40c376fc13eb3dc0deac11841ddd53641fca3158fec62e5de450c3eae76551307a
7
+ data.tar.gz: 91708797c7aaaa9a364affa5248d643a7b280ca2e716f00be048ca19e0ae0a6f546be11385083d366ef1474b276aaed003bfd1550c8b597bbaf8d121bdc68c2a
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.7)
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.5'
4
+ VERSION = '2.5.7'
5
5
  end
6
6
  end
7
7
  # rubocop:enable Style/MutableConstant
@@ -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)
@@ -7,7 +7,7 @@ module CirroIOV2
7
7
  end
8
8
 
9
9
  def expire(id)
10
- response = client.request_client.request(:post, "#{resource_root}/#{id}")
10
+ response = client.request_client.request(:post, "#{resource_root}/#{id}/expire")
11
11
  Responses::SpaceInvitationResponse.new(response.body)
12
12
  end
13
13
  end
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.5
4
+ version: 2.5.7
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-01-11 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
  - - ">="