bulk_insert 1.6.0 → 1.7.0
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 +4 -4
- data/README.md +18 -0
- data/lib/bulk_insert.rb +2 -2
- data/lib/bulk_insert/version.rb +1 -1
- data/lib/bulk_insert/worker.rb +23 -4
- data/test/bulk_insert/worker_test.rb +73 -11
- data/test/bulk_insert_test.rb +15 -1
- data/test/dummy/config/application.rb +1 -3
- data/test/dummy/log/test.log +3618 -0
- metadata +34 -34
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulk_insert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamis Buck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-27 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:
|
19
|
+
version: 3.2.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:
|
26
|
+
version: 3.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sqlite3
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 3.2.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 3.2.0
|
55
55
|
description: Faster inserts! Insert N records in a single statement.
|
56
56
|
email:
|
57
57
|
- jamis@jamisbuck.org
|
@@ -135,48 +135,48 @@ signing_key:
|
|
135
135
|
specification_version: 4
|
136
136
|
summary: An helper for doing batch (single-statement) inserts in ActiveRecord
|
137
137
|
test_files:
|
138
|
-
- test/
|
139
|
-
- test/
|
138
|
+
- test/dummy/app/models/testing.rb
|
139
|
+
- test/dummy/app/controllers/application_controller.rb
|
140
|
+
- test/dummy/app/views/layouts/application.html.erb
|
140
141
|
- test/dummy/app/assets/javascripts/application.js
|
141
142
|
- test/dummy/app/assets/stylesheets/application.css
|
142
|
-
- test/dummy/app/controllers/application_controller.rb
|
143
143
|
- test/dummy/app/helpers/application_helper.rb
|
144
|
-
- test/dummy/app/models/testing.rb
|
145
|
-
- test/dummy/app/views/layouts/application.html.erb
|
146
|
-
- test/dummy/bin/bundle
|
147
|
-
- test/dummy/bin/rails
|
148
144
|
- test/dummy/bin/rake
|
149
145
|
- test/dummy/bin/setup
|
150
|
-
- test/dummy/
|
151
|
-
- test/dummy/
|
152
|
-
- test/dummy/config/
|
153
|
-
- test/dummy/config/
|
154
|
-
- test/dummy/config/
|
146
|
+
- test/dummy/bin/bundle
|
147
|
+
- test/dummy/bin/rails
|
148
|
+
- test/dummy/config/secrets.yml
|
149
|
+
- test/dummy/config/routes.rb
|
150
|
+
- test/dummy/config/locales/en.yml
|
155
151
|
- test/dummy/config/environments/production.rb
|
152
|
+
- test/dummy/config/environments/development.rb
|
156
153
|
- test/dummy/config/environments/test.rb
|
157
|
-
- test/dummy/config/
|
154
|
+
- test/dummy/config/environment.rb
|
155
|
+
- test/dummy/config/application.rb
|
156
|
+
- test/dummy/config/database.yml
|
157
|
+
- test/dummy/config/boot.rb
|
158
158
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
159
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
160
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
161
|
-
- test/dummy/config/initializers/inflections.rb
|
162
159
|
- test/dummy/config/initializers/mime_types.rb
|
160
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
163
161
|
- test/dummy/config/initializers/session_store.rb
|
164
162
|
- test/dummy/config/initializers/wrap_parameters.rb
|
165
|
-
- test/dummy/config/
|
166
|
-
- test/dummy/config/
|
167
|
-
- test/dummy/config/
|
163
|
+
- test/dummy/config/initializers/assets.rb
|
164
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
165
|
+
- test/dummy/config/initializers/inflections.rb
|
168
166
|
- test/dummy/config.ru
|
169
|
-
- test/dummy/
|
170
|
-
- test/dummy/
|
171
|
-
- test/dummy/
|
167
|
+
- test/dummy/Rakefile
|
168
|
+
- test/dummy/public/favicon.ico
|
169
|
+
- test/dummy/public/422.html
|
170
|
+
- test/dummy/public/500.html
|
171
|
+
- test/dummy/public/404.html
|
172
172
|
- test/dummy/db/schema.rb
|
173
173
|
- test/dummy/db/test.sqlite3
|
174
|
-
- test/dummy/
|
174
|
+
- test/dummy/db/migrate/20151008181535_create_testings.rb
|
175
|
+
- test/dummy/db/migrate/20151028194232_add_default_value.rb
|
176
|
+
- test/dummy/db/development.sqlite3
|
175
177
|
- test/dummy/log/test.log
|
176
|
-
- test/dummy/
|
177
|
-
- test/dummy/public/422.html
|
178
|
-
- test/dummy/public/500.html
|
179
|
-
- test/dummy/public/favicon.ico
|
180
|
-
- test/dummy/Rakefile
|
178
|
+
- test/dummy/log/development.log
|
181
179
|
- test/dummy/README.rdoc
|
180
|
+
- test/bulk_insert_test.rb
|
182
181
|
- test/test_helper.rb
|
182
|
+
- test/bulk_insert/worker_test.rb
|