mass_insert 0.2.0 → 0.2.1

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: 048a8940b6950ce71e156538ee9e3e49fc4093e7
4
- data.tar.gz: c06223f8ded6fb2f4596fdb1514a57c02c90038e
3
+ metadata.gz: dcd08fafb3c967238191c9fc3a81fa4bf41bfa93
4
+ data.tar.gz: 07ba3ea20ada7a928771f9a335b06ef368fb138b
5
5
  SHA512:
6
- metadata.gz: 8016065eb3fc0076411860b949f4e0499a0754f7b3c4e2469573dc3094eb3f40a81fe2d50f60d947318c9db2504d648ef2ad17750914c631dc008d4bf37c151b
7
- data.tar.gz: fe0d19f977031e25ae993d9ccc8bb2534d442ca0cea307c63afc4bc3630cd4c4d036a41a7037e69b06fdcefe151e84adb7ac4b7c0399cb98d2e1b3c5d28a9f98
6
+ metadata.gz: 90b7298142b00e005133046e1c5ff6bfb997ab094cd636f2ebc54ea59d9c9093efb85599c5b263e6f121f564fcbdc1f8d9f497e0bb2dc66a5ad4266b91e93a3d
7
+ data.tar.gz: a579c207432272869fc7db8a2f959d2c5a89116e78d2acb984b6faccc881b754682450b887a10a8a27404a980b21d0acceeddb5ce39fa7471c6a72a354606560
data/.gitignore CHANGED
@@ -18,4 +18,5 @@ test/version_tmp
18
18
  test/database.yml
19
19
  tmp
20
20
  .rvmrc
21
- .rspec
21
+ .ruby-version
22
+ .ruby-gemset
data/.travis.yml CHANGED
@@ -1,14 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - '1.9.3'
4
- - '2.0.0'
5
- - '2.1.0'
6
-
7
- #env:
8
- #- 'AR_VERSION=3.2.17'
9
- #- 'AR_VERSION=4.0.3'
10
- #- 'AR_VERSION=4.1.0'
11
- #- 'AR_VERSION=master'
3
+ - 2.0.0
4
+ - 2.1.8
5
+ - 2.2.4
6
+ - 2.3.0
12
7
 
13
8
  before_script:
14
9
  - cp test/database.yml.example test/database.yml
data/Gemfile CHANGED
@@ -2,12 +2,10 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
+ gem 'pg'
5
6
  gem 'mysql2'
6
7
  gem 'sqlite3'
7
- gem 'pg'
8
-
8
+ gem 'rake'
9
9
  gem 'simplecov'
10
+ gem 'activerecord', '>= 4.0'
10
11
  gem 'coveralls', require: false
11
-
12
- gem 'rake'
13
- gem 'activerecord', '>= 3.2'
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
- # MassInsert [![Build Status](https://travis-ci.org/alejandrogutierrez/mass_insert.png?branch=master)](https://travis-ci.org/alejandrogutierrez/mass_insert) [![Coverage Status](https://coveralls.io/repos/alejandrogutierrez/mass_insert/badge.png)](https://coveralls.io/r/alejandrogutierrez/mass_insert)
1
+ # MassInsert
2
+ [![Build Status](https://travis-ci.org/alejandrodevs/mass_insert.png?branch=master)](https://travis-ci.org/alejandrodevs/mass_insert) [![Coverage Status](https://coveralls.io/repos/github/alejandrodevs/mass_insert/badge.svg?branch=master)](https://coveralls.io/github/alejandrodevs/mass_insert?branch=master)
2
3
 
3
4
  This gem aims to provide an easy and faster way to do single database insertions in Rails.
4
5
  Support Mysql, PostgreSQL and SQLite3 adapters. It depends on ActiveRecord.
@@ -1,3 +1,3 @@
1
1
  module MassInsert
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
data/mass_insert.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ['alejandrodevs@gmail.com']
11
11
  spec.summary = 'Mass database insertion in Rails'
12
12
  spec.description = 'This gem aims to provide an easy and faster way to do single database insertions in Rails.'
13
- spec.homepage = 'https://github.com/alejandrogutierrez/mass_insert'
13
+ spec.homepage = 'https://github.com/alejandrodevs/mass_insert'
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -18,6 +18,6 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.required_ruby_version = '>= 1.9.3'
22
- spec.add_dependency 'activerecord', '>= 3.2'
21
+ spec.required_ruby_version = '>= 2.0.0'
22
+ spec.add_dependency 'activerecord', '>= 4.0'
23
23
  end
data/test/test_helper.rb CHANGED
@@ -1,3 +1,9 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+
4
+ require 'simplecov'
5
+ SimpleCov.start
6
+
1
7
  require 'minitest/autorun'
2
8
  require 'logger'
3
9
  require 'active_record'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mass_insert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Gutiérrez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-19 00:00:00.000000000 Z
11
+ date: 2016-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.2'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '3.2'
26
+ version: '4.0'
27
27
  description: This gem aims to provide an easy and faster way to do single database
28
28
  insertions in Rails.
29
29
  email:
@@ -62,7 +62,7 @@ files:
62
62
  - test/support/adapters/sqlite3.rb
63
63
  - test/support/shared_examples.rb
64
64
  - test/test_helper.rb
65
- homepage: https://github.com/alejandrogutierrez/mass_insert
65
+ homepage: https://github.com/alejandrodevs/mass_insert
66
66
  licenses:
67
67
  - MIT
68
68
  metadata: {}
@@ -74,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ">="
76
76
  - !ruby/object:Gem::Version
77
- version: 1.9.3
77
+ version: 2.0.0
78
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project:
85
- rubygems_version: 2.2.2
85
+ rubygems_version: 2.5.1
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Mass database insertion in Rails