makesheets 0.1.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 23dfb980e5760ee8f81e92cef3e61d818d9a5c9a
4
+ data.tar.gz: 31452b0014bc25eda438949b77a08bf92eb3ebc3
5
+ SHA512:
6
+ metadata.gz: 912c249506e52257e64528a4ce2e332d53f441a114c5b8e2259d271a6952d3d4f800a4e3c89dca06ff64731281b6d1aa9629acc966d68a9b960305acdb5ec232
7
+ data.tar.gz: e9e5072b9f08f5e2c06fb9358fd3e03fe6b7563ee2faa44236eaf9e41539de8c3c609d5c8fcded05bd352324e95584816f11ebfd25f5e1e62d20235e36e5642f
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.3
5
+ before_install: gem install bundler -v 1.14.6
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at jeyaraj.durairaj@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in makesheets.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Jeyaraj
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,41 @@
1
+ # Makesheets
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/makesheets`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'makesheets'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install makesheets
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/makesheets. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "makesheets"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,38 @@
1
+ require 'makesheets'
2
+ require 'optparse'
3
+
4
+ options = {}
5
+ option_parser = OptionParser.new do |opts|
6
+ opts.on("-i", "--infile INFILE",
7
+ "Requires Input file path") do |infile|
8
+ options[:infile] = infile
9
+ end
10
+ opts.on("-s", "--sheet SHEET",
11
+ "[Infile sheet name]") do |sheet|
12
+ options[:sheet] = sheet
13
+ end
14
+ opts.on("-k", "--skiprows SKIPROWS",
15
+ "Number of rows to skip while reading infile") do |skiprows|
16
+ options[:skiprows] = skiprows
17
+ end
18
+ opts.on("-r", "--readrows READABLEROWS",
19
+ "Number of rows to be read from infile") do |readrows|
20
+ options[:readrows] = readrows
21
+ end
22
+ opts.on("-o", "--outfile OUTFILE",
23
+ "[Optional outfile path]") do |outfile|
24
+ options[:outfile] = outfile
25
+ end
26
+ opts.on("-c", "--column COLUMN",
27
+ "<string>Column header by which sheets to be generated") \
28
+ do |column|
29
+ options[:column] = column
30
+ end
31
+ opts.on("-p", "--prefix PREFIX",
32
+ "[Prefix of generated sheets' name]") do |prefix|
33
+ options[:prefix] = prefix
34
+ end
35
+ end
36
+
37
+ option_parser.parse!
38
+ Makesheets.run(options)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,38 @@
1
+ require "makesheets/version"
2
+ require 'makesheets/validator'
3
+ require 'makesheets/processor'
4
+
5
+ #= Entry point, which validates and deligates the task
6
+ module Makesheets
7
+
8
+ # Validator and Delegator
9
+ def self.run(options)
10
+ #puts options.inspect
11
+ unless options[:infile]
12
+ puts "[Error]: File path of the spreadsheet is required"
13
+ exit
14
+ end
15
+ unless options[:column]
16
+ puts "[Error]: Key column name must be given"
17
+ exit
18
+ end
19
+ unless Validator::FileValidator.new(options[:infile]).validate
20
+ puts "[Error]: #{options[:infile]} is not a valid infile!!!"
21
+ exit
22
+ end
23
+ if options[:outfile]
24
+ unless Validator::FileValidator.new(options[:outfile]).validate
25
+ puts "[Error]: #{options[:outfile]} is not a valid outfile!!!"
26
+ exit
27
+ end
28
+ end
29
+ if options[:skiprows]
30
+ options[:skiprows] = options[:skiprows].to_i
31
+ end
32
+ if options[:readrows]
33
+ options[:readrows] = options[:readrows].to_i
34
+ end
35
+ Processor.new(options).process
36
+ end
37
+
38
+ end
@@ -0,0 +1,13 @@
1
+ #= Makesheets specific exception classes
2
+ class ColumnNotFoundError < StandardError
3
+
4
+ attr_reader :column, :filename
5
+
6
+ def initialize(column, filename,
7
+ msg="[Error]: Queryable Excel column does not exist")
8
+ @column = column
9
+ @filename = filename
10
+ super(msg)
11
+ end
12
+
13
+ end
@@ -0,0 +1,53 @@
1
+ require 'makesheets/reader'
2
+ require 'makesheets/writer'
3
+ require 'makesheets/exceptions/validate'
4
+ # ==== Assembles all the required classes and processes
5
+ #
6
+ # === Reads from Excel file
7
+ # === Maps the matched data into the original base file
8
+ class Processor
9
+
10
+ def initialize(options)
11
+ @infile = options[:infile]
12
+ @outfile = options[:outfile] || make_desti_file_name
13
+ @source_sht = options[:sheet] || 0
14
+ @skiprows = options[:skiprows] || 0
15
+ @readrows = options[:readrows]
16
+ @shtcol = options[:column]
17
+ @prefix = options[:prefix]
18
+ end
19
+
20
+ # Makes destination file name from source file name
21
+ def make_desti_file_name
22
+ folder, file = File.split(@infile)
23
+ extn = file[-5..-1]
24
+ new_file = file[0..-6] + '_Result' + extn
25
+ File.join(folder, new_file)
26
+ end
27
+
28
+ # Executes the process
29
+ def process
30
+ puts "[Info]: Process initiated..."
31
+ @source = ExcelReader.new(@infile, @source_sht, @skiprows,
32
+ @readrows, @shtcol)
33
+ unless column_exists? # Validates if the makesheet column exists
34
+ begin
35
+ raise ColumnNotFoundError.new(@shtcol, @infile)
36
+ rescue => e
37
+ puts "#{e.column} column does not exist in #{e.filename}!!!"
38
+ end
39
+ exit
40
+ end
41
+ @source.read
42
+ ExcelWriter.new(@outfile, @source, @shtcol, @prefix).write
43
+ end
44
+
45
+
46
+ def column_exists?
47
+ @source.headers.include?(@shtcol)
48
+ end
49
+
50
+ private :make_desti_file_name, :column_exists?
51
+ public :process
52
+
53
+ end
@@ -0,0 +1,58 @@
1
+ require 'roo'
2
+
3
+ # Contains functionalities for reading content from Excel
4
+ class ExcelReader
5
+
6
+ attr_reader :data, :headers, :data_shtcols
7
+
8
+ def initialize(filename, sheet, skiprows, readrows, shtcol) #:notnew:
9
+ @filename = filename
10
+ @shtcol = shtcol
11
+ @data = []
12
+ @data_shtcols = [] # container to hold all unique data of makesheet col
13
+ set_file_credentials(sheet, skiprows, readrows)
14
+ end
15
+
16
+ # Sets last_row, last_column, headers, etc
17
+ def set_file_credentials(sht, skip, read)
18
+ puts "[Info]: Validation & setting file credentials are on progress..."
19
+ @sht = Roo::Excelx.new(@filename).sheet(sht)
20
+ @lrow = @sht.last_row
21
+ @lcol = @sht.last_column
22
+ @skiprows = skip
23
+ @headers = @sht.row(@skiprows+1)
24
+ @readrows = read ? read+@skiprows : @lrow
25
+ end
26
+
27
+ # Iterates over rows and stores the data as list of hashes
28
+ def read
29
+ puts "[Info]: Data reading on progress..."
30
+ @lrow.times do |i|
31
+ row_idx = i + 1
32
+ next if row_idx <= @skiprows+1
33
+ row_data = @sht.row(row_idx)
34
+ row_dict = {}
35
+ @headers.each_with_index do |h, j|
36
+ temp_dict = { h => row_data[j] }
37
+ @data_shtcols << row_data[j] if h == @shtcol
38
+ row_dict.merge!(temp_dict)
39
+ end
40
+ @data << row_dict
41
+ break if row_idx > @readrows
42
+ end
43
+ len_before = @data_shtcols.length
44
+ @data_shtcols.uniq!
45
+ len_after = @data_shtcols.length
46
+ puts "[Info]: Column data count=#{len_before} [Bef] #{len_after} [Aft]"
47
+ end
48
+
49
+ private :set_file_credentials
50
+ public :read
51
+ end
52
+
53
+
54
+
55
+
56
+
57
+
58
+
@@ -0,0 +1,24 @@
1
+ # === Common module contains all Validation classes
2
+
3
+ module Validator
4
+ # == Class container to validate files
5
+ class FileValidator
6
+
7
+ def initialize(file_name) #:notnew:
8
+ @file_name = file_name
9
+ end
10
+
11
+ # Validates and returns true or false
12
+ #
13
+ # Uses the Standard File class method file
14
+ #
15
+ # valid = Validator::File(file_name)
16
+ # valid.validate
17
+ def validate
18
+ File.file?(@file_name)
19
+ end
20
+
21
+ end
22
+
23
+ end
24
+
@@ -0,0 +1,3 @@
1
+ module Makesheets
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,80 @@
1
+ require 'rubyXL'
2
+
3
+ # == Container for Excel writing functionalities
4
+ class ExcelWriter
5
+ attr_reader :data, :data_shtcols
6
+
7
+ def initialize(filename, reader, shtcol, prefix) #:notnew:
8
+ @filename = filename
9
+ @data = reader.data
10
+ @headers = reader.headers
11
+ @data_shtcols = reader.data_shtcols
12
+ @shtcol = shtcol
13
+ @prefix = prefix
14
+ @is_header_written = {}
15
+ @wb = RubyXL::Workbook.new
16
+ @main_sht = @wb.worksheets[0]
17
+ end
18
+
19
+ # Executes Write action
20
+ def write
21
+ puts "[Info]: Writing headers in main sheet..."
22
+ write_header(@main_sht) # Write header in main sheet
23
+ puts "[Info]: Core data writing initiated"
24
+ write_data
25
+ @wb.write(@filename)
26
+ puts "[Info]: Result file has been written to #{@filename}"
27
+ end
28
+
29
+ # Writes in main sheet with all the data
30
+ def write_main row, col, val
31
+ @main_sht.add_cell(row, col, val)
32
+ end
33
+
34
+ # Writes column headers in a given sheet
35
+ def write_header sht
36
+ @headers.each_with_index do |h, i|
37
+ sht.add_cell(0, i, h)
38
+ end
39
+ end
40
+
41
+ # Writes the records/data
42
+ def write_data
43
+ @data.each_with_index do |d, i|
44
+ d.each_with_index do |(k, v), j|
45
+ write_main(i+1, j, v)
46
+ end
47
+ write_individual(d, i+1)
48
+ end
49
+ end
50
+
51
+ # Make sheets and write for the unique data
52
+ # ---
53
+ # Excel accepts only 30 max characters as sheet name
54
+ def write_individual d, row
55
+ _key = d[@shtcol]
56
+ key_data = _key.instance_of?(Fixnum) ? _key.to_s : _key
57
+ sht_name = @prefix ? @prefix + '_' + key_data : key_data
58
+ if sht_name.length > 30 # In case sheet name is greater than 30 chars
59
+ slice_len = sht_name.length - 30 + 1
60
+ sht_name = sht_name.slice(-slice_len..slice_len)
61
+ end
62
+ sht = @wb[sht_name] ? @wb[sht_name] : @wb.add_worksheet(sht_name)
63
+ unless @is_header_written.has_key?(key_data)
64
+ write_header(sht)
65
+ @is_header_written[key_data] = {
66
+ :header => true,
67
+ :row => 1
68
+ }
69
+ end
70
+ d.each_with_index do |(k, v), j|
71
+ sht.add_cell(@is_header_written[key_data][:row], j, v)
72
+ end
73
+ @is_header_written[key_data][:row] += 1
74
+ end
75
+
76
+ private :write_header, :write_data, :write_main, :write_individual
77
+ public :write
78
+
79
+ end
80
+
@@ -0,0 +1,45 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'makesheets/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "makesheets"
8
+ spec.version = Makesheets::VERSION
9
+ spec.authors = ["Jeyaraj"]
10
+ spec.email = ["jeyaraj.durairaj@gmail.com"]
11
+
12
+ spec.summary = %q{Makes sheets based on Excel Column Data.}
13
+ spec.description = %q{Based on unique value of a column, it creates sheets.}
14
+ spec.homepage = "https://github.com/jeydurai"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ #if spec.respond_to?(:metadata)
20
+ #spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ #else
22
+ #raise "RubyGems 2.0 or newer is required to protect against " \
23
+ #"public gem pushes."
24
+ #end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.files << "lib/makesheets.rb"
30
+ spec.files << "lib/makesheets/processor.rb"
31
+ spec.files << "lib/makesheets/reader.rb"
32
+ spec.files << "lib/makesheets/writer.rb"
33
+ spec.files << "lib/makesheets/validator.rb"
34
+ spec.files << "lib/makesheets/exceptions/validate.rb"
35
+ spec.bindir = "bin"
36
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
37
+ spec.executables << 'makesheets'
38
+ spec.require_paths = ["lib"]
39
+
40
+ spec.add_development_dependency "bundler", "~> 1.14"
41
+ spec.add_development_dependency "rake", "~> 10.0"
42
+ spec.add_development_dependency "minitest", "~> 5.0"
43
+ spec.add_development_dependency "roo", "~> 2.7", ">= 2.7.1"
44
+ spec.add_development_dependency "rubyXL", "~> 3.3", ">= 3.3.26"
45
+ end
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: makesheets
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jeyaraj
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-07-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: roo
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.7'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 2.7.1
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '2.7'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 2.7.1
75
+ - !ruby/object:Gem::Dependency
76
+ name: rubyXL
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '3.3'
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 3.3.26
85
+ type: :development
86
+ prerelease: false
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '3.3'
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 3.3.26
95
+ description: Based on unique value of a column, it creates sheets.
96
+ email:
97
+ - jeyaraj.durairaj@gmail.com
98
+ executables:
99
+ - console
100
+ - makesheets
101
+ - setup
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - ".travis.yml"
107
+ - CODE_OF_CONDUCT.md
108
+ - Gemfile
109
+ - LICENSE.txt
110
+ - README.md
111
+ - Rakefile
112
+ - bin/console
113
+ - bin/makesheets
114
+ - bin/setup
115
+ - lib/makesheets.rb
116
+ - lib/makesheets/exceptions/validate.rb
117
+ - lib/makesheets/processor.rb
118
+ - lib/makesheets/reader.rb
119
+ - lib/makesheets/validator.rb
120
+ - lib/makesheets/version.rb
121
+ - lib/makesheets/writer.rb
122
+ - makesheets.gemspec
123
+ homepage: https://github.com/jeydurai
124
+ licenses:
125
+ - MIT
126
+ metadata: {}
127
+ post_install_message:
128
+ rdoc_options: []
129
+ require_paths:
130
+ - lib
131
+ required_ruby_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ requirements: []
142
+ rubyforge_project:
143
+ rubygems_version: 2.5.2
144
+ signing_key:
145
+ specification_version: 4
146
+ summary: Makes sheets based on Excel Column Data.
147
+ test_files: []