googem 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +73 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/googem +5 -0
- data/googem.gemspec +38 -0
- data/lib/googem/cli.rb +42 -0
- data/lib/googem/helper.rb +56 -0
- data/lib/googem/version.rb +3 -0
- data/lib/googem.rb +32 -0
- metadata +105 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a377d08a41c9fc3523d5255fb8a7e9c4d1df4d2e424a9bd8d10177d648b0bcf2
|
4
|
+
data.tar.gz: 3168226cce09999b235ac8804712213f446943ab3fb71e032b7438830ae93aa3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a311d88d83e586ec8c8aea761f50d137d684aead87087614693cb25c2060875eed609f8e756382b9a878195702b34e983f9e01a6b62ae75e8afd0f9b0ef5edd5
|
7
|
+
data.tar.gz: 05e37f500cd4bb572b7067793312826bcb9362b14db52f72475120e873d71fdf69fbab16ac9811ad43722c40da71b69f548a26faeb7b29c9ff5a0e6802e8321f
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
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 ohmygodvt95@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
googem (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
addressable (2.3.8)
|
10
|
+
equatable (0.5.0)
|
11
|
+
hitimes (1.3.0)
|
12
|
+
json (1.8.6)
|
13
|
+
mime-types (1.25.1)
|
14
|
+
minitest (5.11.3)
|
15
|
+
necromancer (0.4.0)
|
16
|
+
oj (3.6.7)
|
17
|
+
pastel (0.7.2)
|
18
|
+
equatable (~> 0.5.0)
|
19
|
+
tty-color (~> 0.4.0)
|
20
|
+
rake (10.5.0)
|
21
|
+
rest-client (1.6.9)
|
22
|
+
mime-types (~> 1.16)
|
23
|
+
strings (0.1.3)
|
24
|
+
strings-ansi (~> 0.1.0)
|
25
|
+
unicode-display_width (~> 1.4.0)
|
26
|
+
unicode_utils (~> 1.4.0)
|
27
|
+
strings-ansi (0.1.0)
|
28
|
+
timers (4.1.2)
|
29
|
+
hitimes
|
30
|
+
tty-color (0.4.3)
|
31
|
+
tty-cursor (0.6.0)
|
32
|
+
tty-pager (0.11.0)
|
33
|
+
strings (~> 0.1.0)
|
34
|
+
tty-screen (~> 0.6.4)
|
35
|
+
tty-which (~> 0.3.0)
|
36
|
+
tty-prompt (0.17.0)
|
37
|
+
necromancer (~> 0.4.0)
|
38
|
+
pastel (~> 0.7.0)
|
39
|
+
timers (~> 4.0)
|
40
|
+
tty-cursor (~> 0.6.0)
|
41
|
+
tty-reader (~> 0.4.0)
|
42
|
+
tty-reader (0.4.0)
|
43
|
+
tty-cursor (~> 0.6.0)
|
44
|
+
tty-screen (~> 0.6.4)
|
45
|
+
wisper (~> 2.0.0)
|
46
|
+
tty-screen (0.6.5)
|
47
|
+
tty-spinner (0.8.0)
|
48
|
+
tty-cursor (>= 0.5.0)
|
49
|
+
tty-which (0.3.0)
|
50
|
+
unicode-display_width (1.4.0)
|
51
|
+
unicode_utils (1.4.0)
|
52
|
+
unirest (1.1.2)
|
53
|
+
addressable (~> 2.3.5)
|
54
|
+
json (~> 1.8.1)
|
55
|
+
rest-client (~> 1.6.7)
|
56
|
+
wisper (2.0.0)
|
57
|
+
|
58
|
+
PLATFORMS
|
59
|
+
ruby
|
60
|
+
|
61
|
+
DEPENDENCIES
|
62
|
+
bundler (~> 1.16)
|
63
|
+
googem!
|
64
|
+
minitest (~> 5.0)
|
65
|
+
oj
|
66
|
+
rake (~> 10.0)
|
67
|
+
tty-pager
|
68
|
+
tty-prompt
|
69
|
+
tty-spinner
|
70
|
+
unirest
|
71
|
+
|
72
|
+
BUNDLED WITH
|
73
|
+
1.16.4
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 ThienLV
|
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,43 @@
|
|
1
|
+
# Googem
|
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/googem`. 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 'googem'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install googem
|
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 test` 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]/googem. 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.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
40
|
+
|
41
|
+
## Code of Conduct
|
42
|
+
|
43
|
+
Everyone interacting in the Googem project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/googem/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "googem"
|
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
data/exe/googem
ADDED
data/googem.gemspec
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "googem/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "googem"
|
8
|
+
spec.version = Googem::VERSION
|
9
|
+
spec.authors = ["ThienLV"]
|
10
|
+
spec.email = ["ohmygodvt95@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Use stackoverflow.com with commandline interface. Happy coding.}
|
13
|
+
spec.description = %q{Use stackoverflow.com with commandline interface. No browsers, no interface, only terminal. LIKE a BOSS}
|
14
|
+
spec.homepage = "https://github.com/ohmygodvt95/googem.git"
|
15
|
+
spec.license = "MIT"
|
16
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
+
"public gem pushes."
|
24
|
+
end
|
25
|
+
|
26
|
+
# Specify which files should be added to the gem when it is released.
|
27
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
28
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
29
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
30
|
+
end
|
31
|
+
spec.bindir = "exe"
|
32
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
33
|
+
spec.require_paths = ["lib"]
|
34
|
+
|
35
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
36
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
37
|
+
spec.add_development_dependency "minitest", "~> 5.0"
|
38
|
+
end
|
data/lib/googem/cli.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'optparse'
|
2
|
+
require 'googem'
|
3
|
+
|
4
|
+
module Googem
|
5
|
+
class Cli
|
6
|
+
def self.run args, out = STDOUT
|
7
|
+
options = {page: 1, size: 5}
|
8
|
+
ARGV << '-h' if ARGV.empty?
|
9
|
+
parser = OptionParser.new do |opts|
|
10
|
+
opts.banner = "Usage: googem [options]"
|
11
|
+
|
12
|
+
opts.on("-v","--version", "Show googem version") do
|
13
|
+
require "googem/version"
|
14
|
+
out << "Googem v#{Googem::VERSION}\n"
|
15
|
+
end
|
16
|
+
|
17
|
+
opts.on("-k","--keyword KEYWORDS", String, "Search by keyword \"keywords\", eg: $ googem -k \"ruby\"") do |keywords|
|
18
|
+
options[:keywords] = keywords ||= nil
|
19
|
+
end
|
20
|
+
|
21
|
+
opts.on("-p","--page [page]", Integer, "Page number") do |page|
|
22
|
+
options[:page] = page
|
23
|
+
end
|
24
|
+
|
25
|
+
opts.on("-s","--size [size]", Integer, "Page size") do |size|
|
26
|
+
options[:size] = size
|
27
|
+
end
|
28
|
+
|
29
|
+
opts.on_tail("-h", "--help", "Show list commands") do
|
30
|
+
puts opts
|
31
|
+
exit
|
32
|
+
end
|
33
|
+
end
|
34
|
+
begin
|
35
|
+
parser.parse! args
|
36
|
+
rescue
|
37
|
+
puts "An unknown error. Try again with new keywords."
|
38
|
+
end
|
39
|
+
Googem::Search.do options[:keywords], options
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require 'unirest'
|
2
|
+
require 'oj'
|
3
|
+
require 'tty-spinner'
|
4
|
+
require 'tty-pager'
|
5
|
+
require 'cgi'
|
6
|
+
|
7
|
+
module Googem
|
8
|
+
module Helper
|
9
|
+
def self.minutes_in_words(timestamp)
|
10
|
+
minutes = (((Time.now - timestamp).abs)/60).round
|
11
|
+
|
12
|
+
return nil if minutes < 0
|
13
|
+
|
14
|
+
case minutes
|
15
|
+
when 0..4 then 'less than 5 minutes ago'
|
16
|
+
when 5..14 then 'less than 15 minutes ago'
|
17
|
+
when 15..29 then 'less than 30 minutes ago'
|
18
|
+
when 30..59 then 'greater than 30 minutes ago'
|
19
|
+
when 60..119 then 'greater than 1 hour ago'
|
20
|
+
when 120..239 then 'greater than 2 hours ago'
|
21
|
+
when 240..479 then 'greater than 4 hours ago'
|
22
|
+
when 480..719 then 'greater than 8 hours ago'
|
23
|
+
when 720..1439 then 'greater than 12 hours ago'
|
24
|
+
when 1440..11519 then 'greater than ' << ((minutes/1440).floor.to_s + ' day ago')
|
25
|
+
when 11520..43199 then 'greater than ' << ((minutes/11520).floor.to_s + ' week ago')
|
26
|
+
when 43200..525599 then 'greater than ' << ((minutes/43200).floor.to_s + ' month ago')
|
27
|
+
else 'greater than ' << ((minutes/525600).floor.to_s + ' year ago')
|
28
|
+
end
|
29
|
+
end
|
30
|
+
def self.show_question question_id
|
31
|
+
url = "https://api.stackexchange.com/2.2/questions/#{question_id}?pagesize=10&order=desc&sort=activity&site=stackoverflow&filter=!)5s.rMpmn9TU*hMdF1gjTFCFqR0v"
|
32
|
+
spinner = TTY::Spinner.new("[:spinner] Getting data #{question_id} ... ", format: :pulse_2)
|
33
|
+
|
34
|
+
prompt = -> (page_num) { output.puts "Page -#{page_num}- Press enter to continue" }
|
35
|
+
pager = TTY::Pager::BasicPager.new
|
36
|
+
spinner.auto_spin
|
37
|
+
response = Unirest.get url, headers:{ "Accept" => "application/json" }
|
38
|
+
document = JSON.parse response.raw_body
|
39
|
+
content = "Q: #{document["items"][0]["title"]}\nA: #{document["items"][0]["link"]}\n";
|
40
|
+
content << "# QUESTION\n----------------------------------------------------------\n"
|
41
|
+
content << "#{CGI.unescapeHTML(document["items"][0]["body_markdown"])}\n\n"
|
42
|
+
content << "# ANSWERS\n----------------------------------------------------------\n"
|
43
|
+
if document["items"][0]["answers"].nil?
|
44
|
+
content << "No answers\n"
|
45
|
+
else
|
46
|
+
document["items"][0]["answers"].each_with_index do |i, index|
|
47
|
+
content << "▷ #{index+ 1} ◇ by #{i["owner"]["display_name"]} ◇ #{minutes_in_words Time.at(i["creation_date"])}\n"
|
48
|
+
content << "----------------------------------------------------------\n"
|
49
|
+
content << CGI.unescapeHTML(i["body_markdown"]) + "\n----------------------------------------------------------\n"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
spinner.success('Done!') # Stop animation
|
53
|
+
pager.page content.encode('utf-8')
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
data/lib/googem.rb
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
require "googem/version"
|
2
|
+
require 'optparse'
|
3
|
+
require 'unirest'
|
4
|
+
require 'oj'
|
5
|
+
require 'tty-spinner'
|
6
|
+
require 'tty-pager'
|
7
|
+
require 'date'
|
8
|
+
require 'googem/helper'
|
9
|
+
require 'tty-prompt'
|
10
|
+
|
11
|
+
module Googem
|
12
|
+
class Search
|
13
|
+
BASE_URL = "https://api.stackexchange.com//2.2/search/advanced?order=desc&sort=activity&site=stackoverflow"
|
14
|
+
|
15
|
+
def self.do keywords, options
|
16
|
+
spinner = TTY::Spinner.new("[:spinner] Searching ...", format: :pulse_2)
|
17
|
+
prompt = TTY::Prompt.new
|
18
|
+
spinner.auto_spin
|
19
|
+
response = Unirest.get "#{BASE_URL}&title=#{keywords}&page=#{options[:page]}&pagesize=#{options[:size]}", headers:{ "Accept" => "application/json" }
|
20
|
+
document = JSON.parse response.raw_body
|
21
|
+
content = {}
|
22
|
+
document["items"].each_with_index do |i, index|
|
23
|
+
content["#{'%-3.3s' % (index + 1).to_s}#{i["title"]}\n#{'%-3.3s' % ''}#{i["link"]}\n#{'%-3.3s' % ''}by #{'%-25.25s' % i["owner"]["display_name"]} ◇ #{Helper.minutes_in_words Time.at(i["creation_date"])} ◇ Views #{i["view_count"]} ◇ Answers #{i["answer_count"]}\n"] = -> do Helper.show_question(i["question_id"]) end;
|
24
|
+
end
|
25
|
+
spinner.success('Done!') # Stop animation
|
26
|
+
puts "--------------------------------------------------- \n"
|
27
|
+
puts "Results found containing \"#{keywords}\": #{document["items"].count}"
|
28
|
+
puts "--------------------------------------------------- \n"
|
29
|
+
prompt.select("Choose your question?", content, cycle: true)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: googem
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- ThienLV
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-09-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.16'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.16'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
description: Use stackoverflow.com with commandline interface. No browsers, no interface,
|
56
|
+
only terminal. LIKE a BOSS
|
57
|
+
email:
|
58
|
+
- ohmygodvt95@gmail.com
|
59
|
+
executables:
|
60
|
+
- googem
|
61
|
+
extensions: []
|
62
|
+
extra_rdoc_files: []
|
63
|
+
files:
|
64
|
+
- ".gitignore"
|
65
|
+
- ".travis.yml"
|
66
|
+
- CODE_OF_CONDUCT.md
|
67
|
+
- Gemfile
|
68
|
+
- Gemfile.lock
|
69
|
+
- LICENSE.txt
|
70
|
+
- README.md
|
71
|
+
- Rakefile
|
72
|
+
- bin/console
|
73
|
+
- bin/setup
|
74
|
+
- exe/googem
|
75
|
+
- googem.gemspec
|
76
|
+
- lib/googem.rb
|
77
|
+
- lib/googem/cli.rb
|
78
|
+
- lib/googem/helper.rb
|
79
|
+
- lib/googem/version.rb
|
80
|
+
homepage: https://github.com/ohmygodvt95/googem.git
|
81
|
+
licenses:
|
82
|
+
- MIT
|
83
|
+
metadata:
|
84
|
+
allowed_push_host: https://rubygems.org
|
85
|
+
post_install_message:
|
86
|
+
rdoc_options: []
|
87
|
+
require_paths:
|
88
|
+
- lib
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
requirements: []
|
100
|
+
rubyforge_project:
|
101
|
+
rubygems_version: 2.7.6
|
102
|
+
signing_key:
|
103
|
+
specification_version: 4
|
104
|
+
summary: Use stackoverflow.com with commandline interface. Happy coding.
|
105
|
+
test_files: []
|