m2m_fast_insert 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -1
- data/Gemfile.lock +78 -71
- data/README.markdown +6 -0
- data/lib/m2m_fast_insert/has_and_belongs_to_many_override.rb +1 -1
- data/lib/m2m_fast_insert/version.rb +1 -1
- data/m2m_fast_insert.gemspec +1 -1
- metadata +14 -8
data/.rvmrc
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,96 +1,103 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
m2m_fast_insert (0.0
|
4
|
+
m2m_fast_insert (0.1.0)
|
5
5
|
activerecord (>= 3.0.0, < 4.0.0)
|
6
6
|
activesupport (>= 3.0.0, < 4.0.0)
|
7
|
-
rails (
|
7
|
+
rails (>= 3.0.0, < 4.0.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: http://rubygems.org/
|
11
11
|
specs:
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
rack (~> 1.2
|
23
|
-
rack-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
arel (
|
40
|
-
builder (
|
41
|
-
diff-lcs (1.
|
42
|
-
erubis (2.
|
43
|
-
|
44
|
-
i18n (0.5
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
i18n (>= 0.4.0)
|
12
|
+
actionmailer (3.2.15)
|
13
|
+
actionpack (= 3.2.15)
|
14
|
+
mail (~> 2.5.4)
|
15
|
+
actionpack (3.2.15)
|
16
|
+
activemodel (= 3.2.15)
|
17
|
+
activesupport (= 3.2.15)
|
18
|
+
builder (~> 3.0.0)
|
19
|
+
erubis (~> 2.7.0)
|
20
|
+
journey (~> 1.0.4)
|
21
|
+
rack (~> 1.4.5)
|
22
|
+
rack-cache (~> 1.2)
|
23
|
+
rack-test (~> 0.6.1)
|
24
|
+
sprockets (~> 2.2.1)
|
25
|
+
activemodel (3.2.15)
|
26
|
+
activesupport (= 3.2.15)
|
27
|
+
builder (~> 3.0.0)
|
28
|
+
activerecord (3.2.15)
|
29
|
+
activemodel (= 3.2.15)
|
30
|
+
activesupport (= 3.2.15)
|
31
|
+
arel (~> 3.0.2)
|
32
|
+
tzinfo (~> 0.3.29)
|
33
|
+
activeresource (3.2.15)
|
34
|
+
activemodel (= 3.2.15)
|
35
|
+
activesupport (= 3.2.15)
|
36
|
+
activesupport (3.2.15)
|
37
|
+
i18n (~> 0.6, >= 0.6.4)
|
38
|
+
multi_json (~> 1.0)
|
39
|
+
arel (3.0.2)
|
40
|
+
builder (3.0.4)
|
41
|
+
diff-lcs (1.2.5)
|
42
|
+
erubis (2.7.0)
|
43
|
+
hike (1.2.3)
|
44
|
+
i18n (0.6.5)
|
45
|
+
journey (1.0.4)
|
46
|
+
json (1.8.1)
|
47
|
+
mail (2.5.4)
|
49
48
|
mime-types (~> 1.16)
|
50
49
|
treetop (~> 1.4.8)
|
51
|
-
mime-types (1.
|
50
|
+
mime-types (1.25)
|
51
|
+
multi_json (1.8.2)
|
52
52
|
polyglot (0.3.3)
|
53
|
-
rack (1.
|
54
|
-
rack-
|
55
|
-
rack (>=
|
56
|
-
rack-
|
53
|
+
rack (1.4.5)
|
54
|
+
rack-cache (1.2)
|
55
|
+
rack (>= 0.4)
|
56
|
+
rack-ssl (1.3.3)
|
57
|
+
rack
|
58
|
+
rack-test (0.6.2)
|
57
59
|
rack (>= 1.0)
|
58
|
-
rails (3.
|
59
|
-
actionmailer (= 3.
|
60
|
-
actionpack (= 3.
|
61
|
-
activerecord (= 3.
|
62
|
-
activeresource (= 3.
|
63
|
-
activesupport (= 3.
|
60
|
+
rails (3.2.15)
|
61
|
+
actionmailer (= 3.2.15)
|
62
|
+
actionpack (= 3.2.15)
|
63
|
+
activerecord (= 3.2.15)
|
64
|
+
activeresource (= 3.2.15)
|
65
|
+
activesupport (= 3.2.15)
|
64
66
|
bundler (~> 1.0)
|
65
|
-
railties (= 3.
|
66
|
-
railties (3.
|
67
|
-
actionpack (= 3.
|
68
|
-
activesupport (= 3.
|
67
|
+
railties (= 3.2.15)
|
68
|
+
railties (3.2.15)
|
69
|
+
actionpack (= 3.2.15)
|
70
|
+
activesupport (= 3.2.15)
|
71
|
+
rack-ssl (~> 1.3.2)
|
69
72
|
rake (>= 0.8.7)
|
70
73
|
rdoc (~> 3.4)
|
71
|
-
thor (
|
72
|
-
rake (
|
73
|
-
rdoc (3.12)
|
74
|
+
thor (>= 0.14.6, < 2.0)
|
75
|
+
rake (10.1.0)
|
76
|
+
rdoc (3.12.2)
|
74
77
|
json (~> 1.4)
|
75
|
-
rspec (2.
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
rspec-
|
80
|
-
rspec-expectations (2.10.0)
|
81
|
-
diff-lcs (~> 1.1.3)
|
82
|
-
rspec-mocks (2.10.1)
|
83
|
-
rspec-rails (2.10.1)
|
78
|
+
rspec-core (2.14.7)
|
79
|
+
rspec-expectations (2.14.4)
|
80
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
81
|
+
rspec-mocks (2.14.4)
|
82
|
+
rspec-rails (2.14.0)
|
84
83
|
actionpack (>= 3.0)
|
85
84
|
activesupport (>= 3.0)
|
86
85
|
railties (>= 3.0)
|
87
|
-
rspec (~> 2.
|
88
|
-
|
89
|
-
|
90
|
-
|
86
|
+
rspec-core (~> 2.14.0)
|
87
|
+
rspec-expectations (~> 2.14.0)
|
88
|
+
rspec-mocks (~> 2.14.0)
|
89
|
+
sprockets (2.2.2)
|
90
|
+
hike (~> 1.2)
|
91
|
+
multi_json (~> 1.0)
|
92
|
+
rack (~> 1.0)
|
93
|
+
tilt (~> 1.1, != 1.3.0)
|
94
|
+
sqlite3 (1.3.8)
|
95
|
+
thor (0.18.1)
|
96
|
+
tilt (1.4.1)
|
97
|
+
treetop (1.4.15)
|
91
98
|
polyglot
|
92
99
|
polyglot (>= 0.3.1)
|
93
|
-
tzinfo (0.3.
|
100
|
+
tzinfo (0.3.38)
|
94
101
|
|
95
102
|
PLATFORMS
|
96
103
|
ruby
|
data/README.markdown
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# M2mFastInsert
|
2
2
|
|
3
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)
|
4
5
|
[Ruby Gems](https://rubygems.org/gems/m2m_fast_insert)
|
5
6
|
|
6
7
|
# Why
|
@@ -30,3 +31,8 @@ end
|
|
30
31
|
```
|
31
32
|
|
32
33
|
This project rocks and uses MIT-LICENSE.
|
34
|
+
|
35
|
+
# TODO
|
36
|
+
|
37
|
+
* Allow options for how hard to fail with missing ID or ID params
|
38
|
+
* Fall back to the rails-y insert on an empty ID?
|
data/m2m_fast_insert.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
22
22
|
s.require_paths = ["lib"]
|
23
23
|
|
24
|
-
s.add_dependency "rails", "
|
24
|
+
s.add_dependency "rails", [">= 3.0.0", "< 4.0.0"]
|
25
25
|
s.add_runtime_dependency('activerecord', [">= 3.0.0", "< 4.0.0"])
|
26
26
|
s.add_runtime_dependency('activesupport', [">= 3.0.0", "< 4.0.0"])
|
27
27
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: m2m_fast_insert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,30 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.0.
|
21
|
+
version: 3.0.0
|
22
|
+
- - <
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 4.0.0
|
22
25
|
type: :runtime
|
23
26
|
prerelease: false
|
24
27
|
version_requirements: !ruby/object:Gem::Requirement
|
25
28
|
none: false
|
26
29
|
requirements:
|
27
|
-
- -
|
30
|
+
- - ! '>='
|
28
31
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.0.
|
32
|
+
version: 3.0.0
|
33
|
+
- - <
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 4.0.0
|
30
36
|
- !ruby/object:Gem::Dependency
|
31
37
|
name: activerecord
|
32
38
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,7 +166,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
160
166
|
version: '0'
|
161
167
|
segments:
|
162
168
|
- 0
|
163
|
-
hash:
|
169
|
+
hash: -1663646844121288765
|
164
170
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
171
|
none: false
|
166
172
|
requirements:
|
@@ -169,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
175
|
version: '0'
|
170
176
|
segments:
|
171
177
|
- 0
|
172
|
-
hash:
|
178
|
+
hash: -1663646844121288765
|
173
179
|
requirements: []
|
174
180
|
rubyforge_project: m2m_fast_insert
|
175
181
|
rubygems_version: 1.8.24
|