asterisk_mini_statement 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/asterisk_mini_statement.rb +3 -2
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b9a567d9c511d2eb0980b65830e34d1976e383d
|
4
|
+
data.tar.gz: db23f88b30b410e41f03ecda7fc8fcec9dc677ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e5edd4c9f2be60c2012be9d1b90305f975616bfd570291bb683fce02e385115126f9c9ba62cb8d1205d7471d8f280d7b8e812bbf6a1c60c97fc09c9eefcee3b
|
7
|
+
data.tar.gz: 35ed3be2c374225a4e741ee5e64265894cdf80051da099165b29ac9c92e3f6cdc14fcb7bd26026e9edcc624631cfb1c4d572f498d939c4db7f96b6213430fb4e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -41,7 +41,8 @@ class AsteriskMiniStatement
|
|
41
41
|
|
42
42
|
a2 = a.select do |x|
|
43
43
|
date = Date.parse(x[:start])
|
44
|
-
date >= sdate and date <= edate and
|
44
|
+
date >= sdate and date <= edate and \
|
45
|
+
x[:disposition] == 'ANSWERED' and x[:lastapp] == 'Dial'
|
45
46
|
end
|
46
47
|
|
47
48
|
a3 = a2.group_by {|x| Date.parse(x[:start]) }
|
@@ -119,4 +120,4 @@ Date/time Telephone duration
|
|
119
120
|
|
120
121
|
end
|
121
122
|
|
122
|
-
end
|
123
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asterisk_mini_statement
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -103,6 +103,6 @@ rubyforge_project:
|
|
103
103
|
rubygems_version: 2.4.8
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
|
-
summary:
|
107
|
-
|
106
|
+
summary: Outputs a mini statement of recent telephone calls from the Asterisk Call
|
107
|
+
Detail Records (cdr-csv/Master.csv) file.
|
108
108
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|