dynamo-store 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/.circleci/config.yml +76 -0
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/Appraisals +21 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +809 -0
- data/LICENSE.txt +21 -0
- data/README.md +23 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/dynamo-store.gemspec +52 -0
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/active_support_5.0.gemfile +7 -0
- data/gemfiles/active_support_5.0.gemfile.lock +809 -0
- data/gemfiles/active_support_5.1.gemfile +7 -0
- data/gemfiles/active_support_5.1.gemfile.lock +809 -0
- data/gemfiles/active_support_5.2.gemfile +7 -0
- data/gemfiles/active_support_5.2.gemfile.lock +809 -0
- data/gemfiles/aws_sdk_2.gemfile +7 -0
- data/gemfiles/aws_sdk_2.gemfile.lock +113 -0
- data/gemfiles/aws_sdk_3.gemfile +7 -0
- data/gemfiles/aws_sdk_3.gemfile.lock +809 -0
- data/lib/active_support/cache/dynamo_store.rb +81 -0
- data/lib/dynamo-store/version.rb +5 -0
- data/lib/dynamo-store.rb +1 -0
- metadata +215 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 76f60dcccc9caa1fd7611e4ba07a427994098a5d4c4d316c837b624ca4773cb9
|
4
|
+
data.tar.gz: dfad370fb2e1cbc9dc73b569afe81e9aa4ff35a85556d2a99ef1321312f961a5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 91e09669046d958821cc392668bab63727050516cfaa638856a925c12dce6b96065d65b941a520eee4ee0bab58c7d1d568ba688ade462ad770d50c171a97b51a
|
7
|
+
data.tar.gz: 231b8bc2850113163ce3c11398392a8f19f030bfcfd6720d818fb8f49e77d6f1948c662577d447e4e0800c997ce4a005629d6a9c82966ebbcdfe765b533b5bdb
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# Ruby CircleCI 2.0 configuration file
|
2
|
+
#
|
3
|
+
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
|
4
|
+
#
|
5
|
+
version: 2
|
6
|
+
|
7
|
+
workflows:
|
8
|
+
version: 2
|
9
|
+
commit:
|
10
|
+
jobs:
|
11
|
+
- ruby-2.6
|
12
|
+
- ruby-2.5
|
13
|
+
|
14
|
+
jobs:
|
15
|
+
"ruby-2.6":
|
16
|
+
docker:
|
17
|
+
# specify the version you desire here
|
18
|
+
- image: ruby:2.6
|
19
|
+
- image: amazon/dynamodb-local
|
20
|
+
|
21
|
+
steps:
|
22
|
+
- checkout
|
23
|
+
- restore_cache:
|
24
|
+
keys:
|
25
|
+
- v1-dependencies-2.6-{{ checksum "Gemfile.lock" }}
|
26
|
+
- v1-dependencies-2.6-
|
27
|
+
- run:
|
28
|
+
name: install dependencies
|
29
|
+
command: |
|
30
|
+
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
31
|
+
bundle exec appraisal install
|
32
|
+
- save_cache:
|
33
|
+
paths:
|
34
|
+
- ./vendor/bundle
|
35
|
+
key: v1-dependencies-2.6-{{ checksum "Gemfile.lock" }}
|
36
|
+
# run tests!
|
37
|
+
- run:
|
38
|
+
name: run tests
|
39
|
+
command: bundle exec appraisal rspec
|
40
|
+
# collect reports
|
41
|
+
- store_test_results:
|
42
|
+
path: /tmp/test-results
|
43
|
+
- store_artifacts:
|
44
|
+
path: /tmp/test-results
|
45
|
+
destination: test-results
|
46
|
+
"ruby-2.5":
|
47
|
+
docker:
|
48
|
+
# specify the version you desire here
|
49
|
+
- image: ruby:2.5
|
50
|
+
- image: amazon/dynamodb-local
|
51
|
+
|
52
|
+
steps:
|
53
|
+
- checkout
|
54
|
+
- restore_cache:
|
55
|
+
keys:
|
56
|
+
- v1-dependencies-2.5-{{ checksum "Gemfile.lock" }}
|
57
|
+
- v1-dependencies-2.5-
|
58
|
+
- run:
|
59
|
+
name: install dependencies
|
60
|
+
command: |
|
61
|
+
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
62
|
+
bundle exec appraisal install
|
63
|
+
- save_cache:
|
64
|
+
paths:
|
65
|
+
- ./vendor/bundle
|
66
|
+
key: v1-dependencies-2.5-{{ checksum "Gemfile.lock" }}
|
67
|
+
# run tests!
|
68
|
+
- run:
|
69
|
+
name: run tests
|
70
|
+
command: bundle exec appraisal rspec
|
71
|
+
# collect reports
|
72
|
+
- store_test_results:
|
73
|
+
path: /tmp/test-results
|
74
|
+
- store_artifacts:
|
75
|
+
path: /tmp/test-results
|
76
|
+
destination: test-results
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Appraisals
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
appraise 'active_support-5.0' do
|
4
|
+
gem 'activesupport', '~> 5.0.0'
|
5
|
+
end
|
6
|
+
|
7
|
+
appraise 'active_support-5.1' do
|
8
|
+
gem 'activesupport', '~> 5.1.0'
|
9
|
+
end
|
10
|
+
|
11
|
+
appraise 'active_support-5.2' do
|
12
|
+
gem 'activesupport', '~> 5.2.0'
|
13
|
+
end
|
14
|
+
|
15
|
+
appraise 'aws-sdk-2' do
|
16
|
+
gem 'aws-sdk', '~> 2.0'
|
17
|
+
end
|
18
|
+
|
19
|
+
appraise 'aws-sdk-3' do
|
20
|
+
gem 'aws-sdk-dynamodb', '~> 1.0'
|
21
|
+
end
|
data/Gemfile
ADDED