sapience 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/sapience/sneakers.rb +21 -0
- data/lib/sapience/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea54a62f94f805069fdaceea2a117554503c694c
|
4
|
+
data.tar.gz: ba621b5a7a598c6defe334ae315197840569acbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9c2e7a7f874508408b9dec4c6594958b03172cb92df9d99fb91e8dd64c65129b7a2ff28a7f858b2689b4949d2a1fb839ae550e92d3a9895abbf4c74c2e7f299
|
7
|
+
data.tar.gz: 74017d92a687408d4d7f7029601194d38f01b56c4e0e4e86f55caab1e23e56ea45a2cdabcb98aa0ad4581748d8dec79da04f4ee15216a6fb67c1fa09663cd81b
|
data/CHANGELOG.md
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
require "sapience"
|
2
|
+
|
3
|
+
module Sneakers
|
4
|
+
module Worker
|
5
|
+
def self.descendants # :nodoc:
|
6
|
+
descendants = []
|
7
|
+
ObjectSpace.each_object(singleton_class) do |k|
|
8
|
+
descendants.unshift k unless k == self
|
9
|
+
end
|
10
|
+
descendants
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
module Sapience
|
16
|
+
module Sneakers
|
17
|
+
::Sneakers::Worker.descendants.each do |worker|
|
18
|
+
worker.send(:include, Sapience::Loggable)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/lib/sapience/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sapience
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikael Henriksson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-08-
|
12
|
+
date: 2016-08-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: concurrent-ruby
|
@@ -244,6 +244,7 @@ files:
|
|
244
244
|
- lib/sapience/logger.rb
|
245
245
|
- lib/sapience/rails.rb
|
246
246
|
- lib/sapience/sapience.rb
|
247
|
+
- lib/sapience/sneakers.rb
|
247
248
|
- lib/sapience/subscriber.rb
|
248
249
|
- lib/sapience/version.rb
|
249
250
|
- sapience.gemspec
|