bumbleworks 0.0.37 → 0.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/bumbleworks/version.rb
CHANGED
|
@@ -8,7 +8,7 @@ module Bumbleworks
|
|
|
8
8
|
klass = Bumbleworks::Support.constantize(entity_type)
|
|
9
9
|
entity = klass.first_by_identifier(entity_id)
|
|
10
10
|
end
|
|
11
|
-
raise EntityNotFound unless @entity
|
|
11
|
+
raise EntityNotFound, {:entity_id => entity_id, :entity_type => entity_type} unless @entity
|
|
12
12
|
@entity
|
|
13
13
|
end
|
|
14
14
|
|
|
@@ -83,7 +83,7 @@ describe Bumbleworks::WorkitemEntityStorage do
|
|
|
83
83
|
feh = FakeEntityHolder.new('entity_id' => nil, 'entity_type' => 'LovelyEntity')
|
|
84
84
|
expect {
|
|
85
85
|
feh.entity
|
|
86
|
-
}.to raise_error Bumbleworks::WorkitemEntityStorage::EntityNotFound
|
|
86
|
+
}.to raise_error Bumbleworks::WorkitemEntityStorage::EntityNotFound, '{:entity_id=>nil, :entity_type=>"LovelyEntity"}'
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
it 'returns same instance when called twice' do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bumbleworks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.38
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2013-09-
|
|
15
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: ruote
|
|
@@ -236,7 +236,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
236
236
|
version: '0'
|
|
237
237
|
segments:
|
|
238
238
|
- 0
|
|
239
|
-
hash:
|
|
239
|
+
hash: 3293207862533626848
|
|
240
240
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
241
241
|
none: false
|
|
242
242
|
requirements:
|
|
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
245
245
|
version: '0'
|
|
246
246
|
segments:
|
|
247
247
|
- 0
|
|
248
|
-
hash:
|
|
248
|
+
hash: 3293207862533626848
|
|
249
249
|
requirements: []
|
|
250
250
|
rubyforge_project:
|
|
251
251
|
rubygems_version: 1.8.23
|