attache 1.0.0 → 1.0.1
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 +4 -4
- data/config/puma.rb +8 -0
- data/config/vhost.example.yml +25 -0
- data/config.ru +9 -0
- data/lib/attache/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2706553dd6f29cd50139c99c9c1f662408357437
|
|
4
|
+
data.tar.gz: 9afa3085bf929946009ddd1b4e1cb5458714444a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 334e5c96812d74e2a73338fe4a4604e061e236cde3e52df828d005fc9bda8f0af38989cbc8e0e2d0615fe5ad957c2f205d64b9b3731acce152e054514b649434
|
|
7
|
+
data.tar.gz: e90dbd37b852eca79015d27d4b7e5e7674a116a0ef7b7946eafcff2fba6127ff9e14446165ed50541bead307a8a38a798c5b0360c6312ee70f62804122fbcaa7
|
data/config/puma.rb
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# This is an example file. You can copy this file as `vhost.yml` and edit
|
|
2
|
+
# the content with the correct values.
|
|
3
|
+
|
|
4
|
+
# This section will only take effect if a request is made to `google.lvh.me:9292`
|
|
5
|
+
"google.lvh.me:9292":
|
|
6
|
+
"SECRET_KEY": CHANGEME # this is the shared secret between your app and this attache server
|
|
7
|
+
"REMOTE_DIR": CHANGEME # this is the root directory to use in the `bucket`; omit to use root
|
|
8
|
+
"FOG_CONFIG": #
|
|
9
|
+
"provider": Google # refer to `fog.io/storage` documentation
|
|
10
|
+
"google_storage_access_key_id": CHANGEME #
|
|
11
|
+
"google_storage_secret_access_key": CHANGEME #
|
|
12
|
+
"bucket": CHANGEME # This `bucket` key is not standard Fog config. BUT attache server needs it
|
|
13
|
+
|
|
14
|
+
# This section will only take effect if a request is made to `aws.example.com`
|
|
15
|
+
"aws.example.com":
|
|
16
|
+
"SECRET_KEY": CHANGEME
|
|
17
|
+
"FOG_CONFIG":
|
|
18
|
+
"provider": AWS
|
|
19
|
+
"aws_access_key_id": CHANGEME
|
|
20
|
+
"aws_secret_access_key": CHANGEME
|
|
21
|
+
"bucket": CHANGEME
|
|
22
|
+
"region": us-west-1
|
|
23
|
+
|
|
24
|
+
# This section will only take effect if a request is made to `localhost:9292`
|
|
25
|
+
"localhost:9292":
|
data/config.ru
ADDED
data/lib/attache/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: attache
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- choonkeat
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|
|
@@ -230,6 +230,9 @@ extra_rdoc_files: []
|
|
|
230
230
|
files:
|
|
231
231
|
- README.md
|
|
232
232
|
- Rakefile
|
|
233
|
+
- config.ru
|
|
234
|
+
- config/puma.rb
|
|
235
|
+
- config/vhost.example.yml
|
|
233
236
|
- exe/attache
|
|
234
237
|
- lib/attache.rb
|
|
235
238
|
- lib/attache/base.rb
|