row_boat 0.1.0.alpha.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 24f37ad61ddc7230fb617df52bd0740cb0139bdf
4
+ data.tar.gz: 3f6476e3903adb0faaf307765bb841c8dd38eb56
5
+ SHA512:
6
+ metadata.gz: b27935d1cfb96fb2ed08c08705484da6af08ee9132f66f2a0ce526708af49dd5829259088c8ad2ecf275a0a81cecbf69eff5357874c5aca6b380626a75df5e8d
7
+ data.tar.gz: 8b797634c16b66f84adeadbf73763d996cefcfb4071de6b631d812fa13d538a748121873068037a339f819943f5f28a28d3eda60a69ebfc1c82c9c54614bf1e2
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format progress
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,63 @@
1
+ AllCops:
2
+ Include:
3
+ - "**/Rakefile"
4
+ Exclude:
5
+ - db/**/*
6
+ - gemfiles/**/*
7
+ - vendor/**/*
8
+ Lint/SpaceBeforeFirstArg:
9
+ Enabled: false
10
+ Lint/UnusedBlockArgument:
11
+ Enabled: false
12
+ Lint/UnusedMethodArgument:
13
+ Enabled: false
14
+ Metrics/AbcSize:
15
+ Enabled: false
16
+ Metrics/ClassLength:
17
+ Enabled: false
18
+ Metrics/CyclomaticComplexity:
19
+ Enabled: false
20
+ Metrics/LineLength:
21
+ Enabled: false
22
+ Metrics/MethodLength:
23
+ Enabled: false
24
+ Metrics/ModuleLength:
25
+ Enabled: false
26
+ Metrics/PerceivedComplexity:
27
+ Enabled: false
28
+ Metrics/BlockLength:
29
+ Enabled: false
30
+ Security/YAMLLoad:
31
+ Enabled: false
32
+ Style/AlignParameters:
33
+ Enabled: false
34
+ Style/ClassAndModuleChildren:
35
+ Enabled: false
36
+ Style/ClassVars:
37
+ Enabled: false
38
+ Style/Documentation:
39
+ Enabled: false
40
+ Style/DoubleNegation:
41
+ Enabled: false
42
+ Style/FileName:
43
+ Enabled: false
44
+ Style/GuardClause:
45
+ Enabled: false
46
+ Style/IndentHash:
47
+ Enabled: false
48
+ Style/NilComparison:
49
+ Enabled: false
50
+ Style/OpMethod:
51
+ Enabled: false
52
+ Style/RescueModifier:
53
+ Enabled: false
54
+ Style/SignalException:
55
+ Enabled: false
56
+ Style/SingleLineMethods:
57
+ Enabled: false
58
+ Style/SpaceAroundEqualsInParameterDefault:
59
+ Enabled: false
60
+ Style/StringLiterals:
61
+ EnforcedStyle: double_quotes
62
+ Performance/EndWith:
63
+ Enabled: false
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.4.1
data/.travis.yml ADDED
@@ -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 michael.crismali@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,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in row_boat.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Michael Crismali
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.
data/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # RowBoat
2
+
3
+ A simple gem to help you import CSVs into your ActiveRecord models.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem "row_boat"
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install row_boat
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ class ProductBoat < RowBoat::Base
25
+ # required
26
+ def import_into
27
+ Product
28
+ end
29
+
30
+ # required
31
+ def column_mapping
32
+ {
33
+ downcased_csv_column_header: :model_attribute_name,
34
+ another_downcased_csv_column_header: :another_model_attribute_name
35
+ }
36
+ end
37
+
38
+ # optional
39
+ def options
40
+ super.merge(validate: false)
41
+ end
42
+ end
43
+
44
+ # Later...
45
+
46
+ ProductBoat.import(path_to_csv)
47
+ ```
48
+
49
+ ## Development
50
+
51
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
52
+
53
+ 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).
54
+
55
+ ## Contributing
56
+
57
+ Bug reports and pull requests are welcome on GitHub at https://github.com/devmynd/row_boat. 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.
58
+
59
+
60
+ ## License
61
+
62
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
63
+
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+ require "rubocop/rake_task"
6
+ require "standalone_migrations"
7
+
8
+ RSpec::Core::RakeTask.new(:spec)
9
+ RuboCop::RakeTask.new
10
+ StandaloneMigrations::Tasks.load_tasks
11
+
12
+ task default: %i[rubocop spec]
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "row_boat"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -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
data/db/config.yml ADDED
@@ -0,0 +1,9 @@
1
+ default: &default
2
+ adapter: postgresql
3
+ database: row_boat
4
+
5
+ development:
6
+ <<: *default
7
+
8
+ test:
9
+ <<: *default
@@ -0,0 +1,13 @@
1
+ class CreateProducts < ActiveRecord::Migration[5.1]
2
+ def change
3
+ create_table :products do |t|
4
+ t.string :name, null: false
5
+ t.integer :rank, null: false
6
+ t.text :description
7
+
8
+ t.timestamps
9
+ end
10
+
11
+ add_index :products, :rank, unique: true
12
+ end
13
+ end
data/db/schema.rb ADDED
@@ -0,0 +1,27 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(version: 20170511160154) do
14
+
15
+ # These are extensions that must be enabled in order to support this database
16
+ enable_extension "plpgsql"
17
+
18
+ create_table "products", force: :cascade do |t|
19
+ t.string "name", null: false
20
+ t.integer "rank", null: false
21
+ t.text "description"
22
+ t.datetime "created_at", null: false
23
+ t.datetime "updated_at", null: false
24
+ t.index ["rank"], name: "index_products_on_rank", unique: true
25
+ end
26
+
27
+ end
@@ -0,0 +1,71 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "active_record"
4
+ require "activerecord-import"
5
+ require "smarter_csv"
6
+
7
+ module RowBoat
8
+ class Base
9
+ attr_reader :csv_source
10
+
11
+ class << self
12
+ def import(*args, &block)
13
+ new(*args, &block).import
14
+ end
15
+ end
16
+
17
+ def initialize(csv_source)
18
+ @csv_source = csv_source
19
+ end
20
+
21
+ def import
22
+ import_results = []
23
+
24
+ transaction_if_needed do
25
+ parse_rows do |rows|
26
+ import_results << import_rows(rows)
27
+ end
28
+ end
29
+
30
+ { invalid_records: import_results.flat_map(&:failed_instances) }
31
+ end
32
+
33
+ def import_into
34
+ raise NotImplementedError, not_implemented_error_message(__method__)
35
+ end
36
+
37
+ def column_mapping
38
+ raise NotImplementedError, not_implemented_error_message(__method__)
39
+ end
40
+
41
+ def options
42
+ {
43
+ chunk_size: 500,
44
+ key_mapping: column_mapping,
45
+ remove_unmapped_keys: true,
46
+ validate: true,
47
+ wrap_in_transaction: true
48
+ }
49
+ end
50
+
51
+ private
52
+
53
+ def not_implemented_error_message(method_name)
54
+ "Subclasses of #{self.class.name} must implement `#{method_name}`"
55
+ end
56
+
57
+ def parse_rows(&block)
58
+ csv_options = ::RowBoat::Helpers.extract_csv_options(options)
59
+ ::SmarterCSV.process(csv_source, csv_options, &block)
60
+ end
61
+
62
+ def import_rows(rows)
63
+ import_options = ::RowBoat::Helpers.extract_import_options(options)
64
+ import_into.import(rows, import_options)
65
+ end
66
+
67
+ def transaction_if_needed(&block)
68
+ options[:wrap_in_transaction] ? import_into.transaction(&block) : yield
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RowBoat
4
+ module Helpers
5
+ CSV_OPTION_KEYS = %i[
6
+ chunk_size
7
+ col_sep
8
+ comment_regexp
9
+ convert_values_to_numeric
10
+ downcase_header
11
+ file_encoding
12
+ force_simple_split
13
+ force_utf8
14
+ headers_in_file
15
+ invalid_byte_sequence
16
+ keep_original_headers
17
+ key_mapping
18
+ quote_char
19
+ remove_empty_hashes
20
+ remove_empty_values
21
+ remove_unmapped_keys
22
+ remove_values_matching
23
+ remove_zero_values
24
+ row_sep
25
+ skip_lines
26
+ strings_as_keys
27
+ strip_chars_from_headers
28
+ strip_whitespace
29
+ user_provided_headers
30
+ value_converters
31
+ verbose
32
+ ].freeze
33
+
34
+ IMPORT_OPTION_KEYS = %i[
35
+ batch_size
36
+ ignore
37
+ on_duplicate_key_ignore
38
+ recursive
39
+ synchronize
40
+ timestamps
41
+ validate
42
+ ].freeze
43
+
44
+ class << self
45
+ def extract_csv_options(options)
46
+ options.slice(*CSV_OPTION_KEYS)
47
+ end
48
+
49
+ def extract_import_options(options)
50
+ options.slice(*IMPORT_OPTION_KEYS)
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RowBoat
4
+ VERSION = "0.1.0.alpha.1"
5
+ end
data/lib/row_boat.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "row_boat/version"
4
+ require "row_boat/helpers"
5
+ require "row_boat/base"
6
+
7
+ module RowBoat
8
+ end
data/row_boat.gemspec ADDED
@@ -0,0 +1,41 @@
1
+ # coding: utf-8
2
+ # frozen_string_literal: true
3
+
4
+ lib = File.expand_path("../lib", __FILE__)
5
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
+ require "row_boat/version"
7
+
8
+ Gem::Specification.new do |spec|
9
+ spec.name = "row_boat"
10
+ spec.version = RowBoat::VERSION
11
+ spec.authors = ["Michael Crismali"]
12
+ spec.email = ["michael@crismali.com"]
13
+
14
+ spec.summary = "Turn the rows of your CSV into rows in your database"
15
+ spec.description = "Turn the rows of your CSV into rows in your database"
16
+ spec.homepage = "https://github.com/devmynd/row_boat"
17
+ spec.license = "MIT"
18
+
19
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
+ f.match(%r{^(test|spec|features)/})
21
+ end
22
+ spec.bindir = "exe"
23
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ["lib"]
25
+
26
+ spec.add_dependency "activerecord", ">= 5.0.0"
27
+ spec.add_dependency "activerecord-import", "~> 0.18.2"
28
+ spec.add_dependency "smarter_csv", "~> 1.1"
29
+
30
+ spec.add_development_dependency "awesome_print"
31
+ spec.add_development_dependency "bundler", "~> 1.14"
32
+ spec.add_development_dependency "database_cleaner", "~> 1.6.0"
33
+ spec.add_development_dependency "pg"
34
+ spec.add_development_dependency "pry"
35
+ spec.add_development_dependency "pry-doc"
36
+ spec.add_development_dependency "pry-nav"
37
+ spec.add_development_dependency "rake", "~> 10.0"
38
+ spec.add_development_dependency "rspec", "~> 3.0"
39
+ spec.add_development_dependency "rubocop", "~> 0.48.1"
40
+ spec.add_development_dependency "standalone_migrations", "~> 5.2.0"
41
+ end
metadata ADDED
@@ -0,0 +1,260 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: row_boat
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.alpha.1
5
+ platform: ruby
6
+ authors:
7
+ - Michael Crismali
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-05-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 5.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 5.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: activerecord-import
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.18.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.18.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: smarter_csv
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: awesome_print
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: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.14'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.14'
83
+ - !ruby/object:Gem::Dependency
84
+ name: database_cleaner
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.6.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.6.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: pg
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry-doc
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: pry-nav
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rake
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '10.0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '10.0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rspec
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '3.0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '3.0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rubocop
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: 0.48.1
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: 0.48.1
195
+ - !ruby/object:Gem::Dependency
196
+ name: standalone_migrations
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: 5.2.0
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: 5.2.0
209
+ description: Turn the rows of your CSV into rows in your database
210
+ email:
211
+ - michael@crismali.com
212
+ executables: []
213
+ extensions: []
214
+ extra_rdoc_files: []
215
+ files:
216
+ - ".gitignore"
217
+ - ".rspec"
218
+ - ".rubocop.yml"
219
+ - ".ruby-version"
220
+ - ".travis.yml"
221
+ - CODE_OF_CONDUCT.md
222
+ - Gemfile
223
+ - LICENSE.txt
224
+ - README.md
225
+ - Rakefile
226
+ - bin/console
227
+ - bin/setup
228
+ - db/config.yml
229
+ - db/migrate/20170511160154_create_products.rb
230
+ - db/schema.rb
231
+ - lib/row_boat.rb
232
+ - lib/row_boat/base.rb
233
+ - lib/row_boat/helpers.rb
234
+ - lib/row_boat/version.rb
235
+ - row_boat.gemspec
236
+ homepage: https://github.com/devmynd/row_boat
237
+ licenses:
238
+ - MIT
239
+ metadata: {}
240
+ post_install_message:
241
+ rdoc_options: []
242
+ require_paths:
243
+ - lib
244
+ required_ruby_version: !ruby/object:Gem::Requirement
245
+ requirements:
246
+ - - ">="
247
+ - !ruby/object:Gem::Version
248
+ version: '0'
249
+ required_rubygems_version: !ruby/object:Gem::Requirement
250
+ requirements:
251
+ - - ">"
252
+ - !ruby/object:Gem::Version
253
+ version: 1.3.1
254
+ requirements: []
255
+ rubyforge_project:
256
+ rubygems_version: 2.6.11
257
+ signing_key:
258
+ specification_version: 4
259
+ summary: Turn the rows of your CSV into rows in your database
260
+ test_files: []