carrierwave-aliyun 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -5
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -2
- data/README.md +1 -1
- data/carrierwave-aliyun.gemspec +1 -1
- data/lib/carrierwave/aliyun/version.rb +1 -1
- data/spec/spec_helper.rb +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50edfb8bfae43d6c73918be4d2299199740a9571
|
4
|
+
data.tar.gz: bb1a6b302d2bd7d0798ad66986316a6bde633885
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cf7e002a1ac03c94d11d5e0634df187c22ff0d5b3e7700b25485225790cc28feae223d7613413a8b1e6b5cb875536a6cfd087fa9fc023a81b7e37b78a352b47
|
7
|
+
data.tar.gz: d0227c03bd3d037bbe81bff512464a1b1e52f30948a722a2fe62a25513fc3414c909c42b736d332aaf1064ab30fe8ba951634c302d562ea68c243c2ad9896a95
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
This gem adds support for [Aliyun OSS](http://oss.aliyun.com) to [CarrierWave](https://github.com/jnicklas/carrierwave/)
|
4
4
|
|
5
|
-
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/carrierwave-aliyun.svg)](https://rubygems.org/gems/carrierwave-aliyun) [![Build Status](https://travis-ci.org/huacnlee/carrierwave-aliyun.svg?branch=master)](https://travis-ci.org/huacnlee/carrierwave-aliyun)
|
6
6
|
|
7
7
|
> NOTE: 此 Gem 是一个 CarrierWave 的组件,你需要配合 CarrierWave 一起使用,如果你需要直接用 Aliyun OSS,可以尝试用 [aliyun-oss-ruby-sdk](https://github.com/aliyun-beta/aliyun-oss-ruby-sdk) 这个 Gem。
|
8
8
|
|
data/carrierwave-aliyun.gemspec
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -24,10 +24,10 @@ ActiveRecord::Migration.verbose = false
|
|
24
24
|
ActiveRecord::Base.raise_in_transactional_callbacks = true
|
25
25
|
|
26
26
|
# 测试的时候需要修改这个地方
|
27
|
-
ALIYUN_ACCESS_ID =
|
28
|
-
ALIYUN_ACCESS_KEY = '
|
29
|
-
ALIYUN_BUCKET =
|
30
|
-
ALIYUN_AREA =
|
27
|
+
ALIYUN_ACCESS_ID = ENV['ALIYUN_ACCESS_ID'] || ''
|
28
|
+
ALIYUN_ACCESS_KEY = ENV['ALIYUN_ACCESS_KEY'] || ''
|
29
|
+
ALIYUN_BUCKET = ENV['ALIYUN_BUCKET'] || 'carrierwave-aliyun-test'
|
30
|
+
ALIYUN_AREA = ENV['ALIYUN_AREA'] || 'cn-beijing'
|
31
31
|
|
32
32
|
CarrierWave.configure do |config|
|
33
33
|
config.storage = :aliyun
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-aliyun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carrierwave
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.1.
|
33
|
+
version: 0.1.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.1.
|
40
|
+
version: 0.1.6
|
41
41
|
description: Aliyun OSS support for Carrierwave
|
42
42
|
email:
|
43
43
|
- huacnlee@gmail.com
|