sfrest 0.0.35 → 0.0.36

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: 16898910d9454541990159add8a5ad32b5bf07f0538a8c35c86c0abc448c2f60
4
- data.tar.gz: 614c622674db0cbae5bd91db694c71afb526ebcc2d698b10fe845a6366924480
3
+ metadata.gz: 22fe3070d6203957aa5361a2583ec43dc1f63f29c5bd8a08335e07c176d082d6
4
+ data.tar.gz: 4e0c7a0f06eaa5b72a215fcc1028f90eb9faf6a92394ad2b79a26728a1043af0
5
5
  SHA512:
6
- metadata.gz: 29ef2feca8cd6d6bb3a78efa6ebef26cea4c6fd52aad8b05d3a859582047a9f263fca0f58526b28c35b01197d66b3bb7d373aa6a494b08a716040d99bb43f8dc
7
- data.tar.gz: 62303e0c264dbddec7652a8d6ab45b75f6ba9bd701bf5e565c74cf9e9048d53c783863472e480cc99772c63e8dc9db5b5592c072524a123cc9e8f9ea4e675d4e
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 }.to_json
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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module SFRest
4
4
  # Just tracks the version of sfrest.
5
- VERSION = '0.0.35'
5
+ VERSION = '0.0.36'
6
6
  end
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.35
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: 2021-06-23 00:00:00.000000000 Z
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.0.3
144
+ rubygems_version: 3.2.17
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Acquia Site Factory Rest API.