aliyunoss-activestorage-adapter 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
  SHA256:
3
- metadata.gz: be287d0880ab9d18c34e3368599676a18037c029a4e4c69a3988618e185bcb76
4
- data.tar.gz: cd9d6c1011ea9033f41b3dc1e14acf879dabaa9d86b25c35847d6008c3fd6e61
3
+ metadata.gz: b7757febf237bc442aba6646fabf093c891422b5252f343c8d6d90cfe6c4fc1f
4
+ data.tar.gz: a25d1df2f441e883795119f9961df5d6ba004ebaa4ac1782840d41a7ad5fe2ce
5
5
  SHA512:
6
- metadata.gz: 661502c6982f26960218e32091f61718d1a6b3990cb3627cdc531ceb0c8081329ba6677b9eefb2d90191c0f1f34d9ad9755c6964a312af71977d1b457593e095
7
- data.tar.gz: c955f8cec05d2de4bf93c5aa43cd24e57ac703416ea170d9e04a6cb06617587ea2d642d3ed2d45fb5486f683ee1ff486715385552ca610993dc82c0022b08510
6
+ metadata.gz: 7d6a9976e6133bd972088b730b19e15aa5330fdad96dbae6a60159d76315e2d8c5377b593f11380862f6e324f1254dae28113c554a3bbf1a675482024dc8ed56
7
+ data.tar.gz: 3b720d6374c8eef6dd35c0b8dc34d3d5b576a9f011796ce4c6aa434e73792494a2b6f60a683d0a1db62029001cd0b763a7d2ea492e1d79e162965aafbd50aa4a
data/Gemfile.lock CHANGED
@@ -1,7 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aliyunoss-activestorage-adapter (0.1.0)
4
+ aliyunoss-activestorage-adapter (0.1.1)
5
+ aliyunoss (~> 0.2)
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -39,6 +39,14 @@ Active Storage的配置文件在/config/storage.yml文件中,请添加以下
39
39
 
40
40
  配置完成后,可以按照[Active Storage](https://edgeguides.rubyonrails.org/active_storage_overview.html)手册调用。
41
41
 
42
+ ## 运行测试用例
43
+
44
+ 下载源代码后,可以使用如下方法运行测试用例:
45
+
46
+ ALI_ACCESS_KEY="[阿里云开发者信息]" ALI_ACCESS_SECRET="[阿里云开发者信息]" bundle exec rspec
47
+
48
+ 测试运行前,请手动创建一个名为active-storage-spec的Bucket,Bucket所在地区为oss-cn-beijing。
49
+
42
50
  ## 开发
43
51
 
44
52
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -31,8 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ["lib"]
33
33
 
34
- # Uncomment to register a new dependency of your gem
35
- # spec.add_dependency "example-gem", "~> 1.0"
34
+ spec.add_dependency "aliyunoss", "~> 0.2"
36
35
 
37
36
  # For more information and examples about making a new gem, check out our
38
37
  # guide at: https://bundler.io/guides/creating_gem.html
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveStorage
4
4
  module AliyunossService
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aliyunoss-activestorage-adapter
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
  - yiiecc
@@ -9,7 +9,21 @@ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2022-12-18 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aliyunoss
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.2'
13
27
  description: A plugin that enables Rails App using Aliyun OSS, this gem depends on
14
28
  aliyunoss gem.
15
29
  email: