jefferies_tube 1.7.2 → 1.7.3
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 +3 -0
- data/lib/jefferies_tube/capistrano/s3_assets.rb +3 -3
- data/lib/jefferies_tube/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 607fb4bf2cbbaf4461a6593a7e55d609ef5bd2c5a77399f24b45346859d176dc
|
4
|
+
data.tar.gz: 665cb2f1ea6b14540414fcc3987fadae40848c9712b0a0149b33e1d5f7f5efd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 177f6a4b2ab6c41c2774ca9e695e4a839f460075274acebb9602ece9e71589b31916b2de82c15c2f18a400ef478be784d39a06f0b0d8317dbad38aa3a0d39a35
|
7
|
+
data.tar.gz: '09f47ef7d00ca7f9af10892354e190e173d73c2802a6056dfce96f73a9e4cf192a5273e64dc18f533c5d395859eb298d8e20eb7bce20f3ad4858a81a5512acb4'
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,9 @@ This project attempts to follow [semantic versioning](https://semver.org/)
|
|
6
6
|
|
7
7
|
## Unreleased
|
8
8
|
|
9
|
+
## 1.7.3
|
10
|
+
* Bugfix: change `exists?` to `exist?` in `s3_assets.rb`
|
11
|
+
|
9
12
|
## 1.7.2
|
10
13
|
* Bugfix: update 404 and 500 pages to have .html.erb variants, not just .haml
|
11
14
|
|
@@ -4,10 +4,10 @@ task :upload_assets_to_s3 do
|
|
4
4
|
appyml_text = capture :cat, "#{deploy_to}/shared/config/application.yml"
|
5
5
|
appyml = YAML.load appyml_text
|
6
6
|
execute "AWS_ACCESS_KEY_ID=#{appyml['AWS_ACCESS_KEY_ID']}", "AWS_SECRET_ACCESS_KEY=#{appyml["AWS_SECRET_ACCESS_KEY"]}", 'aws', 's3', 'sync', 'public/assets/', "#{fetch(:s3_destination)}/assets"
|
7
|
-
if Dir.
|
7
|
+
if Dir.exist?('public/static_assets')
|
8
8
|
execute "AWS_ACCESS_KEY_ID=#{appyml['AWS_ACCESS_KEY_ID']}", "AWS_SECRET_ACCESS_KEY=#{appyml["AWS_SECRET_ACCESS_KEY"]}", 'aws', 's3', 'sync', 'public/static_assets/', "#{fetch(:s3_destination)}/static_assets"
|
9
9
|
end
|
10
|
-
if Dir.
|
10
|
+
if Dir.exist?('public/packs')
|
11
11
|
execute "AWS_ACCESS_KEY_ID=#{appyml['AWS_ACCESS_KEY_ID']}", "AWS_SECRET_ACCESS_KEY=#{appyml["AWS_SECRET_ACCESS_KEY"]}", 'aws', 's3', 'sync', 'public/packs/', "#{fetch(:s3_destination)}/packs"
|
12
12
|
end
|
13
13
|
end
|
@@ -28,7 +28,7 @@ task :copy_assets_manifest do
|
|
28
28
|
manifest_name = capture(:ls, assets_path.join('.sprockets-manifest*')).strip
|
29
29
|
manifest_contents = download! assets_path.join(manifest_name)
|
30
30
|
within release_path do
|
31
|
-
webpack_enabled = Dir.
|
31
|
+
webpack_enabled = Dir.exist?('public/packs')
|
32
32
|
end
|
33
33
|
if webpack_enabled
|
34
34
|
packs_manifest_name = capture(:ls, packs_path.join('manifest.json')).strip
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jefferies_tube
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Samson
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: awesome_print
|
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
- !ruby/object:Gem::Version
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
|
-
rubygems_version: 3.6.
|
228
|
+
rubygems_version: 3.6.9
|
229
229
|
specification_version: 4
|
230
230
|
summary: Ten Forward Consulting useful tools.
|
231
231
|
test_files:
|