malygos 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/LICENSE +22 -0
- data/README.md +22 -3
- data/lib/malygos/version.rb +1 -1
- metadata +2 -2
- data/lib/malygos/config.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b317bfd4e07e739361f15097dc8b5a5b93ab128
|
4
|
+
data.tar.gz: 7c167c460baf238df0319e389847c7fbb4c9dd56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81c9ab441664ebbc1b6d81ac02547e035ebef4c3f273c542b024f9fbf9bc342096c3bc95a974392cd6dc95168ce12946ef448673df2dbbf1b09b3c538afc706c
|
7
|
+
data.tar.gz: 3e62c0bb4041419da8cfef905d50d7e9d92011a3fe76c3bb551a424c853531ea3a91bfa8a2444ed63244a6998e7a26fe7d1aa422fd20b0e320cffd4cb4201522
|
data/.gitignore
CHANGED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Wonjae Kim
|
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 all
|
13
|
+
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 THE
|
21
|
+
SOFTWARE.
|
22
|
+
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Malygos
|
2
2
|
|
3
|
-
|
3
|
+
Rails assets sync to Amazon S3 only
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,12 +18,31 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
First, add ``malygos.yml`` in your rails project ``config/`` and add your s3 keys like this.
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
access_key_id: YOUR_ACCESS_KEY
|
25
|
+
secret_access_key: YOUR_SECRET_ACCESS_KEY
|
26
|
+
region: YOUR_S3_REGION
|
27
|
+
bucket: YOUR_S3_BUCKET
|
28
|
+
acl: ACL_YOU_WANT # like "public-read"
|
29
|
+
```
|
30
|
+
|
31
|
+
And after, run ``rake malygos:sync`` or ``rake malygos:delete\_remote\_assets``.
|
32
|
+
|
33
|
+
If you run ``rake malygos:sync``, Malygos upload your assets that not in remote s3.
|
34
|
+
and run ``rake malygos:delete\_remote\_assets``, delete all assets in remote s3.
|
22
35
|
|
23
36
|
## Contributing
|
24
37
|
|
25
|
-
1. Fork it ( https://github.com/
|
38
|
+
1. Fork it ( https://github.com/Akkiros/malygos/fork )
|
26
39
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
40
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
41
|
4. Push to the branch (`git push origin my-new-feature`)
|
29
42
|
5. Create a new Pull Request
|
43
|
+
|
44
|
+
## Author
|
45
|
+
|
46
|
+
Wonjae Kim / [@Akkiros][Facebook]
|
47
|
+
|
48
|
+
[Facebook]: https://www.facebook.com/akkiros
|
data/lib/malygos/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: malygos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akkiros
|
@@ -75,11 +75,11 @@ extra_rdoc_files: []
|
|
75
75
|
files:
|
76
76
|
- .gitignore
|
77
77
|
- Gemfile
|
78
|
+
- LICENSE
|
78
79
|
- LICENSE.txt
|
79
80
|
- README.md
|
80
81
|
- Rakefile
|
81
82
|
- lib/malygos.rb
|
82
|
-
- lib/malygos/config.rb
|
83
83
|
- lib/malygos/malygos.rb
|
84
84
|
- lib/malygos/railtie.rb
|
85
85
|
- lib/malygos/version.rb
|