sfrest 0.0.35 → 0.0.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sfrest/stage.rb +5 -2
- data/lib/sfrest/version.rb +1 -1
- 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: 22fe3070d6203957aa5361a2583ec43dc1f63f29c5bd8a08335e07c176d082d6
|
4
|
+
data.tar.gz: 4e0c7a0f06eaa5b72a215fcc1028f90eb9faf6a92394ad2b79a26728a1043af0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e8de406c5b8439f21974b2975f07898eed6789c33c1d8643f8a0d955a8eadb8b9b3768d59eb21834b3f247df4a4ba5dad2c5621737c6c16499a486c6d7a1cc
|
7
|
+
data.tar.gz: 91afd11ef8f8bb8cf8c219aeca3082542d5f66cf1e51a332e6dd8aa63661feafcc9b4f8e437d74d4468dab250d12fd7189fb6e95ea58db7f3a05fae520d494ad
|
data/lib/sfrest/stage.rb
CHANGED
@@ -33,6 +33,7 @@ module SFRest
|
|
33
33
|
# @param [Boolean] wipe_target_environment recreate the target stage wiping all data
|
34
34
|
# @param [synchronize_all_users] only stage the user accounts required for the related collections and groups
|
35
35
|
# @param [Array] Stacks Array of stack ids to wipe
|
36
|
+
# @param [Boolean] skip_site_files site skip file transfer during staging
|
36
37
|
#
|
37
38
|
# @return [Integer] Id of the staging task created.
|
38
39
|
# rubocop:disable Metrics/ParameterLists
|
@@ -41,14 +42,16 @@ module SFRest
|
|
41
42
|
email_site_status: false,
|
42
43
|
wipe_target_environment: false,
|
43
44
|
synchronize_all_users: true,
|
44
|
-
wipe_stacks: []
|
45
|
+
wipe_stacks: [],
|
46
|
+
skip_site_files: false)
|
45
47
|
raise InvalidApiVersion, staging_versions unless staging_versions.include? 2
|
46
48
|
|
47
49
|
payload = { 'to_env' => env, 'sites' => sites,
|
48
50
|
'detailed_status' => email_site_status,
|
49
51
|
'wipe_target_environment' => wipe_target_environment,
|
50
52
|
'synchronize_all_users' => synchronize_all_users,
|
51
|
-
'wipe_stacks' => wipe_stacks
|
53
|
+
'wipe_stacks' => wipe_stacks,
|
54
|
+
'skip_site_files' => skip_site_files }.to_json
|
52
55
|
@conn.post('/api/v2/stage', payload)
|
53
56
|
end
|
54
57
|
# rubocop:enable Metrics/ParameterLists
|
data/lib/sfrest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sfrest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ACSF Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
144
|
+
rubygems_version: 3.2.17
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Acquia Site Factory Rest API.
|