activity-logger 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/activity-logger.rb +3 -2
- metadata +34 -41
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 046b148d67a8e16865817132144494bdae7361fa
|
4
|
+
data.tar.gz: 990381556c7f2a08dc0f4d6b23fb13284ccb04a7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 69fd9f1528b415fdc823f05667219d0e4e2c448413f08b13cacbefc71fa501aeaa0077c76d95d31401163d805fa750cfc329778e80bd8ed4892d8b2a7c18f73c
|
7
|
+
data.tar.gz: baed68013ffc51bff6abca1989e4de5698148f80c0f76b197a3e8e0648332493ac5f995f460775cf193e64acf42f96fcdef94d0b1f562e69b915090567858709
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/activity-logger.rb
CHANGED
@@ -10,8 +10,9 @@ class ActivityLogger
|
|
10
10
|
Dir.chdir(path) if path
|
11
11
|
end
|
12
12
|
|
13
|
-
def create(desc='')
|
14
|
-
|
13
|
+
def create(desc='', time=Time.now)
|
14
|
+
|
15
|
+
DynarexDaily.new.create(time: time.to_s, desc: desc).save
|
15
16
|
end
|
16
17
|
|
17
18
|
# Returns true if the time from the last entry exceeds 45 minutes.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: activity-logger
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.1.6
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.7
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
6
|
+
authors:
|
8
7
|
- James Robertson
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
|
-
cert_chain:
|
10
|
+
cert_chain:
|
12
11
|
- |
|
13
12
|
-----BEGIN CERTIFICATE-----
|
14
13
|
MIIDRDCCAiygAwIBAgIBADANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
@@ -30,56 +29,50 @@ cert_chain:
|
|
30
29
|
2wk/ixiaCiyQTtHskNd1s7SBYPrvk70MYcHazsB1r4z4cc1yhL71L0DQHfeHSHrt
|
31
30
|
2clgp29SZWwxVnYNmXn5ulMxKmAptcxT
|
32
31
|
-----END CERTIFICATE-----
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
32
|
+
date: 2013-05-24 00:00:00.000000000 Z
|
33
|
+
dependencies:
|
34
|
+
- !ruby/object:Gem::Dependency
|
37
35
|
name: dynarex-daily
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: "0"
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
45
41
|
type: :runtime
|
46
|
-
|
42
|
+
prerelease: false
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
47
48
|
description:
|
48
49
|
email:
|
49
50
|
executables: []
|
50
|
-
|
51
51
|
extensions: []
|
52
|
-
|
53
52
|
extra_rdoc_files: []
|
54
|
-
|
55
|
-
files:
|
53
|
+
files:
|
56
54
|
- lib/activity-logger.rb
|
57
55
|
homepage:
|
58
56
|
licenses: []
|
59
|
-
|
57
|
+
metadata: {}
|
60
58
|
post_install_message:
|
61
59
|
rdoc_options: []
|
62
|
-
|
63
|
-
require_paths:
|
60
|
+
require_paths:
|
64
61
|
- lib
|
65
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: "0"
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
77
72
|
requirements: []
|
78
|
-
|
79
73
|
rubyforge_project:
|
80
|
-
rubygems_version:
|
74
|
+
rubygems_version: 2.0.0.rc.2
|
81
75
|
signing_key:
|
82
|
-
specification_version:
|
76
|
+
specification_version: 4
|
83
77
|
summary: activity-logger
|
84
78
|
test_files: []
|
85
|
-
|
metadata.gz.sig
CHANGED
Binary file
|