dynomite 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/dynomite.gemspec +1 -0
- data/lib/dynomite.rb +1 -0
- data/lib/dynomite/item.rb +1 -1
- data/lib/dynomite/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55dd0f93e12c5b18e5ae2d1997be0089e60024d4656e15720732b8d8da743d97
|
4
|
+
data.tar.gz: d8bf1232ace35602f896691af0e1036a31744adff2dec35b4eea7930c3c65ec6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b16044c3d220c9e9a55634faf04a8d9c79a593377be323fca6a20ca9e7bbe8fa6e5e7c60c4f6bdebede938c420ed319272e62f75926c5937cb878714ba5ab2ea
|
7
|
+
data.tar.gz: c43283a308192ab948e78b278db6f465d162d291fb06ce56e6fccfbbdfa1225cf3cc98ca9c463a01a85aa83ab4b4f4ca5fffc786fce70410e3da68e32a803e88
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [1.2.4]
|
7
|
+
- #16 add rainbow gem dependency for colorize method
|
8
|
+
- #17 fix table names for models with namespaces
|
9
|
+
|
6
10
|
## [1.2.3]
|
7
11
|
- #11 fix comments in dsl.rb
|
8
12
|
- #13 update find method to support composite key
|
data/dynomite.gemspec
CHANGED
data/lib/dynomite.rb
CHANGED
data/lib/dynomite/item.rb
CHANGED
@@ -306,7 +306,7 @@ module Dynomite
|
|
306
306
|
end
|
307
307
|
|
308
308
|
def self.get_table_name
|
309
|
-
@table_name ||= self.name.pluralize.underscore
|
309
|
+
@table_name ||= self.name.pluralize.gsub('::','-').underscore.dasherize
|
310
310
|
[table_namespace, @table_name].reject {|s| s.nil? || s.empty?}.join('-')
|
311
311
|
end
|
312
312
|
|
data/lib/dynomite/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynomite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rainbow
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: bundler
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|