logan 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/logan/client.rb +3 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd4e95b42c7d708e8d8b11a93afe0c65aedc1e12
4
- data.tar.gz: aa891ac5706e4d2cb58543ea4f33ee67a891512d
3
+ metadata.gz: 05015b291771bbd80b24f983b5be2fdec425e493
4
+ data.tar.gz: 032cc9d655804a86b9e3af51bf5eab067047f975
5
5
  SHA512:
6
- metadata.gz: 19c3d366443abf9573cfa8def7ae49dca190ef345585fedd4391061aa97a8e0e871b7121d6313d9dd396aca517837b7a828cf17038f80a7f655517ccf4eda635
7
- data.tar.gz: 018fdb52e55f5606d2e281d9a7efa942999b02d19f0ca5e4848aa5a1d46fc8a33c51511eb8cfe4c2d48b0a5203683638a862213f7a32aa0b75a083134923e7bd
6
+ metadata.gz: ec36f3e5c27b7c9359f7f7c2e69ab77097dd47e87a54f6c303daac5fd6c6955d514183d516c19ed44604e8fb19e69f30096fcc10e33d5402eec4bfa3353ebe0f
7
+ data.tar.gz: 6579040e6c532aecb3c3505957cc409ff55820fe45761c224fddbac5ab79cd4936a7dc88bd4503c7762781de7dbd0fd339ea2d9f2b98c2dec21d486ed94c34a7
data/lib/logan/client.rb CHANGED
@@ -60,10 +60,12 @@ module Logan
60
60
  handle_response(response,
61
61
  Proc.new { |h|
62
62
  list = Logan::TodoList.new(h)
63
+
63
64
  # grab the project ID for this list from the url
64
65
  list.project_id = list.url.scan( /projects\/(\d+)/).last.first
66
+
65
67
  # return the list so this method returns an array of lists
66
- return list
68
+ list
67
69
  }
68
70
  )
69
71
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Birarda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-12 00:00:00.000000000 Z
11
+ date: 2014-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty