m2m_fast_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: 88cc29cf46fc6b132382cef73f80a838acf590c1
4
- data.tar.gz: 5b02bcd3776e2c7f20fcc4ec763614f306f314c8
3
+ metadata.gz: 61fbf11fe24b73c2b0975cd1a1ef6d314af6a950
4
+ data.tar.gz: f24f240308486d343a632111df59cb9debd3babc
5
5
  SHA512:
6
- metadata.gz: 08c0b19bd37edbc50374241d3ef3131513fd88dc0667c156e27055f39fd39158be79a0fd9ff6e386e3a735cff1f2df38f1aa0e16696607bfc0ff50482d142da4
7
- data.tar.gz: cea1737b0b637ede9126770d2fededee51b79d00a5ae9a791c0fe0789964e134f393d3e54d1e382df07126f542f0a796daf4230d355b9f8f5c53b91323b5cef4
6
+ metadata.gz: 858c8d538dfab2adf4fa12d9baa5bfdc04e781f0460ee91b39d7bdb044e395e1dc89ac5cfc54b5782c9a9a564511523b247349d462946d200717dba764822bc9
7
+ data.tar.gz: d9b4168cb06941a77062ab2e5f840f450b9fefc485eed6ee6a341ce08b391d62edcde6087294db11fa1900288db44c349efd7b34abff43725a7dcbe242401ee9
data/.gitignore CHANGED
@@ -1,4 +1,6 @@
1
1
  .bundle/
