cbhpm_table 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/.rubocop.yml +13 -0
- data/.travis.yml +12 -0
- data/Gemfile +0 -2
- data/README.md +7 -0
- data/Rakefile +14 -0
- data/cbhpm_table.gemspec +7 -2
- data/lib/cbhpm_table.rb +57 -47
- data/lib/cbhpm_table/version.rb +1 -1
- data/spec/cbhpm_table_spec.rb +27 -21
- data/spec/spec_helper.rb +13 -54
- metadata +59 -15
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YzUyY2M3ZjQwNzE1Yzk0ZWQwMGIyNGM1NTYyZDUyNjU4YTkxMzZiYg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YzdiYmYxNWNjYjk5MzUwZDIxZjkyZTZkMDZkMjFmM2E0MDk4YTYxYg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MjQxZjAyNmRhYjI4MDkwNjAwMjIwOGRmNTZmODk5MzUxOWQ1ODAyMGQzNTQ1
|
10
|
+
OGEyN2MzMDU3YzA4OGZjNzMxMTc1MjBmMzM4ZDFhM2I3MmM3YWI3YWJhMjQz
|
11
|
+
NTMzZDBhY2ZmMGVhNjdjOGZkM2RkMDg4ODE3MmY3NzI4YzM5ZTk=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZjNhNTM5N2U3NWFiNWJkNWEyOGVlODQ4MTliMjZkYzNmMTY0YzgzYzEwNmEy
|
14
|
+
Njg5MDk3OTg2NDJhNWI1MmVkMzBlYzUyODM0ZjhkMmJjZDk0ZGRmNmJiOTI2
|
15
|
+
ZjBhODVlYzU5MjdiZTc3ZTVkOTYyY2ZmMTdiYjZkNjI5YTM2Yzg=
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
###########################
|
2
|
+
# Configuration for rubocop
|
3
|
+
# in .rubocop.yml
|
4
|
+
# Most of these are disabling existing cops, primarily
|
5
|
+
# due to a smattering of different styles and loose
|
6
|
+
# guidlines for contributions.
|
7
|
+
#
|
8
|
+
# Any of these may be changed.
|
9
|
+
|
10
|
+
StringLiterals:
|
11
|
+
Enabled: false
|
12
|
+
AsciiComments:
|
13
|
+
Enabled: false
|
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/cbhpm_table.svg)](http://badge.fury.io/rb/cbhpm_table)
|
2
|
+
[![Build Status](https://travis-ci.org/abinoam/cbhpm_table.svg?branch=master)](https://travis-ci.org/abinoam/cbhpm_table)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/abinoam/cbhpm_table/badges/gpa.svg)](https://codeclimate.com/github/abinoam/cbhpm_table)
|
4
|
+
[![Test Coverage](https://codeclimate.com/github/abinoam/cbhpm_table/badges/coverage.svg)](https://codeclimate.com/github/abinoam/cbhpm_table/coverage)
|
2
5
|
|
3
6
|
# CBHPMTable
|
4
7
|
|
@@ -49,3 +52,7 @@ end
|
|
49
52
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
50
53
|
4. Push to the branch (`git push origin my-new-feature`)
|
51
54
|
5. Create a new Pull Request
|
55
|
+
|
56
|
+
## Thanks to:
|
57
|
+
|
58
|
+
* Brandon Hilkert (@brandonhilkert) - for his "Build a Ruby Gem Email Course"
|
data/Rakefile
CHANGED
data/cbhpm_table.gemspec
CHANGED
@@ -8,8 +8,10 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = CBHPMTable::VERSION
|
9
9
|
spec.authors = ["Abinoam Praxedes Marques Jr."]
|
10
10
|
spec.email = ["abinoam@gmail.com"]
|
11
|
-
spec.summary =
|
12
|
-
|
11
|
+
spec.summary = "CBHPM Table. A simple wrapper around the CBHPM" \
|
12
|
+
" excel files."
|
13
|
+
spec.description = "It takes a CBHPM Excel spreadsheet file" \
|
14
|
+
" and give convenience methods to deal with it."
|
13
15
|
spec.homepage = "https://github.com/abinoam/cbhpm_table"
|
14
16
|
spec.license = "MIT"
|
15
17
|
|
@@ -21,4 +23,7 @@ Gem::Specification.new do |spec|
|
|
21
23
|
spec.add_development_dependency "bundler", "~> 1.6"
|
22
24
|
spec.add_development_dependency "rake"
|
23
25
|
spec.add_development_dependency "rspec"
|
26
|
+
spec.add_development_dependency "codeclimate-test-reporter"
|
27
|
+
spec.add_development_dependency "simplecov"
|
28
|
+
spec.add_runtime_dependency 'roo-xls'
|
24
29
|
end
|
data/lib/cbhpm_table.rb
CHANGED
@@ -1,7 +1,29 @@
|
|
1
|
-
|
1
|
+
# coding: utf-8
|
2
2
|
|
3
|
-
require
|
3
|
+
require "cbhpm_table/version"
|
4
4
|
|
5
|
+
require 'roo-xls'
|
6
|
+
|
7
|
+
# CBHPMTable:
|
8
|
+
#
|
9
|
+
# cbhpm_table = CBHPMTable.new "CBHPM 2012.xlsx"
|
10
|
+
#
|
11
|
+
# cbhpm_table.headers
|
12
|
+
# #=> { "code"=>"ID do Procedimento", "name"=>"Descrição do Procedimento",
|
13
|
+
# "cir_size"=>nil, "uco"=>"Custo Operac.", "aux_qty"=>"Nº de Aux.",
|
14
|
+
# "an_size"=>"Porte Anestés." }
|
15
|
+
#
|
16
|
+
# cbhpm_table.row(2)
|
17
|
+
# #=> { "code"=>"10101012",
|
18
|
+
# "name"=>"Em consultório (no horário normal ou preestabelecido)",
|
19
|
+
# "cir_size"=>"2B", "uco"=>nil, "aux_qty"=>nil, "an_size"=>nil}) }
|
20
|
+
#
|
21
|
+
# cbhpm_table.rows
|
22
|
+
# #=> # Returns an Array of Rows (as individual Hashes)
|
23
|
+
#
|
24
|
+
# cbhpm_table.each_row do |row|
|
25
|
+
# # do whatever with the row
|
26
|
+
# end
|
5
27
|
class CBHPMTable
|
6
28
|
attr_reader :roo
|
7
29
|
|
@@ -10,8 +32,8 @@ class CBHPMTable
|
|
10
32
|
|
11
33
|
roo_class = ROO_CLASS_FOR_EXTENSION[File.extname(cbhpm_path)]
|
12
34
|
@roo = roo_class.new(cbhpm_path)
|
13
|
-
@headers_hash = headers_hash ||
|
14
|
-
|
35
|
+
@headers_hash = headers_hash || fetch_headers_hash
|
36
|
+
fail "Can't find predefined headers for #{cbhpm_path}" unless @headers_hash
|
15
37
|
end
|
16
38
|
|
17
39
|
def headers
|
@@ -27,7 +49,7 @@ class CBHPMTable
|
|
27
49
|
end
|
28
50
|
|
29
51
|
def import_row(row_array)
|
30
|
-
imported_row =
|
52
|
+
imported_row = {}
|
31
53
|
|
32
54
|
headers_hash.each do |col, name|
|
33
55
|
imported_row[name] = row_array[col]
|
@@ -45,16 +67,14 @@ class CBHPMTable
|
|
45
67
|
end
|
46
68
|
|
47
69
|
def version_format
|
48
|
-
@version_format ||=
|
70
|
+
@version_format ||= fetch_version_format
|
49
71
|
end
|
50
72
|
|
51
|
-
def
|
73
|
+
def fetch_version_format
|
52
74
|
VERSION_FOR_FILE[File.basename(cbhpm_path)]
|
53
75
|
end
|
54
76
|
|
55
|
-
|
56
|
-
@cbhpm_path
|
57
|
-
end
|
77
|
+
attr_reader :cbhpm_path
|
58
78
|
|
59
79
|
def each_row
|
60
80
|
return to_enum(:each_row) unless block_given?
|
@@ -66,10 +86,10 @@ class CBHPMTable
|
|
66
86
|
end
|
67
87
|
|
68
88
|
def headers_hash
|
69
|
-
@headers_hash ||=
|
89
|
+
@headers_hash ||= fetch_headers_hash
|
70
90
|
end
|
71
91
|
|
72
|
-
def
|
92
|
+
def fetch_headers_hash
|
73
93
|
version_format[:header_format]
|
74
94
|
end
|
75
95
|
|
@@ -81,29 +101,15 @@ class CBHPMTable
|
|
81
101
|
version_format[:end_date]
|
82
102
|
end
|
83
103
|
|
84
|
-
private :first_row_index, :import_row, :
|
85
|
-
|
104
|
+
private :first_row_index, :import_row, :fetch_version_format
|
105
|
+
private :fetch_headers_hash
|
86
106
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
:
|
92
|
-
:
|
93
|
-
0 => "code",
|
94
|
-
1 => "name",
|
95
|
-
4 => "cir_size",
|
96
|
-
5 => "uco",
|
97
|
-
6 => "aux_qty",
|
98
|
-
7 => "an_size"
|
99
|
-
},
|
100
|
-
:start_date => "01/01/2008",
|
101
|
-
:end_date => "31/12/2009"
|
102
|
-
},
|
103
|
-
:cbhpm2010 => CBHPM2010 = {
|
104
|
-
:file_basename => "CBHPM 2010 separada.xls",
|
105
|
-
:edition_name => "2010",
|
106
|
-
:header_format => {
|
107
|
+
VERSIONS = {}
|
108
|
+
|
109
|
+
CBHPM5a = VERSIONS[:cbhpm5a] =
|
110
|
+
{ file_basename: "CBHPM 5¶ Ediá∆o.xls",
|
111
|
+
edition_name: "5a",
|
112
|
+
header_format: {
|
107
113
|
0 => "code",
|
108
114
|
1 => "name",
|
109
115
|
4 => "cir_size",
|
@@ -111,13 +117,20 @@ class CBHPMTable
|
|
111
117
|
6 => "aux_qty",
|
112
118
|
7 => "an_size"
|
113
119
|
},
|
114
|
-
:
|
115
|
-
:
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
:
|
120
|
-
:header_format
|
120
|
+
start_date: "01/01/2008",
|
121
|
+
end_date: "31/12/2009" }
|
122
|
+
|
123
|
+
CBHPM2010 = VERSIONS[:cbhpm2010] =
|
124
|
+
{ file_basename: "CBHPM 2010 separada.xls",
|
125
|
+
edition_name: "2010",
|
126
|
+
header_format: CBHPM5a[:header_format],
|
127
|
+
start_date: "01/01/2010",
|
128
|
+
end_date: "31/12/2011" }
|
129
|
+
|
130
|
+
CBHPM2012 = VERSIONS[:cbhpm2012] =
|
131
|
+
{ file_basename: "CBHPM 2012.xlsx",
|
132
|
+
edition_name: "2012",
|
133
|
+
header_format: {
|
121
134
|
4 => "code",
|
122
135
|
5 => "name",
|
123
136
|
8 => "cir_size",
|
@@ -125,17 +138,14 @@ class CBHPMTable
|
|
125
138
|
10 => "aux_qty",
|
126
139
|
11 => "an_size"
|
127
140
|
},
|
128
|
-
:
|
129
|
-
:
|
130
|
-
}
|
131
|
-
}
|
141
|
+
start_date: "01/01/2012",
|
142
|
+
end_date: nil }
|
132
143
|
|
133
144
|
VERSION_FOR_FILE = {
|
134
145
|
"CBHPM 5¶ Ediá∆o.xls" => CBHPM5a,
|
135
146
|
"CBHPM 2010 separada.xls" => CBHPM2010,
|
136
147
|
"CBHPM 2012.xlsx" => CBHPM2012,
|
137
|
-
"cbhpm_cut_for_testing.xlsx" => CBHPM2012
|
138
|
-
}
|
148
|
+
"cbhpm_cut_for_testing.xlsx" => CBHPM2012 }
|
139
149
|
|
140
150
|
ROO_CLASS_FOR_EXTENSION = { ".xls" => Roo::Excel, ".xlsx" => Roo::Excelx }
|
141
151
|
end
|
data/lib/cbhpm_table/version.rb
CHANGED
data/spec/cbhpm_table_spec.rb
CHANGED
@@ -1,38 +1,45 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
1
3
|
require 'rspec'
|
2
4
|
require 'cbhpm_table'
|
3
5
|
|
4
6
|
describe CBHPMTable do
|
5
|
-
let(:cbhpm_table)
|
6
|
-
CBHPMTable.new("spec/cbhpm/cbhpm_cut_for_testing.xlsx",
|
7
|
-
CBHPMTable::CBHPM2012[:header_format])
|
8
|
-
end
|
7
|
+
let(:cbhpm_table) { CBHPMTable.new("spec/cbhpm/cbhpm_cut_for_testing.xlsx") }
|
9
8
|
|
10
9
|
it { expect(cbhpm_table).to respond_to(:headers) }
|
11
10
|
|
12
11
|
describe "#headers_hash - the format hash for headers" do
|
13
|
-
it
|
12
|
+
it do
|
13
|
+
header_format = CBHPMTable::CBHPM2012[:header_format]
|
14
|
+
expect(cbhpm_table.headers_hash).to eq header_format
|
15
|
+
end
|
14
16
|
end
|
15
17
|
|
16
18
|
describe "#headers - the first line of the CBHPM Table" do
|
17
19
|
it { expect(cbhpm_table.headers).to be_instance_of(Hash) }
|
18
|
-
it
|
19
|
-
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"
|
20
|
+
it do
|
21
|
+
expect(cbhpm_table.headers).to eq("code" => "ID do Procedimento",
|
22
|
+
"name" => "Descrição do Procedimento",
|
23
|
+
"cir_size" => nil,
|
24
|
+
"uco" => "Custo Operac.",
|
25
|
+
"aux_qty" => "Nº de Aux.",
|
26
|
+
"an_size" => "Porte Anestés.")
|
27
|
+
end
|
24
28
|
end
|
25
29
|
|
26
30
|
describe "#row - any row" do
|
27
31
|
let(:row) { cbhpm_table.row(2) }
|
28
32
|
|
29
33
|
it { expect(row).to be_instance_of(Hash) }
|
30
|
-
it
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
34
|
+
it do
|
35
|
+
expect(row).to eq(
|
36
|
+
"code" => "10101012",
|
37
|
+
"name" => "Em consultório (no horário normal ou preestabelecido)",
|
38
|
+
"cir_size" => "2B",
|
39
|
+
"uco" => nil,
|
40
|
+
"aux_qty" => nil,
|
41
|
+
"an_size" => nil)
|
42
|
+
end
|
36
43
|
end
|
37
44
|
|
38
45
|
describe "#each_row" do
|
@@ -44,7 +51,7 @@ describe CBHPMTable do
|
|
44
51
|
specify do
|
45
52
|
cbhpm_table.each_row do |row|
|
46
53
|
expect(row).to be_instance_of Hash
|
47
|
-
expect(row['code']).to match
|
54
|
+
expect(row['code']).to match(/\d{8}/)
|
48
55
|
end
|
49
56
|
end
|
50
57
|
end
|
@@ -67,14 +74,14 @@ describe CBHPMTable do
|
|
67
74
|
describe "#version_format" do
|
68
75
|
it { expect(cbhpm_table.version_format).to be_instance_of Hash }
|
69
76
|
it "should return proper Hash with :edition_name key" do
|
70
|
-
STDOUT.puts cbhpm_table.version_format.inspect
|
71
77
|
expect(cbhpm_table.version_format[:edition_name]).to eq "2012"
|
72
78
|
end
|
73
79
|
end
|
74
80
|
|
75
81
|
describe "#cbhpm_path" do
|
76
82
|
it "should return the cbhpm initialization path" do
|
77
|
-
expect(cbhpm_table.cbhpm_path).to eq
|
83
|
+
expect(cbhpm_table.cbhpm_path).to eq(
|
84
|
+
"spec/cbhpm/cbhpm_cut_for_testing.xlsx")
|
78
85
|
end
|
79
86
|
end
|
80
87
|
|
@@ -90,4 +97,3 @@ describe CBHPMTable do
|
|
90
97
|
end
|
91
98
|
end
|
92
99
|
end
|
93
|
-
|
data/spec/spec_helper.rb
CHANGED
@@ -1,19 +1,27 @@
|
|
1
1
|
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
2
|
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
-
# The generated `.rspec` file contains `--require spec_helper` which will
|
4
|
-
# file to always be loaded, without a need to explicitly require
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will
|
4
|
+
# cause this file to always be loaded, without a need to explicitly require
|
5
|
+
# it in any files.
|
5
6
|
#
|
6
7
|
# Given that it is always loaded, you are encouraged to keep this file as
|
7
8
|
# light-weight as possible. Requiring heavyweight dependencies from this file
|
8
9
|
# will add to the boot time of your test suite on EVERY test run, even for an
|
9
|
-
# individual file that may not need all of that loaded. Instead, consider
|
10
|
-
# a separate helper file that requires the additional dependencies and
|
11
|
-
# the additional setup, and require it from the spec files that
|
10
|
+
# individual file that may not need all of that loaded. Instead, consider
|
11
|
+
# making a separate helper file that requires the additional dependencies and
|
12
|
+
# performs the additional setup, and require it from the spec files that
|
13
|
+
# actually need it.
|
12
14
|
#
|
13
15
|
# The `.rspec` file also contains a few flags that are not defaults but that
|
14
16
|
# users commonly want.
|
15
17
|
#
|
16
18
|
|
19
|
+
require 'simplecov'
|
20
|
+
SimpleCov.start
|
21
|
+
|
22
|
+
require "codeclimate-test-reporter"
|
23
|
+
CodeClimate::TestReporter.start
|
24
|
+
|
17
25
|
require 'cbhpm_table'
|
18
26
|
|
19
27
|
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
@@ -40,53 +48,4 @@ RSpec.configure do |config|
|
|
40
48
|
# `true` in RSpec 4.
|
41
49
|
mocks.verify_partial_doubles = true
|
42
50
|
end
|
43
|
-
|
44
|
-
# The settings below are suggested to provide a good initial experience
|
45
|
-
# with RSpec, but feel free to customize to your heart's content.
|
46
|
-
=begin
|
47
|
-
# These two settings work together to allow you to limit a spec run
|
48
|
-
# to individual examples or groups you care about by tagging them with
|
49
|
-
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
50
|
-
# get run.
|
51
|
-
config.filter_run :focus
|
52
|
-
config.run_all_when_everything_filtered = true
|
53
|
-
|
54
|
-
# Limits the available syntax to the non-monkey patched syntax that is recommended.
|
55
|
-
# For more details, see:
|
56
|
-
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
57
|
-
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
58
|
-
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
59
|
-
config.disable_monkey_patching!
|
60
|
-
|
61
|
-
# This setting enables warnings. It's recommended, but in some cases may
|
62
|
-
# be too noisy due to issues in dependencies.
|
63
|
-
config.warnings = true
|
64
|
-
|
65
|
-
# Many RSpec users commonly either run the entire suite or an individual
|
66
|
-
# file, and it's useful to allow more verbose output when running an
|
67
|
-
# individual spec file.
|
68
|
-
if config.files_to_run.one?
|
69
|
-
# Use the documentation formatter for detailed output,
|
70
|
-
# unless a formatter has already been configured
|
71
|
-
# (e.g. via a command-line flag).
|
72
|
-
config.default_formatter = 'doc'
|
73
|
-
end
|
74
|
-
|
75
|
-
# Print the 10 slowest examples and example groups at the
|
76
|
-
# end of the spec run, to help surface which specs are running
|
77
|
-
# particularly slow.
|
78
|
-
config.profile_examples = 10
|
79
|
-
|
80
|
-
# Run specs in random order to surface order dependencies. If you find an
|
81
|
-
# order dependency and want to debug it, you can fix the order by providing
|
82
|
-
# the seed, which is printed after each run.
|
83
|
-
# --seed 1234
|
84
|
-
config.order = :random
|
85
|
-
|
86
|
-
# Seed global randomization in this process using the `--seed` CLI option.
|
87
|
-
# Setting this allows you to use `--seed` to deterministically reproduce
|
88
|
-
# test failures related to randomization by passing the same `--seed` value
|
89
|
-
# as the one that triggered the failure.
|
90
|
-
Kernel.srand config.seed
|
91
|
-
=end
|
92
51
|
end
|
metadata
CHANGED
@@ -1,67 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cbhpm_table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
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:
|
11
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.6'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ! '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
|
56
|
-
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: codeclimate-test-reporter
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: roo-xls
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: It takes a CBHPM Excel spreadsheet file and give convenience methods
|
98
|
+
to deal with it.
|
57
99
|
email:
|
58
100
|
- abinoam@gmail.com
|
59
101
|
executables: []
|
60
102
|
extensions: []
|
61
103
|
extra_rdoc_files: []
|
62
104
|
files:
|
63
|
-
-
|
64
|
-
-
|
105
|
+
- .gitignore
|
106
|
+
- .rspec
|
107
|
+
- .rubocop.yml
|
108
|
+
- .travis.yml
|
65
109
|
- Gemfile
|
66
110
|
- LICENSE.txt
|
67
111
|
- README.md
|
@@ -82,17 +126,17 @@ require_paths:
|
|
82
126
|
- lib
|
83
127
|
required_ruby_version: !ruby/object:Gem::Requirement
|
84
128
|
requirements:
|
85
|
-
- -
|
129
|
+
- - ! '>='
|
86
130
|
- !ruby/object:Gem::Version
|
87
131
|
version: '0'
|
88
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
133
|
requirements:
|
90
|
-
- -
|
134
|
+
- - ! '>='
|
91
135
|
- !ruby/object:Gem::Version
|
92
136
|
version: '0'
|
93
137
|
requirements: []
|
94
138
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.
|
139
|
+
rubygems_version: 2.4.6
|
96
140
|
signing_key:
|
97
141
|
specification_version: 4
|
98
142
|
summary: CBHPM Table. A simple wrapper around the CBHPM excel files.
|