infostrada 0.1.15 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/lib/infostrada/call_refresh.rb +1 -1
- data/lib/infostrada/phase.rb +2 -1
- data/lib/infostrada/version.rb +1 -1
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YjE2ZTdiOTQyNGE2ZjM3M2M5MWI3ZTc0MmIzM2NjNGExMDg5OTM4OA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MTQ3YjU3ZmNiODQ3NzY3ZmU5ZmIxZGViMjAzYTdhMWY1OTk2YzM2MQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
Yjc3MDhhOTA2OGViZTQwYTMxMTExNDgxZjU0YTVmM2IzN2ViNmNlZGI5NmUw
|
10
|
+
ZGEwOTgxYjY0MTEwNTNmNjk2ODkwZWExMGE2YzVjZmZjMDViYzAyNzM5M2Yw
|
11
|
+
NTQ2YmYwZTBkMzJiYjZjZWFjYmYwZGZmMTEzODQ3YTIwOWM5NjI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZWYyYWNiZDEwNzJiMGNlMzU3YWFiYWNlNzUyNThiN2VkZDQ4N2NiN2I1OGZj
|
14
|
+
N2EwM2QzN2Y0OTEyYTUwMzUwZTY0NzNhNDRhNDUzYzNhNTU1NGVhYjBmMWJj
|
15
|
+
MGI3NTExOTQ5ODJhYzg1OWMxNTdiZjM5ZThlNGQyZDNlNzgxM2M=
|
@@ -58,7 +58,7 @@ module Infostrada
|
|
58
58
|
date = date.strftime(DATE_FORMAT)
|
59
59
|
|
60
60
|
# UGLY UGLY hack because of the bug happening in production servers
|
61
|
-
|
61
|
+
date = "#{Time.now.strftime('%F')}T00:00:00"
|
62
62
|
|
63
63
|
self.last_update = api_time(Time.now)
|
64
64
|
|
data/lib/infostrada/phase.rb
CHANGED
@@ -15,7 +15,7 @@ module Infostrada
|
|
15
15
|
URL = '/GetPhaseList'
|
16
16
|
|
17
17
|
# Short name is only set outside GetPhaseList endpoint. For example on match list.
|
18
|
-
attr_accessor :id, :name, :phase1_id, :phase1_name, :phase2_id, :phase2_name, :phase3_id
|
18
|
+
attr_accessor :id, :name, :phase1_id, :phase1_name, :phase2_id, :phase2_name, :phase3_id, :level
|
19
19
|
attr_accessor :phase3_name, :table, :current, :currents, :start_date, :end_date, :short_name
|
20
20
|
|
21
21
|
def self.where(options = {})
|
@@ -39,6 +39,7 @@ module Infostrada
|
|
39
39
|
def initialize(hash)
|
40
40
|
@id = hash['n_PhaseID']
|
41
41
|
@name = hash['c_Phase']
|
42
|
+
@level = hash['n_PhaseLevel']
|
42
43
|
@short_name = hash['c_PhaseShort']
|
43
44
|
@phase1_id = hash['n_Phase1ID']
|
44
45
|
@phase1_name = hash['c_Phase1']
|
data/lib/infostrada/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.17
|
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-
|
11
|
+
date: 2014-09-11 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.
|
@@ -247,12 +247,12 @@ require_paths:
|
|
247
247
|
- lib
|
248
248
|
required_ruby_version: !ruby/object:Gem::Requirement
|
249
249
|
requirements:
|
250
|
-
- - '>='
|
250
|
+
- - ! '>='
|
251
251
|
- !ruby/object:Gem::Version
|
252
252
|
version: '0'
|
253
253
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
|
-
- - '>='
|
255
|
+
- - ! '>='
|
256
256
|
- !ruby/object:Gem::Version
|
257
257
|
version: '0'
|
258
258
|
requirements: []
|