redis_counters-dumpers 1.2.0 → 1.2.1
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/.drone.yml +11 -0
- data/CHANGELOG.md +36 -19
- data/Gemfile +1 -0
- data/lib/redis_counters/dumpers/engine.rb +10 -4
- data/lib/redis_counters/dumpers/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f9e7a48c4a5744051a571af5bda53bcadb83828
|
|
4
|
+
data.tar.gz: 4218fab18de8290d51d3fc685ba997ac964e6224
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cff6a03f6a5d7f7037e90a5cf953806d05227d247e1bb12261b0dd2d78a10ad59b3e5851f87f61a7e6ebbfb20d4f87d5494f81799804a501996decaa0e5da3fc
|
|
7
|
+
data.tar.gz: 7454b1bfe68aea37df4cd14aefc65c41ff6586a278738d0da60348e77c60fa51a0e8945ea39ebd794d5e6e1e662bc7b1e64a86db1d7ea28f56f9a9ec10a2824a
|
data/.drone.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,42 @@
|
|
|
1
|
+
# v1.2.1
|
|
1
2
|
|
|
2
|
-
|
|
3
|
+
* 2018-12-27 [dca67bc](../../commit/dca67bc) - __(Andrew N. Shalaev)__ feature: add autopublication to rubygems.org
|
|
4
|
+
* 2018-12-21 [f4e57f5](../../commit/f4e57f5) - __(Andrew N. Shalaev)__ Release v1.2.1
|
|
5
|
+
* 2018-12-26 [21b57c8](../../commit/21b57c8) - __(Andrew N. Shalaev)__ fix: constraint pg gem
|
|
6
|
+
* 2018-12-21 [2f4ceab](../../commit/2f4ceab) - __(Andrew N. Shalaev)__ feature: add support for redis >= v4
|
|
3
7
|
|
|
8
|
+
# v1.2.0
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* 2017-06-21 [fc29058](../../commit/fc29058) - __(Pavel Galkin)__ feat: matching_expr option for destination
|
|
8
|
-
* 2017-06-20 [d21a7d8](../../commit/d21a7d8) - __(Pavel Galkin)__ chore: update infrastructure
|
|
10
|
+
* 2017-11-13 [bd94a94](../../commit/bd94a94) - __(Artem Napolskih)__ fix: specs for redis_counters 1.5
|
|
11
|
+
* 2017-11-13 [5641228](../../commit/5641228) - __(Artem Napolskih)__ chore: remove hstore dependency
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
* 2016-10-14 [704ad6d](../../commit/704ad6d) - __(Semyon Pupkov)__ Bump version
|
|
12
|
-
* 2016-09-05 [0bf4850](../../commit/0bf4850) - __(vadshalamov)__ feature: позволит не задавать increment_fields
|
|
13
|
-
* 2016-08-31 [b5c9bd9](../../commit/b5c9bd9) - __(vadshalamov)__ feature: добавит hstore в список возможных полей
|
|
14
|
-
* 2016-08-31 [3b0235c](../../commit/3b0235c) - __(vadshalamov)__ feature: позволит передавать набор аргументов для дампа
|
|
15
|
-
* 2016-07-18 [caa913e](../../commit/caa913e) - __(Stanislav Gordanov)__ feat: добавит enum тип в список возможных полей
|
|
16
|
-
* 2016-05-27 [bbb7119](../../commit/bbb7119) - __(Michail Merkushin)__ fix: Remove CTE favor temp table
|
|
13
|
+
# v1.1.0
|
|
17
14
|
|
|
18
|
-
|
|
19
|
-
* 2015-09-15 [bf8cde3](../../commit/bf8cde3) - __(ZhidkovDenis)__ Release 0.1.0
|
|
20
|
-
* 2015-09-10 [1f96c39](../../commit/1f96c39) - __(Zhidkov Denis)__ feat: add source_conditions method
|
|
21
|
-
* 2015-02-19 [8885300](../../commit/8885300) - __(bibendi)__ add group_by method
|
|
15
|
+
Ограничение activesupport нужно, чтобы собрался бандл.
|
|
22
16
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
17
|
+
* 2017-06-21 [fc29058](../../commit/fc29058) - __(Pavel Galkin)__ feat: matching_expr option for destination
|
|
18
|
+
https://jira.railsc.ru/browse/CK-862 - пункт 4.
|
|
19
|
+
|
|
20
|
+
* 2017-06-20 [d21a7d8](../../commit/d21a7d8) - __(Pavel Galkin)__ chore: update infrastructure
|
|
21
|
+
|
|
22
|
+
# v1.0.0
|
|
23
|
+
|
|
24
|
+
* 2016-10-14 [704ad6d](../../commit/704ad6d) - __(Semyon Pupkov)__ Bump version
|
|
25
|
+
* 2016-09-05 [0bf4850](../../commit/0bf4850) - __(vadshalamov)__ feature: позволит не задавать increment_fields
|
|
26
|
+
* 2016-08-31 [b5c9bd9](../../commit/b5c9bd9) - __(vadshalamov)__ feature: добавит hstore в список возможных полей
|
|
27
|
+
* 2016-08-31 [3b0235c](../../commit/3b0235c) - __(vadshalamov)__ feature: позволит передавать набор аргументов для дампа
|
|
28
|
+
* 2016-07-18 [caa913e](../../commit/caa913e) - __(Stanislav Gordanov)__ feat: добавит enum тип в список возможных полей
|
|
29
|
+
* 2016-05-27 [bbb7119](../../commit/bbb7119) - __(Michail Merkushin)__ fix: Remove CTE favor temp table
|
|
30
|
+
https://jira.railsc.ru/browse/PC4-17052
|
|
31
|
+
|
|
32
|
+
# v0.1.0
|
|
33
|
+
|
|
34
|
+
* 2015-09-10 [1f96c39](../../commit/1f96c39) - __(Zhidkov Denis)__ feat: add source_conditions method
|
|
35
|
+
Adds ability to specify WHERE-clause for select query from source tmp-table
|
|
36
|
+
|
|
37
|
+
* 2015-02-19 [8885300](../../commit/8885300) - __(bibendi)__ add group_by method
|
|
38
|
+
|
|
39
|
+
# v0.0.1
|
|
40
|
+
|
|
41
|
+
* 2015-01-26 [86918bd](../../commit/86918bd) - __(bibendi)__ initial code base
|
|
42
|
+
* 2015-01-26 [a238032](../../commit/a238032) - __(bibendi)__ initial
|
data/Gemfile
CHANGED
|
@@ -234,10 +234,16 @@ module RedisCounters
|
|
|
234
234
|
end
|
|
235
235
|
|
|
236
236
|
def redis_session
|
|
237
|
-
@redis_session
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
return @redis_session if defined?(@redis_session)
|
|
238
|
+
|
|
239
|
+
client = if Gem::Version.new(::Redis::VERSION) < Gem::Version.new('4')
|
|
240
|
+
counter.redis.client
|
|
241
|
+
else
|
|
242
|
+
counter.redis._client
|
|
243
|
+
end
|
|
244
|
+
redis = ::Redis.new(client.options)
|
|
245
|
+
|
|
246
|
+
@redis_session = ::Redis::Namespace.new(counter.redis.namespace, redis: redis)
|
|
241
247
|
end
|
|
242
248
|
|
|
243
249
|
def create_temp_table
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redis_counters-dumpers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Merkushin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-12-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
298
298
|
version: '0'
|
|
299
299
|
requirements: []
|
|
300
300
|
rubyforge_project:
|
|
301
|
-
rubygems_version: 2.
|
|
301
|
+
rubygems_version: 2.6.1
|
|
302
302
|
signing_key:
|
|
303
303
|
specification_version: 4
|
|
304
304
|
summary: Dump statistics from Redis to DB
|