Skip to content

Commit

Permalink
Add spec examples
Browse files Browse the repository at this point in the history
  • Loading branch information
radkomih committed Sep 28, 2020
1 parent 348b58e commit 5f39aec
Show file tree
Hide file tree
Showing 42 changed files with 1,468 additions and 77 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.rspec_status
Gemfile.lock
4 changes: 4 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--color
--order random
--require spec_helper
--format documentation
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
AllCops:
NewCops: enable
12 changes: 9 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ source "https://rubygems.org"
# Specify your gem's dependencies in football_api.gemspec
gemspec

gem "rake", "~> 12.3"
gem "rspec", "~> 3.8"

gem 'pry'
gem "rake", "~> 13.0"
gem "rspec", "~> 3.9"
gem 'webmock'
gem 'simplecov'
gem 'rubocop', '~> 0.90.0'
gem 'rubocop-rspec', '~> 1.43'
gem 'rubocop-performance', '~> 1.8'
gem 'brakeman'
61 changes: 57 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,33 @@
PATH
remote: .
specs:
football_api (0.1.3)
football_api (0.1.4)

GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
ast (2.4.1)
brakeman (4.9.1)
coderay (1.1.3)
crack (0.4.3)
safe_yaml (~> 1.0.0)
diff-lcs (1.4.4)
rake (12.3.3)
docile (1.3.2)
hashdiff (1.0.1)
method_source (1.0.0)
parallel (1.19.2)
parser (2.7.1.4)
ast (~> 2.4.1)
pry (0.13.1)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (4.0.6)
rainbow (3.0.0)
rake (13.0.1)
regexp_parser (1.7.1)
rexml (3.2.4)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
Expand All @@ -21,14 +41,47 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.3)
rubocop (0.90.0)
parallel (~> 1.10)
parser (>= 2.7.1.1)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.7)
rexml
rubocop-ast (>= 0.3.0, < 1.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0)
rubocop-ast (0.4.0)
parser (>= 2.7.1.4)
rubocop-performance (1.8.0)
rubocop (>= 0.87.0)
rubocop-rspec (1.43.2)
rubocop (~> 0.87)
ruby-progressbar (1.10.1)
safe_yaml (1.0.5)
simplecov (0.19.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov-html (0.12.2)
unicode-display_width (1.7.0)
webmock (3.8.3)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)

PLATFORMS
ruby

DEPENDENCIES
brakeman
football_api!
rake (~> 12.3)
rspec (~> 3.8)
pry
rake (~> 13.0)
rspec (~> 3.9)
rubocop (~> 0.90.0)
rubocop-performance (~> 1.8)
rubocop-rspec (~> 1.43)
simplecov
webmock

BUNDLED WITH
2.1.4
Loading

0 comments on commit 5f39aec

Please sign in to comment.