umbrellio-utils 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -2
- data/lib/umbrellio_utils/database.rb +3 -1
- data/lib/umbrellio_utils/version.rb +1 -1
- data/umbrellio_utils.gemspec +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f1da3d7102c650b1eab97c3bcd0e1b591ce801cd6d059fd587d08973584caec
|
4
|
+
data.tar.gz: a0c872a73093def0f6619ef4470483246509b1354ae9b2d18cef072b57468de7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 152ec5b9c0664c3c25726f94f9feac298465ed8d779057d27ad19e58cd5b18f614871857467cf5452ca5aa904a640ed84789a9442feef2924807943f0bf9b692
|
7
|
+
data.tar.gz: f6d80689b65a50b82bdadc32d3a4ee391e4c18be22111e5e20204cf5401d91ebcabdfd358520d04201d405835bb79debee639ed0fb8e034e2845f1599cdcce92
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
umbrellio-utils (0.4.
|
4
|
+
umbrellio-utils (0.4.2)
|
5
5
|
memery (~> 1)
|
6
6
|
|
7
7
|
GEM
|
@@ -35,6 +35,10 @@ GEM
|
|
35
35
|
ruby2_keywords (~> 0.0.2)
|
36
36
|
method_source (1.0.0)
|
37
37
|
minitest (5.14.4)
|
38
|
+
nokogiri (1.12.5-arm64-darwin)
|
39
|
+
racc (~> 1.4)
|
40
|
+
nokogiri (1.12.5-x86_64-darwin)
|
41
|
+
racc (~> 1.4)
|
38
42
|
nokogiri (1.12.5-x86_64-linux)
|
39
43
|
racc (~> 1.4)
|
40
44
|
nori (2.6.0)
|
@@ -112,6 +116,7 @@ GEM
|
|
112
116
|
simplecov_json_formatter (0.1.3)
|
113
117
|
symbiont-ruby (0.7.0)
|
114
118
|
thor (1.1.0)
|
119
|
+
timecop (0.9.4)
|
115
120
|
tzinfo (2.0.4)
|
116
121
|
concurrent-ruby (~> 1.0)
|
117
122
|
umbrellio-sequel-plugins (0.5.1.27)
|
@@ -122,6 +127,7 @@ GEM
|
|
122
127
|
zeitwerk (2.5.1)
|
123
128
|
|
124
129
|
PLATFORMS
|
130
|
+
arm64-darwin-20
|
125
131
|
x86_64-darwin-20
|
126
132
|
x86_64-linux
|
127
133
|
|
@@ -140,8 +146,9 @@ DEPENDENCIES
|
|
140
146
|
semantic_logger
|
141
147
|
simplecov
|
142
148
|
simplecov-lcov
|
149
|
+
timecop
|
143
150
|
umbrellio-utils!
|
144
151
|
yard
|
145
152
|
|
146
153
|
BUNDLED WITH
|
147
|
-
2.2.
|
154
|
+
2.2.31
|
@@ -67,7 +67,9 @@ module UmbrellioUtils
|
|
67
67
|
type = model.db_schema[primary_key][:db_type]
|
68
68
|
|
69
69
|
DB.drop_table?(temp_table_name)
|
70
|
-
DB.create_table(temp_table_name
|
70
|
+
DB.create_table(temp_table_name, unlogged: true) do
|
71
|
+
column primary_key, type, primary_key: true
|
72
|
+
end
|
71
73
|
|
72
74
|
insert_ds = dataset.select(Sequel[model.table_name][primary_key])
|
73
75
|
DB[temp_table_name].insert(insert_ds)
|
data/umbrellio_utils.gemspec
CHANGED
@@ -43,5 +43,6 @@ Gem::Specification.new do |spec|
|
|
43
43
|
spec.add_development_dependency "semantic_logger"
|
44
44
|
spec.add_development_dependency "simplecov"
|
45
45
|
spec.add_development_dependency "simplecov-lcov"
|
46
|
+
spec.add_development_dependency "timecop"
|
46
47
|
spec.add_development_dependency "yard"
|
47
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: umbrellio-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JustAnotherDude
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: memery
|
@@ -220,6 +220,20 @@ dependencies:
|
|
220
220
|
- - ">="
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: timecop
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
223
237
|
- !ruby/object:Gem::Dependency
|
224
238
|
name: yard
|
225
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -295,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
309
|
- !ruby/object:Gem::Version
|
296
310
|
version: '0'
|
297
311
|
requirements: []
|
298
|
-
rubygems_version: 3.2.
|
312
|
+
rubygems_version: 3.2.31
|
299
313
|
signing_key:
|
300
314
|
specification_version: 4
|
301
315
|
summary: A set of utilities that speed up development
|