postspec 0.4.1 → 0.5.0

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
  SHA256:
3
- metadata.gz: 83a73a85c47aa35c95f5eb950628f090ea50c9c5c84b34b77c8e9e3a9118e06a
4
- data.tar.gz: a9803ca9e2faa7843c16421efd266640a2cfeaa8a90d4a2187a96325211caf44
3
+ metadata.gz: 851d0b52a25e0968254628ce9785b391dd6f0b5cf5546c4b24b09734f789fd54
4
+ data.tar.gz: 5f019586c60733abde0a671d20a866542ce883f8e9f31ccc453326811eeeef21
5
5
  SHA512:
6
- metadata.gz: 90ee32bd5068793efd90822e41cdfcd68f9e5bc9c1b4526daaef539f0119a02e7efdc3e98bc3061e8e9276b098afb9f6fa1dc9c095b72b7d96c35d882e2122a2
7
- data.tar.gz: 45fcbbcad5f453281d66d1f8d1e303c2bde44e6b4f0d989ac8b1b7cb8ab35588d2099b4c29ba3c528ebabc7878273ba8a38df8f31625233b4f42ebb6e08536f8
6
+ metadata.gz: 4972c39311dac7dbbf04251ff9a74748575aa1b3c5ac8b60bd5191fa0bb94bdadf9df3bf7cee7cea39defdb708a39c28021a65c17098fdea8ad5ed25212e9aec
7
+ data.tar.gz: b7165889d439611d2427f63cb4b2f36266188f7f0a7f676b045eb43276c7159d06171323548aa67dbd4c5787f345b8e24e6368690c5ce563b7c551de87375cbe
@@ -1,3 +1,3 @@
1
1
  module Postspec
2
- VERSION = "0.4.1"
2
+ VERSION = "0.5.0"
3
3
  end
data/lib/postspec.rb CHANGED
@@ -184,6 +184,9 @@ module Postspec
184
184
  # Transactionn timestamp with time zone
185
185
  def timestamptz() @conn.timestamptz end
186
186
 
187
+ # Date of timestamp
188
+ def datestamp() timestamp.to_date end
189
+
187
190
  # True if no tests failed. Default true
188
191
  def success?() @success end
189
192
 
@@ -8,6 +8,7 @@ def fox() postspec.fox end
8
8
  def db() postspec.db end
9
9
  def timestamp() postspec.timestamp end
10
10
  def timestamptz() postspec.timestamptz end
11
+ def datestamp() postspec.datestamp end
11
12
  def data() postspec.data end
12
13
  def inserted_records() postspec.inserted end
13
14
  def updated_records() postspec.updated end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-11 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-inflector