logan 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logan/todo.rb +3 -3
- 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: 9fbe1ec0fc4570290c65cfed24ba7a00a6280906
|
4
|
+
data.tar.gz: 15f53b38e1120c7a67c6658f25d183246831355a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 606e9f961184b95804dfbd9c4e40d95081c3aec652b0b32ae9f3773bcc7befe609c019cd2d8920b97ad0a069286cbeda062c53cafe8ee8a87e6460f63b33e90f
|
7
|
+
data.tar.gz: 128f99f2c14b503f766c69a9736a2ca1dfa27bf9743bb070f055995259ff4bafd04d2b16755b61168475676d6b389b4219c468c4c340dd438d6461ebf1cf64b1
|
data/lib/logan/todo.rb
CHANGED
@@ -19,7 +19,7 @@ module Logan
|
|
19
19
|
{
|
20
20
|
:content => @content,
|
21
21
|
:due_at => @due_at,
|
22
|
-
:assignee => @assignee.
|
22
|
+
:assignee => (@assignee.nil? || @assignee.empty?) ? nil : @assignee.to_hash
|
23
23
|
}.to_json
|
24
24
|
end
|
25
25
|
|
@@ -27,8 +27,8 @@ module Logan
|
|
27
27
|
{
|
28
28
|
:content => @content,
|
29
29
|
:due_at => @due_at,
|
30
|
-
:assignee => @assignee.
|
31
|
-
:position => @position.
|
30
|
+
:assignee => (@assignee.nil? || @assignee.empty?) ? nil : @assignee.to_hash,
|
31
|
+
:position => (@position.nil? || @position.empty?) ? 99 : @position,
|
32
32
|
:completed => @completed
|
33
33
|
}.to_json
|
34
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Birarda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|