jefferies_tube 1.0.0 → 1.0.1
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 +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/jefferies_tube/capistrano/s3_assets.rb +9 -0
- data/lib/jefferies_tube/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4fd23aef1814d6e6fe6225ee920706d2061f2bdf
|
|
4
|
+
data.tar.gz: 7a88ce9539c0ca861e2b1563a60dad4d17e6ed90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f198c3210d0070c9125162351b6e7588c9b4a8bb91a2093c2c4e9a62713c72c6472b5d4953c2a3ef110b8d9f3d34b05598c194c63202b828c121c70cb6956a7
|
|
7
|
+
data.tar.gz: e116b55dcf76afec96a03de92011b03673b58fb3f021fe6ffd5fc68e8951de240710f7c8da455df9f954f32feb4a9fea697f72a9b699b25b314bdbad66bc901c
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ This is a [changelog](https://keepachangelog.com/en/0.3.0/).
|
|
|
4
4
|
|
|
5
5
|
This project attempts to follow [semantic versioning](https://semver.org/)
|
|
6
6
|
|
|
7
|
+
## Unreleased
|
|
8
|
+
|
|
9
|
+
* nada
|
|
10
|
+
|
|
11
|
+
## 1.0.1 - 2018-06-19
|
|
12
|
+
|
|
13
|
+
* big fixes
|
|
14
|
+
* Fix bug with webpacker integration when using CDN where packs/manifest.json
|
|
15
|
+
wasn't being copied to other servers.
|
|
16
|
+
|
|
7
17
|
## 1.0.0 - 2018-06-18
|
|
8
18
|
|
|
9
19
|
* breaking changes
|
|
@@ -15,15 +15,24 @@ end
|
|
|
15
15
|
task :copy_assets_manifest do
|
|
16
16
|
next unless roles(:web, :app).count > 1
|
|
17
17
|
manifest_contents, manifest_name = nil, nil
|
|
18
|
+
packs_manifest_contents, packs_manifest_name = nil, nil
|
|
19
|
+
|
|
18
20
|
assets_path = release_path.join('public', fetch(:assets_prefix))
|
|
21
|
+
packs_path = release_path.join('public/packs')
|
|
19
22
|
|
|
20
23
|
on roles(fetch(:assets_roles)), primary: true do
|
|
21
24
|
manifest_name = capture(:ls, assets_path.join('.sprockets-manifest*')).strip
|
|
22
25
|
manifest_contents = download! assets_path.join(manifest_name)
|
|
26
|
+
|
|
27
|
+
packs_manifest_name = capture(:ls, packs_path.join('manifest.json')).strip
|
|
28
|
+
packs_manifest_contents = download! packs_path.join(packs_manifest_name)
|
|
23
29
|
end
|
|
24
30
|
on roles(:app) do
|
|
25
31
|
execute :rm, '-f', assets_path.join('.sprockets-manifest*')
|
|
26
32
|
upload! StringIO.new(manifest_contents), assets_path.join(manifest_name)
|
|
33
|
+
|
|
34
|
+
execute :rm, '-f', packs_path.join('manifest.json')
|
|
35
|
+
upload! StringIO.new(packs_manifest_contents), packs_path.join(packs_manifest_name)
|
|
27
36
|
end
|
|
28
37
|
end
|
|
29
38
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jefferies_tube
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Samson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-06-
|
|
11
|
+
date: 2018-06-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awesome_print
|