pgdice 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: 12fa7e75440961dbabdca09146b652c0b849f4d0e92f7c6e66c5e95d932f7449
4
- data.tar.gz: 6c9df08948a598ae17ddfe76ceb9c594c5566a479dce26bf2dd698f9eb54969d
3
+ metadata.gz: 9232acb1dfa33aad924a95525d3af64784e8ac525d100e1f90b58708d5d61e7b
4
+ data.tar.gz: e5d06ae456620ff0f2c807e274dc33a65ad893087e10b8f3ad6616947f688464
5
5
  SHA512:
6
- metadata.gz: a54b4dcdc2e9bed2798f5ccee31c1189036b0b37123e23b29c949d53bfbfe3fe7af1f288d4077ff66f3ce04374c113a91746e583bca3404aa221408afa05ceda
7
- data.tar.gz: a418c411de0d82e221a1c7de358b1eb9dfd18a0bafd4207c84441852e87adfa1eb674063a194b50b1472e783f21842635dbc2c381958d1d0fc792a788c0914d3
6
+ metadata.gz: 4262c4066a0d4eaf1305875b06a90cd71570dd4eb1e0da8dfc934080aa1f04ed47c084548df4cd3c39a55f7c726fba7a15cafd4804ada6228217922fb4e36509
7
+ data.tar.gz: 2df09b63917ef19edac7bcc4a5a61724f0bf3221572403e8684bb808908ea749993f8a5d9348a615b2eb2a4c282d2a909a7e0dd600919834b6e0d59bd2b3c0fa
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [v0.4.1] : 2019-03-21
6
+ ### Changes
7
+ - Fix bug where partitioning by months would break when the month was < 10
8
+
9
+
5
10
  ## [v0.4.0] : 2018-12-06
6
11
  ### Changes
7
12
  - Add `only:` option to `assert_tables` so users can assert on only `past`
@@ -21,7 +21,7 @@ module PgDice
21
21
  when 'year'
22
22
  Date.parse("#{date.year}0101")
23
23
  when 'month'
24
- Date.parse("#{date.year}#{date.month}01")
24
+ Date.parse("#{date.strftime('%Y%m')}01")
25
25
  when 'day'
26
26
  date
27
27
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgDice
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgdice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Newell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-07 00:00:00.000000000 Z
11
+ date: 2019-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg