asset_sync_download 0.1.2
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 +7 -0
- data/.envrc.sample +5 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Appraisals +16 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +99 -0
- data/Rakefile +6 -0
- data/asset_sync_download.gemspec +41 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/gemfiles/rails_4_1.gemfile +7 -0
- data/gemfiles/rails_4_2.gemfile +7 -0
- data/gemfiles/rails_5_0.gemfile +7 -0
- data/gemfiles/rails_5_1.gemfile +7 -0
- data/lib/asset_sync_download.rb +7 -0
- data/lib/asset_sync_download/asset_sync_download.rb +15 -0
- data/lib/asset_sync_download/engine.rb +10 -0
- data/lib/asset_sync_download/railtie.rb +5 -0
- data/lib/asset_sync_download/storage.rb +95 -0
- data/lib/asset_sync_download/version.rb +3 -0
- data/lib/tasks/asset_sync_download.rake +25 -0
- metadata +251 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3334ffeade3da3f403e52a77ce20da4c3f183059
|
4
|
+
data.tar.gz: 4ffafc0740a19877373c6386582288f83a048294
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4ec425830d65c12ee0908b698829926e6c75d11883c96d74d142e982236f805e62cb6f162b2bb3adb7a754a5bc0c0244e6189ce9e712be7f39ef9adee3e9784b
|
7
|
+
data.tar.gz: 22312a68da1c00d29ed9f035f65773d181a67dac256543946797fea33da698e83322a406323587f00288ebbdc76944ed0d3035cdc7646e3cd1d531aed896b00c
|
data/.envrc.sample
ADDED
data/.gitignore
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/Gemfile.lock
|
4
|
+
/_yardoc/
|
5
|
+
/coverage/
|
6
|
+
/doc/
|
7
|
+
/pkg/
|
8
|
+
/spec/reports/
|
9
|
+
/tmp/
|
10
|
+
/vendor/bundle/
|
11
|
+
/spec/dummy_app*/public/*
|
12
|
+
/spec/dummy_app*/log/*
|
13
|
+
/spec/dummy_app*/tmp/*
|
14
|
+
.envrc
|
15
|
+
|
16
|
+
# rspec failure tracking
|
17
|
+
.rspec_status
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Appraisals
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Daisuke TASAKI
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
# AssetSyncDownload
|
2
|
+
|
3
|
+
Downloads asset files to Rails applications from a cloud storage, such as AWS S3 and AzureBlob, synchronized with AssetSync gem.
|
4
|
+
|
5
|
+
It enables you to distribute a manifest file and asset files to load-balanced redundant servers without commiting these files to your repository.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'asset_sync'
|
13
|
+
gem 'asset_sync_download'
|
14
|
+
```
|
15
|
+
|
16
|
+
AssetSyncDownload depends on AssetSync gem deeply.
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle
|
21
|
+
|
22
|
+
Or install it yourself as:
|
23
|
+
|
24
|
+
$ gem install asset_sync_download
|
25
|
+
|
26
|
+
## Usage
|
27
|
+
|
28
|
+
AssetSyncDownload supposes deployment operations as belows:
|
29
|
+
|
30
|
+
1. Run `assets:precompile` rake task on your local PC. You should configure AssetSync to upload a manifest file not only asset files.
|
31
|
+
2. Deploy rails application to servers. Do not start or restart them.
|
32
|
+
3. Run `assets:sync:download` rake task on the servers. It will download the manifest file and asset files.
|
33
|
+
4. Restart the rails applications.
|
34
|
+
|
35
|
+
### Rake Tasks
|
36
|
+
|
37
|
+
* `rake assets:sync:download:manifest` downloads manifest file.
|
38
|
+
* `rake assets:sync:download:asset_files` downloads all asset files on a cloud storage.
|
39
|
+
* If you configure AssetSync as `config.manifest = true`, you get only asset files mentioned in the manifest file.
|
40
|
+
|
41
|
+
## Configuration
|
42
|
+
|
43
|
+
### AssetSyncDownload
|
44
|
+
|
45
|
+
AssetSync has no configurations, but it requires well-configured AssetSync such as `config.fog_provider`, `config.aws_access_key_id` and `config.aws_secret_access_key`.
|
46
|
+
|
47
|
+
### AssetSync
|
48
|
+
|
49
|
+
Configure **config/environments/production.rb** to use AWS S3 as below. (please refer to documents of AssetSync gem for more information.)
|
50
|
+
|
51
|
+
```ruby
|
52
|
+
if defined?(AssetSync)
|
53
|
+
AssetSync.configure do |config|
|
54
|
+
config.fog_provider = 'AWS'
|
55
|
+
config.aws_access_key_id = ENV['AWS_ACCESS_KEY_ID']
|
56
|
+
config.aws_secret_access_key = ENV['AWS_SECRET_ACCESS_KEY']
|
57
|
+
|
58
|
+
config.manifest = true
|
59
|
+
end
|
60
|
+
end
|
61
|
+
```
|
62
|
+
|
63
|
+
`config.manifest` is an option which enables to use the manifest file to get the list of local files to upload. **AssetSyncDownload** also refers to the option to get the list of remote files to download.
|
64
|
+
|
65
|
+
To enable uploading a manifest file to a cloud storage, you should configure **AssetSync** with **config/initializers/asset_sync.rb** as below:
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
if defined?(AssetSync)
|
69
|
+
AssetSync.configure do |config|
|
70
|
+
...
|
71
|
+
config.add_local_file_paths do
|
72
|
+
if ActionView::Base.respond_to?(:assets_manifest)
|
73
|
+
manifest = Sprockets::Manifest.new(ActionView::Base.assets_manifest.environment, ActionView::Base.assets_manifest.dir)
|
74
|
+
manifest_path = manifest.filename
|
75
|
+
else
|
76
|
+
manifest_path = self.config.manifest_path
|
77
|
+
end
|
78
|
+
[manifest_path.sub(/^#{config.public_path}\//, "")] # full path to relative path
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
```
|
83
|
+
|
84
|
+
|
85
|
+
## Contributing
|
86
|
+
|
87
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/devchick/asset_sync_download.
|
88
|
+
|
89
|
+
|
90
|
+
## Credits
|
91
|
+
|
92
|
+
Inspired by:
|
93
|
+
|
94
|
+
- [AssetSync gem](https://github.com/AssetSync/asset_sync)
|
95
|
+
|
96
|
+
## License
|
97
|
+
|
98
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
99
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'asset_sync_download/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "asset_sync_download"
|
8
|
+
spec.version = AssetSyncDownload::VERSION
|
9
|
+
spec.authors = ["Daisuke TASAKI"]
|
10
|
+
spec.email = ["tasaki@i3-systems.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Downloads asset files to Rails applications from a cloud storage, such as AWS S3 and AzureBlob, synchronised with AssetSync gem}
|
13
|
+
spec.description = %q{It enables you to distribute a manifest file and asset files to load-balanced redundant servers without commiting these files to your repository.}
|
14
|
+
spec.homepage = "https://github.com/devchick/asset_sync_download"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.rubyforge_project = "asset_sync_download"
|
18
|
+
|
19
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
20
|
+
f.match(%r{^(test|spec|features)/})
|
21
|
+
end
|
22
|
+
spec.bindir = "exe"
|
23
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
|
+
spec.require_paths = ["lib"]
|
25
|
+
|
26
|
+
spec.add_dependency 'asset_sync', '~> 2.3'
|
27
|
+
|
28
|
+
spec.add_development_dependency "bundler", "~> 1.14"
|
29
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
30
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
31
|
+
spec.add_development_dependency "activesupport"
|
32
|
+
spec.add_development_dependency "actionpack"
|
33
|
+
spec.add_development_dependency "actionview"
|
34
|
+
spec.add_development_dependency "sprockets"
|
35
|
+
spec.add_development_dependency "uglifier"
|
36
|
+
spec.add_development_dependency "fog-aws"
|
37
|
+
spec.add_development_dependency "fog-azure-rm"
|
38
|
+
|
39
|
+
spec.add_development_dependency "appraisal"
|
40
|
+
spec.add_development_dependency "systemu"
|
41
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "asset_sync_download"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
require "asset_sync"
|
2
|
+
require "asset_sync_download/asset_sync_download"
|
3
|
+
require "asset_sync_download/storage"
|
4
|
+
require "asset_sync_download/version"
|
5
|
+
|
6
|
+
require "asset_sync_download/railtie" if defined?(Rails)
|
7
|
+
require "asset_sync_download/engine" if defined?(Rails)
|
@@ -0,0 +1,95 @@
|
|
1
|
+
module AssetSyncDownload
|
2
|
+
class Storage
|
3
|
+
extend Forwardable
|
4
|
+
|
5
|
+
def_delegator :storage, :bucket
|
6
|
+
def_delegator :storage, :config
|
7
|
+
def_delegator :storage, :get_remote_files
|
8
|
+
def_delegator :storage, :log
|
9
|
+
def_delegator :storage, :path
|
10
|
+
|
11
|
+
def storage
|
12
|
+
@storage ||= AssetSync.storage
|
13
|
+
end
|
14
|
+
|
15
|
+
def get_asset_files_from_manifest
|
16
|
+
if storage.respond_to?(:get_asset_files_from_manifest)
|
17
|
+
return storage.get_asset_files_from_manifest
|
18
|
+
end
|
19
|
+
|
20
|
+
if self.config.manifest
|
21
|
+
if ActionView::Base.respond_to?(:assets_manifest)
|
22
|
+
log "Using: Rails 4.0 manifest access"
|
23
|
+
manifest = Sprockets::Manifest.new(ActionView::Base.assets_manifest.environment, ActionView::Base.assets_manifest.dir)
|
24
|
+
return manifest.assets.values.map { |f| File.join(self.config.assets_prefix, f) }
|
25
|
+
elsif File.exist?(self.config.manifest_path)
|
26
|
+
log "Using: Manifest #{self.config.manifest_path}"
|
27
|
+
yml = YAML.load(IO.read(self.config.manifest_path))
|
28
|
+
|
29
|
+
return yml.map do |original, compiled|
|
30
|
+
# Upload font originals and compiled
|
31
|
+
if original =~ /^.+(eot|svg|ttf|woff)$/
|
32
|
+
[original, compiled]
|
33
|
+
else
|
34
|
+
compiled
|
35
|
+
end
|
36
|
+
end.flatten.map { |f| File.join(self.config.assets_prefix, f) }.uniq!
|
37
|
+
else
|
38
|
+
log "Warning: Manifest could not be found"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def download_manifest
|
44
|
+
return unless defined?(Sprockets::ManifestUtils)
|
45
|
+
|
46
|
+
files = get_remote_files
|
47
|
+
manifest_key = files.find { |f| File.basename(f) =~ Sprockets::ManifestUtils::MANIFEST_RE }
|
48
|
+
manifest_key ||= files.find { |f| File.basename(f) =~ Sprockets::ManifestUtils::LEGACY_MANIFEST_RE }
|
49
|
+
raise "Could not find any manifests. aborted." if manifest_key.nil?
|
50
|
+
|
51
|
+
manifest = bucket.files.get(manifest_key)
|
52
|
+
log "Downloaded: #{manifest_key} (#{manifest.content_length} Bytes)"
|
53
|
+
|
54
|
+
manifest_path = File.join(path, manifest_key)
|
55
|
+
local_dir = File.dirname(manifest_path)
|
56
|
+
FileUtils.mkdir_p(local_dir) unless File.directory?(local_dir)
|
57
|
+
File.open(manifest_path, "wb") { |f| f.write(manifest.body) }
|
58
|
+
end
|
59
|
+
|
60
|
+
def download_asset_files
|
61
|
+
asset_paths = get_asset_files_from_manifest
|
62
|
+
if asset_paths.nil?
|
63
|
+
log "Using: Remote Directory Search"
|
64
|
+
asset_paths = get_remote_files
|
65
|
+
end
|
66
|
+
|
67
|
+
asset_paths.each do |asset_path|
|
68
|
+
local_path = File.join(path, asset_path)
|
69
|
+
if File.exists?(local_path)
|
70
|
+
log "Skipped: #{asset_path}"
|
71
|
+
next
|
72
|
+
end
|
73
|
+
|
74
|
+
file = bucket.files.get(asset_path)
|
75
|
+
log "Downloaded: #{asset_path} (#{file.content_length} Bytes)"
|
76
|
+
local_dir = File.dirname(local_path)
|
77
|
+
FileUtils.mkdir_p(local_dir) unless File.directory?(local_dir)
|
78
|
+
File.open(local_path, "wb") { |f| f.write(file.body) }
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def download(target = :asset_files)
|
83
|
+
log "AssetSync: Downloading #{target}."
|
84
|
+
case target
|
85
|
+
when :manifest
|
86
|
+
download_manifest
|
87
|
+
when :asset_files
|
88
|
+
download_asset_files
|
89
|
+
else
|
90
|
+
raise "Unknown target specified: #{target}. It must be :manifest or :asset_files."
|
91
|
+
end
|
92
|
+
log "AssetSync: Done."
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
namespace :assets do
|
2
|
+
namespace :sync do
|
3
|
+
|
4
|
+
desc "Download a manifest and asset files"
|
5
|
+
task :download => :environment do
|
6
|
+
Rake::Task["assets:sync:download:manifest"].invoke
|
7
|
+
Rake::Task["assets:sync:download:asset_files"].invoke
|
8
|
+
end
|
9
|
+
|
10
|
+
namespace :download do
|
11
|
+
|
12
|
+
desc "Download a manifest"
|
13
|
+
task :manifest => :environment do
|
14
|
+
AssetSyncDownload.download(:manifest)
|
15
|
+
end
|
16
|
+
|
17
|
+
desc "Download asset files"
|
18
|
+
task :asset_files => :environment do
|
19
|
+
AssetSyncDownload.download(:asset_files)
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,251 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: asset_sync_download
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Daisuke TASAKI
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-12-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: asset_sync
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.14'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.14'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activesupport
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: actionpack
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: actionview
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: sprockets
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: uglifier
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: fog-aws
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: fog-azure-rm
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: appraisal
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: systemu
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
description: It enables you to distribute a manifest file and asset files to load-balanced
|
196
|
+
redundant servers without commiting these files to your repository.
|
197
|
+
email:
|
198
|
+
- tasaki@i3-systems.com
|
199
|
+
executables: []
|
200
|
+
extensions: []
|
201
|
+
extra_rdoc_files: []
|
202
|
+
files:
|
203
|
+
- ".envrc.sample"
|
204
|
+
- ".gitignore"
|
205
|
+
- ".rspec"
|
206
|
+
- ".travis.yml"
|
207
|
+
- Appraisals
|
208
|
+
- Gemfile
|
209
|
+
- LICENSE.txt
|
210
|
+
- README.md
|
211
|
+
- Rakefile
|
212
|
+
- asset_sync_download.gemspec
|
213
|
+
- bin/console
|
214
|
+
- bin/setup
|
215
|
+
- gemfiles/rails_4_1.gemfile
|
216
|
+
- gemfiles/rails_4_2.gemfile
|
217
|
+
- gemfiles/rails_5_0.gemfile
|
218
|
+
- gemfiles/rails_5_1.gemfile
|
219
|
+
- lib/asset_sync_download.rb
|
220
|
+
- lib/asset_sync_download/asset_sync_download.rb
|
221
|
+
- lib/asset_sync_download/engine.rb
|
222
|
+
- lib/asset_sync_download/railtie.rb
|
223
|
+
- lib/asset_sync_download/storage.rb
|
224
|
+
- lib/asset_sync_download/version.rb
|
225
|
+
- lib/tasks/asset_sync_download.rake
|
226
|
+
homepage: https://github.com/devchick/asset_sync_download
|
227
|
+
licenses:
|
228
|
+
- MIT
|
229
|
+
metadata: {}
|
230
|
+
post_install_message:
|
231
|
+
rdoc_options: []
|
232
|
+
require_paths:
|
233
|
+
- lib
|
234
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
235
|
+
requirements:
|
236
|
+
- - ">="
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: '0'
|
239
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
requirements: []
|
245
|
+
rubyforge_project: asset_sync_download
|
246
|
+
rubygems_version: 2.5.2
|
247
|
+
signing_key:
|
248
|
+
specification_version: 4
|
249
|
+
summary: Downloads asset files to Rails applications from a cloud storage, such as
|
250
|
+
AWS S3 and AzureBlob, synchronised with AssetSync gem
|
251
|
+
test_files: []
|