rm-extensions 0.0.8 → 0.0.9

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: 9441b20b807881789ef429b6b7042149d260f0db
4
- data.tar.gz: 824cd48ce0b752a627673149867344803538ec72
3
+ metadata.gz: d76c35600cd3f43ee72e64f70d19bc234a6534c4
4
+ data.tar.gz: a71afeb1e4b2d9dfdf87c22559f788aaca4ff9b8
5
5
  SHA512:
6
- metadata.gz: 9828f25a72edfc1b1fd69d293ab2c1592d8232df868d847defb83070e4bd8af54180b9a8d88880489124aa7dd4432ed805a3b1bbcdeba61ffdb1baf94c900120
7
- data.tar.gz: 48be5fb1fa300464a5ebd40bcf32fb88c05907f0d4da32eb58aad034e9c8c12736bc588b2247184da0ade4e5f0e7139b32352219c2926e042c1849197567e901
6
+ metadata.gz: 18d10f94655198437b6ae2a83f19bcbd90d4ec84cc628a0830b32ebd9b96c4464292019d71daf005ee0cd90210906e23dbb2059933cc49627d28ecc8dcd81ae0
7
+ data.tar.gz: 6e721dae784ef44f950d2730ddceadaf20b18ed512d82029867289c564e8b32042366aa3e52975a48ac3a4e22558c98701e2719581e30fe9e505cd5e5bde5203
@@ -2,19 +2,15 @@ module RMExtensions
2
2
 
3
3
  # A retained array, which will hold other objects we want retained.
4
4
  def self.retained_items
5
- # Dispatch.once { @retained_items = [] }
6
- # @retained_items
7
- # FIXME: http://hipbyte.myjetbrains.com/youtrack/issue/RM-134
8
- @retained_items ||= []
5
+ Dispatch.once { @retained_items = [] }
6
+ @retained_items
9
7
  end
10
8
 
11
9
  # A serial queue to perform all retain/detach operations on, to ensure we are always modifying
12
10
  # +retained_items+ on the same thread.
13
11
  def self.retains_queue
14
- # Dispatch.once { @retains_queue = Dispatch::Queue.new("#{NSBundle.mainBundle.bundleIdentifier}.rmext_retains_queue") }
15
- # @retains_queue
16
- # FIXME: http://hipbyte.myjetbrains.com/youtrack/issue/RM-134
17
- @retains_queue ||= Dispatch::Queue.new("#{NSBundle.mainBundle.bundleIdentifier}.rmext_retains_queue")
12
+ Dispatch.once { @retains_queue = Dispatch::Queue.new("#{NSBundle.mainBundle.bundleIdentifier}.rmext_retains_queue") }
13
+ @retains_queue
18
14
  end
19
15
 
20
16
  module ObjectExtensions
@@ -1,3 +1,3 @@
1
1
  module RMExtensions
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rm-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Noon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-12 00:00:00.000000000 Z
11
+ date: 2013-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bubble-wrap