carmel_hockey 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.gitlab-ci.yml +31 -0
- data/.rspec +3 -0
- data/.rubocop.yml +15 -0
- data/.travis.yml +7 -0
- data/.vimrc +1 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +99 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +8 -0
- data/carmel_hockey.gemspec +51 -0
- data/lib/carmel_hockey/leader.rb +84 -0
- data/lib/carmel_hockey/player.rb +9 -0
- data/lib/carmel_hockey/season.rb +35 -0
- data/lib/carmel_hockey/team.rb +9 -0
- data/lib/carmel_hockey/version.rb +5 -0
- data/lib/carmel_hockey.rb +21 -0
- data/lib/hockey_model.rb +17 -0
- metadata +233 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d993dbe210504754bdc2862341e9fba5e7a39cb694aa512e22c716c569cccf72
|
4
|
+
data.tar.gz: 60c4292d6427a66fe2c0511bf13bde2ebe735f8c07f1ef095b341c17ac692f83
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7e2f42e263a0f3fec33191e5f07e775c0651226de761e4ebdb3d708c347e888ac1f1d9f3d40a018552d4c4222225c516234318c65512b70ea502dc433a5f964c
|
7
|
+
data.tar.gz: 54f07d4c2beb58f669eaaf573f2c8423f1576f8efddea8dc344909eed1eb0bd1beabd010de37ba5d72a2fbffce35c84ec062474b3f3f7fcd81e4766da8f6929f
|
data/.gitignore
ADDED
data/.gitlab-ci.yml
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
stages:
|
2
|
+
- validate
|
3
|
+
- build
|
4
|
+
|
5
|
+
image: ruby:2.5
|
6
|
+
|
7
|
+
cache:
|
8
|
+
paths:
|
9
|
+
- /usr/local/bundle
|
10
|
+
|
11
|
+
before_script:
|
12
|
+
- gem install bundler
|
13
|
+
- bundle install
|
14
|
+
|
15
|
+
rubocop:
|
16
|
+
stage: validate
|
17
|
+
script: bundle exec rubocop
|
18
|
+
|
19
|
+
rspec:
|
20
|
+
stage: validate
|
21
|
+
script: bundle exec rspec
|
22
|
+
|
23
|
+
rspec 2.4:
|
24
|
+
image: ruby:2.4
|
25
|
+
stage: validate
|
26
|
+
script: bundle exec rspec
|
27
|
+
|
28
|
+
rspec 2.3:
|
29
|
+
image: ruby:2.3
|
30
|
+
stage: validate
|
31
|
+
script: bundle exec rspec
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
data/.vimrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
nmap ,rc :!clear && bundle console<crnmap ,rc :!clear && bundle console<cr>>
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
carmel_hockey (0.1.0)
|
5
|
+
activemodel (~> 5.0.7.2)
|
6
|
+
memoist
|
7
|
+
nokogiri (>= 1.10.4)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
activemodel (5.0.7.2)
|
13
|
+
activesupport (= 5.0.7.2)
|
14
|
+
activesupport (5.0.7.2)
|
15
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
|
+
i18n (>= 0.7, < 2)
|
17
|
+
minitest (~> 5.1)
|
18
|
+
tzinfo (~> 1.1)
|
19
|
+
addressable (2.6.0)
|
20
|
+
public_suffix (>= 2.0.2, < 4.0)
|
21
|
+
ast (2.4.0)
|
22
|
+
coderay (1.1.2)
|
23
|
+
concurrent-ruby (1.1.5)
|
24
|
+
crack (0.4.3)
|
25
|
+
safe_yaml (~> 1.0.0)
|
26
|
+
diff-lcs (1.3)
|
27
|
+
hashdiff (1.0.0)
|
28
|
+
i18n (1.6.0)
|
29
|
+
concurrent-ruby (~> 1.0)
|
30
|
+
jaro_winkler (1.5.3)
|
31
|
+
memoist (0.16.0)
|
32
|
+
method_source (0.9.2)
|
33
|
+
mini_portile2 (2.4.0)
|
34
|
+
minitest (5.11.3)
|
35
|
+
nokogiri (1.10.4)
|
36
|
+
mini_portile2 (~> 2.4.0)
|
37
|
+
parallel (1.17.0)
|
38
|
+
parser (2.6.3.0)
|
39
|
+
ast (~> 2.4.0)
|
40
|
+
pry (0.12.2)
|
41
|
+
coderay (~> 1.1.0)
|
42
|
+
method_source (~> 0.9.0)
|
43
|
+
pry-nav (0.3.0)
|
44
|
+
pry (>= 0.9.10, < 0.13.0)
|
45
|
+
public_suffix (3.1.1)
|
46
|
+
rainbow (3.0.0)
|
47
|
+
rake (10.5.0)
|
48
|
+
rspec (3.8.0)
|
49
|
+
rspec-core (~> 3.8.0)
|
50
|
+
rspec-expectations (~> 3.8.0)
|
51
|
+
rspec-mocks (~> 3.8.0)
|
52
|
+
rspec-core (3.8.2)
|
53
|
+
rspec-support (~> 3.8.0)
|
54
|
+
rspec-expectations (3.8.4)
|
55
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
56
|
+
rspec-support (~> 3.8.0)
|
57
|
+
rspec-its (1.3.0)
|
58
|
+
rspec-core (>= 3.0.0)
|
59
|
+
rspec-expectations (>= 3.0.0)
|
60
|
+
rspec-mocks (3.8.1)
|
61
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
62
|
+
rspec-support (~> 3.8.0)
|
63
|
+
rspec-support (3.8.2)
|
64
|
+
rubocop (0.74.0)
|
65
|
+
jaro_winkler (~> 1.5.1)
|
66
|
+
parallel (~> 1.10)
|
67
|
+
parser (>= 2.6)
|
68
|
+
rainbow (>= 2.2.2, < 4.0)
|
69
|
+
ruby-progressbar (~> 1.7)
|
70
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
71
|
+
ruby-progressbar (1.10.1)
|
72
|
+
safe_yaml (1.0.5)
|
73
|
+
thread_safe (0.3.6)
|
74
|
+
tzinfo (1.2.5)
|
75
|
+
thread_safe (~> 0.1)
|
76
|
+
unicode-display_width (1.6.0)
|
77
|
+
vcr (5.0.0)
|
78
|
+
webmock (3.7.0)
|
79
|
+
addressable (>= 2.3.6)
|
80
|
+
crack (>= 0.3.2)
|
81
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
82
|
+
|
83
|
+
PLATFORMS
|
84
|
+
ruby
|
85
|
+
|
86
|
+
DEPENDENCIES
|
87
|
+
bundler (~> 2.0)
|
88
|
+
carmel_hockey!
|
89
|
+
pry
|
90
|
+
pry-nav
|
91
|
+
rake (~> 10.0)
|
92
|
+
rspec (~> 3.0)
|
93
|
+
rspec-its
|
94
|
+
rubocop
|
95
|
+
vcr
|
96
|
+
webmock
|
97
|
+
|
98
|
+
BUNDLED WITH
|
99
|
+
2.0.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Levi Wilson
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# CarmelHockey
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/carmel_hockey`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'carmel_hockey'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install carmel_hockey
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/carmel_hockey.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'carmel_hockey/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'carmel_hockey'
|
9
|
+
spec.version = CarmelHockey::VERSION
|
10
|
+
spec.authors = ['Levi Wilson']
|
11
|
+
spec.email = ['levi@leviwilson.com']
|
12
|
+
|
13
|
+
spec.summary = 'Carmel Hockey esports api'
|
14
|
+
spec.description = 'Carmel Hockey esports api'
|
15
|
+
spec.homepage = 'https://gitlab.com/leviwilson/carmel_hockey'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
20
|
+
if spec.respond_to?(:metadata)
|
21
|
+
|
22
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
23
|
+
spec.metadata['source_code_uri'] = 'https://gitlab.com/leviwilson/carmel_hockey'
|
24
|
+
else
|
25
|
+
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
26
|
+
'public gem pushes.'
|
27
|
+
end
|
28
|
+
|
29
|
+
# Specify which files should be added to the gem when it is released.
|
30
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
31
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
32
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
33
|
+
end
|
34
|
+
spec.bindir = 'exe'
|
35
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
36
|
+
spec.require_paths = ['lib']
|
37
|
+
|
38
|
+
spec.add_runtime_dependency 'activemodel', '~> 5.0.7.2'
|
39
|
+
spec.add_runtime_dependency 'memoist'
|
40
|
+
spec.add_runtime_dependency 'nokogiri', '>= 1.10.4'
|
41
|
+
|
42
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
43
|
+
spec.add_development_dependency 'pry'
|
44
|
+
spec.add_development_dependency 'pry-nav'
|
45
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
46
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
47
|
+
spec.add_development_dependency 'rspec-its'
|
48
|
+
spec.add_development_dependency 'rubocop'
|
49
|
+
spec.add_development_dependency 'vcr'
|
50
|
+
spec.add_development_dependency 'webmock'
|
51
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CarmelHockey
|
4
|
+
class Leader
|
5
|
+
include HockeyModel
|
6
|
+
|
7
|
+
COLUMNS = %i[
|
8
|
+
rank _name number position _team
|
9
|
+
games_played goals assists
|
10
|
+
points points_per_game penalty_minutes
|
11
|
+
].freeze
|
12
|
+
|
13
|
+
attr_accessor :player, :team
|
14
|
+
attr_accessor(*COLUMNS.reject { |c| c.to_s.start_with?('_') })
|
15
|
+
|
16
|
+
def initialize(attributes = {})
|
17
|
+
super
|
18
|
+
self.points_per_game = points_per_game.to_f
|
19
|
+
%i[goals assists games_played rank points penalty_minutes number].each do |attr|
|
20
|
+
send("#{attr}=", send(attr).to_i)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
class << self
|
25
|
+
extend Memoist
|
26
|
+
|
27
|
+
def all(season:)
|
28
|
+
seasons[season] ||= leaders_for(season)
|
29
|
+
end
|
30
|
+
|
31
|
+
private
|
32
|
+
|
33
|
+
def from_row(row)
|
34
|
+
columns = row.css 'td'
|
35
|
+
|
36
|
+
table_values = COLUMNS.each_with_index.map do |name, index|
|
37
|
+
[name, columns[index].text.strip] unless name.to_s[0] == '_'
|
38
|
+
end.compact
|
39
|
+
|
40
|
+
Leader.new Hash[table_values.concat(models_for(columns))]
|
41
|
+
end
|
42
|
+
|
43
|
+
def models_for(columns)
|
44
|
+
{ _name: :player, _team: :team }.map do |id_name, name|
|
45
|
+
column = columns[COLUMNS.find_index(id_name)]
|
46
|
+
next unless column.css('a').first
|
47
|
+
|
48
|
+
model_for name, column
|
49
|
+
end.compact
|
50
|
+
end
|
51
|
+
|
52
|
+
def model_for(name, column)
|
53
|
+
id = column.css('a').first['href'].match(/#{name}ID=(\d+)/)[1].to_i
|
54
|
+
[name, "carmel_hockey/#{name}".classify.constantize.new(id: id, name: column.text.strip)]
|
55
|
+
end
|
56
|
+
|
57
|
+
def seasons
|
58
|
+
{}
|
59
|
+
end
|
60
|
+
memoize :seasons
|
61
|
+
|
62
|
+
def leaders_for(season)
|
63
|
+
leaders = []
|
64
|
+
page = 0
|
65
|
+
|
66
|
+
loop do
|
67
|
+
leaders << page(season: season, page: page += 1)
|
68
|
+
break if leaders.last.count < 20
|
69
|
+
end
|
70
|
+
|
71
|
+
leaders.flatten
|
72
|
+
end
|
73
|
+
|
74
|
+
STATS = 'http://admin.esportsdesk.com/leagues/stats_hockey.cfm'
|
75
|
+
|
76
|
+
def page(season:, page:)
|
77
|
+
offset = (20 * (page - 1)) + 1
|
78
|
+
url = "#{STATS}?leagueID=16561&clientID=4754&start_row=#{offset}"
|
79
|
+
html = Nokogiri::HTML(Net::HTTP.post_form(URI.parse(url), sel_ChildSeason: season).body)
|
80
|
+
html.css('tr.boxscores_tables5').map(&method(:from_row))
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CarmelHockey
|
4
|
+
class Season
|
5
|
+
include HockeyModel
|
6
|
+
|
7
|
+
attr_accessor :id, :name
|
8
|
+
|
9
|
+
def initialize(attributes = {})
|
10
|
+
super
|
11
|
+
self.id = id.to_i
|
12
|
+
end
|
13
|
+
|
14
|
+
def leaders
|
15
|
+
Leader.all(season: id)
|
16
|
+
end
|
17
|
+
memoize :leaders
|
18
|
+
|
19
|
+
class << self
|
20
|
+
extend Memoist
|
21
|
+
def all
|
22
|
+
page.css('select[name="sel_ChildSeason"] option').map do |option|
|
23
|
+
Season.new(id: option.attribute('value').text, name: option.text)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
memoize :all
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
def page
|
31
|
+
Nokogiri::HTML(open('http://admin.esportsdesk.com/leagues/stats_hockey.cfm?leagueID=16561&clientID=4754'))
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'active_model'
|
4
|
+
require 'memoist'
|
5
|
+
require 'nokogiri'
|
6
|
+
require 'open-uri'
|
7
|
+
|
8
|
+
require 'hockey_model'
|
9
|
+
require 'carmel_hockey/leader'
|
10
|
+
require 'carmel_hockey/player'
|
11
|
+
require 'carmel_hockey/season'
|
12
|
+
require 'carmel_hockey/team'
|
13
|
+
require 'carmel_hockey/version'
|
14
|
+
|
15
|
+
module CarmelHockey
|
16
|
+
class Error < StandardError; end
|
17
|
+
|
18
|
+
def self.seasons
|
19
|
+
Season.all
|
20
|
+
end
|
21
|
+
end
|
data/lib/hockey_model.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module HockeyModel
|
4
|
+
extend ActiveSupport::Concern
|
5
|
+
|
6
|
+
included do
|
7
|
+
include ActiveModel::Model
|
8
|
+
extend Memoist
|
9
|
+
end
|
10
|
+
|
11
|
+
def attributes
|
12
|
+
instance_variables.each_with_object({}) do |name, h|
|
13
|
+
name = name[1..-1]
|
14
|
+
h[name] = send(name)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,233 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: carmel_hockey
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Levi Wilson
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-09-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activemodel
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.0.7.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.0.7.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: memoist
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nokogiri
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.10.4
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.10.4
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry-nav
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '10.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '10.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec-its
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rubocop
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: vcr
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: webmock
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
description: Carmel Hockey esports api
|
182
|
+
email:
|
183
|
+
- levi@leviwilson.com
|
184
|
+
executables: []
|
185
|
+
extensions: []
|
186
|
+
extra_rdoc_files: []
|
187
|
+
files:
|
188
|
+
- ".gitignore"
|
189
|
+
- ".gitlab-ci.yml"
|
190
|
+
- ".rspec"
|
191
|
+
- ".rubocop.yml"
|
192
|
+
- ".travis.yml"
|
193
|
+
- ".vimrc"
|
194
|
+
- Gemfile
|
195
|
+
- Gemfile.lock
|
196
|
+
- LICENSE.txt
|
197
|
+
- README.md
|
198
|
+
- Rakefile
|
199
|
+
- carmel_hockey.gemspec
|
200
|
+
- lib/carmel_hockey.rb
|
201
|
+
- lib/carmel_hockey/leader.rb
|
202
|
+
- lib/carmel_hockey/player.rb
|
203
|
+
- lib/carmel_hockey/season.rb
|
204
|
+
- lib/carmel_hockey/team.rb
|
205
|
+
- lib/carmel_hockey/version.rb
|
206
|
+
- lib/hockey_model.rb
|
207
|
+
homepage: https://gitlab.com/leviwilson/carmel_hockey
|
208
|
+
licenses:
|
209
|
+
- MIT
|
210
|
+
metadata:
|
211
|
+
homepage_uri: https://gitlab.com/leviwilson/carmel_hockey
|
212
|
+
source_code_uri: https://gitlab.com/leviwilson/carmel_hockey
|
213
|
+
post_install_message:
|
214
|
+
rdoc_options: []
|
215
|
+
require_paths:
|
216
|
+
- lib
|
217
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - ">="
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: '0'
|
227
|
+
requirements: []
|
228
|
+
rubyforge_project:
|
229
|
+
rubygems_version: 2.7.3
|
230
|
+
signing_key:
|
231
|
+
specification_version: 4
|
232
|
+
summary: Carmel Hockey esports api
|
233
|
+
test_files: []
|