cassie 1.0.0.alpha.19 → 1.0.0.alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 793beb028679961c4949afcd8b4a1e36f1c2d104
4
- data.tar.gz: 4aadb0317093dec62a701c297c6551dff443f1fe
3
+ metadata.gz: 4ed9e3fa2b37a6f2fc14ed2093db2467029924b7
4
+ data.tar.gz: 97b2a7b2097f4c7e78d74d8ff9f7e20bfd2d10ea
5
5
  SHA512:
6
- metadata.gz: 6fdaf055174717b5269e1b416a5d2ffea35f3a01994c466935d33406e4e6ec9ad22c6ca8d667e641a6d75aab550894f5857e5dd0f29543c90a10c6fb97c82500
7
- data.tar.gz: 5fb1fc5bf8edd4859239408421271612e619a8474673f3c2d3e59d5fbc5be8691ada1529b647d868e7f58bb768a74456c5b134d1f78122200ea061da250f25bf
6
+ metadata.gz: 16a8d54254e3119502f9fad92a4827d5d637cdccc3a47662e0780a3bae0e7bf9ef2690b5e42120f8855f453c115378d14cc2185484bd13cf3a34c7637338c064
7
+ data.tar.gz: 1d1418616dec8b84bef54f8659e8c148a0ddb6526067f0371a1ca5999a8faeb4fc991e5051dc956b5d66080b7b3b4534882e0f01d29f746d1736033aa499b300
@@ -9,7 +9,7 @@ module Cassie::Queries::Logging
9
9
  end
10
10
 
11
11
  def message
12
- color "(#{duration.round(1)}ms) #{statement} [#{consistency}]"
12
+ color "(#{duration.round(1)}ms) #{statement} [#{consistency.upcase}]"
13
13
  end
14
14
 
15
15
  protected
@@ -22,7 +22,7 @@ module Cassie::Queries::Logging
22
22
  if execution_info
23
23
  statement = execution_info.statement
24
24
  str = statement.cql
25
- str += " [#{statement.params}]" if statement.respond_to? :params
25
+ str += " #{statement.params.map(&:to_s)}" if statement.respond_to? :params
26
26
  str
27
27
  else
28
28
  "CQL executed: (`execution_info` was not present?)"
@@ -13,5 +13,9 @@ module Cassie::Testing::Fake
13
13
  def trace
14
14
  nil
15
15
  end
16
+
17
+ def consistency
18
+ :local_one
19
+ end
16
20
  end
17
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cassie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha.19
4
+ version: 1.0.0.alpha.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Prothro