ididthis 0.1.2 → 0.1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ididthis/cli.rb +6 -5
- data/lib/ididthis/version.rb +1 -1
- 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: b05fc60a0c6e7772f525d1098a63126373913f36
|
4
|
+
data.tar.gz: 175c145b17a80d29f287390f9bb6d0e12da2891b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf4b74a84b6d501cf1c5b73f853c5ec4439958dfe98a0c9b8920b07c598455305bb0669f4a5f0d076b66a2649b1c36403240783158addb024f3aa4cfe6d53aec
|
7
|
+
data.tar.gz: 41d44d709df247c74f19949de0756f8f447efb23280fb2302c84a8d68617f6528a24b1109d0b9e78d8be6f37495214b083fc97b490f5acf29eb9496c40826b36
|
data/lib/ididthis/cli.rb
CHANGED
@@ -103,12 +103,13 @@ module Ididthis
|
|
103
103
|
:desc => "Used in conjunction with --limit to get more results."
|
104
104
|
def dones
|
105
105
|
query_mappings = {
|
106
|
-
date
|
107
|
-
after
|
108
|
-
before
|
109
|
-
order
|
110
|
-
limit
|
106
|
+
"date" => "done_date",
|
107
|
+
"after" => "done_date_after",
|
108
|
+
"before" => "done_date_before",
|
109
|
+
"order" => "order_by",
|
110
|
+
"limit" => "page_size" }
|
111
111
|
params = Hash[options.map { |k, v| [query_mappings[k] || k, v] }]
|
112
|
+
puts params
|
112
113
|
c = Ididthis::API::Client.new(Ididthis::Config[:token])
|
113
114
|
print_dones(c.dones(params))
|
114
115
|
end
|
data/lib/ididthis/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ididthis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.2
|
4
|
+
version: 0.1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Aikens
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|