ar_aggregate_by_interval 1.2.0 → 1.2.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
  SHA1:
3
- metadata.gz: 8c7e6ecadea46b5a620c4b4a6f2e86a4bd8cbb7d
4
- data.tar.gz: 853b144cabd27a0fdbfbc3567c560a44fdc74bc1
3
+ metadata.gz: e390008670b8615d16bee9f7821e0e238165ea4a
4
+ data.tar.gz: 374af5330dd6c6c229b35ea287c0ee39c77e3c7f
5
5
  SHA512:
6
- metadata.gz: ccc8387f47774bcd549fd82be2c73f378ef4613e87769e0f3d402e75124dd1ca6d6094bf355a835f13149128a5e5cd2bd285d0d91bad4d2d7855bfe036c87c8f
7
- data.tar.gz: 1f9eea1a86f3da795c343efeacfea8a944f53cd6f146634e7b702557534a621daf28b727e661f48cc4c28dff6309c1bb37c309e4787d29fb126cf94412a8cc12
6
+ metadata.gz: 4de955de8504b5bcbbbe74a575c59b17531d64332ae52ce19c6255f9aa851a4e2e2ec620f2c43eade14fd93701d7515e197ad691fcb8a2b5fd8589c97a666bf8
7
+ data.tar.gz: b55726a860f5914749e0b378eb8105871f35cee863e876741ab6bfaa8d5f497165a8843175fabc447600ca5dbaa798131e20c2229ca5f3284b01b81f21654eaf
@@ -3,6 +3,10 @@ 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
  This file adheres to [Keep a changelog](http://keepachangelog.com/).
5
5
 
6
+ ## [1.2.1] - 2015-07-12
7
+ ### Fixed
8
+ - running tests with ActiveRecord 4.2 across multiple databases
9
+
6
10
  ## [1.2.0] - 2015-04-05
7
11
  ### Added
8
12
  - normalize_dates option
@@ -1,3 +1,3 @@
1
1
  module ArAggregateByInterval
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
@@ -11,6 +11,9 @@ describe ArAggregateByInterval do
11
11
  before(:all) do |example|
12
12
  # connect to DB specified by db_config (a symbol matching database.yml keys)
13
13
  ActiveRecord::Base.establish_connection db_config
14
+ ActiveRecord::Base.descendants.each do |_model|
15
+ _model.reset_column_information
16
+ end
14
17
 
15
18
  @from = DateTime.parse '2013-08-05'
16
19
  @to = @from
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ar_aggregate_by_interval
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Otto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-06 00:00:00.000000000 Z
11
+ date: 2015-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler