Skip to content

Commit b25f651

Browse files
committed
Rename dynamodb-sessionstore to sessionstore-dynamodb
1 parent 83d77cd commit b25f651

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Rack based frameworks.
1111
Install the session store gem by placing the following command into your
1212
Gemfile:
1313

14-
gem 'aws-dynamodb-sessionstore'
14+
gem 'aws-sessionstore-dynamodb'
1515

1616
You will need to have an existing Amazon DynamoDB session table in order for the
1717
application to work. You can generate a migration file for the session table
@@ -35,13 +35,13 @@ You can now start your Rails application with session support.
3535
For non-Rails applications, you can create the Amazon DynamoDB table in a
3636
Ruby file using the following method:
3737

38-
require 'aws-dynamodb-sessionstore'
38+
require 'aws-sessionstore-dynamodb'
3939

4040
AWS::DynamoDB::SessionStore::Table.create_table
4141

4242
Run the session store as a Rack middleware in the following way:
4343

44-
require 'aws-dynamodb-sessionstore'
44+
require 'aws-sessionstore-dynamodb'
4545
require 'some_rack_app'
4646

4747
options = { :secret_key => 'SECRET_KEY' }
@@ -198,7 +198,7 @@ those values you can clear the old sessions with:
198198

199199
You can create your own Rake task for garbage collection similar to below:
200200

201-
require "aws-dynamodb-sessionstore"
201+
require "aws-sessionstore-dynamodb"
202202

203203
desc 'Perform Garbage Collection'
204204
task :garbage_collect do |t|

aws-dynamodb-sessionstore.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Gem::Specification.new do |spec|
2-
spec.name = "aws-dynamodb-sessionstore"
2+
spec.name = "aws-sessionstore-dynamodb"
33
spec.version = "0.5.0"
44
spec.authors = ["Ruby Robinson"]
55
spec.summary = "The Amazon DynamoDB Session Store handles sessions for Ruby web applications using a DynamoDB backend."
6-
spec.homepage = "http://github.com/aws/aws-dynamodb-sessionstore-ruby"
6+
spec.homepage = "http://github.com/aws/aws-sessionstore-dynamodb-ruby"
77
spec.license = "Apache License 2.0"
88

99
spec.files = `git ls-files`.split($/)

lib/aws/dynamo_db/session_store/railtie.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
module AWS::DynamoDB::SessionStore
1616
class Railtie < Rails::Railtie
17-
initializer 'aws-dynamodb-sessionstore-rack-middleware' do
17+
initializer 'aws-sessionstore-dynamodb-rack-middleware' do
1818
ActionDispatch::Session::DynamoDbStore = AWS::DynamoDB::SessionStore::RackMiddleware
1919
end
2020

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
$: << File.join(File.dirname(File.dirname(__FILE__)), "lib")
2323

2424
require 'rspec'
25-
require 'aws-dynamodb-sessionstore'
25+
require 'aws-sessionstore-dynamodb'
2626
require 'rack/test'
2727

2828
# Default Rack application

0 commit comments

Comments
 (0)