asset_sync 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/README.md +4 -0
- data/lib/asset_sync/config.rb +1 -1
- data/lib/asset_sync/version.rb +1 -1
- data/spec/unit/asset_sync_spec.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c68bc90d034746edc2c7534f4f4385459202d0b
|
4
|
+
data.tar.gz: 7c9b4ae0af9fd7c185e26bfcf727a099160f1c6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2def4eaad25263680713d712c9f746ab471b19a05116e90513ea7dcb1dfc513ab21883c913dfc1c40d0fe1a88c651984df7433acf5ab60b0d0476b080d43aeb4
|
7
|
+
data.tar.gz: 777b4d76caf40ebf28f133b2d394616a268b61a61a6f4311eb171135623ae94a7aeecb6c1aeab651ab99fed05c586bd4f8975faf92670543f9f65bff0765779f
|
data/CHANGELOG.md
CHANGED
@@ -18,6 +18,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
18
18
|
- Nothing
|
19
19
|
|
20
20
|
|
21
|
+
## [1.2.1] - 2016-08-19
|
22
|
+
|
23
|
+
### Fixed
|
24
|
+
|
25
|
+
- Respect value of option `log_silently` even when `ENV['RAILS_GROUPS'] == 'assets'`
|
26
|
+
|
27
|
+
|
21
28
|
## [1.2.0] - 2016-08-17
|
22
29
|
|
23
30
|
### Added
|
@@ -774,5 +781,6 @@ Changes:
|
|
774
781
|
* Merge branch 'sinatra'
|
775
782
|
|
776
783
|
|
777
|
-
[Unreleased]: https://github.com/AssetSync/asset_sync/compare/v1.2.
|
784
|
+
[Unreleased]: https://github.com/AssetSync/asset_sync/compare/v1.2.1...HEAD
|
785
|
+
[1.2.1]: https://github.com/AssetSync/asset_sync/compare/v1.2.0...v1.2.1
|
778
786
|
[1.2.0]: https://github.com/AssetSync/asset_sync/compare/v1.1.0...v1.2.0
|
data/README.md
CHANGED
@@ -193,6 +193,10 @@ AssetSync.configure do |config|
|
|
193
193
|
#
|
194
194
|
# Fail silently. Useful for environments such as Heroku
|
195
195
|
# config.fail_silently = true
|
196
|
+
#
|
197
|
+
# Log silently. Default is `true`. But you can set it to false if more logging message are preferred.
|
198
|
+
# Logging messages are sent to `STDOUT` when `log_silently` is falsy
|
199
|
+
# config.log_silently = true
|
196
200
|
end
|
197
201
|
```
|
198
202
|
|
data/lib/asset_sync/config.rb
CHANGED
data/lib/asset_sync/version.rb
CHANGED
@@ -70,7 +70,7 @@ describe AssetSync do
|
|
70
70
|
it "should default log_silently to true" do
|
71
71
|
expect(AssetSync.config.log_silently).to be_truthy
|
72
72
|
end
|
73
|
-
|
73
|
+
|
74
74
|
it "log_silently? should reflect the configuration" do
|
75
75
|
AssetSync.config.log_silently = false
|
76
76
|
expect(AssetSync.config.log_silently?).to eq(false)
|
@@ -78,9 +78,9 @@ describe AssetSync do
|
|
78
78
|
|
79
79
|
it "log_silently? should always be true if ENV['RAILS_GROUPS'] == 'assets'" do
|
80
80
|
AssetSync.config.log_silently = false
|
81
|
-
|
82
|
-
|
83
|
-
expect(AssetSync.config.log_silently?).to eq(
|
81
|
+
allow(ENV).to receive(:[]).with('RAILS_GROUPS').and_return('assets')
|
82
|
+
|
83
|
+
expect(AssetSync.config.log_silently?).to eq(false)
|
84
84
|
end
|
85
85
|
|
86
86
|
it "should default cdn_distribution_id to nil" do
|