pseudo_cleaner 0.0.27 → 0.0.28
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 +8 -8
- data/lib/pseudo_cleaner/table_cleaner.rb +2 -2
- data/lib/pseudo_cleaner/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MGRjMGFmMTBkN2Y2MjUzNDUxMjdlNGUyMjkxMmUwMjdiOWM1YzY0NA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NWQzZTg1ODM1ZWMzNzI4MTJkZDA3ZjgzNDE2OGRjNTI2NGQxNzczNw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZGQ5NDRjMGZiOTJlMzI2YWVmMTljZGNhMDFlYzhkOTdiMzVjNDI5ZmEzMjIw
|
|
10
|
+
MmRkZjI5MTE1MThmZDkwNDIyNWE5YjA5NDkxNzcxNmMyYzQwODM1YWY1YTVl
|
|
11
|
+
Mjc2OTRmZThjYTJjNzZkYmU2ZmUxZjc5Mzk0Zjk1MWNiODBkMmI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ODY3ZmIyNDIwZDgyNjI5ODBlZTY4MzA2NDkxZjhmNGRlZGE5YzQ4YmJhZjdi
|
|
14
|
+
NzI4Yjk3ZTE1NGU1YTU4OWRiYjJlYTgzOTc3NjBlODA2ODYzNWM2MzdmOWYx
|
|
15
|
+
NmIyMzVjMmY1MjRkYTU0Y2NmOGExMGMzNzNkMmYwM2QyZGVmYTM=
|
|
@@ -544,12 +544,12 @@ module PseudoCleaner
|
|
|
544
544
|
unfiltered.
|
|
545
545
|
where("`#{initial_state[:updated][:column_name]}` > ?", initial_state[:created][:value])
|
|
546
546
|
elsif initial_state[:count]
|
|
547
|
-
dataset = sequel_model_table.unfiltered.
|
|
547
|
+
dataset = sequel_model_table.unfiltered.limit(99, initial_state[:count])
|
|
548
548
|
end
|
|
549
549
|
|
|
550
550
|
if dataset
|
|
551
551
|
dataset.each do |row|
|
|
552
|
-
block.yield sequel_model_table_name, row
|
|
552
|
+
block.yield sequel_model_table_name.gsub(/`([^`]+)`/, "\\1"), row
|
|
553
553
|
end
|
|
554
554
|
end
|
|
555
555
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pseudo_cleaner
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.28
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- RealNobody
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: colorize
|