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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4df9713d1120be2a7dbe8af63a95a05d21912d05
4
- data.tar.gz: 7cd8617b5f062ab74b72a6c15856a93637ad678a
3
+ metadata.gz: 5d2867355cc996bd8f1ceb74ffc2c4a3f47809d0
4
+ data.tar.gz: 0028a7798ebd966b3d2cc9ad8bed25d6ccbb8b44
5
5
  SHA512:
6
- metadata.gz: b6c80bd4ffca67734aadcbd11bc46b9ada5411d62800900ecec2205eff23ca3f87fd36c696ba27292611a147d896d1f4014777de6c5c0d3a1d1148ea4b940f33
7
- data.tar.gz: b9685ff855a8305f7b1f0b294e7b2cd4296e0fe6e019df91b0cf0f0b6352c83497d4ba4ff9d0f57c014f26e4e128537f319f32d437784aa02739790c280191bb
6
+ metadata.gz: 56958dfe5e92cfaf4042e2ab2a1d290839258dc25f2835f8072b6d23dc6626f70638a9dd7b02a88520a2d8331ddae1ffb2b705d646bcbec0c2863ae8819afc0a
7
+ data.tar.gz: 2bff552fc3de070954a0463cd56e7ff307501b77ff2ccf1f05ff23716430f8be3139dabede9ac841459975c8af81fa33710c5fd5fac348012e1808facc3b3348
@@ -0,0 +1,6 @@
1
+ $LOAD_PATH.unshift("#{File.dirname(__FILE__)}")
2
+
3
+ module EnrichmentDb::Ato
4
+ end
5
+
6
+ require 'ato/datum'
@@ -1,3 +1,3 @@
1
1
  module EnrichmentDb
2
- VERSION = '0.1.11'
2
+ VERSION = '0.1.12'
3
3
  end
data/lib/enrichment_db.rb CHANGED
@@ -81,6 +81,7 @@ module EnrichmentDb
81
81
  end
82
82
  end
83
83
 
84
+ require 'enrichment_db/ato'
84
85
  require 'enrichment_db/geo'
85
86
  require 'enrichment_db/language'
86
87
  require 'enrichment_db/census'
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.11
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-14 00:00:00.000000000 Z
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