bumbleworks 0.0.59 → 0.0.60

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.
@@ -61,8 +61,8 @@ module Bumbleworks
61
61
  self
62
62
  end
63
63
 
64
- def claimed
65
- unclaimed(false)
64
+ def claimed(check = true)
65
+ unclaimed(!check)
66
66
  end
67
67
 
68
68
  def with_fields(field_hash)
@@ -1,3 +1,3 @@
1
1
  module Bumbleworks
2
- VERSION = "0.0.59"
2
+ VERSION = "0.0.60"
3
3
  end
@@ -48,6 +48,7 @@ describe Bumbleworks::Task::Finder do
48
48
  query.should_receive(:by_nickname).with(:nicholas).and_return(query)
49
49
  query.should_receive(:for_roles).with([:dinner, :barca]).and_return(query)
50
50
  query.should_receive(:unclaimed).and_return(query)
51
+ query.should_receive(:claimed).and_return(query)
51
52
  query.should_receive(:for_claimant).with(:dr_clam).and_return(query)
52
53
  query.should_receive(:for_entity).with(:a_luffly_pirate).and_return(query)
53
54
  query.should_receive(:for_processes).with([:jasmine, :mulan]).and_return(query)
@@ -58,6 +59,7 @@ describe Bumbleworks::Task::Finder do
58
59
  :nickname => :nicholas,
59
60
  :roles => [:dinner, :barca],
60
61
  :unclaimed => true,
62
+ :claimed => true,
61
63
  :claimant => :dr_clam,
62
64
  :entity => :a_luffly_pirate,
63
65
  :processes => [:jasmine, :mulan],
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.59
4
+ version: 0.0.60
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: 2014-01-22 00:00:00.000000000 Z
15
+ date: 2014-01-31 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: ruote
@@ -262,7 +262,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
262
262
  version: '0'
263
263
  segments:
264
264
  - 0
265
- hash: -849036903259587551
265
+ hash: -2713110478033153610
266
266
  required_rubygems_version: !ruby/object:Gem::Requirement
267
267
  none: false
268
268
  requirements:
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  version: '0'
272
272
  segments:
273
273
  - 0
274
- hash: -849036903259587551
274
+ hash: -2713110478033153610
275
275
  requirements: []
276
276
  rubyforge_project:
277
277
  rubygems_version: 1.8.23