theysaidsocli 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1120aa346e6dc574e5f539c15571ef3fadef2d511baaaae3d5005a709762364d
4
+ data.tar.gz: af74bcbbd2a75b91c268d3fb5377b0c2098d00650696dd228a0a6e1d761e81e8
5
+ SHA512:
6
+ metadata.gz: 822e9ec2d6e317791887514c1c187990915c89665ec508fbdc68ce06aa17131670fca87d2faec96049b2006b61495db72df0fc608415de13f0c909bf6e5db91a
7
+ data.tar.gz: af622cf44f7de608ba5c654508af629a5789ced4f5423ca662483effb46d0da1a20a6cc06066a19e42a80d4a77c59680786c6afc9690a15ebc66e8faa0fcc578
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+
13
+ .idea/*
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.3
7
+ before_install: gem install bundler -v 1.17.1
@@ -0,0 +1,77 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at tzi.sof@gmail.com
59
+
60
+
61
+ . All
62
+ complaints will be reviewed and investigated and will result in a response that
63
+ is deemed necessary and appropriate to the circumstances. The project team is
64
+ obligated to maintain confidentiality with regard to the reporter of an incident.
65
+ Further details of specific enforcement policies may be posted separately.
66
+
67
+ Project maintainers who do not follow or enforce the Code of Conduct in good
68
+ faith may face temporary or permanent repercussions as determined by other
69
+ members of the project's leadership.
70
+
71
+ ## Attribution
72
+
73
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
74
+ available at [http://contributor-covenant.org/version/1/4][version]
75
+
76
+ [homepage]: http://contributor-covenant.org
77
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ require "bundler/setup"
6
+
7
+
8
+ # Specify your gem's dependencies in theysaidsocli.gemspec
9
+ gemspec
10
+
11
+ gem "httparty"
12
+ gem "hirb"
data/Gemfile.lock ADDED
@@ -0,0 +1,45 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ theysaidsocli (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ hirb (0.7.3)
11
+ httparty (0.16.4)
12
+ mime-types (~> 3.0)
13
+ multi_xml (>= 0.5.2)
14
+ mime-types (3.2.2)
15
+ mime-types-data (~> 3.2015)
16
+ mime-types-data (3.2018.0812)
17
+ multi_xml (0.6.0)
18
+ rake (10.5.0)
19
+ rspec (3.8.0)
20
+ rspec-core (~> 3.8.0)
21
+ rspec-expectations (~> 3.8.0)
22
+ rspec-mocks (~> 3.8.0)
23
+ rspec-core (3.8.0)
24
+ rspec-support (~> 3.8.0)
25
+ rspec-expectations (3.8.2)
26
+ diff-lcs (>= 1.2.0, < 2.0)
27
+ rspec-support (~> 3.8.0)
28
+ rspec-mocks (3.8.0)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.8.0)
31
+ rspec-support (3.8.0)
32
+
33
+ PLATFORMS
34
+ ruby
35
+
36
+ DEPENDENCIES
37
+ bundler (~> 1.17)
38
+ hirb
39
+ httparty
40
+ rake (~> 10.0)
41
+ rspec (~> 3.0)
42
+ theysaidsocli!
43
+
44
+ BUNDLED WITH
45
+ 1.17.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 sofia
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,58 @@
1
+ # theysaidso
2
+
3
+ Powered by:
4
+ <span style="z-index:50;font-size:0.9em;"><img src="https://theysaidso.com/branding/theysaidso.png" height="20" width="20" alt="theysaidso.com"/><a href="https://theysaidso.com" title="Powered by quotes from theysaidso.com" style="color: #9fcc25; margin-left: 4px; vertical-align: middle;">theysaidso.com</a></span>
5
+
6
+
7
+ This is a simple CLI gem to get quotes from the TheysaidsocliAPI.
8
+ If you need some inspiration during your day, just pick your daily quote from your command line!
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'theysaidsocli'
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ $ bundle
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install theysaidso
25
+
26
+ ## Usage
27
+
28
+ You can run in your command line:
29
+
30
+ - `theysaidso` : gets you the Quote of the day!
31
+ - `Theysaidsocli-cat` : gets you all the available quote categories
32
+ - `Theysaidsocli-cat life` : gets you a quote from the "life" category
33
+
34
+
35
+ ### TODO:
36
+
37
+ The API is rate-limited so with the free version you can make 10requests per hour.
38
+ I doubt people will need more than that in a CLI, but I will implement at some point passing an API key to get unlimited quotes
39
+
40
+ ## Development
41
+
42
+ 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.
43
+
44
+ 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).
45
+
46
+ ## Contributing
47
+
48
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/theysaidso. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
49
+
50
+ ## License
51
+
52
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
53
+
54
+ ## Code of Conduct
55
+
56
+ Everyone interacting in the Theysaidsocliproject’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/theysaidso/blob/master/CODE_OF_CONDUCT.md).
57
+
58
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "theysaidsocli"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/bin/theysaidsocli ADDED
@@ -0,0 +1,49 @@
1
+ #!/usr/bin/env ruby
2
+ require "theysaidsocli"
3
+ require "quote_terminal_printer"
4
+ require "theysaidsocli/version"
5
+
6
+ quote_fetcher = QuoteFetcher.new
7
+
8
+ entered_ARGV = ARGV.length > 0;
9
+
10
+ begin
11
+ unless entered_ARGV
12
+ qod = quote_fetcher.qod
13
+ QuoteTerminalPrinter.new(qod).print
14
+ return
15
+ end
16
+
17
+ case ARGV[0]
18
+
19
+ when "-v"
20
+ puts Theysaidsocli::VERSION
21
+ when "-h"
22
+ puts "Hello! Welcome to the help menu of the TheySaySo cli."
23
+ puts " -v | Get version"
24
+ puts " | Get the quote of the day"
25
+ puts " -cat | Get all categories"
26
+ puts " -cat <Cat> | Pick a quote from a specific category"
27
+ exit
28
+ when "-cat"
29
+
30
+ if ARGV[1]
31
+ qod = quote_fetcher.qod(ARGV[1])
32
+ QuoteTerminalPrinter.new(qod).print
33
+ return
34
+ end
35
+
36
+ categories = quote_fetcher.categories
37
+ puts "Available categories:"
38
+ categories.each { |c| puts c.to_s }
39
+ else
40
+ puts "Unknown option. Use theysaidsocli -h for help."
41
+ end
42
+
43
+ rescue RateLimitError
44
+ puts "You are making too many requests... Try again in an hour."
45
+ rescue NotFoundError
46
+ puts "No results were found with the term used. Try again with a different term.."
47
+ end
48
+
49
+
data/lib/category.rb ADDED
@@ -0,0 +1,14 @@
1
+ class Category
2
+
3
+ attr_accessor :key, :description
4
+
5
+ def initialize(key, description)
6
+ @key = key
7
+ @description = description
8
+ end
9
+
10
+ def to_s
11
+ "#{@key}: '#{@description}'"
12
+ end
13
+
14
+ end
data/lib/quote.rb ADDED
@@ -0,0 +1,15 @@
1
+ class Quote
2
+
3
+ attr_accessor :author, :quote, :length, :tags, :category, :date
4
+
5
+ def initialize(quote_hash)
6
+ @author = quote_hash[:author]
7
+ @quote = quote_hash[:quote]
8
+ @length = quote_hash[:length]
9
+ @tags = quote_hash[:tags]
10
+ @category = quote_hash[:category]
11
+ @date = quote_hash[:date]
12
+ end
13
+
14
+
15
+ end
@@ -0,0 +1,37 @@
1
+ require 'hirb'
2
+
3
+ class QuoteTerminalPrinter
4
+
5
+ def initialize(quote)
6
+ @quote = quote
7
+ @print_text = "#{@quote.author} said: \"#{@quote.quote}\""
8
+ @width = @print_text.size
9
+ end
10
+
11
+ def print
12
+ puts
13
+ print_separator
14
+ print_quote
15
+ print_separator
16
+ puts
17
+ end
18
+
19
+ private
20
+
21
+ def print_quote
22
+ puts "~ #{@print_text} ~"
23
+ end
24
+
25
+ def print_separator
26
+ puts "*" * separator_width
27
+ end
28
+
29
+ def separator_width
30
+ [@width + 4, terminal_width].min
31
+ end
32
+
33
+ def terminal_width
34
+ Hirb::Util.detect_terminal_size[0]
35
+ end
36
+
37
+ end
data/lib/response.rb ADDED
@@ -0,0 +1,26 @@
1
+ class Response
2
+
3
+ attr_accessor :content
4
+
5
+ def initialize(http_response)
6
+ @status = http_response.response.code
7
+ @content = parse_contents(http_response)
8
+ end
9
+
10
+ def rate_limited?
11
+ @status == "429"
12
+ end
13
+
14
+ def success?
15
+ @status == "200" && !@content.nil?
16
+ end
17
+
18
+ private
19
+
20
+ def parse_contents(response)
21
+ stringify_response = response.to_s
22
+ json_object = JSON.parse(stringify_response, :symbolize_names => true)
23
+ json_object[:contents]
24
+ end
25
+
26
+ end
@@ -0,0 +1,48 @@
1
+ require_relative "theysaidsocli/version"
2
+ require_relative "quote"
3
+ require_relative "response"
4
+ require_relative "category"
5
+ require "httparty"
6
+
7
+ class RateLimitError < StandardError; end
8
+ class NotFoundError < StandardError; end
9
+
10
+ class QuoteFetcher
11
+
12
+ QOD_URL = "http://quotes.rest/qod.json"
13
+ QOD_URL_WITH_CATEGORY = "http://quotes.rest/qod.json?category="
14
+ CATEGORIES_URL = "http://quotes.rest/qod/categories.json"
15
+
16
+ def categories
17
+ categories_response = HTTParty.get(CATEGORIES_URL)
18
+
19
+ response = Response.new(categories_response)
20
+ raise RateLimitError if response.rate_limited?
21
+ raise NotFoundError unless response.success?
22
+
23
+ categories = []
24
+ response.content[:categories].each do |key, value|
25
+ categories << Category.new(key, value)
26
+ end
27
+ categories
28
+ end
29
+
30
+ def qod(category = nil)
31
+ sanitized_category = sanitize_input(category)
32
+ qod_response = HTTParty.get(sanitized_category ? "#{QOD_URL_WITH_CATEGORY}#{sanitized_category}" : QOD_URL)
33
+
34
+ response = Response.new(qod_response)
35
+ raise RateLimitError if response.rate_limited?
36
+ raise NotFoundError unless response.success?
37
+
38
+ Quote.new(response.content[:quotes][0])
39
+ end
40
+
41
+ private
42
+
43
+ def sanitize_input(category)
44
+ return nil if category.nil?
45
+ category.gsub(/[^0-9A-Za-z]/,'')
46
+ end
47
+
48
+ end
@@ -0,0 +1,3 @@
1
+ module Theysaidsocli
2
+ VERSION = "0.2.0"
3
+ end
@@ -0,0 +1,45 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "theysaidsocli/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "theysaidsocli"
8
+ spec.version = Theysaidsocli::VERSION
9
+ spec.authors = ["@Sofia"]
10
+ spec.email = ["tzi.sof@gmail.com\n\n\n"]
11
+
12
+ spec.summary = %q{CLI tool to give you random quotes.}
13
+ spec.description = %q{Gets you random quotes from the TheysaidsocliAPI.}
14
+ spec.homepage = "https://github.com/siwS/theysaidsocli"
15
+ spec.license = "MIT"
16
+
17
+ if spec.respond_to?(:metadata)
18
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
19
+
20
+ spec.metadata["homepage_uri"] = spec.homepage
21
+ spec.metadata["source_code_uri"] = "https://github.com/siwS/theysaidsocli"
22
+ spec.metadata["changelog_uri"] = "https://github.com/siwS/theysaidsocli"
23
+ else
24
+ raise "RubyGems 2.0 or newer is required to protect against " \
25
+ "public gem pushes."
26
+ end
27
+
28
+ # Specify which files should be added to the gem when it is released.
29
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
30
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
31
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
32
+ end
33
+ spec.executables = ["theysaidsocli"]
34
+ spec.require_paths = ["lib"]
35
+ spec.bindir = "bin"
36
+
37
+ spec.add_runtime_dependency 'httparty'
38
+ spec.add_runtime_dependency 'hirb'
39
+
40
+ spec.add_development_dependency 'httparty'
41
+ spec.add_development_dependency 'hirb'
42
+ spec.add_development_dependency "bundler", "~> 1.17"
43
+ spec.add_development_dependency "rake", "~> 10.0"
44
+ spec.add_development_dependency "rspec", "~> 3.0"
45
+ end
metadata ADDED
@@ -0,0 +1,169 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: theysaidsocli
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - "@Sofia"
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-03-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
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'
27
+ - !ruby/object:Gem::Dependency
28
+ name: hirb
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: httparty
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: hirb
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.17'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.17'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ description: Gets you random quotes from the TheysaidsocliAPI.
112
+ email:
113
+ - |+
114
+ tzi.sof@gmail.com
115
+
116
+
117
+ executables:
118
+ - theysaidsocli
119
+ extensions: []
120
+ extra_rdoc_files: []
121
+ files:
122
+ - ".gitignore"
123
+ - ".rspec"
124
+ - ".travis.yml"
125
+ - CODE_OF_CONDUCT.md
126
+ - Gemfile
127
+ - Gemfile.lock
128
+ - LICENSE.txt
129
+ - README.md
130
+ - Rakefile
131
+ - bin/console
132
+ - bin/setup
133
+ - bin/theysaidsocli
134
+ - lib/category.rb
135
+ - lib/quote.rb
136
+ - lib/quote_terminal_printer.rb
137
+ - lib/response.rb
138
+ - lib/theysaidsocli.rb
139
+ - lib/theysaidsocli/version.rb
140
+ - theysaidsocli.gemspec
141
+ homepage: https://github.com/siwS/theysaidsocli
142
+ licenses:
143
+ - MIT
144
+ metadata:
145
+ allowed_push_host: https://rubygems.org
146
+ homepage_uri: https://github.com/siwS/theysaidsocli
147
+ source_code_uri: https://github.com/siwS/theysaidsocli
148
+ changelog_uri: https://github.com/siwS/theysaidsocli
149
+ post_install_message:
150
+ rdoc_options: []
151
+ require_paths:
152
+ - lib
153
+ required_ruby_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ requirements: []
164
+ rubyforge_project:
165
+ rubygems_version: 2.7.6
166
+ signing_key:
167
+ specification_version: 4
168
+ summary: CLI tool to give you random quotes.
169
+ test_files: []