jefferies_tube 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/jefferies_tube/capistrano/s3_assets.rb +10 -5
- data/lib/jefferies_tube/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a90318f3d381db1aa634b7d84e6deb97f3e6a1a
|
4
|
+
data.tar.gz: 7306ae53a572ce62decc931f78b641f94c5f712d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88ef0393465ce4d4401e232d57d7648d888c2e1046e6c4da31bcc03d048cb561f8eb2d8afa011752b0c411adb68eab107307d8c2d86638e446d3c037cab42eb9
|
7
|
+
data.tar.gz: 1b52108013a86727b8ec8464609cf2877cdf4e43685c4ad0f88c21e677b12a7d92ff0ab7abbe1da667bc36823e58d87935b66fe888201757374bcc62168ffb1f
|
data/CHANGELOG.md
CHANGED
@@ -10,7 +10,7 @@ This project attempts to follow [semantic versioning](https://semver.org/)
|
|
10
10
|
|
11
11
|
## 1.0.1 - 2018-06-19
|
12
12
|
|
13
|
-
*
|
13
|
+
* bug fixes
|
14
14
|
* Fix bug with webpacker integration when using CDN where packs/manifest.json
|
15
15
|
wasn't being copied to other servers.
|
16
16
|
|
@@ -19,20 +19,25 @@ task :copy_assets_manifest do
|
|
19
19
|
|
20
20
|
assets_path = release_path.join('public', fetch(:assets_prefix))
|
21
21
|
packs_path = release_path.join('public/packs')
|
22
|
+
webpack_enabled = Dir.exists?(packs_path)
|
22
23
|
|
23
24
|
on roles(fetch(:assets_roles)), primary: true do
|
24
25
|
manifest_name = capture(:ls, assets_path.join('.sprockets-manifest*')).strip
|
25
26
|
manifest_contents = download! assets_path.join(manifest_name)
|
26
|
-
|
27
|
-
|
28
|
-
|
27
|
+
if webpack_enabled
|
28
|
+
packs_manifest_name = capture(:ls, packs_path.join('manifest.json')).strip
|
29
|
+
packs_manifest_contents = download! packs_path.join(packs_manifest_name)
|
30
|
+
end
|
29
31
|
end
|
32
|
+
|
30
33
|
on roles(:app) do
|
31
34
|
execute :rm, '-f', assets_path.join('.sprockets-manifest*')
|
32
35
|
upload! StringIO.new(manifest_contents), assets_path.join(manifest_name)
|
33
36
|
|
34
|
-
|
35
|
-
|
37
|
+
if webpack_enabled
|
38
|
+
execute :rm, '-f', packs_path.join('manifest.json')
|
39
|
+
upload! StringIO.new(packs_manifest_contents), packs_path.join(packs_manifest_name)
|
40
|
+
end
|
36
41
|
end
|
37
42
|
end
|
38
43
|
|
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.2
|
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-
|
11
|
+
date: 2018-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
175
|
rubyforge_project:
|
176
|
-
rubygems_version: 2.
|
176
|
+
rubygems_version: 2.5.1
|
177
177
|
signing_key:
|
178
178
|
specification_version: 4
|
179
179
|
summary: Ten Forward Consulting useful tools.
|