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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5fdab8903df3a60ba03a9f4a27e8109d8282788
4
- data.tar.gz: 92ec7c0fd2bef95cec4ac17acaf5461e2a26ded8
3
+ metadata.gz: b05fc60a0c6e7772f525d1098a63126373913f36
4
+ data.tar.gz: 175c145b17a80d29f287390f9bb6d0e12da2891b
5
5
  SHA512:
6
- metadata.gz: 04b657883d8cf00816998cd1b31d8f0060f7eb254e797d9af74170a9a426f47d972f8ccb2e54359f9d406fcb16a198e4e6f1491d130f1c0b4f833618ccda792d
7
- data.tar.gz: b528860b50263e07e6bdca0ad3cfc7374c9135016c9f48c97a9341258b2c6f5fe60c9be7ff2416afd8c39b1a957899b3fe34c74adaa215bc82355f5a9362c3c6
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: "done_date",
107
- after: "done_date_after",
108
- before: "done_date_before",
109
- order: "order_by",
110
- limit: "page_size" }
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
@@ -1,3 +1,3 @@
1
1
  module Ididthis
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.2.1"
3
3
  end
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-07 00:00:00.000000000 Z
11
+ date: 2015-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline