shark-scraper-cli 0.1.0 → 0.1.5

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
  SHA256:
3
- metadata.gz: 2fe3f9cb8e1add71e3194c19855541e28263cfae653870ed3404fc28ab25868c
4
- data.tar.gz: b7dc03ed1c645ef051cbc7c46dff6ca1413df7c81f8fdf8d15820247677af0ba
3
+ metadata.gz: f740db2fb1e668b24064991f9d27126ff9dc80bf9ea70f91f17b4a645f790deb
4
+ data.tar.gz: 0b0e48e05517235c6f8f84762ae5aaae1cc86f915c0754a649e788937e52e368
5
5
  SHA512:
6
- metadata.gz: 37e73c130f5a8a45bf8164d5ea2951861330324ffd6a14aa4d1d86c97980d72fd2c10e9a4580a4c7b4811c199a00aa4e6c48223c157b2ab243d05a1081e7bf45
7
- data.tar.gz: 784e3c4c259bf161d4e7a80c906c68dae6e66d814728ff6a504f42c3470ac248b3b61baa2d8d6020366535e887c96487715e0c5e79888b48985cedae7080a798
6
+ metadata.gz: 1120472c93119bec517cd8239dc7f7ebd58b7d300989e401a6e2b8329429811545bc4d52a6efbdc129b226c796fecd44d1dab0d06ec2e0d06285863562694a8f
7
+ data.tar.gz: ea95b392e323ca754794dcda8ce4a4752f814688aaded5bcf172196b397875b97f2a1f60ac227966c3f68876e66e19584f8616ac6730ce4fe6787db38ad29517
data/Gemfile.lock ADDED
@@ -0,0 +1,44 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ shark-scraper-cli (0.1.5)
5
+ nokogiri
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ast (2.4.2)
11
+ nokogiri (1.11.3-x86_64-darwin)
12
+ racc (~> 1.4)
13
+ parallel (1.20.1)
14
+ parser (3.0.1.1)
15
+ ast (~> 2.4.1)
16
+ racc (1.5.2)
17
+ rainbow (3.0.0)
18
+ rake (13.0.3)
19
+ regexp_parser (2.1.1)
20
+ rexml (3.2.5)
21
+ rubocop (1.17.0)
22
+ parallel (~> 1.10)
23
+ parser (>= 3.0.0.0)
24
+ rainbow (>= 2.2.2, < 4.0)
25
+ regexp_parser (>= 1.8, < 3.0)
26
+ rexml
27
+ rubocop-ast (>= 1.7.0, < 2.0)
28
+ ruby-progressbar (~> 1.7)
29
+ unicode-display_width (>= 1.4.0, < 3.0)
30
+ rubocop-ast (1.7.0)
31
+ parser (>= 3.0.1.1)
32
+ ruby-progressbar (1.11.0)
33
+ unicode-display_width (2.0.0)
34
+
35
+ PLATFORMS
36
+ x86_64-darwin-20
37
+
38
+ DEPENDENCIES
39
+ rake (~> 13.0)
40
+ rubocop (~> 1.7)
41
+ shark-scraper-cli!
42
+
43
+ BUNDLED WITH
44
+ 2.2.21
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # shark-scraper-cli
2
2
 
3
- This Ruby gem provides a CLI for you to learn about 40 sharks and rays as seen on Oceana's Sharks & Rays Encyclopedia. By inputting the number corresponding to the shark or ray you wish to learn more about, you will get access to some quick facts about the animal. You will learn about their scientific name, distribution, habitat, feeding, taxonomy, and will be given a short description.
3
+ This Ruby gem provides a CLI for you to learn about 40 sharks and rays as seen on Oceana's Sharks & Rays Encyclopedia. By inputting the number corresponding to the shark or ray you wish to learn more about, you will get access to some quick facts about the animal. You will learn about its scientific name, distribution, habitat, feeding, taxonomy, and will be given a short description.
4
4
 
5
5
  ## Installation
6
6
 
data/bin/console CHANGED
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "bundler/setup"
5
- require "shark/scraper/cli"
5
+ require "shark"
6
6
 
7
7
  # You can add fixtures and/or initialization code here to make experimenting
8
8
  # with your gem easier. You can also use a different console, if you like.
@@ -5,4 +5,4 @@ require_relative '../lib/shark/shark_cli'
5
5
  require_relative '../lib/shark/sharkrays'
6
6
  require_relative '../lib/shark/shark_scraper'
7
7
 
8
- Shark::CLI.new.call
8
+ Shark::CLI.new.call
data/lib/shark/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Shark
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.5"
5
5
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = "Shark and Ray CLI"
12
12
  spec.description = "Provides information on 40 sharks and rays."
13
- spec.homepage = "https://rubygems.org/"
13
+ spec.homepage = "https://rubygems.org/gems/shark-scraper-cli"
14
14
  spec.license = "MIT"
15
15
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
16
16
 
@@ -25,13 +25,15 @@ Gem::Specification.new do |spec|
25
25
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
26
26
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
27
27
  end
28
- spec.bindir = "exe"
29
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28
+ #spec.bindir = "exe"
29
+ spec.executables << 'shark-scraper-cli' # = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ["lib"]
31
31
 
32
32
  # Uncomment to register a new dependency of your gem
33
33
  # spec.add_dependency "example-gem", "~> 1.0"
34
34
 
35
+ spec.add_dependency "nokogiri", ">= 0"
36
+
35
37
  # For more information and examples about making a new gem, checkout our
36
38
  # guide at: https://bundler.io/guides/creating_gem.html
37
39
  end
metadata CHANGED
@@ -1,19 +1,34 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shark-scraper-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kayla Luebbert
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-25 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2021-06-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: nokogiri
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: Provides information on 40 sharks and rays.
14
28
  email:
15
29
  - luebbertkayla@gmail.com
16
- executables: []
30
+ executables:
31
+ - shark-scraper-cli
17
32
  extensions: []
18
33
  extra_rdoc_files: []
19
34
  files:
@@ -22,19 +37,20 @@ files:
22
37
  - CHANGELOG.md
23
38
  - CODE_OF_CONDUCT.md
24
39
  - Gemfile
40
+ - Gemfile.lock
25
41
  - LICENSE.txt
26
42
  - README.md
27
43
  - Rakefile
28
44
  - bin/console
29
45
  - bin/setup
30
- - bin/shark_bin.rb
46
+ - bin/shark-scraper-cli
31
47
  - lib/module_shark.rb
32
48
  - lib/shark/shark_cli.rb
33
49
  - lib/shark/shark_scraper.rb
34
50
  - lib/shark/sharkrays.rb
35
51
  - lib/shark/version.rb
36
52
  - shark-scraper-cli.gemspec
37
- homepage: https://rubygems.org/
53
+ homepage: https://rubygems.org/gems/shark-scraper-cli
38
54
  licenses:
39
55
  - MIT
40
56
  metadata: