toy-dynamo 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/toy/dynamo/schema.rb +1 -1
- data/lib/toy/dynamo/version.rb +1 -1
- data/toy-dynamo.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f54db7e521096d9ee23c898eaa57a8932f8cf299
|
4
|
+
data.tar.gz: add67a16a2bad5923b97e4916820d8bb00bab878
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6038f327a79d71a8b6575dc4aaef030528ae5f303d0317c462c15d2fa30ea6bd85e57e8e5a879eb8d83d599ea4fdd9fc83fb4c0fe83ccc3530d42945cc287742
|
7
|
+
data.tar.gz: 2a973d5349a42a2b85c0e79877123f08496984c7642beca613033021a34efd20ad49a37af9baa02accbca80dfc7209ba2a659d71b5005d79e7088fdd550d7804
|
data/lib/toy/dynamo/schema.rb
CHANGED
@@ -47,7 +47,7 @@ module Toy
|
|
47
47
|
raise(ArgumentError, "Invalid table name") unless val
|
48
48
|
@dynamo_table_name = val
|
49
49
|
else
|
50
|
-
@dynamo_table_name ||= "#{Rails.application.class.parent_name.to_s.underscore.dasherize}-#{self.to_s.underscore.dasherize.pluralize}-#{Rails.env}"
|
50
|
+
@dynamo_table_name ||= "#{Rails.application.class.parent_name.to_s.underscore.dasherize}-#{self.to_s.underscore.dasherize.pluralize.gsub(/[^a-zA-Z0-9_.-]/, '_')}-#{Rails.env}"
|
51
51
|
@dynamo_table_name
|
52
52
|
end
|
53
53
|
end
|
data/lib/toy/dynamo/version.rb
CHANGED
data/toy-dynamo.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["cary.dunn@gmail.com"]
|
11
11
|
spec.description = %q{DynamoDB ORM - extension to toystore}
|
12
12
|
spec.summary = %q{DynamoDB ORM - extension to toystore}
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/cdunn/toy-dynamo"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toy-dynamo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cary Dunn
|
@@ -95,7 +95,7 @@ files:
|
|
95
95
|
- lib/toy/dynamo/table.rb
|
96
96
|
- lib/toy/dynamo/version.rb
|
97
97
|
- toy-dynamo.gemspec
|
98
|
-
homepage:
|
98
|
+
homepage: https://github.com/cdunn/toy-dynamo
|
99
99
|
licenses:
|
100
100
|
- MIT
|
101
101
|
metadata: {}
|