infostrada 0.1.14 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OTY3Y2ZmYzhiNTNlM2E1MTkzMjdjNDFhZWI5ZWZiNzFlOTBmZThiZA==
5
- data.tar.gz: !binary |-
6
- YzhjYjdlYmZhYmI5YTgwNWE1ZGQ2MmJjY2UxMGIwODI0Y2YzODZiNw==
2
+ SHA1:
3
+ metadata.gz: 7890d3c410de8d0daf3e1f93fbfcc3b5ddedbcb2
4
+ data.tar.gz: ef0abc7e4f59858114d94dbc8dc0f40c91166825
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NTM1NzMyNjgyMTc5ZDgyNDJiZjgyOTM3Yzg4NjAyMDRiYTUyMDIyYTdmMTRk
10
- ZjhjZjdkYjM0Njk3Njc3OWRiNDVmYzVhZTcyODBmN2FlOTk0ZTY4N2JkMGEx
11
- YTgzMDg3MGE4MDUyNWU2ZjA0Mzg3Yzk5MDdhOTg0YWVlNmU5NTk=
12
- data.tar.gz: !binary |-
13
- NjY2ZmM4MTA1OWE3Mzg0YjkyM2ZjMmJjODhmYjZiYTRlZDRhYTdhOGQ1ZmEx
14
- MDgzMTk1NGE2NjU2N2IwYmUwODIyMDdjMjAwZDhiMTVlZTZmNjM4MDE3MmNl
15
- YzNmNWVhZmM2ZWVkZTIwNjQ5ZmViOWU1MTEzYTdlZjY0OThmYjU=
6
+ metadata.gz: 431edc5c6cce3905b33b306278aa8ee42fd934b367da0562ef7ce4a8c8a13f8d803cc70274ce4d41ab2903401de5a4d77aea848b19a5bd1d35a6eff4b3d59ccd
7
+ data.tar.gz: b8698883893869db342fd0ff960e4f7bbaa6e19fb003c0f42688241bbce4a0498f7946e1d86e186f04c986adf20a409c4185a76e12caabdcef81110a8db6b1a1
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ *.lock
1
2
  *.gem
2
3
  *.pstore
3
4
  .ruby-version
@@ -57,10 +57,13 @@ module Infostrada
57
57
  def self.since(date)
58
58
  date = date.strftime(DATE_FORMAT)
59
59
 
60
- list = get!(URL, query: { from: date, outputType: OUTPUT_TYPE, module: 'football' })
60
+ # UGLY UGLY hack because of the bug happening in production servers
61
+ # date = "#{Time.now.strftime('%F')}T00:00:00"
61
62
 
62
63
  self.last_update = api_time(Time.now)
63
64
 
65
+ list = get!(URL, query: { from: date, outputType: OUTPUT_TYPE, module: 'football' })
66
+
64
67
  endpoints = []
65
68
  list.each do |hash|
66
69
  lang = hash['c_QueryString'].scan(/languagecode=(\d+)/).flatten.first.to_i
@@ -1,3 +1,3 @@
1
1
  module Infostrada
2
- VERSION = '0.1.14'
2
+ VERSION = '0.1.15'
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.14
4
+ version: 0.1.15
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-05-15 00:00:00.000000000 Z
11
+ date: 2014-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -31,7 +31,7 @@ dependencies:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.2'
34
- - - ! '>='
34
+ - - '>='
35
35
  - !ruby/object:Gem::Version
36
36
  version: 10.2.2
37
37
  type: :development
@@ -41,7 +41,7 @@ dependencies:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
43
  version: '10.2'
44
- - - ! '>='
44
+ - - '>='
45
45
  - !ruby/object:Gem::Version
46
46
  version: 10.2.2
47
47
  - !ruby/object:Gem::Dependency
@@ -51,7 +51,7 @@ dependencies:
51
51
  - - ~>
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.3'
54
- - - ! '>='
54
+ - - '>='
55
55
  - !ruby/object:Gem::Version
56
56
  version: 1.3.7
