enrichment_db 0.1.11 → 0.1.12
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 +4 -4
- data/lib/enrichment_db/ato.rb +6 -0
- data/lib/enrichment_db/version.rb +1 -1
- data/lib/enrichment_db.rb +1 -0
- data/test/datum_test.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d2867355cc996bd8f1ceb74ffc2c4a3f47809d0
|
4
|
+
data.tar.gz: 0028a7798ebd966b3d2cc9ad8bed25d6ccbb8b44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56958dfe5e92cfaf4042e2ab2a1d290839258dc25f2835f8072b6d23dc6626f70638a9dd7b02a88520a2d8331ddae1ffb2b705d646bcbec0c2863ae8819afc0a
|
7
|
+
data.tar.gz: 2bff552fc3de070954a0463cd56e7ff307501b77ff2ccf1f05ff23716430f8be3139dabede9ac841459975c8af81fa33710c5fd5fac348012e1808facc3b3348
|
data/lib/enrichment_db.rb
CHANGED
data/test/datum_test.rb
CHANGED
@@ -3,6 +3,7 @@ require "#{File.dirname(__FILE__)}/test_helper"
|
|
3
3
|
describe EnrichmentDb::Datum do
|
4
4
|
it 'should get correct ato record' do
|
5
5
|
condition = "region_id = '3000'"
|
6
|
+
puts EnrichmentDb.const_get('Ato')::Datum.by_lambda('ato', 'taxable_incomes', condition)
|
6
7
|
result = EnrichmentDb::Datum.by_lambda('ato', 'taxable_incomes', condition)
|
7
8
|
region = result.first
|
8
9
|
assert_equal '3000', region['region_id']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enrichment_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Wallis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -68,6 +68,7 @@ files:
|
|
68
68
|
- enrichment_db.gemspec
|
69
69
|
- lib/enrichment_db.rb
|
70
70
|
- lib/enrichment_db/.DS_Store
|
71
|
+
- lib/enrichment_db/ato.rb
|
71
72
|
- lib/enrichment_db/ato/datum.rb
|
72
73
|
- lib/enrichment_db/cache.rb
|
73
74
|
- lib/enrichment_db/census.rb
|
@@ -139,6 +140,7 @@ test_files:
|
|
139
140
|
- enrichment_db.gemspec
|
140
141
|
- lib/enrichment_db.rb
|
141
142
|
- lib/enrichment_db/.DS_Store
|
143
|
+
- lib/enrichment_db/ato.rb
|
142
144
|
- lib/enrichment_db/ato/datum.rb
|
143
145
|
- lib/enrichment_db/cache.rb
|
144
146
|
- lib/enrichment_db/census.rb
|