cbhpm_table 0.0.5 → 0.0.6

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
2
  SHA1:
3
- metadata.gz: 3faea3d6fce28cdcc7f1c8d32eb0fee87d33d753
4
- data.tar.gz: ff50e1630ff33fb9bb078ce6edce0d6dfeb70348
3
+ metadata.gz: 12e12cf6c2f912960cc8cc651ef061282bea16f2
4
+ data.tar.gz: 67f93ef874adb4efedb4fbac517acfd0581c28f1
5
5
  SHA512:
6
- metadata.gz: 3b2775b435d8ee078c113de9c28da2426acbecb8732e99e8e2c56f0240d7c82ab55f2a8e75ea12594f4215672dadadc6851a43099d90964caad2c5bf3e51c644
7
- data.tar.gz: 5e2a01cc78780c517274130461adf268c97280cbb45d19d51de03e878f08556e2a1c2e59af48eb16a51c56191c63693b707e9e0df48a4d8fe2daf0d2a95240f8
6
+ metadata.gz: 88b5d8577ba33867b06338e186993490cd11d8e20947e4285f9c2486445451505a568c939edbe83d4765a13dabb45cfa1fbbeb681e3d5e0030fbf3742fe2faf9
7
+ data.tar.gz: 80cc6a3ca8154966bf19f371e4e3be3f35f628351698a456232429a7d8675221e28338783da434b06aa536fd14c46e6d641dfff8f1182c46de217f81ee5eef92
data/.travis.yml CHANGED
@@ -1,12 +1,12 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1.0
6
- - 2.2.0
3
+ - 2.1
4
+ - 2.2
5
+ - 2.3
7
6
  - rbx-2
8
- - ruby-head
9
- - jruby-head
7
+ - rbx-3
8
+ - jruby-1.7
9
+ - jruby-9.0
10
10
  addons:
11
11
  code_climate:
12
12
  repo_token: 41705ab9c6003dd0a97a8e359bfa0331c63b744dab95e4a056daee9f2e3e71d2
data/lib/cbhpm_table.rb CHANGED
@@ -106,6 +106,34 @@ class CBHPMTable
106
106
 
107
107
  VERSIONS = {}
108
108
 
109
+ CBHPM3a = VERSIONS[:cbhpm3a] =
110
+ { file_basename: "CBHPM 2004 3¶ EDIÄ«O.XLS",
111
+ edition_name: "3a",
112
+ header_format: {
113
+ 0 => "code",
114
+ 1 => "name",
115
+ 4 => "cir_size",
116
+ 5 => "uco",
117
+ 6 => "aux_qty",
118
+ 7 => "an_size"
119
+ },
120
+ start_date: "01/01/2004",
121
+ end_date: "31/12/2005" }
122
+
123
+ CBHPM4a = VERSIONS[:cbhpm4a] =
124
+ { file_basename: "CBHPM 4¶ EDIÄ«O.xls",
125
+ edition_name: "4a",
126
+ header_format: {
127
+ 0 => "code",
128
+ 1 => "name",
129
+ 4 => "cir_size",
130
+ 5 => "uco",
131
+ 6 => "aux_qty",
132
+ 7 => "an_size"
133
+ },
134
+ start_date: "01/01/2006",
135
+ end_date: "31/12/2007" }
136
+
109
137
  CBHPM5a = VERSIONS[:cbhpm5a] =
110
138
  { file_basename: "CBHPM 5¶ Ediá∆o.xls",
111
139
  edition_name: "5a",
@@ -142,6 +170,8 @@ class CBHPMTable
142
170
  end_date: nil }
143
171
 
144
172
  VERSION_FOR_FILE = {
173
+ "CBHPM 2004 3¶ EDIÄ«O.XLS" => CBHPM3a,
174
+ "CBHPM 4¶ EDIÄ«O.xls" => CBHPM4a,
145
175
  "CBHPM 5¶ Ediá∆o.xls" => CBHPM5a,
146
176
  "CBHPM 2010 separada.xls" => CBHPM2010,
147
177
  "CBHPM 2012.xlsx" => CBHPM2012,
@@ -1,3 +1,3 @@
1
1
  class CBHPMTable
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
4
+ version: 0.0.6
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: 2015-06-24 00:00:00.000000000 Z
11
+ date: 2016-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.4.6
139
+ rubygems_version: 2.4.5.1
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: CBHPM Table. A simple wrapper around the CBHPM excel files.
@@ -144,3 +144,4 @@ test_files:
144
144
  - spec/cbhpm/cbhpm_cut_for_testing.xlsx
145
145
  - spec/cbhpm_table_spec.rb
146
146
  - spec/spec_helper.rb
147
+ has_rdoc: