sq-asset_sync 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.ruby-version +1 -0
- data/.travis.yml +42 -0
- data/Appraisals +15 -0
- data/CHANGELOG.md +738 -0
- data/Gemfile +7 -0
- data/README.md +466 -0
- data/Rakefile +44 -0
- data/asset_sync.gemspec +38 -0
- data/docs/heroku.md +36 -0
- data/gemfiles/rails_3.1.gemfile +10 -0
- data/gemfiles/rails_3.2.gemfile +10 -0
- data/gemfiles/rails_4.0.gemfile +10 -0
- data/gemfiles/rails_4.1.gemfile +10 -0
- data/kochiku.yml +7 -0
- data/lib/asset_sync.rb +15 -0
- data/lib/asset_sync/asset_sync.rb +73 -0
- data/lib/asset_sync/config.rb +226 -0
- data/lib/asset_sync/engine.rb +53 -0
- data/lib/asset_sync/multi_mime.rb +16 -0
- data/lib/asset_sync/railtie.rb +5 -0
- data/lib/asset_sync/storage.rb +291 -0
- data/lib/asset_sync/version.rb +3 -0
- data/lib/generators/asset_sync/install_generator.rb +67 -0
- data/lib/generators/asset_sync/templates/asset_sync.rb +41 -0
- data/lib/generators/asset_sync/templates/asset_sync.yml +43 -0
- data/lib/tasks/asset_sync.rake +30 -0
- data/script/ci +31 -0
- data/spec/dummy_app/Rakefile +30 -0
- data/spec/dummy_app/app/assets/javascripts/application.js +1 -0
- data/spec/fixtures/aws_with_yml/config/asset_sync.yml +25 -0
- data/spec/fixtures/google_with_yml/config/asset_sync.yml +19 -0
- data/spec/fixtures/rackspace_with_yml/config/asset_sync.yml +20 -0
- data/spec/fixtures/with_invalid_yml/config/asset_sync.yml +24 -0
- data/spec/integration/aws_integration_spec.rb +77 -0
- data/spec/spec_helper.rb +64 -0
- data/spec/unit/asset_sync_spec.rb +257 -0
- data/spec/unit/google_spec.rb +142 -0
- data/spec/unit/multi_mime_spec.rb +48 -0
- data/spec/unit/rackspace_spec.rb +90 -0
- data/spec/unit/railsless_spec.rb +72 -0
- data/spec/unit/storage_spec.rb +244 -0
- metadata +248 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 544ee2a4df549c2a889861d7ba7e150ea14bc87d
|
4
|
+
data.tar.gz: d017b2c898366590876dff94db44a49f551a2677
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 325bc99a1c8d64a8c2b1aab83911778aa55850b2fc828cb7a621eb5780f2ed564111ecf2f38b30b964f2a1a9a15188df377f5e6459a5e48e1d6dd2bd548e17a3
|
7
|
+
data.tar.gz: 6aec27388313e8008d13bd15f003b764009551e974e6e73b67c9d50a998c69d79ab88c0cd4c2021580d18ed8a686fdb08668ea98f8eaab29cbda23626dbd1318
|
data/.gitignore
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.3.0
|
data/.travis.yml
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- 1.9.2
|
4
|
+
- 1.9.3
|
5
|
+
- jruby-19mode
|
6
|
+
- rbx-2
|
7
|
+
- ruby-head
|
8
|
+
- jruby-head
|
9
|
+
gemfile:
|
10
|
+
- gemfiles/rails_3.1.gemfile
|
11
|
+
- gemfiles/rails_3.2.gemfile
|
12
|
+
before_install:
|
13
|
+
- gem install bundler
|
14
|
+
env:
|
15
|
+
global:
|
16
|
+
- FOG_DIRECTORY=asset-sync-travis
|
17
|
+
- FOG_PROVIDER=AWS
|
18
|
+
- secure: "dy8Fqlg3b1ZMK1BY5z6NMQLbzAVd7GWVYY0MeCQALz76zRac0z8MyU8hkv6h\nozFry7DSdbGehGT9foOnkWTwzGzf1rzdd5cmWrUPk1wDTRgMM9SrwodPj1TU\nzsq2EFx0a79vADQN8JXkpLC1YD6kEb9aWkTxrIT9KBgw+J5H32o="
|
19
|
+
- secure: "Hmx7D7/p2LlA2ya/xBIz21s/8MLIQCjvfYB7RWBNlWk1PfqRLAz8wX6TUVWy\nfAFktMjLnpRLRYO7AgQS4jcfQ/k0HYK9IXzqXzeI00TNm0Vwp0TCXhawiOFT\nSvUMhs2/1vRfjN0HOJ75XlWRhJzV/G5rOMiafAZLsVzN/0iiB8g="
|
20
|
+
matrix:
|
21
|
+
include:
|
22
|
+
- rvm: 1.9.3
|
23
|
+
gemfile: gemfiles/rails_4.0.gemfile
|
24
|
+
- rvm: jruby-19mode
|
25
|
+
gemfile: gemfiles/rails_4.0.gemfile
|
26
|
+
- rvm: rbx-2
|
27
|
+
gemfile: gemfiles/rails_4.0.gemfile
|
28
|
+
- rvm: 2.0.0
|
29
|
+
gemfile: gemfiles/rails_3.2.gemfile
|
30
|
+
- rvm: 2.0.0
|
31
|
+
gemfile: gemfiles/rails_4.0.gemfile
|
32
|
+
- rvm: 2.1.2
|
33
|
+
gemfile: gemfiles/rails_4.1.gemfile
|
34
|
+
- rvm: 2.0.0
|
35
|
+
gemfile: gemfiles/rails_4.1.gemfile
|
36
|
+
- rvm: 2.1.2
|
37
|
+
gemfile: gemfiles/rails_4.1.gemfile
|
38
|
+
allow_failures:
|
39
|
+
- rvm: 1.9.2
|
40
|
+
- rvm: rbx-2
|
41
|
+
- rvm: ruby-head
|
42
|
+
- rvm: jruby-head
|
data/Appraisals
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,738 @@
|
|
1
|
+
# RELEASE HISTORY
|
2
|
+
|
3
|
+
## v1.1.0 / 2014-08-13
|
4
|
+
|
5
|
+
Version 1.1.0 (Toby Osbourn <tosbourn@rumblelabs.com>)
|
6
|
+
|
7
|
+
Changes:
|
8
|
+
|
9
|
+
* 1 Change
|
10
|
+
|
11
|
+
* Bumping master to 1.1.0 - preparing to update RubyGems
|
12
|
+
|
13
|
+
## v0.5.6 / 2014-08-12
|
14
|
+
|
15
|
+
Version 0.5.6 (Toby Osbourn <tosbourn@rumblelabs.com>)
|
16
|
+
|
17
|
+
Changes:
|
18
|
+
|
19
|
+
* 1 Change
|
20
|
+
|
21
|
+
* Merged in support for optimized fog loading
|
22
|
+
|
23
|
+
## v0.5.5 / 2014-08-12
|
24
|
+
|
25
|
+
Version 0.5.5 (Toby Osbourn <tosbourn@rumblelabs.com>)
|
26
|
+
|
27
|
+
Changes:
|
28
|
+
|
29
|
+
* 2 Nominal Changes
|
30
|
+
|
31
|
+
* Merged some spec changes to get Travis to pass the build correctly
|
32
|
+
* Support using AWS IAM Roles
|
33
|
+
|
34
|
+
## v0.5.1 / 2012-10-22
|
35
|
+
|
36
|
+
Version 0.5.1 (David Rice <me@davidjrice.co.uk>)
|
37
|
+
|
38
|
+
Changes:
|
39
|
+
|
40
|
+
* 5 Nominal Changes
|
41
|
+
|
42
|
+
* Add a CHANGELOG.md (as generated by vclog -r -f markdown
|
43
|
+
* Improve documentation on ignored_files config option
|
44
|
+
* Allow failure of specs against ruby-head and jruby-head
|
45
|
+
* Merge pull request #115 from demirhanaydin/patch-1
|
46
|
+
* Merge support for always providing mime_type #93 from patdeegan/master
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
## v0.5.0 / 2012-08-23
|
51
|
+
|
52
|
+
Version 0.5.0 (David Rice <me@davidjrice.co.uk>)
|
53
|
+
|
54
|
+
Changes:
|
55
|
+
|
56
|
+
* 8 Nominal Changes
|
57
|
+
|
58
|
+
* Merge branch 'sinatra' of github.com:rumblelabs/asset_sync into sinatra
|
59
|
+
* Version 0.5.0, sinatra / rack support
|
60
|
+
* Some refactoring to further remove dependency on Rails, add spec for railsless configuration
|
61
|
+
* Update readme.
|
62
|
+
* Add public_path and prefix config options so asset_sync can be used outside Rails.
|
63
|
+
* Some refactoring to further remove dependency on Rails, add spec for railsless configuration
|
64
|
+
* Merge branch 'ejholmes/sinatra' into sinatra
|
65
|
+
* Version 0.4.3, removed dependency on Rails Time additions
|
66
|
+
|
67
|
+
|
68
|
+
## v0.4.3 / 2012-08-19
|
69
|
+
|
70
|
+
Version 0.4.3 (David Rice <me@davidjrice.co.uk>)
|
71
|
+
|
72
|
+
Changes:
|
73
|
+
|
74
|
+
* 21 Nominal Changes
|
75
|
+
|
76
|
+
* Refactor cache control and expiry hearder definition to use same value of one year
|
77
|
+
* Merge pull request #94 from karlfreeman/time
|
78
|
+
|
79
|
+
Remove Rails time dependency
|
80
|
+
* Allow failures in ruby-head
|
81
|
+
* Merge pull request #88 from potomak/patch-1
|
82
|
+
|
83
|
+
Fix defined? syntax
|
84
|
+
* Merge pull request #95 from bbhoss/patch-1
|
85
|
+
|
86
|
+
Fix syntax error in documentation
|
87
|
+
* Describe using S3 HTTPS better
|
88
|
+
* Fix syntax error
|
89
|
+
* remove Rails time dependency
|
90
|
+
* Update readme.
|
91
|
+
* Add public_path and prefix config options so asset_sync can be used outside Rails.
|
92
|
+
* Fix defined? syntax
|
93
|
+
* Force build on travis
|
94
|
+
* Get specs running under jruby and travis /cc @headius :)
|
95
|
+
* Ignore ds_store
|
96
|
+
* Add jruby-openssl gem to get tests passing on jruby
|
97
|
+
* test all the things
|
98
|
+
* Add travis config for rbx
|
99
|
+
* Merge branch 'master' of github.com:rumblelabs/asset_sync
|
100
|
+
* Update README for installing on heroku, labs is no-longer a plugin
|
101
|
+
* Merge pull request #75 from mscottford/master
|
102
|
+
|
103
|
+
Update asset_host configuration in README to not rely on request object
|
104
|
+
* Version 0.4.2, allow configuration of an array of strings or regex for files to ignore uploading. #euruko
|
105
|
+
|
106
|
+
|
107
|
+
## v0.4.2 / 2012-06-02
|
108
|
+
|
109
|
+
Version 0.4.2 (David Rice <me@davidjrice.co.uk>)
|
110
|
+
|
111
|
+
Changes:
|
112
|
+
|
113
|
+
* 7 Nominal Changes
|
114
|
+
|
115
|
+
* Remove errant puts from spec
|
116
|
+
* Merge
|
117
|
+
* Add option to configure ignored_files through YAML config file
|
118
|
+
* Removes errant end in the asset_host config example.
|
119
|
+
* Updates README to suggest a different asset_host configuration
|
120
|
+
|
121
|
+
The previous version will fail in some cases because a request is not always available during asset compilation.
|
122
|
+
* Fix Fog warnings when running specs.
|
123
|
+
* Version 0.4.1, allow programatic disabling of AssetSync.config.enabled
|
124
|
+
|
125
|
+
|
126
|
+
## v0.4.1 / 2012-05-04
|
127
|
+
|
128
|
+
Version 0.4.1 (David Rice <me@davidjrice.co.uk>)
|
129
|
+
|
130
|
+
Changes:
|
131
|
+
|
132
|
+
* 10 Nominal Changes
|
133
|
+
|
134
|
+
* Update docs
|
135
|
+
* Don't default to disabled if ASSET_SYNC_ENABLED env var is not specified.
|
136
|
+
* Add option to ignore files
|
137
|
+
* Add support for ASSET_SYNC_ENABLED with env vars.
|
138
|
+
* Oops, should have used the accessor
|
139
|
+
* Add support for enabled in the yaml config.
|
140
|
+
* Add specs for AssetSync.enabled? configured through the initializer.
|
141
|
+
* Make it possible to turn off AssetSync...
|
142
|
+
|
143
|
+
Useful when precompiling to export to a hybrid mobile app such as PhoneGap.
|
144
|
+
Would fix issue #66.
|
145
|
+
* How many times will I forget to update the release date? many
|
146
|
+
* Version 0.4.0, google storage support. Allow force upload of all or selected files. Travis CI enabled
|
147
|
+
|
148
|
+
|
149
|
+
## v0.4.0 / 2012-04-26
|
150
|
+
|
151
|
+
Version 0.4.0 (David Rice <me@davidjrice.co.uk>)
|
152
|
+
|
153
|
+
Changes:
|
154
|
+
|
155
|
+
* 22 Nominal Changes
|
156
|
+
|
157
|
+
* Add google storage options to built in initializer to allow config via ENV vars
|
158
|
+
* Add google storage configuration to README
|
159
|
+
* fix case on google provider in generator
|
160
|
+
* added google storage tests
|
161
|
+
* added google storage generators
|
162
|
+
* add attr_accessor for google keys
|
163
|
+
* add support for fog gems google storage option
|
164
|
+
* Oh, travisci will build an orgs repos if you configure the webhookd. Use rumblelabs/asset_sync as build status
|
165
|
+
* Merge branch 'master' into levent/feature/overwrite_specific_remote_files
|
166
|
+
* Use my travis-ci build in README
|
167
|
+
* Merge pull request #69 from levent/integrate_travis
|
168
|
+
|
169
|
+
Integrate Travis CI
|
170
|
+
* Merge branch 'integrate_travis' into feature/overwrite_specific_remote_files
|
171
|
+
* Specs for uploading assets
|
172
|
+
* Travis build logo
|
173
|
+
* Setting up for Travis
|
174
|
+
* Updated README
|
175
|
+
* always_upload config option added
|
176
|
+
* gitignore *.swp (for vim)
|
177
|
+
* Add ability to ignore remote files
|
178
|
+
* Correct name of specs
|
179
|
+
* Allows specifying an array of assets to always upload to remote
|
180
|
+
* Version 0.3.2, set content encoding header for .gz files
|
181
|
+
|
182
|
+
|
183
|
+
## v0.3.2 / 2012-04-18
|
184
|
+
|
185
|
+
Version 0.3.2 (David Rice <me@davidjrice.co.uk>)
|
186
|
+
|
187
|
+
Changes:
|
188
|
+
|
189
|
+
* 11 Nominal Changes
|
190
|
+
|
191
|
+
* Remove trailing comma
|
192
|
+
* Merge pull request #57 from nathanhumbert/master
|
193
|
+
|
194
|
+
Set Content-Encoding for gzip files when config.gzip? is not true
|
195
|
+
* Merge pull request #59 from kamui/master
|
196
|
+
|
197
|
+
Use Rails.public_path and Pathname#join for path concat and string interpolation
|
198
|
+
* Merge pull request #55 from manuelmeurer/patch-1
|
199
|
+
|
200
|
+
Remove comments taken from another gem
|
201
|
+
* Dir.chdir to path first to avoid a map call and path string slicing
|
202
|
+
* add Rails.public_path stub and make Rails.root return Pathname class to match Rails behavior
|
203
|
+
* Rails.root returns a Pathname, use Pathname#join instead of File.join and string interpolation
|
204
|
+
* use Rails.public_path instead of concat Rails.root and 'public'
|
205
|
+
* Set Content-Encoding for gzip files when config.gzip? is not true
|
206
|
+
|
207
|
+
This allows a S3 bucket served via CloudFront to properly handle the
|
208
|
+
Accept-Encoding request header.
|
209
|
+
* Remove comments taken from another gem
|
210
|
+
* Merge branch 'master' of github.com:rumblelabs/asset_sync
|
211
|
+
|
212
|
+
|
213
|
+
## v0.3.1 / 2012-03-07
|
214
|
+
|
215
|
+
Version 0.3.1 (David Rice <me@davidjrice.co.uk>)
|
216
|
+
|
217
|
+
Changes:
|
218
|
+
|
219
|
+
* 6 Nominal Changes
|
220
|
+
|
221
|
+
* Version 0.3.1, improve logging of asset_sync configuration and sync events
|
222
|
+
* Remove some debugging stuffs
|
223
|
+
* Improve logging during asset_sync progress.
|
224
|
+
* Separate log and warn message, should not mess up heroku precompile thread as it watches STDERR for output.
|
225
|
+
* Improve logging, only log to STDERR if RAILS_GROUPS=assets.
|
226
|
+
* Version 0.3.0, all configuration can be managed via env variables, improve docs on configuration
|
227
|
+
|
228
|
+
|
229
|
+
## v0.3.0 / 2012-03-07
|
230
|
+
|
231
|
+
Version 0.3.0 (David Rice <me@davidjrice.co.uk>)
|
232
|
+
|
233
|
+
Changes:
|
234
|
+
|
235
|
+
* 10 Nominal Changes
|
236
|
+
|
237
|
+
* Merge pull request #50 from hampei/master
|
238
|
+
|
239
|
+
made gzip_compression settable via ENV
|
240
|
+
* namespaced the ENV gzip option: ASSET_SYNC_GZIP_COMPRESSION. added option to readme
|
241
|
+
* made gzip_compression settable via ENV
|
242
|
+
* Typo
|
243
|
+
* Improve documentation
|
244
|
+
* Version 0.2.12, fix the asset_sync rake task enhancement in Rails 3.2 (still supporting earlier releases)
|
245
|
+
* Turns out this was an issue with Rails handling of the config.assets.digest parameter
|
246
|
+
* When running rake assets:precompile this config variable is modified by Rails
|
247
|
+
* So it therefore cannot be depended on to test wether to enhance the nondigest task or not
|
248
|
+
* The solution is to always enhance assets:precompile:nondigest if it exists.
|
249
|
+
|
250
|
+
|
251
|
+
## v0.2.9 / 2012-01-30
|
252
|
+
|
253
|
+
Version 0.2.9 (David Rice <me@davidjrice.co.uk>)
|
254
|
+
|
255
|
+
Changes:
|
256
|
+
|
257
|
+
* 3 Nominal Changes
|
258
|
+
|
259
|
+
* Merge pull request #42 from genuitytech/master
|
260
|
+
|
261
|
+
Now correctly setting config.fog_region.
|
262
|
+
* Now correctly setting config.fog_region.
|
263
|
+
* Version 0.2.8, improve http headers. Add far future expires and cache control, public.
|
264
|
+
|
265
|
+
|
266
|
+
## v0.2.8 / 2012-01-27
|
267
|
+
|
268
|
+
Version 0.2.8 (David Rice <me@davidjrice.co.uk>)
|
269
|
+
|
270
|
+
Changes:
|
271
|
+
|
272
|
+
* 2 Nominal Changes
|
273
|
+
|
274
|
+
* Add far future expires header
|
275
|
+
* Version 0.2.7, Rails 3.2 compatibility, default Rake task improved
|
276
|
+
|
277
|
+
|
278
|
+
## v0.2.7 / 2012-01-25
|
279
|
+
|
280
|
+
Version 0.2.7 (David Rice <me@davidjrice.co.uk>)
|
281
|
+
|
282
|
+
Changes:
|
283
|
+
|
284
|
+
* 2 Nominal Changes
|
285
|
+
|
286
|
+
* Merge branch 'rails-3-2'
|
287
|
+
* Version 0.2.6, Rails 3.2 compatibility, default Rake task improved
|
288
|
+
|
289
|
+
|
290
|
+
## v0.2.6 / 2012-01-25
|
291
|
+
|
292
|
+
Version 0.2.6 (David Rice <me@davidjrice.co.uk>)
|
293
|
+
|
294
|
+
Changes:
|
295
|
+
|
296
|
+
* 3 Nominal Changes
|
297
|
+
|
298
|
+
* Doc
|
299
|
+
* Add Rails 3.2 compatible rake task
|
300
|
+
* Fix issue #38 for when Rails.config.assets.prefix starts with a slash.
|
301
|
+
|
302
|
+
|
303
|
+
## v0.2.5 / 2012-01-10
|
304
|
+
|
305
|
+
Version 0.2.5 (David Rice <me@davidjrice.co.uk>)
|
306
|
+
|
307
|
+
Changes:
|
308
|
+
|
309
|
+
* 1 Nominal Changes
|
310
|
+
|
311
|
+
* Version 0.2.4, Support for Rails.config.assets.prefix
|
312
|
+
|
313
|
+
|
314
|
+
## v0.2.4 / 2012-01-06
|
315
|
+
|
316
|
+
Version 0.2.4 (David Rice <me@davidjrice.co.uk>)
|
317
|
+
|
318
|
+
Changes:
|
319
|
+
|
320
|
+
* 5 Nominal Changes
|
321
|
+
|
322
|
+
* Merge pull request #35 from siliconsalad/config_assets_prefix
|
323
|
+
|
324
|
+
Rails.config.assets.prefix used for sync
|
325
|
+
* added test with Rails.config.assets.prefix set
|
326
|
+
* Rails.config.assets.prefix used for sync (instead of hardcoded 'assets' value)
|
327
|
+
* specs now use shared context to mock Rails and fixed pending tests that were failing
|
328
|
+
* Version 0.2.3, Rackspace London support
|
329
|
+
|
330
|
+
|
331
|
+
## v0.2.3 / 2011-12-06
|
332
|
+
|
333
|
+
Version 0.2.3 (David Rice <me@davidjrice.co.uk>)
|
334
|
+
|
335
|
+
Changes:
|
336
|
+
|
337
|
+
* 3 Nominal Changes
|
338
|
+
|
339
|
+
* Merge pull request #28 from robink/master
|
340
|
+
|
341
|
+
Rackspace London support
|
342
|
+
* Only merge racksace_auth_url to fog config if defined
|
343
|
+
* Bump date for release
|
344
|
+
|
345
|
+
|
346
|
+
## v0.2.2 / 2011-11-29
|
347
|
+
|
348
|
+
Version 0.2.2 (David Rice <me@davidjrice.co.uk>)
|
349
|
+
|
350
|
+
Changes:
|
351
|
+
|
352
|
+
* 10 Nominal Changes
|
353
|
+
|
354
|
+
* Version 0.2.2: add fail_silently config option to avoid heroku installing the rails31_enable_runtime_asset_compilation, fixes issues #24, #29
|
355
|
+
* Further explanation of fail_silently option
|
356
|
+
* Merge pull request #29 from neilmiddleton/master
|
357
|
+
|
358
|
+
Allow precompile to fail quietly on heroku
|
359
|
+
* Update README, and generator templates
|
360
|
+
* Changes as discussed in PR#29
|
361
|
+
* Disable pre-compilation on Heroku.
|
362
|
+
* Updated README and generators
|
363
|
+
* Added support for specifying rackspace_auth_url (then the possibility to use Rackspace London)
|
364
|
+
* Fixed typo in readme
|
365
|
+
* Updated version and release date
|
366
|
+
|
367
|
+
|
368
|
+
## v0.2.12 / 2012-03-04
|
369
|
+
|
370
|
+
Version 0.2.12 (David Rice <me@davidjrice.co.uk>)
|
371
|
+
|
372
|
+
Changes:
|
373
|
+
|
374
|
+
* 1 Nominal Changes
|
375
|
+
|
376
|
+
* Version 0.2.11, minor fix to YAML loading and improved docs
|
377
|
+
|
378
|
+
|
379
|
+
## v0.2.11 / 2012-03-04
|
380
|
+
|
381
|
+
Version 0.2.11 (David Rice <me@davidjrice.co.uk>)
|
382
|
+
|
383
|
+
Changes:
|
384
|
+
|
385
|
+
* 7 Nominal Changes
|
386
|
+
|
387
|
+
* Merge pull request #48 from samsoffes/patch-1
|
388
|
+
|
389
|
+
Fix Heroku Labs plugin URL and add code coloring to readme.
|
390
|
+
* Fix Heroku Labs plugin URL and add code coloring to readme.
|
391
|
+
* Merge pull request #47 from dbalatero/dont_read_yml_file_every_time
|
392
|
+
|
393
|
+
Cache the YML config to avoid multiple file reads.
|
394
|
+
* Cache the YML config to avoid multiple file reads.
|
395
|
+
* Fix documentation typos
|
396
|
+
* Move old known issues about heroku ENV variables to a docs folder, write new content referencing the recommended use of user_env_compile
|
397
|
+
* Version 0.2.10, fix handling of non standard Rails.config.assets.manifest path
|
398
|
+
|
399
|
+
|
400
|
+
## v0.2.10 / 2012-02-16
|
401
|
+
|
402
|
+
Version 0.2.10 (David Rice <me@davidjrice.co.uk>)
|
403
|
+
|
404
|
+
Changes:
|
405
|
+
|
406
|
+
* 5 Nominal Changes
|
407
|
+
|
408
|
+
* Add an AssetSync.log method for outputing sync config failure so we can stub it out easily in tests
|
409
|
+
* Merge pull request #44 from dbalatero/fix_nonstandard_manifest_location
|
410
|
+
|
411
|
+
Fixes asset_sync to correctly read manifest.yml files.
|
412
|
+
* Fixes asset_sync to correctly read manifest.yml files.
|
413
|
+
|
414
|
+
Rails.config.assets.manifest only points to the directory that contains
|
415
|
+
the manifest.yml file:
|
416
|
+
|
417
|
+
https://github.com/rails/rails/blob/226783d1e8891a38d4a61017952528970dba903d/actionpack/lib/sprockets/railtie.rb#L36
|
418
|
+
* Add hack, seems required for some applications on push to Heroku, not for others
|
419
|
+
* Version 0.2.9 fix bug in internal initializer
|
420
|
+
|
421
|
+
|
422
|
+
## v0.2.1 / 2011-11-21
|
423
|
+
|
424
|
+
Version 0.2.1 (Phil <phil.mcclure@gmail.com>)
|
425
|
+
|
426
|
+
Changes:
|
427
|
+
|
428
|
+
* 4 Nominal Changes
|
429
|
+
|
430
|
+
* Only configure with ENV vars if initializer and yml file do not exist
|
431
|
+
* Typo in yaml, underscore need not be escaped here
|
432
|
+
* Fix readme
|
433
|
+
* Version 0.2.0
|
434
|
+
|
435
|
+
|
436
|
+
## v0.2.0 / 2011-11-15
|
437
|
+
|
438
|
+
Version 0.2.0 (David Rice <me@davidjrice.co.uk>)
|
439
|
+
|
440
|
+
Changes:
|
441
|
+
|
442
|
+
* 15 Nominal Changes
|
443
|
+
|
444
|
+
* Add upgrade notice to README
|
445
|
+
* Use fog directory
|
446
|
+
* Merge
|
447
|
+
* Fix readme
|
448
|
+
* Tidy readme
|
449
|
+
* Get AWS or Rackspace generators working correctly
|
450
|
+
* Remove generated rake task, no need
|
451
|
+
* Improve generators to generate AWS or Rackspace compatible initializer or yml
|
452
|
+
* Prepare 0.2.0 for release
|
453
|
+
* Convert readme and generators to new config options
|
454
|
+
* Fix fog_options
|
455
|
+
* Fix typo
|
456
|
+
* Fix bug
|
457
|
+
* Working on migrating the exposed config variables to reflect fog, add in a start on rackspace support. Write more specs, tidy up and document config
|
458
|
+
* Add specs for manifest config
|
459
|
+
|
460
|
+
|
461
|
+
## v0.1.9 / 2011-11-06
|
462
|
+
|
463
|
+
Version 0.1.9 (David Rice <me@davidjrice.co.uk>)
|
464
|
+
|
465
|
+
Changes:
|
466
|
+
|
467
|
+
* 37 Nominal Changes
|
468
|
+
|
469
|
+
* Document gzip compression
|
470
|
+
* Add note about gzip_compression
|
471
|
+
* Add spec to test config defaults gzip_compression to false
|
472
|
+
* Add gzip compression info to generated asset_sync.rb or .yml. Fix .yml example with new config settings
|
473
|
+
* Update gemspec
|
474
|
+
* Update docs to note that rake task is no longer generated within the app.
|
475
|
+
* Add todo
|
476
|
+
* Add % symbol for clarity
|
477
|
+
* Output % savings when uploading gzipped files. Only use gzipped files if the compressed version is actually smaller than the original.
|
478
|
+
* Tidy readme
|
479
|
+
* Get AWS or Rackspace generators working correctly
|
480
|
+
* Remove generated rake task, no need
|
481
|
+
* Improve generators to generate AWS or Rackspace compatible initializer or yml
|
482
|
+
* Prepare 0.2.0 for release
|
483
|
+
* Convert readme and generators to new config options
|
484
|
+
* Fix fog_options
|
485
|
+
* Fix bug
|
486
|
+
* Fix typo
|
487
|
+
* Working on migrating the exposed config variables to reflect fog, add in a start on rackspace support. Write more specs, tidy up and document config
|
488
|
+
* Add spec for gzip? config method
|
489
|
+
* Reorder logic to execute quicker if gzip? compression disabled and ignore .gz uploads correctly
|
490
|
+
* Ignore .gz assets if we are in gzip_compression mode
|
491
|
+
* Do not set a Vary: Accept-Encoding header, S3 does not support at all
|
492
|
+
* Try setting vary header a different way
|
493
|
+
* Set http header Vary: Accept-Encoding when storing gzipped assets to S3
|
494
|
+
* Add todo
|
495
|
+
* Refactor to computed path
|
496
|
+
* Add path
|
497
|
+
* Instead of overwriting the original file when processing the .gz, overwrite the original if a gz file exists to avoid any issues with whichever order files are processed in
|
498
|
+
* Bump version (no release just yet)
|
499
|
+
* Only handle gzip files specially if we have configured gzip_compression
|
500
|
+
* Overwrite original files with gzipped equivalent, improve logging to show GZIP in action, make it a configurable option, config.gzip_compression that defaults to false
|
501
|
+
* Upload GZIP compressed assets nicely to S3 with correct content type and encoding.
|
502
|
+
* Refactor upload method to make enhancing nicer
|
503
|
+
* Merge pull request #12 from bobbrez/master
|
504
|
+
|
505
|
+
Minor correction to README for generated YAML file path.
|
506
|
+
* Correcting location of generated yml in README
|
507
|
+
* Comment out unnecessary logic for now
|
508
|
+
|
509
|
+
|
510
|
+
## v0.1.8 / 2011-10-17
|
511
|
+
|
512
|
+
Version 0.1.8 (David Rice <me@davidjrice.co.uk>)
|
513
|
+
|
514
|
+
Changes:
|
515
|
+
|
516
|
+
* 4 Nominal Changes
|
517
|
+
|
518
|
+
* Don't log any debugging info v0.1.8 should add a debug mode in future
|
519
|
+
* Fix specs, only require asset_sync engine and railtie if Rails is initialized
|
520
|
+
* Improve docs
|
521
|
+
* Tidy up for release of Rails 3.1.1 support.
|
522
|
+
|
523
|
+
|
524
|
+
## v0.1.7 / 2011-10-15
|
525
|
+
|
526
|
+
Version 0.1.7 (David Rice <me@davidjrice.co.uk>)
|
527
|
+
|
528
|
+
Changes:
|
529
|
+
|
530
|
+
* 6 Nominal Changes
|
531
|
+
|
532
|
+
* Merge pull request #7 from hone/6_rails3.1.1
|
533
|
+
|
534
|
+
Rails 3.1.1 Compatability
|
535
|
+
* rails 3.1.1 support
|
536
|
+
* fix typo
|
537
|
+
* Update the generated yml config with a staging environment, use defaults more. Engine within asset sync doesn't appear to be ran even with :group => :assets in the definition. Add railtie to allow setting config.asset_sync configuration within a rails application.rb, this and moving the initializer style of config seems to work for Rails 3.1.1, also so does purely relying on the YAML config
|
538
|
+
* New version of asset_sync to work around Rails 3.1.1 issues. Test if config/initializers/asset_sync.rb exists and load that, otherwise provide a default initializer that is configurable with environment variables. Then merge in settings if config/asset_sync.yml is found. Add the asset_sync.rake in to lib/tasks so it is autoloaded and don't bother generating it anymore
|
539
|
+
* Bugfix
|
540
|
+
|
541
|
+
|
542
|
+
## v0.1.6 / 2011-09-26
|
543
|
+
|
544
|
+
Version 0.1.6 (David Rice <me@davidjrice.co.uk>)
|
545
|
+
|
546
|
+
Changes:
|
547
|
+
|
548
|
+
* 1 Nominal Changes
|
549
|
+
|
550
|
+
* Fix gemfile
|
551
|
+
|
552
|
+
|
553
|
+
## v0.1.5 / 2011-09-26
|
554
|
+
|
555
|
+
Version 0.1.5 (David Rice <me@davidjrice.co.uk>)
|
556
|
+
|
557
|
+
Changes:
|
558
|
+
|
559
|
+
* 5 Nominal Changes
|
560
|
+
|
561
|
+
* Should raise storage error if AWS S3 bucket is not found. Version 0.1.5
|
562
|
+
* explain further
|
563
|
+
* Merge branch 'master' of github.com:rumblelabs/asset_sync
|
564
|
+
* List known issues with heroku and possible work arounds
|
565
|
+
* Should raise error with no configuration
|
566
|
+
|
567
|
+
|
568
|
+
## v0.1.4 / 2011-08-30
|
569
|
+
|
570
|
+
Version 0.1.4 (David Rice <me@davidjrice.co.uk>)
|
571
|
+
|
572
|
+
Changes:
|
573
|
+
|
574
|
+
* 2 Nominal Changes
|
575
|
+
|
576
|
+
* Require dependancy of active_model, add config validation, better specs, version 0.1.4
|
577
|
+
* Tidied up read me with a DRYer use of AWS_BUCKET for asset_host.
|
578
|
+
|
579
|
+
|
580
|
+
## v0.1.3 / 2011-08-27
|
581
|
+
|
582
|
+
Version 0.1.3 (Simon Hamilton <shamilton@rumblelabs.com>)
|
583
|
+
|
584
|
+
Changes:
|
585
|
+
|
586
|
+
* 1 Nominal Changes
|
587
|
+
|
588
|
+
* Bump version for release
|
589
|
+
|
590
|
+
|
591
|
+
## v0.1.2 / 2011-08-25
|
592
|
+
|
593
|
+
Version 0.1.2 (Simon Hamilton <shamilton@rumblelabs.com>)
|
594
|
+
|
595
|
+
Changes:
|
596
|
+
|
597
|
+
* 2 Nominal Changes
|
598
|
+
|
599
|
+
* Removed public from cache control. May be causing a problem with uploads
|
600
|
+
* Bump version for release
|
601
|
+
|
602
|
+
|
603
|
+
## v0.1.10 / 2011-11-15
|
604
|
+
|
605
|
+
Version 0.1.10 (David Rice <me@davidjrice.co.uk>)
|
606
|
+
|
607
|
+
Changes:
|
608
|
+
|
609
|
+
* 7 Nominal Changes
|
610
|
+
|
611
|
+
* Improve manifest configuration by making it a boolean option only, it will automatically use the configured manifest path if different from the default. Add documentation to readme about the new option and upgrade generated configs.
|
612
|
+
* Merge pull request #20 from agworld/e26f5ca36dee1c2196653268ed6bb38c0226e4d2
|
613
|
+
|
614
|
+
Fixes issues #16, #17, #18 and #19
|
615
|
+
* fixes https://github.com/rumblelabs/asset_sync/issues/19
|
616
|
+
* Implements https://github.com/rumblelabs/asset_sync/issues/17
|
617
|
+
* fixes https://github.com/rumblelabs/asset_sync/issues/18
|
618
|
+
* fixes https://github.com/rumblelabs/asset_sync/issues/16
|
619
|
+
* Merge branch 'gzip-compression'
|
620
|
+
|
621
|
+
|
622
|
+
## v0.1.1 / 2011-08-24
|
623
|
+
|
624
|
+
Version 0.1.1 (Simon Hamilton <shamilton@rumblelabs.com>)
|
625
|
+
|
626
|
+
Changes:
|
627
|
+
|
628
|
+
* 5 Nominal Changes
|
629
|
+
|
630
|
+
* Merge pull request #4 from jsmestad/patch-1
|
631
|
+
|
632
|
+
[BUGFIX] Add support for 'existing_remote_files' configuration in YAML fi
|
633
|
+
* Verbose output about the delete process.
|
634
|
+
* Condense logic on keep
|
635
|
+
* [BUGFIX] Add support for 'existing_remote_files' configuration in YAML file.
|
636
|
+
* Version 0.1.0 ready
|
637
|
+
|
638
|
+
|
639
|
+
## v0.1.0 / 2011-08-22
|
640
|
+
|
641
|
+
Version 0.1.0 (David Rice <me@davidjrice.co.uk>)
|
642
|
+
|
643
|
+
Changes:
|
644
|
+
|
645
|
+
* 1 Nominal Changes
|
646
|
+
|
647
|
+
* Merge 0.0.7 from master into new refactor branch
|
648
|
+
|
649
|
+
|
650
|
+
## v0.0.7 / 2011-08-22
|
651
|
+
|
652
|
+
Version 0.0.7 (David Rice <me@davidjrice.co.uk>)
|
653
|
+
|
654
|
+
Changes:
|
655
|
+
|
656
|
+
* 9 Nominal Changes
|
657
|
+
|
658
|
+
* Added Cache-control header (1 year, public) on uploaded files
|
659
|
+
* Update README to reflect new configuration styles
|
660
|
+
* Extract all file manipulation methods to a storage class, update generator templates, fix a few bugs.
|
661
|
+
* Config class working, specs added, still @wip
|
662
|
+
* Refactoring
|
663
|
+
* Get config working and loading yml or the initializer
|
664
|
+
* small additions
|
665
|
+
* @wip working on extracting out a configuration class and allow config via an initializer alone, also support yml file usage for when that is useful
|
666
|
+
* merge config changes
|
667
|
+
|
668
|
+
|
669
|
+
## v0.0.6 / 2011-08-06
|
670
|
+
|
671
|
+
Version 0.0.6 (Simon Hamilton <shamilton@rumblelabs.com>)
|
672
|
+
|
673
|
+
Changes:
|
674
|
+
|
675
|
+
* 1 Nominal Changes
|
676
|
+
|
677
|
+
* Include ERB template rendering of yml. v0.0.5
|
678
|
+
|
679
|
+
|
680
|
+
## v0.0.5 / 2011-08-05
|
681
|
+
|
682
|
+
Version 0.0.5 (David Rice <me@davidjrice.co.uk>)
|
683
|
+
|
684
|
+
Changes:
|
685
|
+
|
686
|
+
* 3 Nominal Changes
|
687
|
+
|
688
|
+
* now it parses the YAML file with ERB.
|
689
|
+
* Set gem date for release
|
690
|
+
* 0.0.4 Release
|
691
|
+
|
692
|
+
|
693
|
+
## v0.0.4 / 2011-08-05
|
694
|
+
|
695
|
+
Version 0.0.4 (David Rice <me@davidjrice.co.uk>)
|
696
|
+
|
697
|
+
|
698
|
+
## v0.0.3 / 2011-07-31
|
699
|
+
|
700
|
+
Version 0.0.3 (David Rice <me@davidjrice.co.uk>)
|
701
|
+
|
702
|
+
Changes:
|
703
|
+
|
704
|
+
* 1 Nominal Changes
|
705
|
+
|
706
|
+
* Added homepage to gemspec
|
707
|
+
|
708
|
+
|
709
|
+
## v0.0.2 / 2011-07-31
|
710
|
+
|
711
|
+
Version 0.0.2 (Simon Hamilton <shamilton@rumblelabs.com>)
|
712
|
+
|
713
|
+
Changes:
|
714
|
+
|
715
|
+
* 7 Nominal Changes
|
716
|
+
|
717
|
+
* Added a rails generator to install the rake task and the config. Just do "rails generate asset_sync:install"
|
718
|
+
* Updated readme
|
719
|
+
* Getting ready to release the gem
|
720
|
+
* Revert "remove version file"
|
721
|
+
|
722
|
+
This reverts commit 7ebd853947b8d5f3b6e81f96535dfce843f2c855.
|
723
|
+
* remove version file
|
724
|
+
* Initial commit
|
725
|
+
* Initial commit
|
726
|
+
|
727
|
+
|
728
|
+
## HEAD / 2012-08-27
|
729
|
+
|
730
|
+
Current Development (David Rice)
|
731
|
+
|
732
|
+
Changes:
|
733
|
+
|
734
|
+
* 2 Nominal Changes
|
735
|
+
|
736
|
+
* Improve documentation on ignored_files config option
|
737
|
+
* Merge branch 'sinatra'
|
738
|
+
|