data_gov_au 0.1.0 → 0.2.0
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/CHANGELOG +15 -0
- data/README.md +111 -6
- data/TODO +3 -4
- data/data_gov_au.gemspec +3 -0
- data/exe/data_gov_au +53 -3
- data/lib/DataGovAu/ABR/Error.rb +4 -1
- data/lib/DataGovAu/ABR/Extract.rb +48 -0
- data/lib/DataGovAu/ABR/Fetch.rb +5 -4
- data/lib/DataGovAu/ABR/Parser.rb +181 -0
- data/lib/DataGovAu/ABR/Release.rb +7 -0
- data/lib/DataGovAu/ABR.rb +2 -0
- data/lib/DataGovAu/VERSION.rb +1 -1
- data/lib/Thoran/Array/NaturalSort/natural_sort.rb +27 -0
- data/lib/Thoran/String/NaturalComparison/natural_comparison.rb +37 -0
- data/test/DataGovAu/ABR/Extract_test.rb +90 -0
- data/test/DataGovAu/ABR/Fetch_test.rb +10 -0
- data/test/DataGovAu/ABR/Parser_test.rb +194 -0
- data/test/Thoran/Array/NaturalSort/natural_sort_test.rb +21 -0
- data/test/Thoran/String/NaturalComparison/natural_comparison_test.rb +35 -0
- data/test/exe/data_gov_au_test.rb +94 -0
- data/test/fixtures/20261020Public01.xml +225 -0
- data/test/helper.rb +20 -0
- metadata +167 -118
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Transfer error="none">
|
|
3
|
+
<TransferInfo>
|
|
4
|
+
<FileSequenceNumber>1</FileSequenceNumber>
|
|
5
|
+
<RecordCount>9</RecordCount>
|
|
6
|
+
<ExtractTime>2026-10-20T03:17:42</ExtractTime>
|
|
7
|
+
</TransferInfo>
|
|
8
|
+
<ABR recordLastUpdatedDate="20261013" replaced="N">
|
|
9
|
+
<ABN status="ACT" ABNStatusFromDate="20261012">11111111111</ABN>
|
|
10
|
+
<EntityType>
|
|
11
|
+
<EntityTypeInd>IND</EntityTypeInd>
|
|
12
|
+
<EntityTypeText>Individual/Sole Trader</EntityTypeText>
|
|
13
|
+
</EntityType>
|
|
14
|
+
<LegalEntity>
|
|
15
|
+
<IndividualName type="LGL">
|
|
16
|
+
<GivenName>JOHN</GivenName>
|
|
17
|
+
<FamilyName>SMITH</FamilyName>
|
|
18
|
+
</IndividualName>
|
|
19
|
+
<BusinessAddress>
|
|
20
|
+
<AddressDetails>
|
|
21
|
+
<State>VIC</State>
|
|
22
|
+
<Postcode>3000</Postcode>
|
|
23
|
+
</AddressDetails>
|
|
24
|
+
</BusinessAddress>
|
|
25
|
+
</LegalEntity>
|
|
26
|
+
</ABR>
|
|
27
|
+
<ABR recordLastUpdatedDate="20261014" replaced="N">
|
|
28
|
+
<ABN status="ACT" ABNStatusFromDate="20261013">22222222222</ABN>
|
|
29
|
+
<EntityType>
|
|
30
|
+
<EntityTypeInd>IND</EntityTypeInd>
|
|
31
|
+
<EntityTypeText>Individual/Sole Trader</EntityTypeText>
|
|
32
|
+
</EntityType>
|
|
33
|
+
<LegalEntity>
|
|
34
|
+
<IndividualName type="LGL">
|
|
35
|
+
<NameTitle>MS</NameTitle>
|
|
36
|
+
<GivenName>ANNE</GivenName>
|
|
37
|
+
<GivenName>MARIE</GivenName>
|
|
38
|
+
<FamilyName>NGUYEN</FamilyName>
|
|
39
|
+
</IndividualName>
|
|
40
|
+
<BusinessAddress>
|
|
41
|
+
<AddressDetails>
|
|
42
|
+
<State>VIC</State>
|
|
43
|
+
<Postcode>3121</Postcode>
|
|
44
|
+
</AddressDetails>
|
|
45
|
+
</BusinessAddress>
|
|
46
|
+
</LegalEntity>
|
|
47
|
+
<GST status="ACT" GSTStatusFromDate="20261013"></GST>
|
|
48
|
+
<OtherEntity>
|
|
49
|
+
<NonIndividualName type="BN">
|
|
50
|
+
<NonIndividualNameText>RICHMOND REMEDIAL MASSAGE</NonIndividualNameText>
|
|
51
|
+
</NonIndividualName>
|
|
52
|
+
</OtherEntity>
|
|
53
|
+
</ABR>
|
|
54
|
+
<ABR recordLastUpdatedDate="20261015" replaced="N">
|
|
55
|
+
<ABN status="ACT" ABNStatusFromDate="20261015">33333333333</ABN>
|
|
56
|
+
<EntityType>
|
|
57
|
+
<EntityTypeInd>PRV</EntityTypeInd>
|
|
58
|
+
<EntityTypeText>Australian Private Company</EntityTypeText>
|
|
59
|
+
</EntityType>
|
|
60
|
+
<MainEntity>
|
|
61
|
+
<NonIndividualName type="MN">
|
|
62
|
+
<NonIndividualNameText>SMITH PLUMBING PTY LTD</NonIndividualNameText>
|
|
63
|
+
</NonIndividualName>
|
|
64
|
+
<BusinessAddress>
|
|
65
|
+
<AddressDetails>
|
|
66
|
+
<State>VIC</State>
|
|
67
|
+
<Postcode>3182</Postcode>
|
|
68
|
+
</AddressDetails>
|
|
69
|
+
</BusinessAddress>
|
|
70
|
+
</MainEntity>
|
|
71
|
+
<ASICNumber ASICNumberType="ACN">123456789</ASICNumber>
|
|
72
|
+
<GST status="ACT" GSTStatusFromDate="20261015"></GST>
|
|
73
|
+
</ABR>
|
|
74
|
+
<ABR recordLastUpdatedDate="20261015" replaced="N">
|
|
75
|
+
<ABN status="ACT" ABNStatusFromDate="20261014">44444444444</ABN>
|
|
76
|
+
<EntityType>
|
|
77
|
+
<EntityTypeInd>PRV</EntityTypeInd>
|
|
78
|
+
<EntityTypeText>Australian Private Company</EntityTypeText>
|
|
79
|
+
</EntityType>
|
|
80
|
+
<MainEntity>
|
|
81
|
+
<NonIndividualName type="MN">
|
|
82
|
+
<NonIndividualNameText>HARBOUR DIGITAL PTY LTD</NonIndividualNameText>
|
|
83
|
+
</NonIndividualName>
|
|
84
|
+
<BusinessAddress>
|
|
85
|
+
<AddressDetails>
|
|
86
|
+
<State>NSW</State>
|
|
87
|
+
<Postcode>2000</Postcode>
|
|
88
|
+
</AddressDetails>
|
|
89
|
+
</BusinessAddress>
|
|
90
|
+
</MainEntity>
|
|
91
|
+
<ASICNumber ASICNumberType="ACN">987654321</ASICNumber>
|
|
92
|
+
<OtherEntity>
|
|
93
|
+
<NonIndividualName type="TRD">
|
|
94
|
+
<NonIndividualNameText>HARBOUR DIGITAL</NonIndividualNameText>
|
|
95
|
+
</NonIndividualName>
|
|
96
|
+
</OtherEntity>
|
|
97
|
+
</ABR>
|
|
98
|
+
<ABR recordLastUpdatedDate="20261016" replaced="N">
|
|
99
|
+
<ABN status="ACT" ABNStatusFromDate="20261016">55555555555</ABN>
|
|
100
|
+
<EntityType>
|
|
101
|
+
<EntityTypeInd>DTT</EntityTypeInd>
|
|
102
|
+
<EntityTypeText>Discretionary Trading Trust</EntityTypeText>
|
|
103
|
+
</EntityType>
|
|
104
|
+
<MainEntity>
|
|
105
|
+
<NonIndividualName type="MN">
|
|
106
|
+
<NonIndividualNameText>THE TRUSTEE FOR KOWALSKI FAMILY TRUST</NonIndividualNameText>
|
|
107
|
+
</NonIndividualName>
|
|
108
|
+
<BusinessAddress>
|
|
109
|
+
<AddressDetails>
|
|
110
|
+
<State>VIC</State>
|
|
111
|
+
<Postcode>3844</Postcode>
|
|
112
|
+
</AddressDetails>
|
|
113
|
+
</BusinessAddress>
|
|
114
|
+
</MainEntity>
|
|
115
|
+
<GST status="ACT" GSTStatusFromDate="20261016"></GST>
|
|
116
|
+
<OtherEntity>
|
|
117
|
+
<NonIndividualName type="BN">
|
|
118
|
+
<NonIndividualNameText>KOWALSKI EARTHMOVING</NonIndividualNameText>
|
|
119
|
+
</NonIndividualName>
|
|
120
|
+
</OtherEntity>
|
|
121
|
+
</ABR>
|
|
122
|
+
<ABR recordLastUpdatedDate="20260902" replaced="N">
|
|
123
|
+
<ABN status="CAN" ABNStatusFromDate="20260901">66666666666</ABN>
|
|
124
|
+
<EntityType>
|
|
125
|
+
<EntityTypeInd>IND</EntityTypeInd>
|
|
126
|
+
<EntityTypeText>Individual/Sole Trader</EntityTypeText>
|
|
127
|
+
</EntityType>
|
|
128
|
+
<LegalEntity>
|
|
129
|
+
<IndividualName type="LGL">
|
|
130
|
+
<GivenName>PETER</GivenName>
|
|
131
|
+
<FamilyName>OBRIEN</FamilyName>
|
|
132
|
+
</IndividualName>
|
|
133
|
+
<BusinessAddress>
|
|
134
|
+
<AddressDetails>
|
|
135
|
+
<State>VIC</State>
|
|
136
|
+
<Postcode>3350</Postcode>
|
|
137
|
+
</AddressDetails>
|
|
138
|
+
</BusinessAddress>
|
|
139
|
+
</LegalEntity>
|
|
140
|
+
<GST status="CAN" GSTStatusFromDate="20250630"></GST>
|
|
141
|
+
<OtherEntity>
|
|
142
|
+
<NonIndividualName type="BN">
|
|
143
|
+
<NonIndividualNameText>BALLARAT BIKE REPAIRS</NonIndividualNameText>
|
|
144
|
+
</NonIndividualName>
|
|
145
|
+
</OtherEntity>
|
|
146
|
+
</ABR>
|
|
147
|
+
<ABR recordLastUpdatedDate="20261011" replaced="N">
|
|
148
|
+
<ABN status="ACT" ABNStatusFromDate="20261010">77777777777</ABN>
|
|
149
|
+
<EntityType>
|
|
150
|
+
<EntityTypeInd>SMF</EntityTypeInd>
|
|
151
|
+
<EntityTypeText>ATO Regulated Self-Managed Superannuation Fund</EntityTypeText>
|
|
152
|
+
</EntityType>
|
|
153
|
+
<MainEntity>
|
|
154
|
+
<NonIndividualName type="MN">
|
|
155
|
+
<NonIndividualNameText>SMITH SUPERANNUATION FUND</NonIndividualNameText>
|
|
156
|
+
</NonIndividualName>
|
|
157
|
+
<BusinessAddress>
|
|
158
|
+
<AddressDetails>
|
|
159
|
+
<State>VIC</State>
|
|
160
|
+
<Postcode>3101</Postcode>
|
|
161
|
+
</AddressDetails>
|
|
162
|
+
</BusinessAddress>
|
|
163
|
+
</MainEntity>
|
|
164
|
+
</ABR>
|
|
165
|
+
<ABR recordLastUpdatedDate="20261017" replaced="N">
|
|
166
|
+
<ABN status="ACT" ABNStatusFromDate="20180704">88888888888</ABN>
|
|
167
|
+
<EntityType>
|
|
168
|
+
<EntityTypeInd>PUB</EntityTypeInd>
|
|
169
|
+
<EntityTypeText>Australian Public Company</EntityTypeText>
|
|
170
|
+
</EntityType>
|
|
171
|
+
<MainEntity>
|
|
172
|
+
<NonIndividualName type="MN">
|
|
173
|
+
<NonIndividualNameText>GEELONG COMMUNITY WORKS & TRAINING LIMITED</NonIndividualNameText>
|
|
174
|
+
</NonIndividualName>
|
|
175
|
+
<BusinessAddress>
|
|
176
|
+
<AddressDetails>
|
|
177
|
+
<State>VIC</State>
|
|
178
|
+
<Postcode>3220</Postcode>
|
|
179
|
+
</AddressDetails>
|
|
180
|
+
</BusinessAddress>
|
|
181
|
+
</MainEntity>
|
|
182
|
+
<ASICNumber ASICNumberType="ACN">111222333</ASICNumber>
|
|
183
|
+
<GST status="ACT" GSTStatusFromDate="20180704"></GST>
|
|
184
|
+
<DGR status="ACT" DGRStatusFromDate="20190101"></DGR>
|
|
185
|
+
<DGR DGRStatusFromDate="20200401">
|
|
186
|
+
<NonIndividualName type="DGR">
|
|
187
|
+
<NonIndividualNameText>GEELONG COMMUNITY WORKS PUBLIC FUND</NonIndividualNameText>
|
|
188
|
+
</NonIndividualName>
|
|
189
|
+
</DGR>
|
|
190
|
+
<OtherEntity>
|
|
191
|
+
<NonIndividualName type="BN">
|
|
192
|
+
<NonIndividualNameText>GEELONG COMMUNITY WORKS</NonIndividualNameText>
|
|
193
|
+
</NonIndividualName>
|
|
194
|
+
</OtherEntity>
|
|
195
|
+
<OtherEntity>
|
|
196
|
+
<NonIndividualName type="TRD">
|
|
197
|
+
<NonIndividualNameText>GCW's Training</NonIndividualNameText>
|
|
198
|
+
</NonIndividualName>
|
|
199
|
+
</OtherEntity>
|
|
200
|
+
<OtherEntity>
|
|
201
|
+
<NonIndividualName type="OTN">
|
|
202
|
+
<NonIndividualNameText>GEELONG COMMUNITY WORKS INC</NonIndividualNameText>
|
|
203
|
+
</NonIndividualName>
|
|
204
|
+
</OtherEntity>
|
|
205
|
+
</ABR>
|
|
206
|
+
<ABR recordLastUpdatedDate="20261019" replaced="N">
|
|
207
|
+
<ABN status="ACT" ABNStatusFromDate="20261018">99999999999</ABN>
|
|
208
|
+
<EntityType>
|
|
209
|
+
<EntityTypeInd>IND</EntityTypeInd>
|
|
210
|
+
<EntityTypeText>Individual/Sole Trader</EntityTypeText>
|
|
211
|
+
</EntityType>
|
|
212
|
+
<LegalEntity>
|
|
213
|
+
<IndividualName type="LGL">
|
|
214
|
+
<FamilyName>TEOFILO</FamilyName>
|
|
215
|
+
</IndividualName>
|
|
216
|
+
<BusinessAddress>
|
|
217
|
+
<AddressDetails>
|
|
218
|
+
<State></State>
|
|
219
|
+
<Postcode></Postcode>
|
|
220
|
+
</AddressDetails>
|
|
221
|
+
</BusinessAddress>
|
|
222
|
+
</LegalEntity>
|
|
223
|
+
<GST status="NON" GSTStatusFromDate="19000101"></GST>
|
|
224
|
+
</ABR>
|
|
225
|
+
</Transfer>
|
data/test/helper.rb
CHANGED
|
@@ -114,3 +114,23 @@ def stub_peek(resource, name = EXTRACT_MEMBER)
|
|
|
114
114
|
with(headers: {'Range' => "bytes=0-#{DataGovAu::ABR::ExtractDate::PEEK_LENGTH - 1}"}).
|
|
115
115
|
to_return(status: 206, body: zip_header(name))
|
|
116
116
|
end
|
|
117
|
+
|
|
118
|
+
# A release on disk as the fetch leaves one: a directory named for the date the extract carries, holding the fixture zipped under the member names given, so that the parser is exercised through rubyzip rather than over a loose file.
|
|
119
|
+
def release_holding(directory, date, members = {'public_split_1_10.zip' => ['20261020Public01.xml']})
|
|
120
|
+
release = DataGovAu::ABR::Release.new(config_in(directory), date)
|
|
121
|
+
release.create_directory
|
|
122
|
+
members.each do |zip_name, member_names|
|
|
123
|
+
Zip::File.open(File.join(release.directory, zip_name), create: true) do |zip|
|
|
124
|
+
member_names.each{|member| zip.add(member, fixture_path('20261020Public01.xml'))}
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
release
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
def fixture_records
|
|
131
|
+
@fixture_records ||= File.open(fixture_path('20261020Public01.xml'), 'rb'){|file| DataGovAu::ABR::Parser.new(file).each_record.to_a}
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
def fixture_record(abn)
|
|
135
|
+
fixture_records.detect{|record| record[:abn] == abn}
|
|
136
|
+
end
|
metadata
CHANGED
|
@@ -1,143 +1,192 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: data_gov_au
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- thoran
|
|
7
|
+
- thoran
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
|
-
- !ruby/object:Gem::Dependency
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- !ruby/object:Gem::
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: http.rb
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
-
|
|
17
|
+
- ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: "0"
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
-
|
|
25
|
+
- ">="
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: "0"
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: ox
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
-
|
|
33
|
+
- ">="
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: "0"
|
|
36
|
+
type: :runtime
|
|
37
|
+
prerelease: false
|
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
-
|
|
41
|
+
- ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: "0"
|
|
44
|
+
- !ruby/object:Gem::Dependency
|
|
45
|
+
name: rubyzip
|
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
-
|
|
49
|
+
- ">="
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: "0"
|
|
52
|
+
type: :runtime
|
|
53
|
+
prerelease: false
|
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
-
|
|
57
|
+
- ">="
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: "0"
|
|
60
|
+
- !ruby/object:Gem::Dependency
|
|
61
|
+
name: switches.rb
|
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
-
|
|
65
|
+
- ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: "0"
|
|
68
|
+
type: :runtime
|
|
69
|
+
prerelease: false
|
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
-
|
|
73
|
+
- ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: "0"
|
|
76
|
+
- !ruby/object:Gem::Dependency
|
|
77
|
+
name: minitest
|
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
-
|
|
81
|
+
- ~>
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: "6.0"
|
|
84
|
+
type: :development
|
|
85
|
+
prerelease: false
|
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
-
|
|
89
|
+
- ~>
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: "6.0"
|
|
92
|
+
- !ruby/object:Gem::Dependency
|
|
93
|
+
name: rake
|
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
-
|
|
97
|
+
- ">="
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: "0"
|
|
100
|
+
type: :development
|
|
101
|
+
prerelease: false
|
|
102
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
103
|
+
requirements:
|
|
104
|
+
-
|
|
105
|
+
- ">="
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: "0"
|
|
108
|
+
- !ruby/object:Gem::Dependency
|
|
109
|
+
name: webmock
|
|
110
|
+
requirement: !ruby/object:Gem::Requirement
|
|
111
|
+
requirements:
|
|
112
|
+
-
|
|
113
|
+
- ">="
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: "0"
|
|
116
|
+
type: :development
|
|
117
|
+
prerelease: false
|
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
-
|
|
121
|
+
- ">="
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: "0"
|
|
124
|
+
description: "Find a dataset through data.gov.au's CKAN catalogue by its name or id, read what the catalogue says of it and of each of its resources, and download a resource once, checked against the length the catalogue reports. Built on it, the Australian Business Register's weekly ABN bulk extract, each release fetched once and kept."
|
|
87
125
|
email: code@thoran.com
|
|
88
126
|
executables:
|
|
89
|
-
- data_gov_au
|
|
127
|
+
- data_gov_au
|
|
90
128
|
extensions: []
|
|
91
129
|
extra_rdoc_files: []
|
|
92
130
|
files:
|
|
93
|
-
- CHANGELOG
|
|
94
|
-
- Gemfile
|
|
95
|
-
- LICENSE
|
|
96
|
-
- README.md
|
|
97
|
-
- Rakefile
|
|
98
|
-
- TODO
|
|
99
|
-
- data_gov_au.gemspec
|
|
100
|
-
- exe/data_gov_au
|
|
101
|
-
- lib/DataGovAu/ABR.rb
|
|
102
|
-
- lib/DataGovAu/ABR/Config.rb
|
|
103
|
-
- lib/DataGovAu/ABR/Error.rb
|
|
104
|
-
- lib/DataGovAu/ABR/
|
|
105
|
-
- lib/DataGovAu/ABR/
|
|
106
|
-
- lib/DataGovAu/ABR/
|
|
107
|
-
- lib/DataGovAu/
|
|
108
|
-
- lib/DataGovAu/
|
|
109
|
-
- lib/DataGovAu/
|
|
110
|
-
- lib/DataGovAu/
|
|
111
|
-
- lib/DataGovAu/
|
|
112
|
-
- lib/
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
- test/DataGovAu/
|
|
118
|
-
- test/DataGovAu/
|
|
119
|
-
- test/DataGovAu/
|
|
120
|
-
- test/
|
|
121
|
-
- test/
|
|
122
|
-
|
|
131
|
+
- CHANGELOG
|
|
132
|
+
- Gemfile
|
|
133
|
+
- LICENSE
|
|
134
|
+
- README.md
|
|
135
|
+
- Rakefile
|
|
136
|
+
- TODO
|
|
137
|
+
- data_gov_au.gemspec
|
|
138
|
+
- exe/data_gov_au
|
|
139
|
+
- lib/DataGovAu/ABR.rb
|
|
140
|
+
- lib/DataGovAu/ABR/Config.rb
|
|
141
|
+
- lib/DataGovAu/ABR/Error.rb
|
|
142
|
+
- lib/DataGovAu/ABR/Extract.rb
|
|
143
|
+
- lib/DataGovAu/ABR/ExtractDate.rb
|
|
144
|
+
- lib/DataGovAu/ABR/Fetch.rb
|
|
145
|
+
- lib/DataGovAu/ABR/Parser.rb
|
|
146
|
+
- lib/DataGovAu/ABR/Release.rb
|
|
147
|
+
- lib/DataGovAu/Catalogue.rb
|
|
148
|
+
- lib/DataGovAu/Dataset.rb
|
|
149
|
+
- lib/DataGovAu/Error.rb
|
|
150
|
+
- lib/DataGovAu/Resource.rb
|
|
151
|
+
- lib/DataGovAu/VERSION.rb
|
|
152
|
+
- lib/Thoran/Array/NaturalSort/natural_sort.rb
|
|
153
|
+
- lib/Thoran/String/NaturalComparison/natural_comparison.rb
|
|
154
|
+
- lib/data_gov_au.rb
|
|
155
|
+
- test/DataGovAu/ABR/Config_test.rb
|
|
156
|
+
- test/DataGovAu/ABR/ExtractDate_test.rb
|
|
157
|
+
- test/DataGovAu/ABR/Extract_test.rb
|
|
158
|
+
- test/DataGovAu/ABR/Fetch_test.rb
|
|
159
|
+
- test/DataGovAu/ABR/Parser_test.rb
|
|
160
|
+
- test/DataGovAu/ABR/Release_test.rb
|
|
161
|
+
- test/DataGovAu/Catalogue_test.rb
|
|
162
|
+
- test/DataGovAu/Dataset_test.rb
|
|
163
|
+
- test/DataGovAu/Resource_test.rb
|
|
164
|
+
- test/Thoran/Array/NaturalSort/natural_sort_test.rb
|
|
165
|
+
- test/Thoran/String/NaturalComparison/natural_comparison_test.rb
|
|
166
|
+
- test/exe/data_gov_au_test.rb
|
|
167
|
+
- test/fixtures/20261020Public01.xml
|
|
168
|
+
- test/helper.rb
|
|
169
|
+
homepage: "https://github.com/thoran/data_gov_au"
|
|
123
170
|
licenses:
|
|
124
|
-
- MIT
|
|
171
|
+
- MIT
|
|
125
172
|
metadata: {}
|
|
126
173
|
rdoc_options: []
|
|
127
174
|
require_paths:
|
|
128
|
-
- lib
|
|
175
|
+
- lib
|
|
129
176
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
177
|
requirements:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
178
|
+
-
|
|
179
|
+
- ">="
|
|
180
|
+
- !ruby/object:Gem::Version
|
|
181
|
+
version: "3.2"
|
|
134
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
183
|
requirements:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
184
|
+
-
|
|
185
|
+
- ">="
|
|
186
|
+
- !ruby/object:Gem::Version
|
|
187
|
+
version: "0"
|
|
139
188
|
requirements: []
|
|
140
|
-
rubygems_version: 4.0
|
|
189
|
+
rubygems_version: 4.1.0
|
|
141
190
|
specification_version: 4
|
|
142
|
-
summary: A client for data.gov.au's CKAN API, and the datasets built on it.
|
|
191
|
+
summary: "A client for data.gov.au's CKAN API, and the datasets built on it."
|
|
143
192
|
test_files: []
|