rapns 3.4.0 → 3.4.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
2
  SHA1:
3
- metadata.gz: c28537d83dadc2e500819f9c5ad87e9893de09ac
4
- data.tar.gz: b7eadda9453403f8bd159467a15917ff0c9fa913
3
+ metadata.gz: 1d57af4209296fdb4553f3bfc4d9f5968ed47ad0
4
+ data.tar.gz: c8b39cb93da27214c6d8ea70105ceee208e02be6
5
5
  SHA512:
6
- metadata.gz: 25d3e207864ca02a1c3dc6b037d0548b88cf1025cf12f3fae3c50c3f821c4dcb328e389496dd6d7faa26acb4a47460be2cf751950c1ec66ee07220bd92c8bfaf
7
- data.tar.gz: 505315d930cc146ce3fc83f5f3497003bf7b7bfdbc2a0a387ff7017a3ec51b7955ba9bf7285dc781000cf259d99dc4143989af6da15e74032d08cfd00e4f1fe6
6
+ metadata.gz: 211b78c1a6eef9ad63f0c5978350897307316880f487bb4eb0f17b0ae747960149f7455b17f91895a8366ceed6d0d77cde57f9e56057670dc45de7c5d19b29ce
7
+ data.tar.gz: da753f0f36e1752bc9372cf93a71d1a180cb9cecb64502b5371917090f2736c40856eb847f40026c1837ca366c93d00fd48048c09bfc5dd8433e38f840efd014
@@ -1,4 +1,8 @@
1
- ### 3.4.0 (Aug 28, 2013)
1
+ ## 3.4.1 (Aug 30, 2013)
2
+ * Silence unintended airbrake_notify deprecation warning (#158).
3
+ * Add :dependent => :destroy to app notifications (#156).
4
+
5
+ ## 3.4.0 (Aug 28, 2013)
2
6
  * Rails 4 support.
3
7
  * Add apns_certificate_will_expire reflection.
4
8
  * Perform storage update in batches where possible, to increase throughput.
@@ -6,7 +6,7 @@ module Rapns
6
6
  attr_accessible :name, :environment, :certificate, :password, :connections, :auth_key
7
7
  end
8
8
 
9
- has_many :notifications, :class_name => 'Rapns::Notification'
9
+ has_many :notifications, :class_name => 'Rapns::Notification', :dependent => :destroy
10
10
 
11
11
  validates :name, :presence => true, :uniqueness => { :scope => [:type, :environment] }
12
12
  validates_numericality_of :connections, :greater_than => 0, :only_integer => true
@@ -73,7 +73,6 @@ module Rapns
73
73
  self.push_poll = 2
74
74
  self.feedback_poll = 60
75
75
  Rapns::Deprecation.muted { self.airbrake_notify = true }
76
- self.airbrake_notify = true
77
76
  self.check_for_errors = true
78
77
  self.batch_size = 5000
79
78
  self.pid_file = nil
@@ -1,3 +1,3 @@
1
1
  module Rapns
2
- VERSION = '3.4.0'
2
+ VERSION = '3.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rapns
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.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: 2013-08-28 00:00:00.000000000 Z
11
+ date: 2013-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  version: '0'
176
176
  requirements: []
177
177
  rubyforge_project:
178
- rubygems_version: 2.0.3
178
+ rubygems_version: 2.0.6
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: Professional grade APNs and GCM for Ruby