dragonfly-dreamobjects_data_store 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 72381d934385c4a6ae95a590faa3854685e36dc6
|
|
4
|
+
data.tar.gz: a8db31c4633fa96648234d6608a66688098de0be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ed40db3931960230da0d0e5178d1682f68b1a5630eb4b6cdbb04e5ce8e456eb3529c6d995c3d30c3461b6862575c219c3842f6ce84312324c7ea99dd009292c
|
|
7
|
+
data.tar.gz: e6fe48272912df1171a65a1d01eeec1319123804f5960975d25f53c08b8a92ca96aeafe4ba08a3335b8d912498daf5954d493c5216c7688e283bff38cf502b15
|
data/Gemfile.lock
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
dragonfly-dreamobjects_data_store (0.0.
|
|
4
|
+
dragonfly-dreamobjects_data_store (0.0.4)
|
|
5
5
|
aws-sdk (= 1.59.0)
|
|
6
6
|
dragonfly (~> 1.0)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
addressable (2.5.
|
|
12
|
-
public_suffix (
|
|
11
|
+
addressable (2.5.2)
|
|
12
|
+
public_suffix (>= 2.0.2, < 4.0)
|
|
13
13
|
aws-sdk (1.59.0)
|
|
14
14
|
aws-sdk-v1 (= 1.59.0)
|
|
15
15
|
aws-sdk-v1 (1.59.0)
|
|
16
16
|
json (~> 1.4)
|
|
17
17
|
nokogiri (>= 1.4.4)
|
|
18
18
|
diff-lcs (1.2.5)
|
|
19
|
-
dragonfly (1.
|
|
19
|
+
dragonfly (1.1.5)
|
|
20
20
|
addressable (~> 2.3)
|
|
21
21
|
multi_json (~> 1.0)
|
|
22
|
-
rack (>= 1.3
|
|
22
|
+
rack (>= 1.3)
|
|
23
23
|
json (1.8.6)
|
|
24
|
-
mini_portile2 (2.
|
|
25
|
-
multi_json (1.
|
|
26
|
-
nokogiri (1.
|
|
27
|
-
mini_portile2 (~> 2.
|
|
28
|
-
public_suffix (
|
|
29
|
-
rack (2.0.
|
|
24
|
+
mini_portile2 (2.3.0)
|
|
25
|
+
multi_json (1.13.1)
|
|
26
|
+
nokogiri (1.8.2)
|
|
27
|
+
mini_portile2 (~> 2.3.0)
|
|
28
|
+
public_suffix (3.0.2)
|
|
29
|
+
rack (2.0.5)
|
|
30
30
|
rspec (3.1.0)
|
|
31
31
|
rspec-core (~> 3.1.0)
|
|
32
32
|
rspec-expectations (~> 3.1.0)
|
|
@@ -48,4 +48,4 @@ DEPENDENCIES
|
|
|
48
48
|
rspec (~> 3.0)
|
|
49
49
|
|
|
50
50
|
BUNDLED WITH
|
|
51
|
-
1.
|
|
51
|
+
1.15.4
|
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["Gabriel Rios"]
|
|
10
10
|
spec.email = ["gabrielfalcaorios@gmail.com"]
|
|
11
11
|
spec.description = %q{Dreamobjects data store for Dragonfly}
|
|
12
|
-
spec.summary = %q{Data store for storing Dragonfly content (e.g. images) on
|
|
12
|
+
spec.summary = %q{Data store for storing Dragonfly content (e.g. images) on Dreamobjects}
|
|
13
13
|
spec.homepage = "https://github.com/gabrielrios/dragonfly-dreamobjects_data_store"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ module Dragonfly
|
|
|
9
9
|
@bucket_name = options[:bucket_name]
|
|
10
10
|
@access_key_id = options[:access_key_id]
|
|
11
11
|
@secret_access_key = options[:secret_access_key]
|
|
12
|
-
@endpoint = options.fetch(:endpoint, 'objects.
|
|
12
|
+
@endpoint = options.fetch(:endpoint, 'objects-us-west-1.dream.io')
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def write(content, opts={})
|
|
@@ -42,9 +42,7 @@ module Dragonfly
|
|
|
42
42
|
def storage
|
|
43
43
|
@storage ||= AWS::S3.new(access_key_id: @access_key_id,
|
|
44
44
|
secret_access_key: @secret_access_key,
|
|
45
|
-
s3_endpoint: @endpoint
|
|
46
|
-
use_ssl: false,
|
|
47
|
-
s3_force_path_style: true)
|
|
45
|
+
s3_endpoint: @endpoint)
|
|
48
46
|
end
|
|
49
47
|
|
|
50
48
|
def bucket
|
|
@@ -8,7 +8,7 @@ describe Dragonfly::DreamobjectsDataStore do
|
|
|
8
8
|
# key: XXXXXXXXXX
|
|
9
9
|
# secret: XXXXXXXXXX
|
|
10
10
|
# enabled: true
|
|
11
|
-
if File.exist?(file = File.expand_path('../../.
|
|
11
|
+
if File.exist?(file = File.expand_path('../../.dreamobjects_spec.yml', __FILE__))
|
|
12
12
|
config = YAML.load_file(file)
|
|
13
13
|
KEY = config['key']
|
|
14
14
|
SECRET = config['secret']
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dragonfly-dreamobjects_data_store
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriel Rios
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-04-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dragonfly
|
|
@@ -90,8 +90,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
90
90
|
version: '0'
|
|
91
91
|
requirements: []
|
|
92
92
|
rubyforge_project:
|
|
93
|
-
rubygems_version: 2.
|
|
93
|
+
rubygems_version: 2.6.13
|
|
94
94
|
signing_key:
|
|
95
95
|
specification_version: 4
|
|
96
|
-
summary: Data store for storing Dragonfly content (e.g. images) on
|
|
96
|
+
summary: Data store for storing Dragonfly content (e.g. images) on Dreamobjects
|
|
97
97
|
test_files: []
|