cirro-ruby-client 2.5.6 → 2.5.7
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 +4 -4
- data/Gemfile.lock +9 -7
- data/cirro-ruby-client.gemspec +1 -1
- data/lib/cirro_io/client/version.rb +1 -1
- data/lib/cirro_io_v2/resources/notification_template.rb +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3671421de14ffa02d024af6247de5e18454017c86e57bedd7b34602d03ab332
|
4
|
+
data.tar.gz: e1ec7cfc8f40ad2adcef72acf81ab232181ceb88f32e6a9a2578e469bb0de489
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
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 (
|
15
|
-
activesupport (=
|
16
|
-
activesupport (
|
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.
|
46
|
+
jwt (2.6.0)
|
46
47
|
method_source (1.0.0)
|
47
|
-
minitest (5.
|
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.
|
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
|
data/cirro-ruby-client.gemspec
CHANGED
@@ -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.
|
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'
|
@@ -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)
|
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.
|
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-
|
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.
|
163
|
+
version: 2.6.9
|
164
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
165
|
requirements:
|
166
166
|
- - ">="
|