cbhpm_table 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 004366b319b5f5f88e908f810685bf7e27e3d84f
4
- data.tar.gz: 5f9a3dbc1fd40753a309184897cd06c84512f934
2
+ SHA256:
3
+ metadata.gz: 9c4ccbc28d28f9993083a95d200b2753dbbf5e1f39e177bc25f0ca30335c0f0a
4
+ data.tar.gz: 22b6fa8e6abbc4c5f70aa62774218b3ef2a10704f55d098600663e898310b9df
5
5
  SHA512:
6
- metadata.gz: 8e51c435951af760d5d356c46b9830438411e0a39f41093339070d182423246eca584481e8eed44093f0a5216f7408951360e75474bf5cd6779de3da6aefb667
7
- data.tar.gz: 77eaadb5758bc3c0e0cfcd55cd0fbac6b09e00189cb3451c4fefb3ee80a5e7b6384895a64ca52d982944c91f4f964b6d2702c340f45397176c5c2cb0c805df4f
6
+ metadata.gz: f5d81bc6b6ae62a0e2a55dc3068288a9f2b8a06bec0e5d05ac84da2025171f4b915c83b509b9250c8bc291692d6a09b154ad22d0a0d9692a9e44bc7cb9c7a9af
7
+ data.tar.gz: ac8bd05bd1c1ea8f8291ec2dfac81f57d4310e825fecf55e208c6074e8a40d8296cd76ae883138dae7b2436c231231851b4524e2c8d97804651608e4dcf56f59
@@ -1,3 +1,3 @@
1
1
  class CBHPMTable
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
data/lib/cbhpm_table.rb CHANGED
@@ -170,7 +170,7 @@ class CBHPMTable
170
170
  end_date: "31/12/2013" }
171
171
 
172
172
  CBHPM2014 = VERSIONS[:cbhpm2014] =
173
- { file_basename: "CBHPM 2012.xlsx",
173
+ { file_basename: "CBHPM 2014.xlsx",
174
174
  edition_name: "2014",
175
175
  header_format: {
176
176
  4 => "code",
@@ -183,6 +183,48 @@ class CBHPMTable
183
183
  start_date: "01/01/2014",
184
184
  end_date: "31/12/2015" }
185
185
 
186
+ CBHPM2016 = VERSIONS[:cbhpm2016] =
187
+ { file_basename: "CBHPM 2016.xlsx",
188
+ edition_name: "2016",
189
+ header_format: {
190
+ 4 => "code",
191
+ 5 => "name",
192
+ 8 => "cir_size",
193
+ 9 => "uco",
194
+ 10 => "aux_qty",
195
+ 11 => "an_size"
196
+ },
197
+ start_date: "01/01/2016",
198
+ end_date: "31/12/2017" }
199
+
200
+ CBHPM2018 = VERSIONS[:cbhpm2018] =
201
+ { file_basename: "CBHPM 2018.xlsx",
202
+ edition_name: "2018",
203
+ header_format: {
204
+ 4 => "code",
205
+ 5 => "name",
206
+ 8 => "cir_size",
207
+ 9 => "uco",
208
+ 10 => "aux_qty",
209
+ 11 => "an_size"
210
+ },
211
+ start_date: "01/01/2018",
212
+ end_date: "31/12/2019" }
213
+
214
+ CBHPM2020 = VERSIONS[:cbhpm2020] =
215
+ { file_basename: "CBHPM 2020.xlsx",
216
+ edition_name: "2020",
217
+ header_format: {
218
+ 4 => "code",
219
+ 5 => "name",
220
+ 8 => "cir_size",
221
+ 9 => "uco",
222
+ 10 => "aux_qty",
223
+ 11 => "an_size"
224
+ },
225
+ start_date: "01/01/2020",
226
+ end_date: "" }
227
+
186
228
  VERSION_FOR_FILE = {
187
229
  "CBHPM 2004 3¶ EDIÄ«O.XLS" => CBHPM3a,
188
230
  "CBHPM 4¶ EDIÄ«O.xls" => CBHPM4a,
@@ -190,6 +232,9 @@ class CBHPMTable
190
232
  "CBHPM 2010 separada.xls" => CBHPM2010,
191
233
  "CBHPM 2012.xlsx" => CBHPM2012,
192
234
  "CBHPM 2014.xlsx" => CBHPM2014,
235
+ "CBHPM 2016.xlsx" => CBHPM2016,
236
+ "CBHPM 2018.xlsx" => CBHPM2018,
237
+ "CBHPM 2020.xlsx" => CBHPM2020,
193
238
  "cbhpm_cut_for_testing.xlsx" => CBHPM2012 }
194
239
 
195
240
  ROO_CLASS_FOR_EXTENSION = { ".xls" => Roo::Excel, ".xlsx" => Roo::Excelx }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cbhpm_table
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abinoam Praxedes Marques Jr.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-06 00:00:00.000000000 Z
11
+ date: 2022-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -121,8 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubyforge_project:
125
- rubygems_version: 2.6.14
124
+ rubygems_version: 3.1.2
126
125
  signing_key:
127
126
  specification_version: 4
128
127
  summary: CBHPM Table. A simple wrapper around the CBHPM excel files.