mlb_scoreboard 0.1.1 → 0.1.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51af5401f47d1929a44a09003bd5d0589371633c
4
- data.tar.gz: f8f3824f60d43b2019e86a63d6463a43d1c750a7
3
+ metadata.gz: ba193ce3273692cfaee2dcf0cde6a94943822616
4
+ data.tar.gz: fb24a42f03af13b75a6d5efc451dbb960ce0cb93
5
5
  SHA512:
6
- metadata.gz: a19d3e6a747d3cf1c85864c94386d8882ba80d2f77726a616bdb10996ceb2fc33930493ca75ca74d70fed9bfbbe3a7b49b33edd03d0ca471c9495cf434831b9a
7
- data.tar.gz: 4c63b793c6bf5c4eae60e4622309f0305b4c3ae8701f93d0f1e8ec2cde0d69921e73e0df011b4d7094690bbf6d573fdbfe5749cff3d0d09935835e62dac4badd
6
+ metadata.gz: b7fbc0406d9b63ede9cd7f09d4c36d733f963a8db44975eafd9a998433ed7c53aac4c9401cca63b6636831d57859df3e349178851e999896b022d31239db311f
7
+ data.tar.gz: 6a121bdd50ec7a3b3ea55e5870f2296bdacfd7ac6c59ad238911e1a65e3ca57ba67cde754a886bfb513e774c685ea460c8d8e248259f530a2a337d51b00abb5d
@@ -0,0 +1,31 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ ## Documentation cache and generated files:
14
+ /.yardoc/
15
+ /_yardoc/
16
+ /doc/
17
+ /rdoc/
18
+
19
+ ## Environment normalization:
20
+ /.bundle/
21
+ /vendor/bundle
22
+ /lib/bundler/man/
23
+
24
+ #for a library or gem, you might want to ignore these files since the code is
25
+ #intended to run in multiple environments; otherwise, check them in:
26
+ Gemfile.lock
27
+ .ruby-version
28
+ .ruby-gemset
29
+
30
+ ## macOS
31
+ .DS_Store
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Scoreboard
1
+ # MLB Scoreboard
2
2
 
3
3
  This gem scrapes and displays yesterday's MLB matchups and their details including hits, runs, and errors from the official MLB API.
4
4
 
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- require './lib/mlb_scoreboard.rb'
2
+ require_relative '../lib/mlb_scoreboard.rb'
3
3
 
4
4
  MLBScoreboard::CLI.new.start
@@ -3,7 +3,6 @@ require 'open-uri'
3
3
  require 'nokogiri'
4
4
  require 'json'
5
5
 
6
- require 'bundler/setup'
7
- require 'version.rb'
8
- require 'cli.rb'
9
- require 'matchups.rb'
6
+ require_relative './version.rb'
7
+ require_relative './cli.rb'
8
+ require_relative './matchups.rb'
@@ -1,3 +1,3 @@
1
1
  module MLBScoreboard
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Steve Frost"]
10
10
  spec.email = ["ffrostt@gmail.com"]
11
11
 
12
- spec.summary = "MLB Scoreboard is a CLI program that displays matchups and box scores from the official MLB API"
12
+ spec.summary = "MLB Scoreboard is a CLI em that displays matchups and box scores from the official MLB API. Use bin/mlb_scoreboard to load all MLB matchups from the previous day. To see more details about a matchup, enter the corresponding matchup number. The details include hits, runs, and errors. At any time the user can type 'exit' to exit the program."
13
13
  spec.description = spec.summary
14
14
  spec.homepage = "https://github.com/steveafrost/scoreboard-cli-gem"
15
15
  spec.license = "MIT"
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "bundler", "~> 1.12"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "rspec", "~> 3.0"
25
- spec.add_runtime_dependency "terminal-table", "~> 1.6.0"
26
- spec.add_runtime_dependency "nokogiri", "~>1.6.8"
27
- spec.add_runtime_dependency "json", "~> 1.8.3"
25
+ spec.add_runtime_dependency "terminal-table", "~> 1.6", ">= 1.6.0"
26
+ spec.add_runtime_dependency "nokogiri", "~> 1.6", ">= 1.6.8"
27
+ spec.add_runtime_dependency "json", "~> 1.8", ">= 1.8.3"
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mlb_scoreboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Frost
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-25 00:00:00.000000000 Z
11
+ date: 2016-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -57,6 +57,9 @@ dependencies:
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.6'
62
+ - - ">="
60
63
  - !ruby/object:Gem::Version
61
64
  version: 1.6.0
62
65
  type: :runtime
@@ -64,6 +67,9 @@ dependencies:
64
67
  version_requirements: !ruby/object:Gem::Requirement
65
68
  requirements:
66
69
  - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '1.6'
72
+ - - ">="
67
73
  - !ruby/object:Gem::Version
68
74
  version: 1.6.0
69
75
  - !ruby/object:Gem::Dependency
@@ -71,6 +77,9 @@ dependencies:
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
79
  - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.6'
82
+ - - ">="
74
83
  - !ruby/object:Gem::Version
75
84
  version: 1.6.8
76
85
  type: :runtime
@@ -78,6 +87,9 @@ dependencies:
78
87
  version_requirements: !ruby/object:Gem::Requirement
79
88
  requirements:
80
89
  - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '1.6'
92
+ - - ">="
81
93
  - !ruby/object:Gem::Version
82
94
  version: 1.6.8
83
95
  - !ruby/object:Gem::Dependency
@@ -85,6 +97,9 @@ dependencies:
85
97
  requirement: !ruby/object:Gem::Requirement
86
98
  requirements:
87
99
  - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '1.8'
102
+ - - ">="
88
103
  - !ruby/object:Gem::Version
89
104
  version: 1.8.3
90
105
  type: :runtime
@@ -92,16 +107,23 @@ dependencies:
92
107
  version_requirements: !ruby/object:Gem::Requirement
93
108
  requirements:
94
109
  - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '1.8'
112
+ - - ">="
95
113
  - !ruby/object:Gem::Version
96
114
  version: 1.8.3
97
- description: MLB Scoreboard is a CLI program that displays matchups and box scores
98
- from the official MLB API
115
+ description: MLB Scoreboard is a CLI em that displays matchups and box scores from
116
+ the official MLB API. Use bin/mlb_scoreboard to load all MLB matchups from the previous
117
+ day. To see more details about a matchup, enter the corresponding matchup number.
118
+ The details include hits, runs, and errors. At any time the user can type 'exit'
119
+ to exit the program.
99
120
  email:
100
121
  - ffrostt@gmail.com
101
122
  executables: []
102
123
  extensions: []
103
124
  extra_rdoc_files: []
104
125
  files:
126
+ - ".git-ignore"
105
127
  - CODE_OF_CONDUCT.md
106
128
  - Gemfile
107
129
  - Gemfile.lock
@@ -140,6 +162,9 @@ rubyforge_project:
140
162
  rubygems_version: 2.4.5.1
141
163
  signing_key:
142
164
  specification_version: 4
143
- summary: MLB Scoreboard is a CLI program that displays matchups and box scores from
144
- the official MLB API
165
+ summary: MLB Scoreboard is a CLI em that displays matchups and box scores from the
166
+ official MLB API. Use bin/mlb_scoreboard to load all MLB matchups from the previous
167
+ day. To see more details about a matchup, enter the corresponding matchup number.
168
+ The details include hits, runs, and errors. At any time the user can type 'exit'
169
+ to exit the program.
145
170
  test_files: []