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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a7c12efaf31f18e82b7f7eb008ef7e78c564551
4
- data.tar.gz: 6a756b5cd20bee61f2e1e9b9b56ce79b4f5e6b88
3
+ metadata.gz: f54db7e521096d9ee23c898eaa57a8932f8cf299
4
+ data.tar.gz: add67a16a2bad5923b97e4916820d8bb00bab878
5
5
  SHA512:
6
- metadata.gz: f2047d2af54e2e2697bd146f29dda06da93f86c4309306313700225425ae367daec3039e10be63a705633e614ccb235df38653a7de4be2b049139ee3dc6f2488
7
- data.tar.gz: 7642b6a3cf88648a184b5e1aff30658fb760f479cc34950e06be65d44c278e92b9dab30842f67dbd7d097b321be7b5f4c62dd1ef5e030dc4839f87d83bccff1d
6
+ metadata.gz: 6038f327a79d71a8b6575dc4aaef030528ae5f303d0317c462c15d2fa30ea6bd85e57e8e5a879eb8d83d599ea4fdd9fc83fb4c0fe83ccc3530d42945cc287742
7
+ data.tar.gz: 2a973d5349a42a2b85c0e79877123f08496984c7642beca613033021a34efd20ad49a37af9baa02accbca80dfc7209ba2a659d71b5005d79e7088fdd550d7804
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Toy
2
2
  module Dynamo
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
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.1
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: {}