mongoid-report 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjBjODE4ODliYjQ0ZDQzZDQ3MzRjNjZmMWUyM2FmOTU5ZDVlNzRjZg==
4
+ YTcxMTUyOWNhZWVmNjVhOWY1MGRkMDhhYTQ2YTI5YTY4YzE5NzhlOA==
5
5
  data.tar.gz: !binary |-
6
- Y2U2ZGQxYjVhZjAyZDcxYzY4ZTdmMTJhNWFiMmY5YWE5OTY4M2RjNQ==
6
+ YWQ1YTZjMTMwZjJkMzU0MjE5ZGZlMDNlNDdhNzdiZmM5MjE0YTM1Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDQ3MDBmNmY2YWNlMDFmOGJjY2JiYTJhNjZiYzkxYTQ0Yzg0ZjZmYWUyMDFj
10
- MzE1YmUxOTBkMDNkZjQ3MGVmN2I0MzVjOWMyMzNjMWQ2NGYwZTJjZjE5Mjdh
11
- OWZmODY0MGRkZGZiZWJiYTkxZmZkNzk4ZGQ0ZDFjMjlhZWU3MjM=
9
+ YzAxMjg1Yjc4MDQyZjU3MTJiNTJhNzhiMmY4N2U5YTA3NGJkZGQwZDc4Yjll
10
+ MzMzZjdjNzZjYjI4N2UyNGJmMWRkZTUzZTA2MzEwZDY0MDI0NDgwZDU0MzEw
11
+ ZjEyZmFkM2ViMzNhMDMyYjI2YTVmY2FiMzRiZjJjYzI5YjRkMTk=
12
12
  data.tar.gz: !binary |-
13
- Zjk0OTJmOTk1NjQyNDEyMTdkMDViZWI3MjQxNTgwMjJiNDA5NDc5ZDI4YTBl
14
- ZjI1ODU0ZjgwOThmM2ZkOGMxYzU5ZjRjNDUzYTFiNzg3NjYyOGVmNWEyY2Vk
15
- MzMxZDhkNjI1YzJiZjZiNzQzZTQ0NDNlYmRkYzI4YjM5ZDFjOWE=
13
+ NGMzZTJiYWQ4OGZmODRkYjhjNTBmYmQwNTZmNDNhM2M2ZTdkYTVkMGRlMGVl
14
+ OTcwYjVmZGNjODkyZDE4YTc2YjJmMDhiMmJiODg3ZDI2ODdhZjUzOTZkM2Vj
15
+ ZjY5ZTliYzdlMDY4MDExMmRlMmE3NTVlZDI0ODFiZTdiZGY0NzI=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongoid-report (0.1.2)
4
+ mongoid-report (0.1.3)
5
5
  mongoid (> 3.0.1)
6
6
 
7
7
  GEM
@@ -19,7 +19,7 @@ module Mongoid
19
19
  end
20
20
 
21
21
  summary
22
- end
22
+ end.with_indifferent_access
23
23
  end
24
24
 
25
25
  private
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Report
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -18,6 +18,7 @@ describe Mongoid::Report do
18
18
 
19
19
  expect(rows.count).to eq(2)
20
20
  expect(rows.summary[:field1]).to eq(3)
21
+ expect(rows.summary['field1']).to eq(3)
21
22
  end
22
23
  end
23
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-report
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandr Korsak