umlaut 4.1.4 → 4.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/truncate_to_db_limit.rb +2 -1
- data/lib/umlaut/version.rb +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: 950068ce2d7df5e9aaf095949d5f23a521be0e1d
|
4
|
+
data.tar.gz: ec7af4a84db13fda4efd510d59fa63682c625eec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acd42cef316ba0337d09b6f493f1494e927821e803190f05238853fec960a7e5800ef8a073866d8c72de6b4ced5cf69e48624c118dba2d538a9e8ba299761a8d
|
7
|
+
data.tar.gz: 7ad9423c138f593d9a57804471a34266e89b6e0ddcaab4c7c04e731f0df766415f6dc854b80a9c58fd42fb41a7536024b8d2fe1244fb2cf6bbeb6111a75494e6
|
data/lib/truncate_to_db_limit.rb
CHANGED
@@ -40,7 +40,8 @@ module TruncateToDbLimit
|
|
40
40
|
limit = ar_attr.limit
|
41
41
|
|
42
42
|
unless limit && limit.to_i != 0
|
43
|
-
|
43
|
+
return # we can do nothing
|
44
|
+
#raise ArgumentError.new("truncate_to_db_limit #{attribute_name}: Limit not known")
|
44
45
|
end
|
45
46
|
|
46
47
|
normalized = send(attribute_name).try {|v| v.slice(0, limit)}
|
data/lib/umlaut/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: umlaut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind, et al
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|