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 +4 -4
- data/lib/postspec/version.rb +1 -1
- data/lib/postspec.rb +3 -0
- data/lib/postspec_helper.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 851d0b52a25e0968254628ce9785b391dd6f0b5cf5546c4b24b09734f789fd54
|
4
|
+
data.tar.gz: 5f019586c60733abde0a671d20a866542ce883f8e9f31ccc453326811eeeef21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4972c39311dac7dbbf04251ff9a74748575aa1b3c5ac8b60bd5191fa0bb94bdadf9df3bf7cee7cea39defdb708a39c28021a65c17098fdea8ad5ed25212e9aec
|
7
|
+
data.tar.gz: b7165889d439611d2427f63cb4b2f36266188f7f0a7f676b045eb43276c7159d06171323548aa67dbd4c5787f345b8e24e6368690c5ce563b7c551de87375cbe
|
data/lib/postspec/version.rb
CHANGED
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
|
|
data/lib/postspec_helper.rb
CHANGED
@@ -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
|
+
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-
|
11
|
+
date: 2024-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-inflector
|