infostrada 0.1.20 → 0.1.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDkxMTEwYzNiMTcyNWIzYTkxMGNjM2UwMzNjZjhjZTJlZDQ2MzFiYQ==
4
+ NDJlMjVlM2VmNjdmMTA5ZmYyZmQ1YjkwMjA4OGVmMmNhNTM0OTM5ZA==
5
5
  data.tar.gz: !binary |-
6
- MTNmZTQ1ZjU2NmFjZWIyMmM0Y2Y2MDYxM2MyZTg5N2NmZGE5MDg2Yw==
6
+ OTZiOGU1MzJlNzg2NjhmNjU3YTU4YjVhMDY4MGY5Y2NkYmM0YTVjYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTI4MTMzN2E5NTAzMDNiM2JlOGFhNDc4ODUxMTI1NDdlZjVhZDU0ODg4MDE3
10
- YTdjNDM2NWMwMjlmNjY2YzdiNjllOTRmM2I1OWIzMWQ0MTRjZTg0Y2YzOWJm
11
- NzIwYjBhMzBiNmUxN2NhYWMxNWE5ZTg4NDJjMWU2NGVkOGRkNzk=
9
+ ZTI3NjU0YjVkODRhOTUwZDJjNGMxNWQ2MDRiMzEwZDU5MDY2NmJkMzFhZTg0
10
+ OTNlYTM2YjZiYTU0YTk0NzMzN2ExZDAzYTk3NDgwNTcxNzUwNzFlZWNiNDJk
11
+ N2Q1MTBmOThhZDE4YzFmN2EzYjg0Y2YxZGQ2NzNiYjY1MDBmMDg=
12
12
  data.tar.gz: !binary |-
13
- NTJkNmJkZGIyMmRmNTZiZWI5MDNjZGNlMGMxMWQxOTYyYjc4ODYwZWIyNTYw
14
- ZmNlODU1Yzk1MTk3MjMxZTk3MTZiYjJiNmNkNmVkOTFlZDFiZmQwYjMzNWVm
15
- ZGI1ZDA2NjBhMDFiYmM4YjJlOGVhNDlmNTNlYzk3OTI3MzU2Y2M=
13
+ MmU5MWYzMjY0ODM4YTY1Njg2ZTEyYzYyNGY1YzMxYWE0YjFiNDU3Zjg4OGNi
14
+ M2QwNzhkZjRiZTZhNGNhYmI4NmY4ZWQ2NzFkMjgyOTdjZjcyNDRmNTVjOGRj
15
+ Njk0YjZiZjRkMzIxZDBiYjFjYWFjMzQwOTJlZTBlYTZjNGI1NzU=
@@ -11,7 +11,7 @@ module Infostrada
11
11
  def self.fetch(team_id)
12
12
  info_hash = get!(URL, query: { teamid: team_id.to_i })
13
13
 
14
- self.new(info_hash.first)
14
+ info_hash.first ? self.new(info_hash.first) : nil
15
15
  end
16
16
 
17
17
  def initialize(hash)
@@ -1,3 +1,3 @@
1
1
  module Infostrada
2
- VERSION = '0.1.20'
2
+ VERSION = '0.1.21'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infostrada
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Otero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-09 00:00:00.000000000 Z
11
+ date: 2014-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler