attentive 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/attentive.gemspec +1 -1
- data/lib/attentive/listener_collection.rb +3 -3
- data/lib/attentive/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: d35dbb3b9cbb2301629d387e91d9e748811652bd
|
4
|
+
data.tar.gz: 0a6b84cba54b620e09f33fe84e32e37a63cb2672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 094677c0ab5bfb976c753241e105b6d0a9f758c0f403dd9ae220564438551c5a10aa4ed4c8383025cb8fae0d04eab9cdcb7a128cea7df6ca23bbce9baa13bc47
|
7
|
+
data.tar.gz: 80ded54b5b16b026eb123c2abbccc36ae9fd7bcf0096cea3befa931c91de1a5317956d680834030cc5e1a3d441e988f0f3ed93fa322bc7c03a3863dd35912110
|
data/attentive.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "
|
21
|
+
spec.add_dependency "concurrent-ruby"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.10"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
@@ -1,15 +1,15 @@
|
|
1
1
|
require "attentive"
|
2
|
-
require "thread_safe"
|
3
|
-
require "delegate"
|
4
2
|
require "attentive/cursor"
|
5
3
|
require "attentive/listener"
|
6
4
|
require "attentive/matcher"
|
5
|
+
require "concurrent/array"
|
6
|
+
require "delegate"
|
7
7
|
|
8
8
|
module Attentive
|
9
9
|
class ListenerCollection < SimpleDelegator
|
10
10
|
|
11
11
|
def initialize
|
12
|
-
super
|
12
|
+
super Concurrent::Array.new
|
13
13
|
end
|
14
14
|
|
15
15
|
def listen_for(*args, &block)
|
data/lib/attentive/version.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attentive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Lail
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: concurrent-ruby
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|