oss-files.org in arql-0.4.0 vs oss-files.org in arql-0.4.1
- old
+ new
@@ -64,16 +64,16 @@
attr_accessor :path, :bucket
def initialize(path, bucket: nil)
@path = path
unless bucket
- bucket = Arql::App.config['oss_bucket']
+ bucket = env_config(/./)['oss_bucket']
end
@bucket = bucket
end
def rclone_name
- Arql::App.config['rclone_name']
+ env_config(/./)['rclone_name']
end
def info
`rclone lsl #{rclone_name}:#{bucket}/#{path}`
end