rock_rms 8.14.0 → 8.15.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a73b786f0737e68809d93e272394afe36c36694cff60610e107da608cb3b806
|
4
|
+
data.tar.gz: 9914ae85360357639e9234b24d1e7de82c2e36c17f446b3d4b91818aaaa00a65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb403eb1788bbc109da8dc8ca30eb8c76c7091e99218d6391ec8c8ab0ddd65006d388c67db6e582af6882bd0f9dcc317a59e32b9ea80e1cdfe524633d58aad16
|
7
|
+
data.tar.gz: b3b345272263b2958858e37a09eb736c84e160230deceb9447b029a667738a176cab5df9ccf60f66da14ba88bb882e9621917ef61c77da12fe3e776d378f6472
|
@@ -18,7 +18,10 @@ module RockRMS
|
|
18
18
|
active:,
|
19
19
|
is_system:,
|
20
20
|
markup:,
|
21
|
-
|
21
|
+
enabled_lava_commands:,
|
22
|
+
parameters:,
|
23
|
+
tag_name:,
|
24
|
+
tag_type:
|
22
25
|
)
|
23
26
|
options = {
|
24
27
|
'Name' => name,
|
@@ -27,7 +30,10 @@ module RockRMS
|
|
27
30
|
'IsActive' => active,
|
28
31
|
'IsSystem' => is_system,
|
29
32
|
'Markup' => markup,
|
30
|
-
'
|
33
|
+
'EnabledLavaCommands' => enabled_lava_commands,
|
34
|
+
'Parameters' => parameters,
|
35
|
+
'TagName' => tag_name,
|
36
|
+
'TagType' => tag_type,
|
31
37
|
}
|
32
38
|
|
33
39
|
post(lava_shortcodes_path, options)
|
@@ -41,18 +47,24 @@ module RockRMS
|
|
41
47
|
active: nil,
|
42
48
|
is_system: nil,
|
43
49
|
markup: nil,
|
44
|
-
|
50
|
+
enabled_lava_commands: nil,
|
51
|
+
parameters: nil,
|
52
|
+
tag_name: nil,
|
53
|
+
tag_type: nil
|
45
54
|
)
|
46
55
|
|
47
56
|
options = {}
|
48
57
|
|
49
|
-
options['Name'] = name
|
50
|
-
options['Description'] = description
|
58
|
+
options['Name'] = name if name
|
59
|
+
options['Description'] = description if description
|
51
60
|
options['Documentation'] = documentation if documentation
|
52
|
-
options['IsActive'] = active
|
53
|
-
options['IsSystem'] = is_system
|
54
|
-
options['Markup'] = markup
|
55
|
-
options['Parameters'] = parameters
|
61
|
+
options['IsActive'] = active unless active.nil?
|
62
|
+
options['IsSystem'] = is_system unless is_system.nil?
|
63
|
+
options['Markup'] = markup if markup
|
64
|
+
options['Parameters'] = parameters if parameters
|
65
|
+
options['TagName'] = tag_name if tag_name
|
66
|
+
options['TagType'] = tag_type if tag_type
|
67
|
+
options['EnabledLavaCommands'] = enabled_lava_commands if enabled_lava_commands
|
56
68
|
|
57
69
|
patch(lava_shortcodes_path(id), options)
|
58
70
|
end
|
data/lib/rock_rms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rock_rms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -202,7 +202,7 @@ files:
|
|
202
202
|
- lib/rock_rms/resources/group.rb
|
203
203
|
- lib/rock_rms/resources/group_member.rb
|
204
204
|
- lib/rock_rms/resources/history.rb
|
205
|
-
- lib/rock_rms/resources/
|
205
|
+
- lib/rock_rms/resources/lava_shortcode.rb
|
206
206
|
- lib/rock_rms/resources/page.rb
|
207
207
|
- lib/rock_rms/resources/payment_detail.rb
|
208
208
|
- lib/rock_rms/resources/person.rb
|