whi-cassie 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/HISTORY.txt +4 -0
  3. data/VERSION +1 -1
  4. data/lib/cassie.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ce98efa46e27e9c8e289912b596535b739d919f
4
- data.tar.gz: c0f52098326237086aa9562a785ebee36b590a94
3
+ metadata.gz: e9d4c5447b529444d74ac1b8a6e6338d9c660145
4
+ data.tar.gz: eb3200d97d7e47df2924fce8e5656be10d124225
5
5
  SHA512:
6
- metadata.gz: b1023cae31d7fabc151f84db3f2a796f2519134753554968a62fcb771f535d893147c9cc59c2f231dd6586a05d08e2ca9160d9363911ed1b7d248cdea68161d0
7
- data.tar.gz: c80b5b7e097f41262ca7dfa3816f92d00272e01ab96ffb0a2a9ba3eccbd99b4013254306c8db1eb6f4d3eb53858cf14b146283ead04df0ce072b4c622d5c4e94
6
+ metadata.gz: 21dc7bb268c060c599a09cb494ec9babd339f52f745218f537f4133b1cf3d3b9330fb2e4cb121e3ce980386d13f23796abb1f60acb894aef685564b56c0230d7
7
+ data.tar.gz: 9317ae5bfe173d748eb75e914ac2fb6b66bbcbd9cf2161ff186975c27920b40f42e4ed6017541288bf40bb014039e14c468bd67fc94edc9a1c57b23d8af43655
data/HISTORY.txt CHANGED
@@ -1,3 +1,7 @@
1
+ 1.0.4
2
+
3
+ Set less cryptic error message for invalid records exceptions.
4
+
1
5
  1.0.3
2
6
 
3
7
  Fix bugs preventing counter and set data types from working on models.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
data/lib/cassie.rb CHANGED
@@ -16,7 +16,7 @@ class Cassie
16
16
  attr_reader :record
17
17
 
18
18
  def initialize(record)
19
- super
19
+ super("Errors on #{record.class.name}: #{record.errors.to_hash.inspect}")
20
20
  @record = record
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whi-cassie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - We Heart It
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-18 00:00:00.000000000 Z
12
+ date: 2016-04-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cassandra-driver