mantle 2.1.2 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +49 -7
- data/README.md +3 -0
- data/lib/mantle/catch_up.rb +1 -1
- data/lib/mantle/version.rb +1 -1
- data/spec/lib/mantle/catch_up_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdccc55225f39ead845fc2df598e40f569dee404
|
4
|
+
data.tar.gz: b4757cb21b7bf07b2473c42795ff10d990802bb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 129ba6fad4bbcc3f2012f6eb6536281b3a0052ef5fb959d7f42add356473c14de3a3602f12022dee9871dfd996f5133adfe96da7cad1c9810c1035fd7a49b654
|
7
|
+
data.tar.gz: 35975a18ca3c6b767f294217b71c92d6884cc50ab1023ccd0979aa12429c226301cb5e4e3f33d4a723a3fdfa1f52c18846ea676e352529ff9482ae1ca9e08881
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,21 +1,62 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mantle (2.1.
|
4
|
+
mantle (2.1.2)
|
5
5
|
redis
|
6
6
|
sidekiq
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
celluloid (0.
|
12
|
-
|
11
|
+
celluloid (0.17.1.2)
|
12
|
+
bundler
|
13
|
+
celluloid-essentials
|
14
|
+
celluloid-extras
|
15
|
+
celluloid-fsm
|
16
|
+
celluloid-pool
|
17
|
+
celluloid-supervision
|
18
|
+
dotenv
|
19
|
+
nenv
|
20
|
+
rspec-logsplit (>= 0.1.2)
|
21
|
+
timers (>= 4.1.1)
|
22
|
+
celluloid-essentials (0.20.2.1)
|
23
|
+
bundler
|
24
|
+
dotenv
|
25
|
+
nenv
|
26
|
+
rspec-logsplit (>= 0.1.2)
|
27
|
+
timers (>= 4.1.1)
|
28
|
+
celluloid-extras (0.20.1)
|
29
|
+
bundler
|
30
|
+
dotenv
|
31
|
+
nenv
|
32
|
+
rspec-logsplit (>= 0.1.2)
|
33
|
+
timers (>= 4.1.1)
|
34
|
+
celluloid-fsm (0.20.1)
|
35
|
+
bundler
|
36
|
+
dotenv
|
37
|
+
nenv
|
38
|
+
rspec-logsplit (>= 0.1.2)
|
39
|
+
timers (>= 4.1.1)
|
40
|
+
celluloid-pool (0.20.1)
|
41
|
+
bundler
|
42
|
+
dotenv
|
43
|
+
nenv
|
44
|
+
rspec-logsplit (>= 0.1.2)
|
45
|
+
timers (>= 4.1.1)
|
46
|
+
celluloid-supervision (0.20.1.1)
|
47
|
+
bundler
|
48
|
+
dotenv
|
49
|
+
nenv
|
50
|
+
rspec-logsplit (>= 0.1.2)
|
51
|
+
timers (>= 4.1.1)
|
13
52
|
coderay (1.1.0)
|
14
53
|
connection_pool (2.2.0)
|
15
54
|
diff-lcs (1.2.5)
|
16
|
-
|
55
|
+
dotenv (2.0.2)
|
56
|
+
hitimes (1.2.3)
|
17
57
|
json (1.8.3)
|
18
58
|
method_source (0.8.2)
|
59
|
+
nenv (0.2.0)
|
19
60
|
pry (0.10.0)
|
20
61
|
coderay (~> 1.1.0)
|
21
62
|
method_source (~> 0.8.1)
|
@@ -32,18 +73,19 @@ GEM
|
|
32
73
|
rspec-expectations (3.2.0)
|
33
74
|
diff-lcs (>= 1.2.0, < 2.0)
|
34
75
|
rspec-support (~> 3.2.0)
|
76
|
+
rspec-logsplit (0.1.3)
|
35
77
|
rspec-mocks (3.2.0)
|
36
78
|
diff-lcs (>= 1.2.0, < 2.0)
|
37
79
|
rspec-support (~> 3.2.0)
|
38
80
|
rspec-support (3.2.2)
|
39
|
-
sidekiq (3.
|
40
|
-
celluloid (~> 0.
|
81
|
+
sidekiq (3.5.0)
|
82
|
+
celluloid (~> 0.17.0)
|
41
83
|
connection_pool (~> 2.2, >= 2.2.0)
|
42
84
|
json (~> 1.0)
|
43
85
|
redis (~> 3.2, >= 3.2.1)
|
44
86
|
redis-namespace (~> 1.5, >= 1.5.2)
|
45
87
|
slop (3.5.0)
|
46
|
-
timers (4.
|
88
|
+
timers (4.1.1)
|
47
89
|
hitimes
|
48
90
|
|
49
91
|
PLATFORMS
|
data/README.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
[![Circle CI](https://circleci.com/gh/PipelineDeals/mantle.svg?style=svg)](https://circleci.com/gh/PipelineDeals/mantle)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/PipelineDeals/mantle/badges/gpa.svg)](https://codeclimate.com/github/PipelineDeals/mantle)
|
5
5
|
|
6
|
+
To learn more about Mantle and it's internal, see [this slide
|
7
|
+
deck](https://speakerdeck.com/brandonhilkert/a-path-to-services?slide=57).
|
8
|
+
|
6
9
|
## Installation
|
7
10
|
|
8
11
|
Add this line to your application's Gemfile:
|
data/lib/mantle/catch_up.rb
CHANGED
data/lib/mantle/version.rb
CHANGED
@@ -67,9 +67,9 @@ describe Mantle::CatchUp do
|
|
67
67
|
describe "#clear_expired" do
|
68
68
|
it "clears expired entries from the catch up list" do
|
69
69
|
cu = Mantle::CatchUp.new
|
70
|
-
cu.add_message("person:update", { id: 1 }, cu.hours_ago_in_seconds(
|
71
|
-
cu.add_message("deal:update", { id: 2 }, cu.hours_ago_in_seconds(
|
72
|
-
cu.add_message("company:update", { id: 3 }, cu.hours_ago_in_seconds(5))
|
70
|
+
cu.add_message("person:update", { id: 1 }, cu.hours_ago_in_seconds(2))
|
71
|
+
cu.add_message("deal:update", { id: 2 }, cu.hours_ago_in_seconds(1))
|
72
|
+
cu.add_message("company:update", { id: 3 }, cu.hours_ago_in_seconds(0.5))
|
73
73
|
|
74
74
|
cu.clear_expired
|
75
75
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mantle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Ammons
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|