ar_aggregate_by_interval 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ar_aggregate_by_interval/version.rb +1 -1
- data/spec/lib/ar_aggregate_by_interval_spec.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e390008670b8615d16bee9f7821e0e238165ea4a
|
4
|
+
data.tar.gz: 374af5330dd6c6c229b35ea287c0ee39c77e3c7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4de955de8504b5bcbbbe74a575c59b17531d64332ae52ce19c6255f9aa851a4e2e2ec620f2c43eade14fd93701d7515e197ad691fcb8a2b5fd8589c97a666bf8
|
7
|
+
data.tar.gz: b55726a860f5914749e0b378eb8105871f35cee863e876741ab6bfaa8d5f497165a8843175fabc447600ca5dbaa798131e20c2229ca5f3284b01b81f21654eaf
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -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.
|
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-
|
11
|
+
date: 2015-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|