jefferies_tube 0.1.9 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/lib/jefferies_tube/capistrano/s3_assets.rb +4 -1
- data/lib/jefferies_tube/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f0002e404c67ad9cf230975cc9001bd16f57db1
|
4
|
+
data.tar.gz: 48bc88150cb75d473e6fed1eb7f6557552407079
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5af3fa3664076d71a58c00b70ed948bbbaee1d0d4aeaf840103b84a4874d0ccba784b4e0dea0f8e9677fd9d765d9ea4640400b72be97f1f65770e7b9cb34e319
|
7
|
+
data.tar.gz: 16a24fd6bcb49329edb544a191999c7316e5125ef34807469a1d6a87325d527359d09da0e819a33c618cf7de695c8c03ea9bd4e307f9687dc3adfcf621a70583
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
This is a [changelog](https://keepachangelog.com/en/0.3.0/).
|
4
|
+
|
5
|
+
This project attempts to follow [semantic versioning](https://semver.org/)
|
6
|
+
|
7
|
+
## 1.0.0 - 2018-06-18
|
8
|
+
|
9
|
+
* breaking changes
|
10
|
+
* The `upload_assets_to_s3` task's `s3_destination` used to be of the form
|
11
|
+
`"s3://some-bucket-dev/assets"`. Now it is of the form
|
12
|
+
`"s3://some-bucket-dev"`. The task appends `"/assets"` for you. It does this
|
13
|
+
because if it detects webpack, it also appends `"/packs"` in order to upload
|
14
|
+
both assets and packs directories next to each other.
|
15
|
+
|
16
|
+
## Version - Date
|
17
|
+
|
18
|
+
* breaking changes
|
19
|
+
* enhancement A
|
20
|
+
* enhancement B
|
21
|
+
|
22
|
+
* deprecations
|
23
|
+
* deprecation A
|
24
|
+
* deprecation B
|
25
|
+
|
26
|
+
* bug fixes
|
27
|
+
* bug fix A
|
28
|
+
* bug fix B
|
29
|
+
|
30
|
+
* enhancements
|
31
|
+
* enhancement A
|
32
|
+
* enhancement B
|
33
|
+
|
34
|
+
* features
|
35
|
+
* feature A
|
36
|
+
* feature B
|
@@ -3,7 +3,10 @@ task :upload_assets_to_s3 do
|
|
3
3
|
within release_path do
|
4
4
|
appyml_text = capture :cat, "#{deploy_to}/shared/config/application.yml"
|
5
5
|
appyml = YAML.load appyml_text
|
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)
|
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.exists?('public/packs')
|
8
|
+
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"
|
9
|
+
end
|
7
10
|
end
|
8
11
|
end
|
9
12
|
end
|
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: 0.
|
4
|
+
version: 1.0.0
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -119,6 +119,7 @@ files:
|
|
119
119
|
- ".rspec"
|
120
120
|
- ".ruby-gemset"
|
121
121
|
- ".ruby-version"
|
122
|
+
- CHANGELOG.md
|
122
123
|
- Gemfile
|
123
124
|
- LICENSE.txt
|
124
125
|
- README.md
|