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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4bae2234a02c1df62082421a4ee2e466dcb0b078
4
- data.tar.gz: 195af8415d376a192ab81a30dbd3ccd577e4e94b
3
+ metadata.gz: 6b317bfd4e07e739361f15097dc8b5a5b93ab128
4
+ data.tar.gz: 7c167c460baf238df0319e389847c7fbb4c9dd56
5
5
  SHA512:
6
- metadata.gz: f6facc16b9bb26156fc9b365976d28882951814da1bb7001b3dcb282a67a7485aea9310d96a63cd82b8bd113c5e3fbb34dff4807dd99242d594d5ee6946a98af
7
- data.tar.gz: c0e4f64b84c52268b47c7d92bc3b98dff4f810b87bfd05b0e10f85f188e90f67d69c490c9689cb6139570caf1d1699e06ce695415258a27c98a822ae6b812703
6
+ metadata.gz: 81c9ab441664ebbc1b6d81ac02547e035ebef4c3f273c542b024f9fbf9bc342096c3bc95a974392cd6dc95168ce12946ef448673df2dbbf1b09b3c538afc706c
7
+ data.tar.gz: 3e62c0bb4041419da8cfef905d50d7e9d92011a3fe76c3bb551a424c853531ea3a91bfa8a2444ed63244a6998e7a26fe7d1aa422fd20b0e320cffd4cb4201522
data/.gitignore CHANGED
@@ -21,4 +21,5 @@ tmp
21
21
  *.a
22
22
  mkmf.log
23
23
 
24
- *.swp *.swo
24
+ *.swp
25
+ *.swo
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
- TODO: Write a gem description
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
- TODO: Write usage instructions here
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/[my-github-username]/malygos/fork )
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
@@ -1,3 +1,3 @@
1
1
  module Malygos
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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
@@ -1,9 +0,0 @@
1
- module Malygos
2
- class Config
3
- attr_accessor :config
4
-
5
- def config
6
- @config
7
- end
8
- end
9
- end