mlb_gameday 0.3.0 → 0.3.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
  SHA256:
3
- metadata.gz: 499145f925f463abfdf236a63966ee0e8bedfae2dddabe69d3a6b5781c934951
4
- data.tar.gz: 140ba72b1cfbdcc55a093159b6030c9059fe29cd41b52343ee601560b155619a
3
+ metadata.gz: 0e066057e40bb02696839186bc861cad55bbc21f2c6678fe4c571977db177892
4
+ data.tar.gz: a89ee9b55f9d300f481980151727f1882dc22cdce58d4d08d9ece63fbb8c38a1
5
5
  SHA512:
6
- metadata.gz: 39daa28891b1a746e7736fb15025e347a69720a79b70d13d5cf3c64868f1606eae9515341356e2a3d07a68ea8af649f907a810b83eaec018e996628ddf988b17
7
- data.tar.gz: 9f29ea34ca7af20a0d19bc7b8cff5bb650e8e4fefd824a24c38fae1fc83585a255494ff5d5988ac28bd48014bc02e487d272d84a68b2614ef37eab95483eed0f
6
+ metadata.gz: 56a5882c1b63396ca39e1eea98aa9fce7c0d0027e58adc609075511ccaa59f2ce02b3e4dd6b9dcfb7bbf8a4d0edb8d65e14c41331dc5a19498ef6e339775bde0
7
+ data.tar.gz: 5d10d132ceca503665ef1d44ba98c9db6fa166447cad584b5f814c2ebe8e4b020ef437b5c5b8d050ccd02bbd37afebbf7b77a3fc7818ab86c7a698c1a120257e
data/.gitignore CHANGED
@@ -1,17 +1,3 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
1
  Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
2
  pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
3
+ test/year_2014
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.1
4
+
5
+ * Changed back to gdx - the redirect is gone.
6
+
3
7
  ## 0.3.0
4
8
 
5
9
  * Changed data source to gd-terr-origin.mlb.com since gdx.mlb.com redirects there.
@@ -11,7 +11,7 @@ require 'chronic'
11
11
  end
12
12
 
13
13
  module MLBGameday
14
- API_URL = 'http://gd-terr-origin.mlb.com/components/game/mlb'
14
+ API_URL = 'http://gdx.mlb.com/components/game/mlb'
15
15
 
16
16
  BATTER = '/year_%<year>d/batters/%<id>d'
17
17
  PITCHER = '/year_%<year>d/pitchers/%<id>d'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MLBGameday
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
@@ -9,7 +9,7 @@ class MockedApi < MLBGameday::API
9
9
 
10
10
  def open(url, &block)
11
11
  dir = File.dirname __FILE__
12
- base = url.gsub 'http://gd-terr-origin.mlb.com/components/game/mlb/', ''
12
+ base = url.gsub 'http://gdx.mlb.com/components/game/mlb/', ''
13
13
  path = File.join dir, base
14
14
 
15
15
  unless File.exist?(path)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mlb_gameday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Hoffman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-28 00:00:00.000000000 Z
11
+ date: 2018-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  version: '0'
244
244
  requirements: []
245
245
  rubyforge_project:
246
- rubygems_version: 2.7.3
246
+ rubygems_version: 2.7.6
247
247
  signing_key:
248
248
  specification_version: 4
249
249
  summary: Fetches gameday data from the MLB Gameday API