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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cce91bae398fb67fa51ea9fbea49542990156bcf
4
- data.tar.gz: 83bd117265034101c4a6496b89f5471c9f116932
3
+ metadata.gz: 950068ce2d7df5e9aaf095949d5f23a521be0e1d
4
+ data.tar.gz: ec7af4a84db13fda4efd510d59fa63682c625eec
5
5
  SHA512:
6
- metadata.gz: 1442fdcbdd69ca295c2a8e0695d3503b403181b92a9b8ed7b33c84360ad7e49f8cc866b68b86e5c3040918aea2bc4ab56cf2b7825ae5753581c8b60a2bba194e
7
- data.tar.gz: 00d94e3a43f64dc38844254d6bf65c2896dc3dc61721e503ef204b9667250767f509485d303e50db25095f7591ba744f4326ba638a2ca314fc12769c5837c961
6
+ metadata.gz: acd42cef316ba0337d09b6f493f1494e927821e803190f05238853fec960a7e5800ef8a073866d8c72de6b4ced5cf69e48624c118dba2d538a9e8ba299761a8d
7
+ data.tar.gz: 7ad9423c138f593d9a57804471a34266e89b6e0ddcaab4c7c04e731f0df766415f6dc854b80a9c58fd42fb41a7536024b8d2fe1244fb2cf6bbeb6111a75494e6
@@ -40,7 +40,8 @@ module TruncateToDbLimit
40
40
  limit = ar_attr.limit
41
41
 
42
42
  unless limit && limit.to_i != 0
43
- raise ArgumentError.new("truncate_to_db_limit #{attribute_name}: Limit not known")
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)}
@@ -1,5 +1,5 @@
1
1
  module Umlaut
2
- VERSION = "4.1.4"
2
+ VERSION = "4.1.5"
3
3
 
4
4
  # This is used in Umlaut's .gemspec for generating the gem,
5
5
  # and is also used in the umlaut app generator to make sure
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
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-05-12 00:00:00.000000000 Z
11
+ date: 2015-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails