openagent 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
data/lib/openagent/version.rb
CHANGED
@@ -15,13 +15,15 @@ module SIF
|
|
15
15
|
attribute :credits_attempted, Common::CreditsAttempted
|
16
16
|
|
17
17
|
def status
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
'deleted'
|
18
|
+
status = 'active'
|
19
|
+
if entry_date && entry_date.past?
|
20
|
+
status = 'active'
|
22
21
|
end
|
22
|
+
if exit_date && exit_date.past?
|
23
|
+
status = 'concluded'
|
24
|
+
end
|
25
|
+
return status
|
23
26
|
end
|
24
|
-
|
25
27
|
end
|
26
28
|
end
|
27
29
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openagent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-02-
|
14
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake
|