use_packs 0.0.10 → 0.0.11

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: da298eaafa63d9711e053dda10339d79ebf57280512b3ea4849783859d98ceb0
4
- data.tar.gz: 14d12b7d6ac2aeff5075b4df3c936b619c735f89c8bd062a7e13e85f17f3b0b2
3
+ metadata.gz: 56ce2bde968a560b111d1be1dde1ea510e11cdf2fd5207ee61200719a535af2b
4
+ data.tar.gz: 369878a0a5e538739ed19f2050176bbb58397a98e1e8a12f653fd44a65a7a4a8
5
5
  SHA512:
6
- metadata.gz: f1d901340aecc1d8baad2f16181559acb9a79cd41153ba9aa6c3b0f8c0a207c139d03d4184b99f7e98613f591568b8084392f47fa58cd6e1eb2325780188ff0a
7
- data.tar.gz: bd80903a16389bd7191b1e509be98a0ce5049278e96a7640536e1cff2e45915d838ffc0ed188e523776033e339a69c0df5bb5d6d364984dae6f046039b0deaa7
6
+ metadata.gz: 760dcede5ac85d7c11f9f8494b299060f11b1dab1518b431f337f5e196595213d21cc49fba3847c9ca116df68afea838f21a0986ce6d8166567765c15d94230f
7
+ data.tar.gz: 9d846a10c935462ebb2c36db38afc26702b6191dafdba359e5401d8511e8c1b1c9901f39e7edd7d4bfff0d112f38770b228772cd5c28243db187d6033d842c14
@@ -170,7 +170,8 @@ module UsePacks
170
170
  enforce_privacy: package.enforce_dependencies,
171
171
  enforce_dependencies: package.enforce_dependencies,
172
172
  dependencies: package.dependencies,
173
- metadata: package.metadata
173
+ metadata: package.metadata,
174
+ config: package.config
174
175
  )
175
176
  ParsePackwerk.write_package_yml!(new_package)
176
177
  ParsePackwerk.bust_cache!
@@ -200,7 +201,8 @@ module UsePacks
200
201
  enforce_privacy: other_package.enforce_privacy,
201
202
  enforce_dependencies: other_package.enforce_dependencies,
202
203
  dependencies: new_dependencies.uniq.sort,
203
- metadata: other_package.metadata
204
+ metadata: other_package.metadata,
205
+ config: other_package.config
204
206
  )
205
207
 
206
208
  ParsePackwerk.write_package_yml!(new_other_package)
@@ -289,7 +291,8 @@ module UsePacks
289
291
  dependencies: (package.dependencies + [dependency_name]).uniq.sort,
290
292
  enforce_privacy: package.enforce_privacy,
291
293
  enforce_dependencies: package.enforce_dependencies,
292
- metadata: package.metadata
294
+ metadata: package.metadata,
295
+ config: package.config
293
296
  )
294
297
  ParsePackwerk.write_package_yml!(new_package)
295
298
  PackwerkWrapper.validate!
@@ -370,7 +373,8 @@ module UsePacks
370
373
  metadata: {
371
374
  'owner' => team.nil? ? 'MyTeam' : team.name
372
375
  },
373
- name: pack_name
376
+ name: pack_name,
377
+ config: {}
374
378
  )
375
379
 
376
380
  ParsePackwerk.write_package_yml!(package)
data/lib/use_packs.rb CHANGED
@@ -290,7 +290,8 @@ module UsePacks
290
290
  enforce_privacy: p.enforce_privacy,
291
291
  enforce_dependencies: p.enforce_dependencies,
292
292
  dependencies: p.dependencies.uniq.sort,
293
- metadata: p.metadata
293
+ metadata: p.metadata,
294
+ config: p.config
294
295
  )
295
296
  ParsePackwerk.write_package_yml!(new_package)
296
297
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: use_packs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-19 00:00:00.000000000 Z
11
+ date: 2022-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: code_ownership