taskrabbit 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,7 @@ module Taskrabbit
18
18
  property :private_runner, :default => false
19
19
  property :virtual, :default => false
20
20
  property :state
21
+ property :assignment_type
21
22
  property :complete_by_time, :transformer => TIME_TRANSFORMER
22
23
  property :state_changed_at, :transformer => TIME_TRANSFORMER
23
24
  property :assign_by_time, :transformer => TIME_TRANSFORMER
@@ -50,6 +51,13 @@ module Taskrabbit
50
51
  end
51
52
  end
52
53
 
54
+ def update_attributes(attributes)
55
+ attributes.each_pair do |key, value|
56
+ self.send("#{key}=", value)
57
+ end
58
+ save
59
+ end
60
+
53
61
  def new_record?
54
62
  !id
55
63
  end
@@ -1,3 +1,3 @@
1
1
  module Taskrabbit
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taskrabbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-02 00:00:00.000000000 Z
12
+ date: 2012-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: api_smith
@@ -158,7 +158,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
158
158
  version: '0'
159
159
  segments:
160
160
  - 0
161
- hash: 1376035083108164495
161
+ hash: -1275229321438796564
162
162
  required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  none: false
164
164
  requirements: