mass_insert 0.2.1 → 0.2.2

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: dcd08fafb3c967238191c9fc3a81fa4bf41bfa93
4
- data.tar.gz: 07ba3ea20ada7a928771f9a335b06ef368fb138b
3
+ metadata.gz: f9c813a1d355a3033bd79ea76d6e2680dc50e84f
4
+ data.tar.gz: ce141093d4663e23ebef135d22fcce78d6c3e41f
5
5
  SHA512:
6
- metadata.gz: 90b7298142b00e005133046e1c5ff6bfb997ab094cd636f2ebc54ea59d9c9093efb85599c5b263e6f121f564fcbdc1f8d9f497e0bb2dc66a5ad4266b91e93a3d
7
- data.tar.gz: a579c207432272869fc7db8a2f959d2c5a89116e78d2acb984b6faccc881b754682450b887a10a8a27404a980b21d0acceeddb5ce39fa7471c6a72a354606560
6
+ metadata.gz: 010f53e134a7c33e9dc7cbd4796b10b9a5caec4cfd3fd3db9303d315da5cade8b60298a03910b641d949156ff01c42bd6223feccddcb52ac98c1648df1c3cab9
7
+ data.tar.gz: 1e573ff99bda7e7653a6c96e708893c2524584d960ad54a04cc1a9ffdcc50a0d236532629a9a48c25cbfe2df449ee9bed82c234352f28054ce9a275a067b8546
data/Gemfile CHANGED
@@ -1,11 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ # Specify your gem's dependencies in mass_insert.gemspec
3
4
  gemspec
4
5
 
5
- gem 'pg'
6
- gem 'mysql2'
7
- gem 'sqlite3'
8
- gem 'rake'
9
6
  gem 'simplecov'
10
- gem 'activerecord', '>= 4.0'
11
7
  gem 'coveralls', require: false
@@ -1,3 +1,3 @@
1
1
  module MassInsert
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
data/mass_insert.gemspec CHANGED
@@ -19,5 +19,11 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ['lib']
20
20
 
21
21
  spec.required_ruby_version = '>= 2.0.0'
22
+
22
23
  spec.add_dependency 'activerecord', '>= 4.0'
24
+
25
+ spec.add_development_dependency 'pg', '~> 0.18'
26
+ spec.add_development_dependency 'rake', '~> 11.1'
27
+ spec.add_development_dependency 'mysql2', '~> 0.4'
28
+ spec.add_development_dependency 'sqlite3', '~> 1.3'
23
29
  end
data/test/schema.rb CHANGED
@@ -6,6 +6,6 @@ ActiveRecord::Schema.define do
6
6
  t.decimal :money, precision: 10, scale: 2
7
7
  t.date :birth_date
8
8
 
9
- t.timestamps
9
+ t.timestamps null: false
10
10
  end
11
11
  end
data/test/test_helper.rb CHANGED
@@ -4,8 +4,8 @@ Coveralls.wear!
4
4
  require 'simplecov'
5
5
  SimpleCov.start
6
6
 
7
- require 'minitest/autorun'
8
7
  require 'logger'
8
+ require 'minitest/autorun'
9
9
  require 'active_record'
10
10
  require 'mass_insert'
11
11
  require 'fileutils'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mass_insert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Gutiérrez
@@ -24,6 +24,62 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pg
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.18'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.18'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '11.1'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '11.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: mysql2
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.4'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sqlite3
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.3'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.3'
27
83
  description: This gem aims to provide an easy and faster way to do single database
28
84
  insertions in Rails.
29
85
  email: