rpush 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 2177b25e8710a0539b82b9bade18da563e0b1b1f5509da42be346969a909e83b
4
- data.tar.gz: 2c46fec2c2c9858caf0447e2dc5843fae5249edc5b08604141ea3ecbaa95fb5f
2
+ SHA1:
3
+ metadata.gz: 788419dc26bef6ca15bcb0d3af3c63936b081e99
4
+ data.tar.gz: 9e434c844f99d569478da9f8ee3280dd089dc584
5
5
  SHA512:
6
- metadata.gz: c45d7e698704104dc19487636dba80a7278b739a6377d091b334ecedbe90c9b8475f08329e4a767e2ad45d7c3e9981d927558dd21c09e9de7c3cba20fb825993
7
- data.tar.gz: 2ae04d72abc05c39c16605f545f78a2a8e829a60a1c6280b68df4e66d28d4c522e47b29ef9b259c18bf2e9b61c90955a686af07582d6426b679c2550851dc16e
6
+ metadata.gz: 620523a9d8942b264e82319ac20e07262e409d9b0fa71e5dbcfce64d9c5cb63ac13b4880ee46f348c8c6b0f32730434ba917986dfd2460c5fb9403c64861636f
7
+ data.tar.gz: 83aad026ae9f936d0610a90c9ee5a28aac6019a52372c989978db12c27073c21dcb518a5f2473889e696a642d1a06d410430897655306f542a7927c255b3dda8
@@ -12,6 +12,12 @@
12
12
 
13
13
  - None
14
14
 
15
+ ## 3.2.1 (2018-07-10)
16
+
17
+ ### Fixed
18
+
19
+ - A memory leak in the Rpush daemon which caused it to consume more and more memory was fixed. [#441](https://github.com/rpush/rpush/pull/441) (by [@armahmoudi](https://github.com/armahmoudi))
20
+
15
21
  ## 3.2.0 (2018-06-13)
16
22
 
17
23
  When upgrading, don't forget to run `bundle exec rpush init` to get all the latest migrations.
@@ -22,7 +28,7 @@ When upgrading, don't forget to run `bundle exec rpush init` to get all the late
22
28
 
23
29
  ### Added
24
30
 
25
- - Added support for P8 certificate Apple push notifications [#386](https://github.com/rpush/rpush/pull/386) (by [@mariannegru](https://github.com/mariannegru)
31
+ - Added support for P8 certificate Apple push notifications [#386](https://github.com/rpush/rpush/pull/386) (by [@mariannegru](https://github.com/mariannegru))
26
32
 
27
33
  ## 3.1.1 (2018-04-16)
28
34
 
data/README.md CHANGED
@@ -304,6 +304,10 @@ Call this during startup of your application, for example, by adding it to the e
304
304
 
305
305
  If you're using [mina](https://github.com/mina-deploy/mina), there is a gem called [mina-rpush](https://github.com/d4rky-pl/mina-rpush) which helps you control rpush.
306
306
 
307
+ ### Cleanup
308
+
309
+ Rpush leaves delivered notifications in the database. If you do not clear them out, they will take up more and more space. This isn't great for any database, but is especially problematic if using Redis as the Rpush store. [Here](https://github.com/rpush/rpush/wiki/Using-Redis) is an example solution for cleaning up delivered notifications in Redis.
310
+
307
311
  ### Configuration
308
312
 
309
313
  See [Configuration](https://github.com/rpush/rpush/wiki/Configuration) for a list of options.
@@ -7,7 +7,8 @@ module Rpush
7
7
 
8
8
  begin
9
9
  @thread.join
10
- rescue StandardError
10
+ rescue StandardError # rubocop:disable Lint/HandleExceptions
11
+ ensure
11
12
  @thread = nil
12
13
  end
13
14
  end
@@ -2,7 +2,7 @@ module Rpush
2
2
  module VERSION
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- TINY = 0
5
+ TINY = 1
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".").freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpush
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Leitch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-13 00:00:00.000000000 Z
11
+ date: 2018-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -623,7 +623,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
623
623
  version: '0'
624
624
  requirements: []
625
625
  rubyforge_project:
626
- rubygems_version: 2.7.3
626
+ rubygems_version: 2.6.13
627
627
  signing_key:
628
628
  specification_version: 4
629
629
  summary: The push notification service for Ruby.