【文件属性】:
文件名称:dragonfly-manta_data_store:蜻蜓Ruby宝石的Manta数据存储
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-03 17:08:06
Ruby
蜻蜓:: MantaDataStore
Joyent Manta数据存储区,可与 gem一起使用。 灵感来自。
宝石文件
gem 'dragonfly-manta_data_store'
用法
配置(记住需求)
require 'dragonfly/manta_data_store'
Dragonfly . app . configure do
# ...
datastore :manta ,
directory : 'my_images' ,
url : 'https://us-east.manta.joyent.com' ,
user : 'myuser,
key: ' actual ASCII ssh key ( load from file or ENV ) ' ,
durability_level : 2
# ...
end
【文件预览】:
dragonfly-manta_data_store-master
----dragonfly-manta_data_store.gemspec(1KB)
----LICENSE.txt(1KB)
----lib()
--------dragonfly()
----Gemfile(38B)
----spec()
--------manta_data_store_spec.rb(9KB)
--------spec_helper.rb(198B)
--------ruby_manta_stub.rb(1KB)
----Rakefile(28B)
----.travis.yml(104B)
----README.md(2KB)
----.gitignore(168B)