capistrano-tar-files 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: e4e07c40e87a0fddaccf06c7de4694e257cb4d0b
4
- data.tar.gz: 3042d7c269276731f75a48b1b05c701391bad452
3
+ metadata.gz: 114ea37c51ec4daf2a81db115bcf6c1f3aa05b49
4
+ data.tar.gz: 37b57c658fd3ded39449cf2fdb6bd649356cc670
5
5
  SHA512:
6
- metadata.gz: 3d46f1eb5c8c371d64baf53e9787b2b79185219d675a22f1ac3019303c232afd8cc18b5fa7b4dcf3ac36eb2bf85db7b81d507765bb19647bafb93c938b173415
7
- data.tar.gz: 7297d6bac8efec85f5fbc5f909c79e97e41d868e2ac8dc3d736591d0f53668485fe5c4920985c9e99ccf5a280884c460c44dabba2cbe0614cd5eccc59ba64b7e
6
+ metadata.gz: 285425469f9841c52566c2959bc111dc9c85f2e448c0d3de0fb4c0c1b228ed607caf23549b0133d3155e5ea04e23f47a6ea769e400902d3a6360f0d83463bdf4
7
+ data.tar.gz: bf9d36db7ec0f4d715654c0c4d9d954a09e79c0dc21676b559df29fc91337af1ac8b7bb2c7b0327a515e4af20a90f22ba1e71b3304af00bf28ef67dd2c58b80d
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  /.idea/
2
+ *.gem
data/README.md CHANGED
@@ -29,7 +29,7 @@ Require in `Capfile` to use the default task:
29
29
  require 'capistrano/tar_files'
30
30
  ```
31
31
 
32
- The task will run during `deploy:updating` as part of Capistrano's default deploy
32
+ Tarballs are unpacked during `deploy:updating` and created during `deploy:finishing` as part of Capistrano's default deploy
33
33
 
34
34
  Configurable options:
35
35
 
@@ -39,3 +39,17 @@ set :tar_location, "tarballs" # default
39
39
  set :tar_unpack_flags, "xf" # default
40
40
  set :tar_create_flags, "cf" # default
41
41
  ```
42
+
43
+ ## Example
44
+ ```ruby
45
+ # Create and unpack tarballs for these directories between releases
46
+ set :tar_files, ['vendor', 'node_modules', 'web/assets']
47
+ ```
48
+
49
+ ## Prior Art
50
+
51
+ This extension was inspired by [capistrano-copy-files](https://github.com/capistrano/copy-files)
52
+
53
+ ## License
54
+
55
+ Released under the [MIT license](LICENSE)
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'capistrano-tar-files'
7
- spec.version = '0.0.1'
7
+ spec.version = '0.0.2'
8
8
  spec.authors = ['Andy Palmer']
9
9
  spec.email = ['andy@andypalmer.me']
10
10
  spec.description = %q{Create/unpack tarball archives for directories that don't change often like vendor and node_modules}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-tar-files
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
  - Andy Palmer