57
57
  type: :development
@@ -61,7 +61,7 @@ dependencies:
61
61
  - - ~>
62
62
  - !ruby/object:Gem::Version
63
63
  version: '1.3'
64
- - - ! '>='
64
+ - - '>='
65
65
  - !ruby/object:Gem::Version
66
66
  version: 1.3.7
67
67
  - !ruby/object:Gem::Dependency
@@ -71,7 +71,7 @@ dependencies:
71
71
  - - ~>
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0.20'
74
- - - ! '>='
74
+ - - '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: 0.20.1
77
77
  type: :development
@@ -81,7 +81,7 @@ dependencies:
81
81
  - - ~>
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0.20'
84
- - - ! '>='
84
+ - - '>='
85
85
  - !ruby/object:Gem::Version
86
86
  version: 0.20.1
87
87
  - !ruby/object:Gem::Dependency
@@ -91,7 +91,7 @@ dependencies:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0.9'
94
- - - ! '>='
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.9.12
97
97
  type: :development
@@ -101,7 +101,7 @@ dependencies:
101
101
  - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0.9'
104
- - - ! '>='
104
+ - - '>='
105
105
  - !ruby/object:Gem::Version
106
106
  version: 0.9.12
107
107
  - !ruby/object:Gem::Dependency
@@ -111,7 +111,7 @@ dependencies:
111
111
  - - ~>
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0.13'
114
- - - ! '>='
114
+ - - '>='
115
115
  - !ruby/object:Gem::Version
116
116
  version: 0.13.0
117
117
  type: :runtime
@@ -121,7 +121,7 @@ dependencies:
121
121
  - - ~>
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0.13'
124
- - - ! '>='
124
+ - - '>='
125
125
  - !ruby/object:Gem::Version
126
126
  version: 0.13.0
127
127
  - !ruby/object:Gem::Dependency
@@ -145,7 +145,7 @@ dependencies:
145
145
  - - ~>
146
146
  - !ruby/object:Gem::Version
147
147
  version: '1.1'
148
- - - ! '>='
148
+ - - '>='
149
149
  - !ruby/object:Gem::Version
150
150
  version: 1.1.0
151
151
  type: :runtime
@@ -155,7 +155,7 @@ dependencies:
155
155
  - - ~>
156
156
  - !ruby/object:Gem::Version
157
157
  version: '1.1'
158
- - - ! '>='
158
+ - - '>='
159
159
  - !ruby/object:Gem::Version
160
160
  version: 1.1.0
161
161
  - !ruby/object:Gem::Dependency
@@ -165,7 +165,7 @@ dependencies:
165
165
  - - ~>
166
166
  - !ruby/object:Gem::Version
167
167
  version: '1.0'
168
- - - ! '>='
168
+ - - '>='
169
169
  - !ruby/object:Gem::Version
170
170
  version: 1.0.3
171
171
  type: :runtime
@@ -175,7 +175,7 @@ dependencies:
175
175
  - - ~>
176
176
  - !ruby/object:Gem::Version
177
177
  version: '1.0'
178
- - - ! '>='
178
+ - - '>='
179
179
  - !ruby/object:Gem::Version
180
180
  version: 1.0.3
181
181
  - !ruby/object:Gem::Dependency
@@ -185,7 +185,7 @@ dependencies:
185
185
  - - ~>
186
186
  - !ruby/object:Gem::Version
187
187
  version: '4.1'
188
- - - ! '>='
188
+ - - '>='
189
189
  - !ruby/object:Gem::Version
190
190
  version: 4.1.0
191
191
  type: :runtime
@@ -195,7 +195,7 @@ dependencies:
195
195
  - - ~>
196
196
  - !ruby/object:Gem::Version
197
197
  version: '4.1'
198
- - - ! '>='
198
+ - - '>='
199
199
  - !ruby/object:Gem::Version
200
200
  version: 4.1.0
201
201
  description: Wrapper for the Infostrada Football API using httparty.
