seam 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/seam/version.rb +1 -1
- data/lib/seam/worker.rb +1 -1
- data/spec/seam/worker_spec.rb +14 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00d1bdc3f04b6886794f6d9b8947ed665f36841e
|
4
|
+
data.tar.gz: c75f378c4ed3a3baf11f68e5b121ff9065fc42b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ddef0ab3b75439ee35ed29d1f59b98cfa8f1d61662c91bcd075481640e6b0d7ef0bcff566ee2f373f2964598633c7f552015b711cec69e4fde100c0bf408bc6
|
7
|
+
data.tar.gz: b1c82553a5849831d45b2876ebe9e68a7e74b938c3efdd6be6e9a8e1f971e86154b00fc6a7b077615715f253cd17c5c2a6651a3b3311310e8d4200e4ee13b32c
|
data/lib/seam/version.rb
CHANGED
data/lib/seam/worker.rb
CHANGED
data/spec/seam/worker_spec.rb
CHANGED
@@ -17,6 +17,11 @@ describe "worker" do
|
|
17
17
|
worker.handles(:darren)
|
18
18
|
worker.step.must_equal "darren"
|
19
19
|
end
|
20
|
+
|
21
|
+
it "should drop namespaces" do
|
22
|
+
worker = ThisIsANamespace::ThisIsAnotherNamespace::IAmAWorker.new
|
23
|
+
worker.step.must_equal "i_am_a"
|
24
|
+
end
|
20
25
|
end
|
21
26
|
|
22
27
|
describe "inherited & all" do
|
@@ -957,3 +962,12 @@ class IWillNotCallHandlesWorker < Seam::Worker
|
|
957
962
|
# no calling handles here
|
958
963
|
def process; end
|
959
964
|
end
|
965
|
+
|
966
|
+
module ThisIsANamespace
|
967
|
+
module ThisIsAnotherNamespace
|
968
|
+
class IAmAWorker < Seam::Worker
|
969
|
+
def process; end
|
970
|
+
end
|
971
|
+
end
|
972
|
+
end
|
973
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darren Cauthon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|