sample_data_dump_aws_s3_compressed_dump_storage 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +3 -0
- data/.reek.yml +32 -0
- data/.rspec +2 -0
- data/.rubocop.yml +61 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +27 -0
- data/Gemfile.lock +200 -0
- data/Guardfile +16 -0
- data/README.md +26 -0
- data/lib/sample_data_dump_aws_s3_compressed_dump_storage.rb +3 -0
- data/lib/sample_data_dump_aws_s3_compressed_dump_storage/gateway.rb +50 -0
- data/lib/sample_data_dump_aws_s3_compressed_dump_storage/settings.rb +14 -0
- data/lib/sample_data_dump_aws_s3_compressed_dump_storage/version.rb +5 -0
- data/sample_data_dump_aws_s3_compressed_dump_storage.gemspec +42 -0
- metadata +199 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ae2fd343c3cd9671d624a6f7c1d715daa8538172
|
4
|
+
data.tar.gz: e44bf170e83fe5c32712cc933781f0c3c71fb7fb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: bf8475fdeb69c2d7661e6a03b0619db6905303008e5af7a211e415ed72dafd0449e4f9d0a1f3e242eb6527608e49b32534ca9bfbde62aa83c2dc58c7493b8e9a
|
7
|
+
data.tar.gz: aa8d454fe3db37df0e90926ae38612f3147ca237238c6a98055d59ec3c7dd59f8d8c4200872d5ebbe9977c0e6f5eff281df87890905bacd2ab0ac103d11927f8
|
data/.gitignore
ADDED
data/.reek.yml
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
detectors:
|
3
|
+
IrresponsibleModule:
|
4
|
+
enabled: false
|
5
|
+
TooManyStatements:
|
6
|
+
enabled: true
|
7
|
+
max_statements: 10
|
8
|
+
NilCheck:
|
9
|
+
enabled: false
|
10
|
+
directories:
|
11
|
+
app/controllers:
|
12
|
+
NestedIterators:
|
13
|
+
max_allowed_nesting: 2
|
14
|
+
UnusedPrivateMethod:
|
15
|
+
enabled: false
|
16
|
+
app/helpers:
|
17
|
+
UtilityFunction:
|
18
|
+
enabled: false
|
19
|
+
exclude_paths:
|
20
|
+
- app/assets
|
21
|
+
- bin
|
22
|
+
- client/node_modules
|
23
|
+
- config
|
24
|
+
- coverage
|
25
|
+
- data
|
26
|
+
- db
|
27
|
+
- dw
|
28
|
+
- log
|
29
|
+
- phrase
|
30
|
+
- public
|
31
|
+
- tmp
|
32
|
+
- vendor
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
Documentation:
|
3
|
+
Enabled: false
|
4
|
+
Rails:
|
5
|
+
Enabled: true
|
6
|
+
AllCops:
|
7
|
+
Include:
|
8
|
+
- app/**/*.rb
|
9
|
+
- lib/**/*.rb
|
10
|
+
- spec/**/*.rb
|
11
|
+
Exclude:
|
12
|
+
- app/assets/**/*
|
13
|
+
- bin/**/*
|
14
|
+
- client/node_modules/**/*
|
15
|
+
- config/**/*
|
16
|
+
- coverage/**/*
|
17
|
+
- data/**/*
|
18
|
+
- db/**/*
|
19
|
+
- db_*/**/*
|
20
|
+
- dw/**/*
|
21
|
+
- log/**/*
|
22
|
+
- phrase/**/*
|
23
|
+
- public/**/*
|
24
|
+
- tmp/**/*
|
25
|
+
- vendor/**/*
|
26
|
+
TargetRubyVersion: 2.4
|
27
|
+
Metrics/LineLength:
|
28
|
+
Max: 100
|
29
|
+
Layout/MultilineMethodCallIndentation:
|
30
|
+
EnforcedStyle: indented
|
31
|
+
Style/PercentLiteralDelimiters:
|
32
|
+
PreferredDelimiters:
|
33
|
+
"%w": "[]"
|
34
|
+
RSpec/ExampleLength:
|
35
|
+
Enabled: false
|
36
|
+
Max: 10
|
37
|
+
RSpec/MultipleExpectations:
|
38
|
+
Enabled: false
|
39
|
+
Max: 10
|
40
|
+
RSpec/NestedGroups:
|
41
|
+
Enabled: false
|
42
|
+
Max: 10
|
43
|
+
RSpec/MessageExpectation:
|
44
|
+
Enabled: false
|
45
|
+
RSpec/MissingExampleGroupArgument:
|
46
|
+
Enabled: false
|
47
|
+
require:
|
48
|
+
- rubocop-rspec
|
49
|
+
- test_prof/rubocop
|
50
|
+
Metrics/BlockLength:
|
51
|
+
Enabled: false
|
52
|
+
RSpec/MessageSpies:
|
53
|
+
Enabled: false
|
54
|
+
RSpec/ExpectInHook:
|
55
|
+
Enabled: false
|
56
|
+
RSpec/AggregateFailures:
|
57
|
+
Enabled: true
|
58
|
+
Include:
|
59
|
+
- spec/**/*.rb
|
60
|
+
Rails/InverseOf:
|
61
|
+
Enabled: false
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.4.5
|
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
# Specify your gem's dependencies in bellroy-products.gemspec
|
6
|
+
gemspec
|
7
|
+
|
8
|
+
group :development, :test do
|
9
|
+
gem 'guard-rspec'
|
10
|
+
gem 'pry-byebug'
|
11
|
+
gem 'rb-fsevent', require: false
|
12
|
+
gem 'rb-readline'
|
13
|
+
gem 'reek'
|
14
|
+
gem 'rspec'
|
15
|
+
gem 'rubocop'
|
16
|
+
gem 'rubocop-rspec'
|
17
|
+
gem 'stackprof'
|
18
|
+
gem 'timecop'
|
19
|
+
end
|
20
|
+
|
21
|
+
group :development do
|
22
|
+
gem 'pry'
|
23
|
+
end
|
24
|
+
|
25
|
+
group :test do
|
26
|
+
gem 'simplecov'
|
27
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,200 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
sample_data_dump_aws_s3_compressed_dump_storage (0.0.1)
|
5
|
+
aws-sdk-s3
|
6
|
+
dry-matcher
|
7
|
+
dry-monads
|
8
|
+
dry-struct
|
9
|
+
dry-types
|
10
|
+
duckface-interfaces
|
11
|
+
sample_data_dump
|
12
|
+
|
13
|
+
GEM
|
14
|
+
remote: https://rubygems.org/
|
15
|
+
specs:
|
16
|
+
ast (2.4.0)
|
17
|
+
aws-eventstream (1.0.1)
|
18
|
+
aws-partitions (1.121.0)
|
19
|
+
aws-sdk-core (3.42.0)
|
20
|
+
aws-eventstream (~> 1.0)
|
21
|
+
aws-partitions (~> 1.0)
|
22
|
+
aws-sigv4 (~> 1.0)
|
23
|
+
jmespath (~> 1.0)
|
24
|
+
aws-sdk-kms (1.13.0)
|
25
|
+
aws-sdk-core (~> 3, >= 3.39.0)
|
26
|
+
aws-sigv4 (~> 1.0)
|
27
|
+
aws-sdk-s3 (1.29.0)
|
28
|
+
aws-sdk-core (~> 3, >= 3.39.0)
|
29
|
+
aws-sdk-kms (~> 1)
|
30
|
+
aws-sigv4 (~> 1.0)
|
31
|
+
aws-sigv4 (1.0.3)
|
32
|
+
axiom-types (0.1.1)
|
33
|
+
descendants_tracker (~> 0.0.4)
|
34
|
+
ice_nine (~> 0.11.0)
|
35
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
36
|
+
byebug (10.0.2)
|
37
|
+
codeclimate-engine-rb (0.4.1)
|
38
|
+
virtus (~> 1.0)
|
39
|
+
coderay (1.1.2)
|
40
|
+
coercible (1.0.0)
|
41
|
+
descendants_tracker (~> 0.0.1)
|
42
|
+
concurrent-ruby (1.1.3)
|
43
|
+
descendants_tracker (0.0.4)
|
44
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
45
|
+
diff-lcs (1.3)
|
46
|
+
docile (1.3.1)
|
47
|
+
dry-configurable (0.7.0)
|
48
|
+
concurrent-ruby (~> 1.0)
|
49
|
+
dry-container (0.6.0)
|
50
|
+
concurrent-ruby (~> 1.0)
|
51
|
+
dry-configurable (~> 0.1, >= 0.1.3)
|
52
|
+
dry-core (0.4.7)
|
53
|
+
concurrent-ruby (~> 1.0)
|
54
|
+
dry-equalizer (0.2.1)
|
55
|
+
dry-inflector (0.1.2)
|
56
|
+
dry-logic (0.4.2)
|
57
|
+
dry-container (~> 0.2, >= 0.2.6)
|
58
|
+
dry-core (~> 0.2)
|
59
|
+
dry-equalizer (~> 0.2)
|
60
|
+
dry-matcher (0.7.0)
|
61
|
+
dry-monads (1.1.0)
|
62
|
+
concurrent-ruby (~> 1.0)
|
63
|
+
dry-core (~> 0.4, >= 0.4.4)
|
64
|
+
dry-equalizer
|
65
|
+
dry-struct (0.6.0)
|
66
|
+
dry-core (~> 0.4, >= 0.4.3)
|
67
|
+
dry-equalizer (~> 0.2)
|
68
|
+
dry-types (~> 0.13)
|
69
|
+
ice_nine (~> 0.11)
|
70
|
+
dry-types (0.13.3)
|
71
|
+
concurrent-ruby (~> 1.0)
|
72
|
+
dry-container (~> 0.3)
|
73
|
+
dry-core (~> 0.4, >= 0.4.4)
|
74
|
+
dry-equalizer (~> 0.2)
|
75
|
+
dry-inflector (~> 0.1, >= 0.1.2)
|
76
|
+
dry-logic (~> 0.4, >= 0.4.2)
|
77
|
+
duckface-interfaces (0.0.3)
|
78
|
+
equalizer (0.0.11)
|
79
|
+
ffi (1.9.25)
|
80
|
+
formatador (0.2.5)
|
81
|
+
guard (2.15.0)
|
82
|
+
formatador (>= 0.2.4)
|
83
|
+
listen (>= 2.7, < 4.0)
|
84
|
+
lumberjack (>= 1.0.12, < 2.0)
|
85
|
+
nenv (~> 0.1)
|
86
|
+
notiffany (~> 0.0)
|
87
|
+
pry (>= 0.9.12)
|
88
|
+
shellany (~> 0.0)
|
89
|
+
thor (>= 0.18.1)
|
90
|
+
guard-compat (1.2.1)
|
91
|
+
guard-rspec (4.7.3)
|
92
|
+
guard (~> 2.1)
|
93
|
+
guard-compat (~> 1.1)
|
94
|
+
rspec (>= 2.99.0, < 4.0)
|
95
|
+
ice_nine (0.11.2)
|
96
|
+
jaro_winkler (1.5.1)
|
97
|
+
jmespath (1.4.0)
|
98
|
+
json (2.1.0)
|
99
|
+
kwalify (0.7.2)
|
100
|
+
listen (3.1.5)
|
101
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
102
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
103
|
+
ruby_dep (~> 1.2)
|
104
|
+
lumberjack (1.0.13)
|
105
|
+
method_source (0.9.2)
|
106
|
+
nenv (0.3.0)
|
107
|
+
notiffany (0.1.1)
|
108
|
+
nenv (~> 0.1)
|
109
|
+
shellany (~> 0.0)
|
110
|
+
parallel (1.12.1)
|
111
|
+
parser (2.5.3.0)
|
112
|
+
ast (~> 2.4.0)
|
113
|
+
powerpack (0.1.2)
|
114
|
+
pry (0.12.2)
|
115
|
+
coderay (~> 1.1.0)
|
116
|
+
method_source (~> 0.9.0)
|
117
|
+
pry-byebug (3.6.0)
|
118
|
+
byebug (~> 10.0)
|
119
|
+
pry (~> 0.10)
|
120
|
+
rainbow (3.0.0)
|
121
|
+
rake (12.3.1)
|
122
|
+
rb-fsevent (0.10.3)
|
123
|
+
rb-inotify (0.9.10)
|
124
|
+
ffi (>= 0.5.0, < 2)
|
125
|
+
rb-readline (0.5.5)
|
126
|
+
reek (5.2.0)
|
127
|
+
codeclimate-engine-rb (~> 0.4.0)
|
128
|
+
kwalify (~> 0.7.0)
|
129
|
+
parser (>= 2.5.0.0, < 2.6, != 2.5.1.1)
|
130
|
+
rainbow (>= 2.0, < 4.0)
|
131
|
+
rspec (3.8.0)
|
132
|
+
rspec-core (~> 3.8.0)
|
133
|
+
rspec-expectations (~> 3.8.0)
|
134
|
+
rspec-mocks (~> 3.8.0)
|
135
|
+
rspec-core (3.8.0)
|
136
|
+
rspec-support (~> 3.8.0)
|
137
|
+
rspec-expectations (3.8.2)
|
138
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
139
|
+
rspec-support (~> 3.8.0)
|
140
|
+
rspec-mocks (3.8.0)
|
141
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
142
|
+
rspec-support (~> 3.8.0)
|
143
|
+
rspec-support (3.8.0)
|
144
|
+
rubocop (0.60.0)
|
145
|
+
jaro_winkler (~> 1.5.1)
|
146
|
+
parallel (~> 1.10)
|
147
|
+
parser (>= 2.5, != 2.5.1.1)
|
148
|
+
powerpack (~> 0.1)
|
149
|
+
rainbow (>= 2.2.2, < 4.0)
|
150
|
+
ruby-progressbar (~> 1.7)
|
151
|
+
unicode-display_width (~> 1.4.0)
|
152
|
+
rubocop-rspec (1.30.1)
|
153
|
+
rubocop (>= 0.60.0)
|
154
|
+
ruby-progressbar (1.10.0)
|
155
|
+
ruby_dep (1.5.0)
|
156
|
+
sample_data_dump (0.0.2)
|
157
|
+
dry-matcher
|
158
|
+
dry-monads
|
159
|
+
dry-struct
|
160
|
+
dry-types
|
161
|
+
duckface-interfaces
|
162
|
+
shellany (0.0.1)
|
163
|
+
simplecov (0.16.1)
|
164
|
+
docile (~> 1.1)
|
165
|
+
json (>= 1.8, < 3)
|
166
|
+
simplecov-html (~> 0.10.0)
|
167
|
+
simplecov-html (0.10.2)
|
168
|
+
stackprof (0.2.12)
|
169
|
+
thor (0.20.3)
|
170
|
+
thread_safe (0.3.6)
|
171
|
+
timecop (0.9.1)
|
172
|
+
unicode-display_width (1.4.0)
|
173
|
+
virtus (1.0.5)
|
174
|
+
axiom-types (~> 0.1)
|
175
|
+
coercible (~> 1.0)
|
176
|
+
descendants_tracker (~> 0.0, >= 0.0.3)
|
177
|
+
equalizer (~> 0.0, >= 0.0.9)
|
178
|
+
|
179
|
+
PLATFORMS
|
180
|
+
ruby
|
181
|
+
|
182
|
+
DEPENDENCIES
|
183
|
+
bundler (>= 1.13)
|
184
|
+
guard-rspec
|
185
|
+
pry
|
186
|
+
pry-byebug
|
187
|
+
rake (>= 10.0)
|
188
|
+
rb-fsevent
|
189
|
+
rb-readline
|
190
|
+
reek
|
191
|
+
rspec
|
192
|
+
rubocop
|
193
|
+
rubocop-rspec
|
194
|
+
sample_data_dump_aws_s3_compressed_dump_storage!
|
195
|
+
simplecov
|
196
|
+
stackprof
|
197
|
+
timecop
|
198
|
+
|
199
|
+
BUNDLED WITH
|
200
|
+
1.17.1
|
data/Guardfile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
guard :rspec, cmd: 'bundle exec rspec' do
|
4
|
+
require 'guard/rspec/dsl'
|
5
|
+
dsl = Guard::RSpec::Dsl.new(self)
|
6
|
+
|
7
|
+
# RSpec files
|
8
|
+
rspec = dsl.rspec
|
9
|
+
watch(rspec.spec_helper) { rspec.spec_dir }
|
10
|
+
watch(rspec.spec_support) { rspec.spec_dir }
|
11
|
+
watch(rspec.spec_files)
|
12
|
+
|
13
|
+
# Ruby files
|
14
|
+
ruby = dsl.ruby
|
15
|
+
dsl.watch_spec_files_for(ruby.lib_files)
|
16
|
+
end
|
data/README.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Sample Data Dump - AWS S3 Compressed Dump Storage
|
2
|
+
|
3
|
+
This gem provides:
|
4
|
+
- An AWS S3 remote data dump storage gateway for the `sample_data_dump` gem
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
See the [sample_data_dump README](https://github.com/tricycle/sample_data_dump) for more
|
9
|
+
instructions.
|
10
|
+
|
11
|
+
```
|
12
|
+
settings = SampleDataDumpAwsS3CompressedDumpStorage::Settings.new(your_settings)
|
13
|
+
SampleDataDumpAwsS3CompressedDumpStorage::Gateway.new(settings)
|
14
|
+
```
|
15
|
+
|
16
|
+
## Installation
|
17
|
+
|
18
|
+
Add this line to your application's Gemfile:
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
gem 'sample_data_dump_aws_s3_compressed_dump_storage', git: 'git@github.com:tricycle/sample_data_dump_aws_s3_compressed_dump_storage.git'
|
22
|
+
```
|
23
|
+
|
24
|
+
And then execute:
|
25
|
+
|
26
|
+
$ bundle install
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'aws-sdk-s3'
|
4
|
+
require 'dry/monads/all'
|
5
|
+
require 'duckface'
|
6
|
+
require 'sample_data_dump/entities/table_configuration'
|
7
|
+
require 'sample_data_dump/helpers/dump_file'
|
8
|
+
require 'sample_data_dump/interfaces/compressed_dump_storage_gateway'
|
9
|
+
require 'sample_data_dump_aws_s3_compressed_dump_storage/settings'
|
10
|
+
|
11
|
+
module SampleDataDumpAwsS3CompressedDumpStorage
|
12
|
+
class Gateway
|
13
|
+
implements_interface SampleDataDump::Interfaces::CompressedDumpStorageGateway
|
14
|
+
|
15
|
+
def initialize(settings)
|
16
|
+
@settings = settings
|
17
|
+
end
|
18
|
+
|
19
|
+
def store_compressed_dump_file(table_configuration)
|
20
|
+
dump_file = SampleDataDump::Helpers::DumpFile.new(table_configuration, @settings)
|
21
|
+
s3_file = s3_dump_file(dump_file.local_compressed_dump_file_name)
|
22
|
+
s3_file.upload_file(dump_file.local_compressed_dump_file_path)
|
23
|
+
Dry::Monads::Success(true)
|
24
|
+
end
|
25
|
+
|
26
|
+
def retrieve_compressed_dump_file(table_configuration)
|
27
|
+
dump_file = SampleDataDump::Helpers::DumpFile.new(table_configuration, @settings)
|
28
|
+
s3_file = s3_dump_file(dump_file.local_compressed_dump_file_name)
|
29
|
+
path = s3_file.download_file(dump_file.local_compressed_dump_file_path)
|
30
|
+
Dry::Monads::Success(path)
|
31
|
+
end
|
32
|
+
|
33
|
+
private
|
34
|
+
|
35
|
+
def s3_dump_file(local_compressed_dump_file_name)
|
36
|
+
client = Aws::S3::Client.new(aws_s3_client_options)
|
37
|
+
resource = Aws::S3::Resource.new(client: client)
|
38
|
+
bucket = resource.bucket(@settings.aws_s3_bucket_name)
|
39
|
+
bucket.object(local_compressed_dump_file_name)
|
40
|
+
end
|
41
|
+
|
42
|
+
def aws_s3_client_options
|
43
|
+
{
|
44
|
+
access_key_id: @settings.aws_s3_access_key_id,
|
45
|
+
region: @settings.aws_s3_region,
|
46
|
+
secret_access_key: @settings.aws_s3_secret_access_key
|
47
|
+
}
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'dry/struct'
|
4
|
+
require 'sample_data_dump/types'
|
5
|
+
require 'sample_data_dump/entities/settings'
|
6
|
+
|
7
|
+
module SampleDataDumpAwsS3CompressedDumpStorage
|
8
|
+
class Settings < SampleDataDump::Entities::Settings
|
9
|
+
attribute :aws_s3_access_key_id, SampleDataDump::Types::Strict::String
|
10
|
+
attribute :aws_s3_bucket_name, SampleDataDump::Types::Strict::String
|
11
|
+
attribute :aws_s3_region, SampleDataDump::Types::Strict::String
|
12
|
+
attribute :aws_s3_secret_access_key, SampleDataDump::Types::Strict::String
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'sample_data_dump_aws_s3_compressed_dump_storage/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'sample_data_dump_aws_s3_compressed_dump_storage'
|
9
|
+
spec.version = SampleDataDumpAwsS3CompressedDumpStorage::VERSION
|
10
|
+
spec.authors = ['Bellroy Dev Team']
|
11
|
+
spec.email = ['techsupport@bellroy.com']
|
12
|
+
|
13
|
+
spec.summary = 'Compressed dump storage for `sample_data_dump` gem - AWS S3'
|
14
|
+
spec.description = ''
|
15
|
+
spec.homepage = 'http://www.bellroy.com'
|
16
|
+
|
17
|
+
if spec.respond_to?(:metadata)
|
18
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
19
|
+
else
|
20
|
+
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
21
|
+
'public gem pushes.'
|
22
|
+
end
|
23
|
+
|
24
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
25
|
+
f.match(%r{^(test|spec|features)/})
|
26
|
+
end
|
27
|
+
spec.bindir = 'exe'
|
28
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
|
+
spec.require_paths = ['lib']
|
30
|
+
|
31
|
+
spec.add_dependency 'aws-sdk-s3'
|
32
|
+
spec.add_dependency 'dry-matcher'
|
33
|
+
spec.add_dependency 'dry-monads'
|
34
|
+
spec.add_dependency 'dry-struct'
|
35
|
+
spec.add_dependency 'dry-types'
|
36
|
+
spec.add_dependency 'duckface-interfaces'
|
37
|
+
spec.add_dependency 'sample_data_dump'
|
38
|
+
|
39
|
+
spec.add_development_dependency 'bundler', '>= 1.13'
|
40
|
+
spec.add_development_dependency 'rake', '>= 10.0'
|
41
|
+
spec.add_development_dependency 'rspec', '>= 3.0'
|
42
|
+
end
|
metadata
ADDED
@@ -0,0 +1,199 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sample_data_dump_aws_s3_compressed_dump_storage
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Bellroy Dev Team
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-12-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aws-sdk-s3
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: dry-matcher
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: dry-monads
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dry-struct
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: dry-types
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: duckface-interfaces
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: sample_data_dump
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: bundler
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.13'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.13'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rake
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '10.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '10.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '3.0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.0'
|
153
|
+
description: ''
|
154
|
+
email:
|
155
|
+
- techsupport@bellroy.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- ".gitignore"
|
161
|
+
- ".reek.yml"
|
162
|
+
- ".rspec"
|
163
|
+
- ".rubocop.yml"
|
164
|
+
- ".ruby-version"
|
165
|
+
- CHANGELOG.md
|
166
|
+
- Gemfile
|
167
|
+
- Gemfile.lock
|
168
|
+
- Guardfile
|
169
|
+
- README.md
|
170
|
+
- lib/sample_data_dump_aws_s3_compressed_dump_storage.rb
|
171
|
+
- lib/sample_data_dump_aws_s3_compressed_dump_storage/gateway.rb
|
172
|
+
- lib/sample_data_dump_aws_s3_compressed_dump_storage/settings.rb
|
173
|
+
- lib/sample_data_dump_aws_s3_compressed_dump_storage/version.rb
|
174
|
+
- sample_data_dump_aws_s3_compressed_dump_storage.gemspec
|
175
|
+
homepage: http://www.bellroy.com
|
176
|
+
licenses: []
|
177
|
+
metadata:
|
178
|
+
allowed_push_host: https://rubygems.org
|
179
|
+
post_install_message:
|
180
|
+
rdoc_options: []
|
181
|
+
require_paths:
|
182
|
+
- lib
|
183
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0'
|
193
|
+
requirements: []
|
194
|
+
rubyforge_project:
|
195
|
+
rubygems_version: 2.6.14.3
|
196
|
+
signing_key:
|
197
|
+
specification_version: 4
|
198
|
+
summary: Compressed dump storage for `sample_data_dump` gem - AWS S3
|
199
|
+
test_files: []
|