@@ -208,7 +208,6 @@ extra_rdoc_files: []
208
208
  files:
209
209
  - .gitignore
210
210
  - Gemfile
211
- - Gemfile.lock
212
211
  - README.md
213
212
  - bin/strada
214
213
  - infostrada.gemspec
@@ -248,17 +247,17 @@ require_paths:
248
247
  - lib
249
248
  required_ruby_version: !ruby/object:Gem::Requirement
250
249
  requirements:
251
- - - ! '>='
250
+ - - '>='
252
251
  - !ruby/object:Gem::Version
253
252
  version: '0'
254
253
  required_rubygems_version: !ruby/object:Gem::Requirement
255
254
  requirements:
256
- - - ! '>='
255
+ - - '>='
257
256
  - !ruby/object:Gem::Version
258
257
  version: '0'
259
258
  requirements: []
260
259
  rubyforge_project:
261
- rubygems_version: 2.2.1
260
+ rubygems_version: 2.2.2
262
261
  signing_key:
263
262
  specification_version: 4
264
263
  summary: Infostrada Football API wrapper.
data/Gemfile.lock DELETED
@@ -1,78 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- infostrada (0.1.12)
5
- activemodel (~> 4.1, >= 4.1.0)
6
- colored (~> 1.2)
7
- eventmachine (~> 1.0, >= 1.0.3)
8
- httparty (~> 0.13, >= 0.13.0)
9
- tzinfo (~> 1.1, >= 1.1.0)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- activemodel (4.1.1)
15
- activesupport (= 4.1.1)
16
- builder (~> 3.1)
17
- activesupport (4.1.1)
18
- i18n (~> 0.6, >= 0.6.9)
19
- json (~> 1.7, >= 1.7.7)
20
- minitest (~> 5.1)
21
- thread_safe (~> 0.1)
22
- tzinfo (~> 1.1)
23
- ast (2.0.0)
24
- builder (3.2.2)
25
- coderay (1.1.0)
26
- colored (1.2)
27
- eventmachine (1.0.3)
28
- httparty (0.13.1)
29
- json (~> 1.8)
30
- multi_xml (>= 0.5.2)
31
- i18n (0.6.9)
32
- json (1.8.1)
33
- method_source (0.8.2)
34
- minitest (5.3.3)
35
- multi_xml (0.5.5)
36
- parser (2.1.9)
37
- ast (>= 1.1, < 3.0)
38
- slop (~> 3.4, >= 3.4.5)
39
- powerpack (0.0.9)
40
- pry (0.9.12.6)
41
- coderay (~> 1.0)
42
- method_source (~> 0.8)
43
- slop (~> 3.4)
44
- rainbow (2.0.0)
45
- rake (10.3.1)
46
- reek (1.3.7)
47
- rainbow
48
- ruby2ruby (~> 2.0.8)
49
- ruby_parser (~> 3.3)
50
- sexp_processor
51
- rubocop (0.21.0)
52
- json (>= 1.7.7, < 2)
53
- parser (~> 2.1.9)
54
- powerpack (~> 0.0.6)
55
- rainbow (>= 1.99.1, < 3.0)
56
- ruby-progressbar (~> 1.4)
57
- ruby-progressbar (1.4.2)
58
- ruby2ruby (2.0.8)
59
- ruby_parser (~> 3.1)
60
- sexp_processor (~> 4.0)
61
- ruby_parser (3.6.0)
62
- sexp_processor (~> 4.1)
63
- sexp_processor (4.4.3)
64
- slop (3.5.0)
65
- thread_safe (0.3.3)
66
- tzinfo (1.1.0)
67
- thread_safe (~> 0.1)
68
-
69
- PLATFORMS
70
- ruby
71
-
72
- DEPENDENCIES
73
- bundler (~> 1.5)
74
- infostrada!
75
- pry (~> 0.9, >= 0.9.12)
76
- rake (~> 10.2, >= 10.2.2)
77
- reek (~> 1.3, >= 1.3.7)
78
- rubocop (~> 0.20, >= 0.20.1)