yanker 0.0.4 → 0.0.5

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: 2cb005d073f02a2f70afbde1f24b0786c68c1fed
4
- data.tar.gz: 380495bd0e29f50a2ffc2ffbcfdd3a1f89d69eca
3
+ metadata.gz: f91fe8f95ce6eb51d2ea9336b1eb5e01f687e0cd
4
+ data.tar.gz: ad6caddc1b59ea5732274163d90b35c0b6d5eb63
5
5
  SHA512:
6
- metadata.gz: 218287f81563f2fbc8d36f1b7b78b922e88ec0289f72d8d2c1d2e64a56d4eb5534f9672ca47163405f408af8be5fc061bd99476b489c12998e1736dfd43b01f6
7
- data.tar.gz: 3aea1d625231656d755508e605d855bb7f64beaf10285e2be86f7f3f9180b1d9de6cc0f19695495675625f78269827aee000a9865cf0ad6bb90a23a3eff910e2
6
+ metadata.gz: 47fb29060dc88ebac92c1379dc4838a4d4ea8166d81a6b18c18416e689a60e650960bb6e0d45f3d5c953fb52f728131554dd20a656fb80f2e897b22f46823e68
7
+ data.tar.gz: 3f3f296de2497e08823b32e4f044d66fa14516e3cafcf5a9a9068734a20019ed58cb8f5c904044ae14efde5398ef5d20434b15ce738bfb54f9c4ff136eabd3a5
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
- Dwemthy's Cloud File Uploader
2
- =============================
1
+ Yanker: A File Uploader
2
+ ========================
3
3
 
4
4
  A simple file uploader that uses Amazon S3 for remote storage.
5
5
 
6
6
  [![Build Status](https://travis-ci.org/nchase/file_uploader.png?branch=master)](https://travis-ci.org/nchase/file_uploader) [![Coverage Status](https://coveralls.io/repos/nchase/file_uploader/badge.png?branch=master)](https://coveralls.io/r/nchase/file_uploader)
7
7
 
8
8
 
9
- Be sure to run and use the specs! autotest has been included if you're into that kind of thing.
9
+ Be sure to run and use the specs! Autotest has been included in the test gemset if you're into that kind of thing.
@@ -1,3 +1,3 @@
1
1
  module FileUploader
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -2,7 +2,12 @@ require 'aws/s3'
2
2
  require 'yaml'
3
3
 
4
4
  module S3Resource
5
- S3_CONFIG = YAML.load_file(File.expand_path('../../../config/s3.yaml', __FILE__))
5
+ if (defined?(Rails))
6
+ S3_CONFIG = YAML.load_file("#{Rails.root}/config/yanker.yaml")
7
+ else
8
+ S3_CONFIG = YAML.load_file(File.expand_path('../../../config/s3.yaml', __FILE__))
9
+ end
10
+
6
11
  S3_KEY = S3_CONFIG['access_key_id']
7
12
  S3_SECRET = S3_CONFIG['secret_access_key']
8
13
  S3_BUCKET = S3_CONFIG['bucket']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yanker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noah Chase