use_packs 0.0.1 → 0.0.2

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: 88d0834366bd3d1591029828eab623a5781f0ed44a3b8c0b35ab92f131236377
4
- data.tar.gz: 8f3dd5181a41f8bd3ff2441fc58c73bac8ec712137a5967b7447d62b9014d653
3
+ metadata.gz: e12528c58342f14ac6b85143222c121a415baf025dbce4bf46349b60c5a1a726
4
+ data.tar.gz: e59faa92e2e6eab2e0967cd46cba1ba7bb1aade8957f55a40656571ea3431bbc
5
5
  SHA512:
6
- metadata.gz: 3cb7be9b2014cc3c065d700e19472821acda6b9a41fe73cdf695e52d2d96ee1552aabaf2e123c8f4d4b21c1b469cb26073e8eaa650874d6ded5fbdb63c3a401e
7
- data.tar.gz: 6a6a15f8f010a10988eae52796bbbf55326c7a814bc1d0ec3a550edd860cc038fb7eb917860e7629cae1d6b2462901296b5bb163857b3cf955a7c93b6d9ffe21
6
+ metadata.gz: 31f76e50ac922c3968066db9f7744922cb36f8fce69ace812d7b98b6af5488257c3efa5b9a12190854d88959a2b7ad6573c97847a3c364c5e4adc29740eb39c5
7
+ data.tar.gz: 2b3fce71ffb916a7c40392e8bbdcb2533819c3825245f0e29f1fa910e42cd5a2dc8fda16c8ddf4d5c6a6d69af22ef87176d7c5de5a715613b79b600664ea7d58
data/README.md CHANGED
@@ -43,12 +43,6 @@ If no pack name is passed in, this will list out violations across all packs.
43
43
 
44
44
  This can be used to quickly modify a `package.yml` file and add a dependency. It also cleans up the list of dependencies to sort the list and remove redundant entries.
45
45
 
46
- ### Setting up Spring
47
-
48
- [Spring](https://github.com/rails/spring) is a preloader for Rails. Although `use_packs` itself does not use `Rails`, this can help speed up running commands like `bin/packs` by caching the bundle.
49
- Firstly, spring needs to know about the `bin/packs` command when spring is loading. To do that, add `require 'use_packs/spring_command'` to `config/spring.rb` in your application.
50
- Secondly, to enable Spring, first run `bin/spring binstub packs` which will "springify" the generated binstub.
51
-
52
46
  ### Releasing
53
47
  Releases happen automatically through github actions once a version update is committed to `main`.
54
48
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: use_packs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineers
@@ -319,7 +319,6 @@ files:
319
319
  - lib/use_packs/private/packwerk_wrapper.rb
320
320
  - lib/use_packs/private/packwerk_wrapper/offenses_aggregator_formatter.rb
321
321
  - lib/use_packs/rubocop_post_processor.rb
322
- - lib/use_packs/spring_command.rb
323
322
  - lib/use_packs/user_event_logger.rb
324
323
  homepage: https://github.com/rubyatscale/use_packs
325
324
  licenses:
@@ -1,28 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
- require 'spring/commands'
5
-
6
- module UsePacks
7
- class SpringCommand
8
- def env(*)
9
- # Packwerk needs to run in a test environment, which has a set of autoload paths that are
10
- # often a superset of the dev/prod paths (for example, test/support/helpers)
11
- 'test'
12
- end
13
-
14
- def exec_name
15
- 'packs'
16
- end
17
-
18
- def gem_name
19
- 'use_packs'
20
- end
21
-
22
- def call
23
- load(Gem.bin_path(gem_name, exec_name))
24
- end
25
- end
26
-
27
- Spring.register_command('packs', SpringCommand.new)
28
- end