aws-sessionstore-dynamodb 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/PULL_REQUEST_TEMPLATE.md +6 -0
- data/.gitignore +1 -0
- data/.gitmodules +3 -0
- data/.travis.yml +16 -5
- data/.yardopts +3 -2
- data/CHANGELOG.md +24 -0
- data/CODE_OF_CONDUCT.md +4 -0
- data/CONTRIBUTING.md +61 -0
- data/Gemfile +7 -19
- data/{LICENSE.txt → LICENSE} +0 -0
- data/README.md +17 -63
- data/Rakefile +37 -14
- data/VERSION +1 -0
- data/aws-sessionstore-dynamodb.gemspec +7 -5
- data/doc-src/templates/default/layout/html/footer.erb +10 -0
- data/doc-src/templates/default/layout/html/layout.erb +31 -0
- data/lib/aws-sessionstore-dynamodb.rb +0 -15
- data/lib/aws/session_store/dynamo_db/configuration.rb +2 -29
- data/lib/aws/session_store/dynamo_db/errors/base_handler.rb +0 -14
- data/lib/aws/session_store/dynamo_db/errors/default_handler.rb +0 -14
- data/lib/aws/session_store/dynamo_db/garbage_collection.rb +2 -15
- data/lib/aws/session_store/dynamo_db/invalid_id_error.rb +0 -14
- data/lib/aws/session_store/dynamo_db/lock_wait_timeout_error.rb +0 -14
- data/lib/aws/session_store/dynamo_db/locking/base.rb +14 -17
- data/lib/aws/session_store/dynamo_db/locking/null.rb +0 -14
- data/lib/aws/session_store/dynamo_db/locking/pessimistic.rb +0 -16
- data/lib/aws/session_store/dynamo_db/missing_secret_key_error.rb +0 -14
- data/lib/aws/session_store/dynamo_db/rack_middleware.rb +11 -24
- data/lib/aws/session_store/dynamo_db/table.rb +1 -14
- data/lib/aws/session_store/dynamo_db/version.rb +1 -15
- data/spec/aws/session_store/dynamo_db/app_config.yml +6 -6
- data/spec/aws/session_store/dynamo_db/configuration_spec.rb +28 -51
- data/spec/aws/session_store/dynamo_db/error/default_error_handler_spec.rb +23 -21
- data/spec/aws/session_store/dynamo_db/garbage_collection_spec.rb +68 -69
- data/spec/aws/session_store/dynamo_db/locking/threaded_sessions_spec.rb +17 -16
- data/spec/aws/session_store/dynamo_db/rack_middleware_database_spec.rb +47 -46
- data/spec/aws/session_store/dynamo_db/rack_middleware_spec.rb +59 -61
- data/spec/aws/session_store/dynamo_db/table_spec.rb +9 -7
- data/spec/spec_helper.rb +14 -11
- metadata +27 -29
- data/lib/aws/session_store/dynamo_db/railtie.rb +0 -28
- data/lib/aws/session_store/dynamo_db/tasks/session_table.rake +0 -21
- data/lib/rails/generators/sessionstore/dynamodb/dynamodb_generator.rb +0 -55
- data/lib/rails/generators/sessionstore/dynamodb/templates/sessionstore/USAGE +0 -13
- data/lib/rails/generators/sessionstore/dynamodb/templates/sessionstore/dynamodb.yml +0 -71
- data/lib/rails/generators/sessionstore/dynamodb/templates/sessionstore_migration.rb +0 -10
- data/spec/aws/session_store/dynamo_db/config/dynamo_db_session.yml +0 -24
- data/spec/aws/session_store/dynamo_db/rails_app_config.yml +0 -24
- data/tasks/test.rake +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e17edceb1591e5e714e577d518f8c1f5f9b0b0a9c4edc6e8fbd7b275f63d33d5
|
4
|
+
data.tar.gz: 78cdaebe833c199b3d11a4fa0259d53fb5f770027808c55b8b96fbdece0a8401
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b69bc3462d6e224f29c58d3ef8077772c8f279b1ec5502e526639c750dddceff3ba350d73c8a7070df63b8e39a0cf46371fdd3ff47407115c137c84baf0a299
|
7
|
+
data.tar.gz: 389006735c32ad4ed30dc1c95fd82bfaefd41b2849435bb8e49ca3b0ac6539d6a84824a5e6ceaf97a5c9e4e3b743407ba6da8f450f65f122401db2c88b798f48
|
data/.gitignore
CHANGED
data/.gitmodules
ADDED
data/.travis.yml
CHANGED
@@ -1,15 +1,26 @@
|
|
1
|
+
branches:
|
2
|
+
only:
|
3
|
+
- master
|
4
|
+
|
1
5
|
language: ruby
|
2
6
|
|
3
7
|
rvm:
|
4
|
-
- 2.
|
5
|
-
- 2.
|
6
|
-
- 2.
|
8
|
+
- 2.0
|
9
|
+
- 2.1
|
10
|
+
- 2.2
|
11
|
+
- 2.3
|
12
|
+
- 2.4
|
13
|
+
- 2.5
|
14
|
+
- 2.6
|
15
|
+
- 2.7
|
16
|
+
- jruby-9.1
|
17
|
+
- jruby-9.2
|
7
18
|
|
8
19
|
sudo: false
|
9
20
|
|
10
21
|
env:
|
11
|
-
- AWS_REGION=
|
22
|
+
- AWS_REGION=us-west-2
|
12
23
|
|
13
|
-
script: bundle exec rake
|
24
|
+
script: bundle exec rake test:unit
|
14
25
|
|
15
26
|
bundler_args: --without docs release repl
|
data/.yardopts
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
2.0.0 (2020-11-11)
|
2
|
+
------------------
|
3
|
+
|
4
|
+
* Remove Rails support (moved to the `aws-sdk-rails` gem).
|
5
|
+
|
6
|
+
* Use V3 of Ruby SDK
|
7
|
+
|
8
|
+
* Fix a `dynamo_db.scan()` incompatibility from the V1 -> V2 upgrade in the garbage collector.
|
9
|
+
|
10
|
+
1.0.0 (2017-08-14)
|
11
|
+
------------------
|
12
|
+
|
13
|
+
* Use V2 of Ruby SDK (no history)
|
14
|
+
|
15
|
+
|
16
|
+
0.5.1 (2015-08-26)
|
17
|
+
------------------
|
18
|
+
|
19
|
+
* Bug Fix (no history)
|
20
|
+
|
21
|
+
0.5.0 (2013-08-27)
|
22
|
+
------------------
|
23
|
+
|
24
|
+
* Initial Release (no history)
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
## Code of Conduct
|
2
|
+
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
|
3
|
+
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
|
4
|
+
opensource-codeofconduct@amazon.com with any additional questions or comments.
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
# Contributing Guidelines
|
2
|
+
|
3
|
+
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional
|
4
|
+
documentation, we greatly value feedback and contributions from our community.
|
5
|
+
|
6
|
+
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
|
7
|
+
information to effectively respond to your bug report or contribution.
|
8
|
+
|
9
|
+
|
10
|
+
## Reporting Bugs/Feature Requests
|
11
|
+
|
12
|
+
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
|
13
|
+
|
14
|
+
When filing an issue, please check [existing open](https://github.com/aws/aws-sessionstore-dynamodb-ruby/issues), or [recently closed](https://github.com/aws/aws-sessionstore-dynamodb-ruby/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
|
15
|
+
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
|
16
|
+
|
17
|
+
* A reproducible test case or series of steps
|
18
|
+
* The version of our code being used
|
19
|
+
* Any modifications you've made relevant to the bug
|
20
|
+
* Anything unusual about your environment or deployment
|
21
|
+
|
22
|
+
|
23
|
+
## Contributing via Pull Requests
|
24
|
+
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
|
25
|
+
|
26
|
+
1. You are working against the latest source on the *master* branch.
|
27
|
+
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
|
28
|
+
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
|
29
|
+
|
30
|
+
To send us a pull request, please:
|
31
|
+
|
32
|
+
1. Fork the repository.
|
33
|
+
2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
|
34
|
+
3. Ensure local tests pass.
|
35
|
+
4. Commit to your fork using clear commit messages.
|
36
|
+
5. Send us a pull request, answering any default questions in the pull request interface.
|
37
|
+
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
|
38
|
+
|
39
|
+
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
|
40
|
+
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
|
41
|
+
|
42
|
+
|
43
|
+
## Finding contributions to work on
|
44
|
+
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/aws/aws-sessionstore-dynamodb-ruby/labels/help%20wanted) issues is a great place to start.
|
45
|
+
|
46
|
+
|
47
|
+
## Code of Conduct
|
48
|
+
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
|
49
|
+
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
|
50
|
+
opensource-codeofconduct@amazon.com with any additional questions or comments.
|
51
|
+
|
52
|
+
|
53
|
+
## Security issue notifications
|
54
|
+
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
|
55
|
+
|
56
|
+
|
57
|
+
## Licensing
|
58
|
+
|
59
|
+
See the [LICENSE](https://github.com/aws/aws-sessionstore-dynamodb-ruby/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
|
60
|
+
|
61
|
+
We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
|
data/Gemfile
CHANGED
@@ -1,28 +1,16 @@
|
|
1
|
-
# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
|
-
# may not use this file except in compliance with the License. A copy of
|
5
|
-
# the License is located at
|
6
|
-
#
|
7
|
-
# http://aws.amazon.com/apache2.0/
|
8
|
-
#
|
9
|
-
# or in the "license" file accompanying this file. This file is
|
10
|
-
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
11
|
-
# ANY KIND, either express or implied. See the License for the specific
|
12
|
-
# language governing permissions and limitations under the License.
|
13
|
-
|
14
1
|
source 'https://rubygems.org'
|
15
2
|
|
16
3
|
gemspec
|
17
4
|
|
18
|
-
gem 'rake',
|
5
|
+
gem 'rake', require: false
|
19
6
|
|
20
|
-
group :
|
21
|
-
gem 'yard'
|
7
|
+
group :docs do
|
8
|
+
gem 'yard'
|
9
|
+
gem 'yard-sitemap', '~> 1.0'
|
22
10
|
end
|
23
11
|
|
24
12
|
group :test do
|
25
|
-
gem 'rspec'
|
26
|
-
gem 'simplecov',
|
27
|
-
gem 'rack-test'
|
13
|
+
gem 'rspec'
|
14
|
+
gem 'simplecov', require: false
|
15
|
+
gem 'rack-test'
|
28
16
|
end
|
data/{LICENSE.txt → LICENSE}
RENAMED
File without changes
|
data/README.md
CHANGED
@@ -1,38 +1,12 @@
|
|
1
1
|
# Amazon DynamoDB Session Store
|
2
2
|
|
3
3
|
The **Amazon DynamoDB Session Store** handles sessions for Ruby web applications
|
4
|
-
using a DynamoDB backend. The session store is compatible with
|
5
|
-
|
4
|
+
using a DynamoDB backend. The session store is compatible with all Rack based
|
5
|
+
frameworks. For Rails applications, use the [`aws-sdk-rails`][1] gem.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
Install the session store gem by placing the following command into your
|
12
|
-
Gemfile:
|
13
|
-
|
14
|
-
gem 'aws-sessionstore-dynamodb'
|
15
|
-
|
16
|
-
You will need to have an existing Amazon DynamoDB session table in order for the
|
17
|
-
application to work. You can generate a migration file for the session table
|
18
|
-
with the following command:
|
19
|
-
|
20
|
-
rails generate sessionstore:dynamodb
|
21
|
-
|
22
|
-
To create the table, run migrations as normal with:
|
23
|
-
|
24
|
-
rake db:migrate
|
25
|
-
|
26
|
-
Change the session store to `:dynamodb_store` by editing
|
27
|
-
`config/initializers/session_store.rb` to contain the following:
|
28
|
-
|
29
|
-
YourAppName::Application.config.session_store :dynamodb_store
|
30
|
-
|
31
|
-
You can now start your Rails application with session support.
|
32
|
-
|
33
|
-
#### Basic Rack Application Installation
|
34
|
-
|
35
|
-
For non-Rails applications, you can create the Amazon DynamoDB table in a
|
9
|
+
For Rack applications, you can create the Amazon DynamoDB table in a
|
36
10
|
Ruby file using the following method:
|
37
11
|
|
38
12
|
require 'aws-sessionstore-dynamodb'
|
@@ -66,18 +40,17 @@ discouraging sensitive data storage. It also forces strict data size
|
|
66
40
|
limitations. DynamoDB takes care of these concerns by allowing for a safe and
|
67
41
|
scalable storage container with a much larger data size limit for session data.
|
68
42
|
|
69
|
-
|
43
|
+
For more developer information, see the [Full API documentation][2].
|
70
44
|
|
71
45
|
### Configuration Options
|
72
46
|
|
73
47
|
A number of options are available to be set in
|
74
48
|
`Aws::SessionStore::DynamoDB::Configuration`, which is used by the
|
75
|
-
`RackMiddleware` class. These options can be set
|
76
|
-
|
77
|
-
directly by Ruby code, or through environment variables.
|
49
|
+
`RackMiddleware` class. These options can be set directly by Ruby code or
|
50
|
+
through environment variables.
|
78
51
|
|
79
52
|
The full set of options along with defaults can be found in the
|
80
|
-
[Configuration class documentation][
|
53
|
+
[Configuration class documentation][3].
|
81
54
|
|
82
55
|
#### Environment Options
|
83
56
|
|
@@ -90,36 +63,15 @@ The example below would be a valid way to set the session table name:
|
|
90
63
|
|
91
64
|
export DYNAMO_DB_SESSION_TABLE_NAME='sessions'
|
92
65
|
|
93
|
-
### Rails Generator Details
|
94
|
-
|
95
|
-
The generator command specified in the installation section will generate two
|
96
|
-
files: a migration file, `db/migration/VERSION_migration_name.rb`, and a
|
97
|
-
configuration YAML file, `config/sessionstore/dynamodb.yml`.
|
98
|
-
|
99
|
-
You can run the command with an argument that will define the name of the
|
100
|
-
migration file. Once the YAML file is created, you can uncomment any of the
|
101
|
-
lines to set configuration options to your liking. The session store will pull
|
102
|
-
options from `config/sessionstore/dynamodb.yml` by default if the file exists.
|
103
|
-
If you do not wish to place the configuration YAML file in that location,
|
104
|
-
you can also pass in a different file path to pull options from.
|
105
|
-
|
106
66
|
### Garbage Collection
|
107
67
|
|
108
|
-
You may want to delete old sessions from your session table.
|
109
|
-
|
110
|
-
|
111
|
-
#### Rails
|
112
|
-
|
113
|
-
A Rake task for garbage collection is provided for Rails applications.
|
114
|
-
By default sessions do not expire. See `config/sessionstore/dynamodb.yml` to
|
115
|
-
configure the max age or stale period of a session. Once you have configured
|
116
|
-
those values you can clear the old sessions with:
|
117
|
-
|
118
|
-
rake dynamo_db:collect_garbage
|
119
|
-
|
120
|
-
#### Outside of Rails
|
68
|
+
You may want to delete old sessions from your session table. You can use the
|
69
|
+
DynamoDB [Time to Live (TTL) feature][4] on the `expire_at` attribute to
|
70
|
+
automatically delete expired items.
|
121
71
|
|
122
|
-
|
72
|
+
If you want to take other attributes into consideration for deletion, you could
|
73
|
+
instead use the `GarbageCollection` class. You can create your own Rake task for
|
74
|
+
garbage collection similar to below:
|
123
75
|
|
124
76
|
require "aws-sessionstore-dynamodb"
|
125
77
|
|
@@ -167,5 +119,7 @@ the default error handler to them for you. See the API documentation
|
|
167
119
|
on the {Aws::SessionStore::DynamoDB::Errors::BaseHandler} class for more
|
168
120
|
details.
|
169
121
|
|
170
|
-
[1]:
|
171
|
-
[2]:
|
122
|
+
[1]: https://github.com/aws/aws-sdk-rails/
|
123
|
+
[2]: https://docs.aws.amazon.com/sdk-for-ruby/aws-sessionstore-dynamodb/api/
|
124
|
+
[3]: https://docs.aws.amazon.com/sdk-for-ruby/aws-sessionstore-dynamodb/api/Aws/SessionStore/DynamoDB/Configuration.html
|
125
|
+
[4]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html
|
data/Rakefile
CHANGED
@@ -1,15 +1,38 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
1
|
+
$REPO_ROOT = File.dirname(__FILE__)
|
2
|
+
$LOAD_PATH.unshift(File.join($REPO_ROOT, 'lib'))
|
3
|
+
$VERSION = ENV['VERSION'] || File.read(File.join($REPO_ROOT, 'VERSION')).strip
|
4
|
+
|
5
|
+
require 'rspec/core/rake_task'
|
6
|
+
|
7
|
+
Dir.glob('**/*.rake').each do |task_file|
|
8
|
+
load task_file
|
9
|
+
end
|
10
|
+
|
11
|
+
task 'test:coverage:clear' do
|
12
|
+
sh("rm -rf #{File.join($REPO_ROOT, 'coverage')}")
|
13
|
+
end
|
14
|
+
|
15
|
+
# Override the test task definitions
|
16
|
+
# this package uses rspec tags to define integration tests
|
17
|
+
Rake::Task["test:unit"].clear
|
18
|
+
desc 'Runs unit tests'
|
19
|
+
RSpec::Core::RakeTask.new('test:unit') do |t|
|
20
|
+
t.rspec_opts = "-I #{$REPO_ROOT}/lib -I #{$REPO_ROOT}/spec --tag ~integration"
|
21
|
+
t.pattern = "#{$REPO_ROOT}/spec"
|
22
|
+
end
|
23
|
+
task 'test:unit' => 'test:coverage:clear'
|
24
|
+
|
25
|
+
Rake::Task["test:integration"].clear
|
26
|
+
desc 'Runs integration tests'
|
27
|
+
RSpec::Core::RakeTask.new('test:integration') do |t|
|
28
|
+
t.rspec_opts = "-I #{$REPO_ROOT}/lib -I #{$REPO_ROOT}/spec --tag integration"
|
29
|
+
t.pattern = "#{$REPO_ROOT}/spec"
|
30
|
+
end
|
31
|
+
task 'test:integration' => 'test:coverage:clear'
|
32
|
+
|
33
|
+
desc 'Runs unit and integration tests'
|
34
|
+
task 'test' => ['test:unit', 'test:integration']
|
35
|
+
|
15
36
|
task :default => 'test:unit'
|
37
|
+
|
38
|
+
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.0.0
|
@@ -1,9 +1,11 @@
|
|
1
|
-
|
1
|
+
version = File.read(File.expand_path('../VERSION', __FILE__)).strip
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "aws-sessionstore-dynamodb"
|
5
|
-
spec.version =
|
6
|
-
spec.authors = ["
|
5
|
+
spec.version = version
|
6
|
+
spec.authors = ["Amazon Web Services"]
|
7
|
+
spec.email = ["mamuller@amazon.com", "alexwoo@amazon.com"]
|
8
|
+
|
7
9
|
spec.summary = "The Amazon DynamoDB Session Store handles sessions " +
|
8
10
|
"for Ruby web applications using a DynamoDB backend."
|
9
11
|
spec.homepage = "http://github.com/aws/aws-sessionstore-dynamodb-ruby"
|
@@ -13,6 +15,6 @@ Gem::Specification.new do |spec|
|
|
13
15
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
14
16
|
spec.require_paths = ["lib"]
|
15
17
|
|
16
|
-
spec.add_dependency 'aws-sdk', '~>
|
17
|
-
spec.add_dependency 'rack', '
|
18
|
+
spec.add_dependency 'aws-sdk-dynamodb', '~> 1'
|
19
|
+
spec.add_dependency 'rack', '~> 2'
|
18
20
|
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<div id="footer">
|
2
|
+
Generated on <%= Time.now.strftime("%c") %> by
|
3
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
4
|
+
<%= YARD::VERSION %> (ruby-<%= RUBY_VERSION %>).
|
5
|
+
<div id="awsdocs-legal-zone-copyright"></div>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<!-- Gitter chat -->
|
9
|
+
<script>((window.gitter = {}).chat = {}).options = { room: 'aws/aws-sdk-ruby' };</script>
|
10
|
+
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<%= erb(:headers) %>
|
5
|
+
<!-- Docs Metrics + Cookie Consent Script -->
|
6
|
+
<meta name="guide-name" content="API Reference">
|
7
|
+
<meta name="service-name" content="AWS SDK For Ruby - AWS DynamoDB Session Store">
|
8
|
+
<script type="text/javascript" src="/assets/js/awsdocs-boot.js"></script>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
<div class="nav_wrap">
|
12
|
+
<iframe id="nav" src="<%= @nav_url %>?1"></iframe>
|
13
|
+
<div id="resizer"></div>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div id="main" tabindex="-1">
|
17
|
+
<div id="header">
|
18
|
+
<%= erb(:breadcrumb) %>
|
19
|
+
<%= erb(:search) %>
|
20
|
+
<div class="clear"></div>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
<div id="content">
|
24
|
+
<!-- REGION_DISCLAIMER_DO_NOT_REMOVE -->
|
25
|
+
<%= yieldall %>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<%= erb(:footer) %>
|
29
|
+
</div>
|
30
|
+
</body>
|
31
|
+
</html>
|
@@ -1,17 +1,3 @@
|
|
1
|
-
# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
|
-
# may not use this file except in compliance with the License. A copy of
|
5
|
-
# the License is located at
|
6
|
-
#
|
7
|
-
# http://aws.amazon.com/apache2.0/
|
8
|
-
#
|
9
|
-
# or in the "license" file accompanying this file. This file is
|
10
|
-
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
11
|
-
# ANY KIND, either express or implied. See the License for the specific
|
12
|
-
# language governing permissions and limitations under the License.
|
13
|
-
|
14
|
-
|
15
1
|
module Aws
|
16
2
|
module SessionStore
|
17
3
|
module DynamoDB; end
|
@@ -31,4 +17,3 @@ require 'aws/session_store/dynamo_db/locking/pessimistic'
|
|
31
17
|
require 'aws/session_store/dynamo_db/rack_middleware'
|
32
18
|
require 'aws/session_store/dynamo_db/table'
|
33
19
|
require 'aws/session_store/dynamo_db/version'
|
34
|
-
require 'aws/session_store/dynamo_db/railtie' if defined?(Rails)
|