2
+ /gemfiles/.bundle
3
+ /gemfiles/vendor
2
4
  log/*.log
3
5
  pkg/
4
6
  spec/dummy/db/*.sqlite3
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2.4
1
+ 2.2.5
data/.travis.yml CHANGED
@@ -1,6 +1,19 @@
1
1
  language: ruby
2
+ sudo: false
3
+ cache: bundler
4
+ bundler_args: '--path vendor/bundle'
5
+ gemfile:
6
+ - gemfiles/32.gemfile
7
+ - gemfiles/40.gemfile
8
+ - gemfiles/41.gemfile
9
+ - gemfiles/42.gemfile
10
+ - gemfiles/50.gemfile
2
11
  rvm:
3
12
  - 2.1.10
4
13
  - 2.2.5
5
- # uncomment this line if your project needs to run something other than `rake`:
6
- # script: bundle exec rspec spec
14
+ script: bundle exec rake spec
15
+ # Rails is not supported on Ruby 2.1.x
16
+ matrix:
17
+ exclude:
18
+ - rvm: 2.1.10
19
+ gemfile: gemfiles/50.gemfile
data/README.markdown CHANGED
@@ -1,8 +1,8 @@
1
- # M2mFastInsert
1
+ # m2m_fast_insert
2
2
 
3
- [![TravisCI](https://secure.travis-ci.org/jphenow/m2m_fast_insert.png "TravisCI")](http://travis-ci.org/jphenow/m2m_fast_insert "Travis-CI M2MFastInsert")
4
- [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/jphenow/m2m_fast_insert)
5
- [Ruby Gems](https://rubygems.org/gems/m2m_fast_insert)
3
+ [![TravisCI](https://secure.travis-ci.org/sportngin/m2m_fast_insert.png "TravisCI")](http://travis-ci.org/sportngin/m2m_fast_insert "Travis-CI m2m_fast_insert")
4
+ [![Code Climate](https://codeclimate.com/github/sportngin/m2m_fast_insert/badges/gpa.svg)](https://codeclimate.com/github/sportngin/m2m_fast_insert)
5
+ [![Gem Version](https://badge.fury.io/rb/m2m_fast_insert.svg)](https://rubygems.org/gems/m2m_fast_insert)
6
6
 
7
7
  # Why
8
8
 
data/Rakefile CHANGED
@@ -1,9 +1,8 @@
1
1
  require 'rake'
2
- begin
3
- require 'bundler/setup'
4
- rescue LoadError
5
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
- end
2
+ require 'bundler/setup'
3
+ require 'bundler/gem_tasks'
4
+ require 'wwtd/tasks'
5
+
7
6
  begin
8
7
  require 'rdoc/task'
9
8
  rescue LoadError
@@ -24,7 +23,4 @@ require 'rspec/core/rake_task'
24
23
 
25
24
  RSpec::Core::RakeTask.new('spec')
26
25
 
27
-
28
- Bundler::GemHelper.install_tasks
29
-
30
- task :default => :spec
26
+ task :default => "wwtd:local"
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path=>"../"
4
+
5
+ gem "activerecord", "~> 3.2.22"
@@ -0,0 +1,64 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ m2m_fast_insert (0.2.0)
5
+ activerecord (>= 3.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (3.2.22)
11
+ activesupport (= 3.2.22)
12
+ builder (~> 3.0.0)
13
+ activerecord (3.2.22)
14
+ activemodel (= 3.2.22)
15
+ activesupport (= 3.2.22)
16
+ arel (~> 3.0.2)
17
+ tzinfo (~> 0.3.29)
18
+ activesupport (3.2.22)
19
+ i18n (~> 0.6, >= 0.6.4)
20
+ multi_json (~> 1.0)
21
+ arel (3.0.3)
22
+ builder (3.0.4)
23
+ diff-lcs (1.2.5)
24
+ docile (1.1.5)
25
+ i18n (0.6.11)
26
+ json (1.8.3)
27
+ multi_json (1.11.2)
28
+ rake (10.4.2)
29
+ rspec (3.5.0)
30
+ rspec-core (~> 3.5.0)
31
+ rspec-expectations (~> 3.5.0)
32
+ rspec-mocks (~> 3.5.0)
33
+ rspec-core (3.5.1)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-expectations (3.5.0)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.5.0)
38
+ rspec-mocks (3.5.0)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.5.0)
41
+ rspec-support (3.5.0)
42
+ simplecov (0.12.0)
43
+ docile (~> 1.1.0)
44
+ json (>= 1.8, < 3)
45
+ simplecov-html (~> 0.10.0)
46
+ simplecov-html (0.10.0)
47
+ sqlite3 (1.3.11)
48
+ tzinfo (0.3.45)
49
+ wwtd (1.1.1)
50
+
51
+ PLATFORMS
52
+ ruby
53
+
54
+ DEPENDENCIES
55
+ activerecord (~> 3.2.22)
56
+ m2m_fast_insert!
57
+ rake
58
+ rspec
59
+ simplecov
60
+ sqlite3
61
+ wwtd
62
+
63
+ BUNDLED WITH
64
+ 1.12.5
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path=>"../"
4
+
5
+ gem "activerecord", "~> 4.0.13"
@@ -0,0 +1,70 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ m2m_fast_insert (0.2.0)
5
+ activerecord (>= 3.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (4.0.13)
11
+ activesupport (= 4.0.13)
12
+ builder (~> 3.1.0)
13
+ activerecord (4.0.13)
14
+ activemodel (= 4.0.13)
15
+ activerecord-deprecated_finders (~> 1.0.2)
16
+ activesupport (= 4.0.13)
17
+ arel (~> 4.0.0)
18
+ activerecord-deprecated_finders (1.0.4)
19
+ activesupport (4.0.13)
20
+ i18n (~> 0.6, >= 0.6.9)
21
+ minitest (~> 4.2)
22
+ multi_json (~> 1.3)
23
+ thread_safe (~> 0.1)
24
+ tzinfo (~> 0.3.37)
25
+ arel (4.0.2)
26
+ builder (3.1.4)
27
+ diff-lcs (1.2.5)
28
+ docile (1.1.5)
29
+ i18n (0.7.0)
30
+ json (2.0.1)
31
+ minitest (4.7.5)
32
+ multi_json (1.11.2)
33
+ rake (10.4.2)
34
+ rspec (3.5.0)
35
+ rspec-core (~> 3.5.0)
36
+ rspec-expectations (~> 3.5.0)
37
+ rspec-mocks (~> 3.5.0)
38
+ rspec-core (3.5.1)
39
+ rspec-support (~> 3.5.0)
40
+ rspec-expectations (3.5.0)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.5.0)
43
+ rspec-mocks (3.5.0)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.5.0)
46
+ rspec-support (3.5.0)
47
+ simplecov (0.12.0)
48
+ docile (~> 1.1.0)
49
+ json (>= 1.8, < 3)
50
+ simplecov-html (~> 0.10.0)
51
+ simplecov-html (0.10.0)
52
+ sqlite3 (1.3.11)
53
+ thread_safe (0.3.5)
54
+ tzinfo (0.3.45)
55
+ wwtd (1.1.1)
56
+
57
+ PLATFORMS
58
+ ruby
59
+
60
+ DEPENDENCIES
61
+ activerecord (~> 4.0.13)
62
+ m2m_fast_insert!
63
+ rake
64
+ rspec
65
+ simplecov
66
+ sqlite3
67
+ wwtd
68
+
69
+ BUNDLED WITH
70
+ 1.12.5
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path=>"../"
4
+
5
+ gem "activerecord", "~> 4.1.15"
@@ -0,0 +1,68 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ m2m_fast_insert (0.2.0)
5
+ activerecord (>= 3.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (4.1.15)
11
+ activesupport (= 4.1.15)
12
+ builder (~> 3.1)
13
+ activerecord (4.1.15)
14
+ activemodel (= 4.1.15)
15
+ activesupport (= 4.1.15)
16
+ arel (~> 5.0.0)
17
+ activesupport (4.1.15)
18
+ i18n (~> 0.6, >= 0.6.9)
19
+ json (~> 1.7, >= 1.7.7)
20
+ minitest (~> 5.1)
21
+ thread_safe (~> 0.1)
22
+ tzinfo (~> 1.1)
23
+ arel (5.0.1.20140414130214)
24
+ builder (3.2.2)
25
+ diff-lcs (1.2.5)
26
+ docile (1.1.5)
27
+ i18n (0.7.0)
28
+ json (1.8.3)
29
+ minitest (5.9.0)
30
+ rake (10.4.2)
31
+ rspec (3.5.0)
32
+ rspec-core (~> 3.5.0)
33
+ rspec-expectations (~> 3.5.0)
34
+ rspec-mocks (~> 3.5.0)
35
+ rspec-core (3.5.1)
36
+ rspec-support (~> 3.5.0)
37
+ rspec-expectations (3.5.0)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.5.0)
40
+ rspec-mocks (3.5.0)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.5.0)
43
+ rspec-support (3.5.0)
44
+ simplecov (0.12.0)
45
+ docile (~> 1.1.0)
46
+ json (>= 1.8, < 3)
47
+ simplecov-html (~> 0.10.0)
48
+ simplecov-html (0.10.0)
49
+ sqlite3 (1.3.11)
50
+ thread_safe (0.3.5)
51
+ tzinfo (1.2.2)
52
+ thread_safe (~> 0.1)
53
+ wwtd (1.1.1)
54
+
55
+ PLATFORMS
56
+ ruby
57
+
58
+ DEPENDENCIES
59
+ activerecord (~> 4.1.15)
60
+ m2m_fast_insert!
61
+ rake
62
+ rspec
63
+ simplecov
64
+ sqlite3
65
+ wwtd
66
+
67
+ BUNDLED WITH
68
+ 1.12.5
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path=>"../"
4
+
5
+ gem "activerecord", "~> 4.2.6"
6
+
@@ -0,0 +1,68 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ m2m_fast_insert (0.2.0)
5
+ activerecord (>= 3.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (4.2.6)
11
+ activesupport (= 4.2.6)
12
+ builder (~> 3.1)
13
+ activerecord (4.2.6)
14
+ activemodel (= 4.2.6)
15
+ activesupport (= 4.2.6)
16
+ arel (~> 6.0)
17
+ activesupport (4.2.6)
18
+ i18n (~> 0.7)
19
+ json (~> 1.7, >= 1.7.7)
20
+ minitest (~> 5.1)
21
+ thread_safe (~> 0.3, >= 0.3.4)
22
+ tzinfo (~> 1.1)
23
+ arel (6.0.3)
24
+ builder (3.2.2)
25
+ diff-lcs (1.2.5)
26
+ docile (1.1.5)
27
+ i18n (0.7.0)
28
+ json (1.8.3)
29
+ minitest (5.9.0)
30
+ rake (10.4.2)
31
+ rspec (3.5.0)
32
+ rspec-core (~> 3.5.0)
33
+ rspec-expectations (~> 3.5.0)
34
+ rspec-mocks (~> 3.5.0)
35
+ rspec-core (3.5.1)
36
+ rspec-support (~> 3.5.0)
37
+ rspec-expectations (3.5.0)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.5.0)
40
+ rspec-mocks (3.5.0)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.5.0)
43
+ rspec-support (3.5.0)
44
+ simplecov (0.12.0)
45
+ docile (~> 1.1.0)
46
+ json (>= 1.8, < 3)
47
+ simplecov-html (~> 0.10.0)
48
+ simplecov-html (0.10.0)
49
+ sqlite3 (1.3.11)
50
+ thread_safe (0.3.5)
51
+ tzinfo (1.2.2)
52
+ thread_safe (~> 0.1)
53
+ wwtd (1.1.1)
54
+
55
+ PLATFORMS
56
+ ruby
57
+
58
+ DEPENDENCIES
59
+ activerecord (~> 4.2.6)
60
+ m2m_fast_insert!
61
+ rake
62
+ rspec
63
+ simplecov
64
+ sqlite3
65
+ wwtd
66
+
67
+ BUNDLED WITH
68
+ 1.12.5
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path=>"../"
4
+
5
+ gem "activerecord", "~> 5.0.0"
6
+
@@ -0,0 +1,66 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ m2m_fast_insert (0.2.0)
5
+ activerecord (>= 3.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (5.0.0)
11
+ activesupport (= 5.0.0)
12
+ activerecord (5.0.0)
13
+ activemodel (= 5.0.0)
14
+ activesupport (= 5.0.0)
15
+ arel (~> 7.0)
16
+ activesupport (5.0.0)
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (~> 0.7)
19
+ minitest (~> 5.1)
20
+ tzinfo (~> 1.1)
21
+ arel (7.0.0)
22
+ concurrent-ruby (1.0.2)
23
+ diff-lcs (1.2.5)
24
+ docile (1.1.5)
25
+ i18n (0.7.0)
26
+ json (2.0.1)
27
+ minitest (5.9.0)
28
+ rake (11.2.2)
29
+ rspec (3.5.0)
30
+ rspec-core (~> 3.5.0)
31
+ rspec-expectations (~> 3.5.0)
32
+ rspec-mocks (~> 3.5.0)
33
+ rspec-core (3.5.1)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-expectations (3.5.0)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.5.0)
38
+ rspec-mocks (3.5.0)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.5.0)
41
+ rspec-support (3.5.0)
42
+ simplecov (0.12.0)
43
+ docile (~> 1.1.0)
44
+ json (>= 1.8, < 3)
45
+ simplecov-html (~> 0.10.0)
46
+ simplecov-html (0.10.0)
47
+ sqlite3 (1.3.11)
48
+ thread_safe (0.3.5)
49
+ tzinfo (1.2.2)
50
+ thread_safe (~> 0.1)
51
+ wwtd (1.3.0)
52
+
53
+ PLATFORMS
54
+ ruby
55
+
56
+ DEPENDENCIES
57
+ activerecord (~> 5.0.0)
58
+ m2m_fast_insert!
59
+ rake
60
+ rspec
61
+ simplecov
62
+ sqlite3
63
+ wwtd
64
+
65
+ BUNDLED WITH
66
+ 1.12.5
@@ -1,3 +1,3 @@
1
1
  module M2MFastInsert
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -22,12 +22,11 @@ Gem::Specification.new do |s|
22
22
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
23
23
  s.require_paths = ["lib"]
24
24
 
25
- s.add_dependency "rails", [">= 3.0.0", "< 4.0.0"]
26
- s.add_runtime_dependency('activerecord', [">= 3.0.0", "< 4.0.0"])
27
- s.add_runtime_dependency('activesupport', [">= 3.0.0", "< 4.0.0"])
25
+ s.add_runtime_dependency 'activerecord', ">= 3.2"
28
26
 
27
+ s.add_development_dependency "wwtd"
29
28
  s.add_development_dependency "rake"
30
- s.add_development_dependency "rspec-rails"
29
+ s.add_development_dependency "rspec"
31
30
  s.add_development_dependency "sqlite3"
32
31
  s.add_development_dependency "simplecov"
33
32
  end
metadata CHANGED
@@ -1,75 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: m2m_fast_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
  - Jon Phenow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-12 00:00:00.000000000 Z
11
+ date: 2016-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rails
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 3.0.0
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 4.0.0
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 3.0.0
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: 4.0.0
33
13
  - !ruby/object:Gem::Dependency
34
14
  name: activerecord
35
15
  requirement: !ruby/object:Gem::Requirement
36
16
  requirements:
37
17
  - - ">="
38
18
  - !ruby/object:Gem::Version
39
- version: 3.0.0
40
- - - "<"
41
- - !ruby/object:Gem::Version
42
- version: 4.0.0
19
+ version: '3.2'
43
20
  type: :runtime
44
21
  prerelease: false
45
22
  version_requirements: !ruby/object:Gem::Requirement
46
23
  requirements:
47
24
  - - ">="
48
25
  - !ruby/object:Gem::Version
49
- version: 3.0.0
50
- - - "<"
51
- - !ruby/object:Gem::Version
52
- version: 4.0.0
26
+ version: '3.2'
53
27
  - !ruby/object:Gem::Dependency
54
- name: activesupport
28
+ name: wwtd
55
29
  requirement: !ruby/object:Gem::Requirement
56
30
  requirements:
57
31
  - - ">="
58
32
  - !ruby/object:Gem::Version
59
- version: 3.0.0
60
- - - "<"
61
- - !ruby/object:Gem::Version
62
- version: 4.0.0
63
- type: :runtime
33
+ version: '0'
34
+ type: :development
64
35
  prerelease: false
65
36
  version_requirements: !ruby/object:Gem::Requirement
66
37
  requirements:
67
38
  - - ">="
68
39
  - !ruby/object:Gem::Version
69
- version: 3.0.0
70
- - - "<"
71
- - !ruby/object:Gem::Version
72
- version: 4.0.0
40
+ version: '0'
73
41
  - !ruby/object:Gem::Dependency
74
42
  name: rake
75
43
  requirement: !ruby/object:Gem::Requirement
@@ -85,7 +53,7 @@ dependencies:
85
53
  - !ruby/object:Gem::Version
86
54
  version: '0'
87
55
  - !ruby/object:Gem::Dependency
88
- name: rspec-rails
56
+ name: rspec
89
57
  requirement: !ruby/object:Gem::Requirement
90
58
  requirements:
91
59
  - - ">="
@@ -141,11 +109,20 @@ files:
141
109
  - MIT-LICENSE
142
110
  - README.markdown
143
111
  - Rakefile
112
+ - gemfiles/32.gemfile
113
+ - gemfiles/32.gemfile.lock
114
+ - gemfiles/40.gemfile
115
+ - gemfiles/40.gemfile.lock
116
+ - gemfiles/41.gemfile
117
+ - gemfiles/41.gemfile.lock
118
+ - gemfiles/42.gemfile
119
+ - gemfiles/42.gemfile.lock
120
+ - gemfiles/50.gemfile
121
+ - gemfiles/50.gemfile.lock
144
122
  - lib/m2m_fast_insert.rb
145
123
  - lib/m2m_fast_insert/base.rb
146
124
  - lib/m2m_fast_insert/has_and_belongs_to_many_override.rb
147
125
  - lib/m2m_fast_insert/version.rb
148
- - lib/tasks/m2m_fast_insert_tasks.rake
149
126
  - m2m_fast_insert.gemspec
150
127
  - spec/m2m_fast_insert/base_spec.rb
151
128
  - spec/m2m_fast_insert/has_and_belongs_to_many_override_spec.rb
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :m2m_fast_insert do
3
- # # Task goes here
4
- # end