activestorage_qiniu 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c3dc7c9104888167e57196a87e4653c42bcec55b
4
+ data.tar.gz: 6b8fecb7cbff2f769f145a06e27f46d43d24d7c9
5
+ SHA512:
6
+ metadata.gz: 12c631671a5135752a06c034dbc5b69ce7de3f0e685b5d1564285446db5a4b2aba450cd7eabe86e568ab072e90aec2325619671aece03e5076d626c398e3b7aa
7
+ data.tar.gz: 87c0d64f5bdca240cc07355a09e059e36c358d972231a3359ac26520ed709ecebb44c2de910e11c95f3eee34dcb0074bb2a3196a3a275c65eaa4049651cbb1f7
data/.gitignore ADDED
@@ -0,0 +1,50 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ # Gemfile.lock
46
+ # .ruby-version
47
+ # .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.2
5
+ before_install: gem install bundler -v 1.16.0
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at sindon@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in activestorage_qiniu.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 彩程设计
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.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # ActivestorageQiniu
2
+
3
+ Wraps the [Qiniu](https://www.qiniu.com/) Storage Service as an Active Storage service
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'activestorage_qiniu'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install activestorage_qiniu
20
+
21
+ ## Usage
22
+
23
+ you can set-up qiniu storage service through the generated <tt>config/storage.yml</tt> file.
24
+ ```yaml
25
+ qiniu:
26
+ service: Qiniu
27
+ access_key: <%= ENV['QINIU_ACCESS_KEY'] %>
28
+ secret_key: <%= ENV['QINIU_SECRET_KEY'] %>
29
+ bucket: <%= ENV['QINIU_BUCKET'] %>
30
+ domain: <%= ENV['QINIUDOMAIN'] %>
31
+ ```
32
+ more options. https://github.com/qiniu/ruby-sdk/blob/master/lib/qiniu/auth.rb#L49
33
+
34
+ Then, in your application's configuration, you can specify the service to use like this:
35
+ ```ruby
36
+ config.active_storage.service = :qiniu
37
+ ```
38
+
39
+ ### Setup qiniu as image/video analyzer to extract blob metadata
40
+
41
+ ```
42
+ config.active_storage.analyzers = [ ActiveStorage::Analyzer::QiniuImageAnalyzer, ActiveStorage::Analyzer::QiniuVideoAnalyzer ]
43
+ ```
44
+
45
+
46
+ ## License
47
+
48
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
49
+
50
+ ## Code of Conduct
51
+
52
+ Everyone interacting in the ActivestorageQiniu project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/activestorage_qiniu/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,29 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "activestorage_qiniu/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "activestorage_qiniu"
8
+ spec.version = ActivestorageQiniu::VERSION
9
+ spec.authors = ['Mycolorway', "seandong"]
10
+ spec.email = ["sindon@gmail.com"]
11
+
12
+ spec.summary = %q{Qiniu cloud service for Active Storage}
13
+ spec.description = %q{Qiniu cloud service for Active Storage}
14
+ spec.homepage = "https://zhiren.com"
15
+ spec.license = "MIT"
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.16"
24
+ spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "minitest", "~> 5.0"
26
+
27
+ spec.add_dependency 'rails', ['>= 5.2.0.alpha', '< 6']
28
+ spec.add_dependency 'qiniu', '~> 6.8.1'
29
+ end
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "activestorage_qiniu"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,21 @@
1
+ module ActiveStorage
2
+ # Extracts width and height in pixels from an image blob.
3
+ #
4
+ # Example:
5
+ #
6
+ # ActiveStorage::Analyzer::QiniuImageAnalyzer.new(blob).metadata
7
+ # # => {:size=>39504, :format=>"gif", :width=>708, :height=>576, :colorModel=>"palette0", :frameNumber=>1}
8
+ #
9
+ class Analyzer::QiniuImageAnalyzer < Analyzer
10
+ def self.accept?(blob)
11
+ blob.image?
12
+ end
13
+
14
+ def metadata
15
+ code, result, res = Qiniu::HTTP.api_get(blob.service.url(blob.key, fop: 'imageInfo'))
16
+ result.symbolize_keys
17
+ rescue
18
+ {}
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,54 @@
1
+ module ActiveStorage
2
+ # Extracts the following from a video blob:
3
+ #
4
+ # * Width (pixels)
5
+ # * Height (pixels)
6
+ # * Duration (seconds)
7
+ # * Aspect ratio
8
+ #
9
+ # Example:
10
+ #
11
+ # ActiveStorage::Analyzer::QiniuVideoAnalyzer.new(blob).metadata
12
+ # # => {:width=>240, :height=>240, :duration=>"2.000000", :aspect_ratio=>"1:1"}
13
+ #
14
+ class Analyzer::QiniuVideoAnalyzer < Analyzer
15
+ def self.accept?(blob)
16
+ blob.video?
17
+ end
18
+
19
+ def metadata
20
+ {width: width, height: height, duration: duration, aspect_ratio: aspect_ratio}.compact
21
+ rescue
22
+ {}
23
+ end
24
+
25
+ private
26
+
27
+ def width
28
+ video_stream['width']
29
+ end
30
+
31
+ def hegiht
32
+ video_stream['height']
33
+ end
34
+
35
+ def duration
36
+ video_stream['duration']
37
+ end
38
+
39
+ def aspect_ratio
40
+ video_stream['display_aspect_ratio']
41
+ end
42
+
43
+ def streams
44
+ @streams ||= begin
45
+ code, result, res = Qiniu::HTTP.api_get(blob.service.url(blob.key, fop: 'avinfo'))
46
+ result['streams']
47
+ end
48
+ end
49
+
50
+ def video_stream
51
+ @video_stream ||= streams.detect { |stream| stream["codec_type"] == "video" } || {}
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,121 @@
1
+ module ActiveStorage
2
+ # Wraps the Qiniu Storage Service as an Active Storage service.
3
+ # See ActiveStorage::Service for the generic API documentation that applies to all services.
4
+ #
5
+ # you can set-up qiniu storage service through the generated <tt>config/storage.yml</tt> file.
6
+ # For example:
7
+ #
8
+ # qiniu:
9
+ # service: Qiniu
10
+ # access_key: <%= ENV['QINIU_ACCESS_KEY'] %>
11
+ # secret_key: <%= ENV['QINIU_SECRET_KEY'] %>
12
+ # bucket: <%= ENV['QINIU_BUCKET'] %>
13
+ # domain: <%= ENV['QINIUDOMAIN'] %>
14
+ #
15
+ # more options. https://github.com/qiniu/ruby-sdk/blob/master/lib/qiniu/auth.rb#L49
16
+ #
17
+ # Then, in your application's configuration, you can specify the service to
18
+ # use like this:
19
+ #
20
+ # config.active_storage.service = :qiniu
21
+ #
22
+ #
23
+ class Service::QiniuService < Service
24
+ attr_reader :bucket, :domain, :upload_options
25
+
26
+ def initialize(access_key:, secret_key:, bucket:, domain:, **options)
27
+ @bucket = bucket
28
+ @domain = domain
29
+ Qiniu.establish_connection! access_key: access_key,
30
+ secret_key: secret_key,
31
+ **options
32
+
33
+ @upload_options = options
34
+ end
35
+
36
+ def upload(key, io, checksum: nil)
37
+ instrument :upload, key: key, checksum: checksum do
38
+ begin
39
+ code, result, response_headers = Qiniu::Storage.upload_with_token_2(
40
+ generate_uptoken(key),
41
+ io,
42
+ nil,
43
+ bucket: bucket
44
+ )
45
+
46
+ result
47
+ rescue
48
+ raise ActiveStorage::IntegrityError
49
+ end
50
+ end
51
+ end
52
+
53
+ def delete(key)
54
+ instrument :delete, key: key do
55
+ Qiniu.delete(bucket, key)
56
+ end
57
+ end
58
+
59
+ def delete_prefixed(prefix)
60
+ instrument :delete_prefixed, prefix: prefix do
61
+ items_for(prefix).each { |item| delete item['key'] }
62
+ end
63
+ end
64
+
65
+ def exist?(key)
66
+ instrument :exist, key: key do |payload|
67
+ answer = items_for(key).any?
68
+ payload[:exist] = answer
69
+ answer
70
+ end
71
+ end
72
+
73
+ def url(key, **options)
74
+ instrument :url, key: key do |payload|
75
+ fop = if options[:fop].present? # 内容预处理
76
+ options[:fop]
77
+ elsif options[:attname].present? # 下载附件
78
+ "attname=#{URI.escape(options[:attname])}"
79
+ end
80
+ url = Qiniu::Auth.authorize_download_url_2(domain, key, fop: fop, expires_in: options[:expires_in])
81
+ payload[:url] = url
82
+ url
83
+ end
84
+ end
85
+
86
+ def url_for_direct_upload(key, expires_in:, content_type:, content_length:, checksum:)
87
+ instrument :url, key: key do |payload|
88
+ url = Qiniu::Config.up_host(bucket)
89
+ payload[:url] = url
90
+ { url: url, token: generate_uptoken(key, expires_in) }
91
+ end
92
+ end
93
+
94
+ def headers_for_direct_upload(key, content_type:, checksum:, **)
95
+ { "Content-Type" => content_type, "Content-MD5" => checksum }
96
+ end
97
+
98
+ private
99
+
100
+ def items_for(prefix='')
101
+ list_policy = Qiniu::Storage::ListPolicy.new(
102
+ bucket, # 存储空间
103
+ 1000, # 列举的条目数
104
+ prefix, # 指定前缀
105
+ '' # 指定目录分隔符
106
+ )
107
+ code, result, response_headers, s, d = Qiniu::Storage.list(list_policy)
108
+ result['items']
109
+ end
110
+
111
+ def generate_uptoken(key=nil, expires_in=nil)
112
+ expires_in ||= 3600
113
+ put_policy = Qiniu::Auth::PutPolicy.new(bucket, key, expires_in)
114
+ upload_options.slice(*Qiniu::Auth::PutPolicy::PARAMS.keys).each do |k, v|
115
+ put_policy.send("#{k}=", v)
116
+ end
117
+
118
+ Qiniu::Auth.generate_uptoken(put_policy)
119
+ end
120
+ end
121
+ end
@@ -0,0 +1,7 @@
1
+ require "activestorage_qiniu/version"
2
+ require 'active_storage/service/qiniu_service'
3
+ require 'active_storage/analyzer/qiniu_image_analyzer'
4
+ require 'active_storage/analyzer/qiniu_video_analyzer'
5
+
6
+ module ActivestorageQiniu
7
+ end
@@ -0,0 +1,3 @@
1
+ module ActivestorageQiniu
2
+ VERSION = "0.1.1"
3
+ end
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activestorage_qiniu
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Mycolorway
8
+ - seandong
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2017-12-13 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.16'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '1.16'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '10.0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '10.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: minitest
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '5.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '5.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rails
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 5.2.0.alpha
63
+ - - "<"
64
+ - !ruby/object:Gem::Version
65
+ version: '6'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 5.2.0.alpha
73
+ - - "<"
74
+ - !ruby/object:Gem::Version
75
+ version: '6'
76
+ - !ruby/object:Gem::Dependency
77
+ name: qiniu
78
+ requirement: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 6.8.1
83
+ type: :runtime
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 6.8.1
90
+ description: Qiniu cloud service for Active Storage
91
+ email:
92
+ - sindon@gmail.com
93
+ executables: []
94
+ extensions: []
95
+ extra_rdoc_files: []
96
+ files:
97
+ - ".gitignore"
98
+ - ".travis.yml"
99
+ - CODE_OF_CONDUCT.md
100
+ - Gemfile
101
+ - LICENSE.txt
102
+ - README.md
103
+ - Rakefile
104
+ - activestorage_qiniu.gemspec
105
+ - bin/console
106
+ - bin/setup
107
+ - lib/active_storage/analyzer/qiniu_image_analyzer.rb
108
+ - lib/active_storage/analyzer/qiniu_video_analyzer.rb
109
+ - lib/active_storage/service/qiniu_service.rb
110
+ - lib/activestorage_qiniu.rb
111
+ - lib/activestorage_qiniu/version.rb
112
+ homepage: https://zhiren.com
113
+ licenses:
114
+ - MIT
115
+ metadata: {}
116
+ post_install_message:
117
+ rdoc_options: []
118
+ require_paths:
119
+ - lib
120
+ required_ruby_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ requirements: []
131
+ rubyforge_project:
132
+ rubygems_version: 2.6.13
133
+ signing_key:
134
+ specification_version: 4
135
+ summary: Qiniu cloud service for Active Storage
136
+ test_files: []