two_cents 0.1.7

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 882c12448d7c0abb0cf810a5f72cb11823b209a2
4
+ data.tar.gz: c2759a7e0b27ede63cd4c50d2ed98e25ea9cd32a
5
+ SHA512:
6
+ metadata.gz: 86e8baa34bdfd85a7d23d43c92d8811aa41ada39ff716489c0e8a7e298f043a93c12a0255b673e16cc280c6672f8fb7b200436dc166ba07c61da7c0ad9c9d77c
7
+ data.tar.gz: 8f4b558f5080e7be96af6d98b39fbf85352f5651e9491fd231b22526b7c7dc0edd8bdaac24781b4d94e010093ae9fd8354c7c3b1407c8ef76f1acbe62696038d
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.0
5
+ before_install: gem install bundler -v 1.12.3
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at jenny.kats@aol.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in two_cents.gemspec
4
+ # require '/two_cents.gemspec'
5
+ gem "gold_mine"
6
+ gem "thor"
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Jenny
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,44 @@
1
+ # TwoCents
2
+
3
+ ## Installation
4
+
5
+ Add this line to your application's Gemfile:
6
+
7
+ ```ruby
8
+ gem 'two_cents'
9
+ ```
10
+
11
+ install it yourself as:
12
+
13
+ $ gem install two_cents
14
+
15
+ ## Usage
16
+
17
+ TwoCents is a multi-functional gem that allows you to conduct a Google search and gives you a random daily fortune complete with a cat ascii.
18
+
19
+ COMMANDS:
20
+
21
+ $ two_cents search your_search_query
22
+
23
+ Allows you to open Google with your search from your terminal with your defaulted browser.
24
+
25
+ $ two_cents fortune
26
+
27
+ Gives you a random fortune, ascii cat artwork and allows you to query Google from your terminal.
28
+
29
+ ## Development
30
+
31
+ 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.
32
+
33
+ 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).
34
+
35
+ * Note: We are not affiliated with Google.
36
+
37
+ ## Contributing
38
+
39
+ Bug reports and pull requests are welcome on GitHub at https://github.com/jennykats/two_cents. 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.
40
+
41
+
42
+ ## License
43
+
44
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
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/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/two_cents ADDED
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "thor"
4
+ require "irb"
5
+ require "gold_mine"
6
+ require "pry"
7
+
8
+ require "bundler/setup"
9
+ require_relative "../lib/two_cents/two_cents"
10
+ require_relative "../lib/version"
11
+ require_relative "../lib/two_cents/cli"
12
+ require_relative "../lib/two_cents/cat"
13
+
14
+
15
+ TwoCents::Cli.start( ARGV )
16
+ # You can add fixtures and/or initialization code here to make experimenting
17
+ # with your gem easier. You can also use a different console, if you like.
18
+
19
+ # (If you use this, don't forget to add pry to your Gemfile!)
20
+
21
+
22
+ # Pry.start
@@ -0,0 +1,148 @@
1
+ module TwoCents
2
+ class Cat
3
+ def self.cat_1
4
+ puts " _,'| _.-''``-...___..--';)"
5
+ puts " /_ \'. __..-' , ,--...--''' "
6
+ puts " <\ .`--''' ` /' "
7
+ puts " `-';' ; ; ; "
8
+ puts " __...--'' ___...--_..' .;.' "
9
+ puts " (,__....----''' (,..--'' "
10
+ end
11
+
12
+ def self.cat_2
13
+ puts ""
14
+ puts " (`.-,') "
15
+ puts " .-' ; "
16
+ puts " _.- ' , `,- "
17
+ puts " _ _.-' .' /._ "
18
+ puts " .' ` _.-. / ,'._;) "
19
+ puts " ( . )-| ( "
20
+ puts " )`,_ ,'_,' \_;) "
21
+ puts " ('_ _,'.' (___,)) "
22
+ end
23
+
24
+ def self.cat_3
25
+ puts " _ "
26
+ puts " | \ "
27
+ puts " | | "
28
+ puts " | | "
29
+ puts " |\ | | "
30
+ puts " /, ~\ / / "
31
+ puts " X `-.....-------./ / "
32
+ puts " ~-. ~ ~ | "
33
+ puts " \ / | "
34
+ puts " \ /_ ___\ / "
35
+ puts " | /\ ~~~~~ \ | "
36
+ puts " | | \ || | "
37
+ puts " | |\ \ || ) "
38
+ puts " (_/ (_/ ((_/ "
39
+ end
40
+
41
+ def self.cat_4
42
+ puts " \`*-. "
43
+ puts " ) _`-. "
44
+ puts " . : `. . "
45
+ puts " : _ ' \ "
46
+ puts " ; *` _. `*-._ "
47
+ puts " `-.-' `-. "
48
+ puts " ; ` `. "
49
+ puts " :. . \ "
50
+ puts " . \ . : .-' . "
51
+ puts " ' `+.; ; ' : "
52
+ puts " : ' | ; ;-. "
53
+ puts " ; ' : :`-: _.`* ;"
54
+ puts " .*' / .*' ; .*`- +' `*'"
55
+ puts " `*-* `*-* `*-*' "
56
+ end
57
+
58
+ def self.cat_5
59
+ puts " ;\ "
60
+ puts " _' \_ "
61
+ puts " ,' ' '`. "
62
+ puts " ;,) \ "
63
+ puts " / : "
64
+ puts " (_ : "
65
+ puts " `--. \ "
66
+ puts " / `. "
67
+ puts " ; `. "
68
+ puts " / `. "
69
+ puts " : `. "
70
+ puts " : \ "
71
+ puts " \\ \ "
72
+ puts " :: : "
73
+ puts " || | | "
74
+ puts " || |`._ ; "
75
+ puts " _;; ; __`._, (________ "
76
+ puts " ((__/(_____(______,'______(___) "
77
+ end
78
+
79
+ def self.cat_6
80
+ puts ""
81
+ puts " \)\_ "
82
+ puts " / '. .---._ "
83
+ puts " * ^ ` '. "
84
+ puts " `--. / \ "
85
+ puts " .-'( \ | "
86
+ puts " (.-' )-..__> , ; "
87
+ puts " (_.--`` (__.-/ / "
88
+ puts " .-.__.-'.' "
89
+ puts " '-...-' "
90
+ end
91
+
92
+ def self.cat_7
93
+ puts " |\___/| "
94
+ puts " ) ( "
95
+ puts " =\ /= "
96
+ puts " )===( "
97
+ puts " / \ "
98
+ puts " | | "
99
+ puts " / \ "
100
+ puts " \ / "
101
+ puts " \__ _/ "
102
+ puts " ( ( "
103
+ puts " ) ) "
104
+ puts " (_( "
105
+ end
106
+
107
+ def self.cat_8
108
+ puts " _ _..._ _ "
109
+ puts " \)` (` / "
110
+ puts " / `\ "
111
+ puts " | d b | "
112
+ puts " =\ Y =/--..-=''````''-. "
113
+ puts " '.=__.-' `\ "
114
+ puts " / /\ \ "
115
+ puts " | | \ \ / ) "
116
+ puts " \ .--""`\ < \ '-' / "
117
+ puts " // | || \ '---' "
118
+ puts " ((,,_/ ((,,___/ "
119
+ end
120
+
121
+ def self.cat_9
122
+ puts " __ _..._ _ "
123
+ puts " \ `) ` (/ "
124
+ puts " /` \ "
125
+ puts " | d b | "
126
+ puts " .-''``''=-..--\= Y /= "
127
+ puts " /` `-.__ =. ' "
128
+ puts " _ / /\ /o "
129
+ puts "( \ / / | | "
130
+ puts " \ '-' / > /`""--. / "
131
+ puts " '---' / || | \\ "
132
+ puts " \___,,)) \_,,)) "
133
+ end
134
+
135
+ def self.cat_10
136
+ puts " .-o=o-. "
137
+ puts " , /=o=o=o=\ .--. "
138
+ puts " _|\|=o=O=o=O=| \ "
139
+ puts " __.' a`\=o=o=o=(`\ / "
140
+ puts " '. a 4/`|.-""'`\ \ ;'`) .---. "
141
+ puts " \ .' / .--' |_.' / .-._)"
142
+ puts " `) _.' / /`-.__.' / "
143
+ puts " `'-.____; /'-.___.-' "
144
+ puts " `''` "
145
+ end
146
+
147
+ end
148
+ end
@@ -0,0 +1,152 @@
1
+ module TwoCents
2
+ module Character
3
+ class Cat
4
+
5
+
6
+ def self.cat_1
7
+ puts " _,'| _.-''``-...___..--';)"
8
+ puts " /_ \'. __..-' , ,--...--''' "
9
+ puts " <\ .`--''' ` /' "
10
+ puts " `-';' ; ; ; "
11
+ puts " __...--'' ___...--_..' .;.' "
12
+ puts " (,__....----''' (,..--'' "
13
+ end
14
+
15
+ def self.cat_2
16
+ puts ""
17
+ puts " (`.-,') "
18
+ puts " .-' ; "
19
+ puts " _.- ' , `,- "
20
+ puts " _ _.-' .' /._ "
21
+ puts " .' ` _.-. / ,'._;) "
22
+ puts " ( . )-| ( "
23
+ puts " )`,_ ,'_,' \_;) "
24
+ puts " ('_ _,'.' (___,)) "
25
+ end
26
+
27
+ def self.cat_3
28
+ puts " _ "
29
+ puts " | \ "
30
+ puts " | | "
31
+ puts " | | "
32
+ puts " |\ | | "
33
+ puts " /, ~\ / / "
34
+ puts " X `-.....-------./ / "
35
+ puts " ~-. ~ ~ | "
36
+ puts " \ / | "
37
+ puts " \ /_ ___\ / "
38
+ puts " | /\ ~~~~~ \ | "
39
+ puts " | | \ || | "
40
+ puts " | |\ \ || ) "
41
+ puts " (_/ (_/ ((_/ "
42
+ end
43
+
44
+ def self.cat_4
45
+ puts " \`*-. "
46
+ puts " ) _`-. "
47
+ puts " . : `. . "
48
+ puts " : _ ' \ "
49
+ puts " ; *` _. `*-._ "
50
+ puts " `-.-' `-. "
51
+ puts " ; ` `. "
52
+ puts " :. . \ "
53
+ puts " . \ . : .-' . "
54
+ puts " ' `+.; ; ' : "
55
+ puts " : ' | ; ;-. "
56
+ puts " ; ' : :`-: _.`* ;"
57
+ puts " .*' / .*' ; .*`- +' `*'"
58
+ puts " `*-* `*-* `*-*' "
59
+ end
60
+
61
+ def self.cat_5
62
+ puts " ;\ "
63
+ puts " _' \_ "
64
+ puts " ,' ' '`. "
65
+ puts " ;,) \ "
66
+ puts " / : "
67
+ puts " (_ : "
68
+ puts " `--. \ "
69
+ puts " / `. "
70
+ puts " ; `. "
71
+ puts " / `. "
72
+ puts " : `. "
73
+ puts " : \ "
74
+ puts " \\ \ "
75
+ puts " :: : "
76
+ puts " || | | "
77
+ puts " || |`._ ; "
78
+ puts " _;; ; __`._, (________ "
79
+ puts " ((__/(_____(______,'______(___) "
80
+ end
81
+
82
+ def self.cat_6
83
+ puts ""
84
+ puts " \)\_ "
85
+ puts " / '. .---._ "
86
+ puts " * ^ ` '. "
87
+ puts " `--. / \ "
88
+ puts " .-'( \ | "
89
+ puts " (.-' )-..__> , ; "
90
+ puts " (_.--`` (__.-/ / "
91
+ puts " .-.__.-'.' "
92
+ puts " '-...-' "
93
+ end
94
+
95
+ def self.cat_7
96
+ puts " |\___/| "
97
+ puts " ) ( "
98
+ puts " =\ /= "
99
+ puts " )===( "
100
+ puts " / \ "
101
+ puts " | | "
102
+ puts " / \ "
103
+ puts " \ / "
104
+ puts " \__ _/ "
105
+ puts " ( ( "
106
+ puts " ) ) "
107
+ puts " (_( "
108
+ end
109
+
110
+ def self.cat_8
111
+ puts " _ _..._ _ "
112
+ puts " \)` (` / "
113
+ puts " / `\ "
114
+ puts " | d b | "
115
+ puts " =\ Y =/--..-=''````''-. "
116
+ puts " '.=__.-' `\ "
117
+ puts " / /\ \ "
118
+ puts " | | \ \ / ) "
119
+ puts " \ .--""`\ < \ '-' / "
120
+ puts " // | || \ '---' "
121
+ puts " ((,,_/ ((,,___/ "
122
+ end
123
+
124
+ def self.cat_9
125
+ puts " __ _..._ _ "
126
+ puts " \ `) ` (/ "
127
+ puts " /` \ "
128
+ puts " | d b | "
129
+ puts " .-''``''=-..--\= Y /= "
130
+ puts " /` `-.__ =. ' "
131
+ puts " _ / /\ /o "
132
+ puts "( \ / / | | "
133
+ puts " \ '-' / > /`""--. / "
134
+ puts " '---' / || | \\ "
135
+ puts " \___,,)) \_,,)) "
136
+ end
137
+
138
+ def self.cat_10
139
+ puts " .-o=o-. "
140
+ puts " , /=o=o=o=\ .--. "
141
+ puts " _|\|=o=O=o=O=| \ "
142
+ puts " __.' a`\=o=o=o=(`\ / "
143
+ puts " '. a 4/`|.-""'`\ \ ;'`) .---. "
144
+ puts " \ .' / .--' |_.' / .-._)"
145
+ puts " `) _.' / /`-.__.' / "
146
+ puts " `'-.____; /'-.___.-' "
147
+ puts " `''` "
148
+ end
149
+
150
+ end
151
+ end
152
+ end
@@ -0,0 +1,29 @@
1
+ module TwoCents
2
+ class Cli < Thor
3
+ OSX_PATH = "/Applications/Google Chrome.app"
4
+ default_task :search
5
+
6
+ desc "search QUERY", "searches Google for your query"
7
+ def search(query = nil)
8
+ if query
9
+ Kernel.exec "open", OSX_PATH, "https://www.google.com/#q=#{query}"
10
+ else
11
+ Kernel.exec "open", OSX_PATH
12
+ end
13
+ end
14
+
15
+ def self.search(query = nil)
16
+ if query
17
+ Kernel.exec "open", OSX_PATH, "https://www.google.com/#q=#{query}"
18
+ else
19
+ Kernel.exec "open", OSX_PATH
20
+ end
21
+ end
22
+
23
+ desc "fortune", "returns a fortune"
24
+ def fortune
25
+ TwoCents.fortune
26
+ end
27
+
28
+ end
29
+ end
@@ -0,0 +1,75 @@
1
+ module TwoCents
2
+ class TwoCents
3
+
4
+ def self.cents
5
+ db = GoldMine::DB.new
6
+ puts db.random
7
+ end
8
+
9
+ def self.search(input=nil)
10
+ print "What would you like to search? "
11
+ input = STDIN.gets.strip.downcase.gsub(" ", "+")
12
+ Cli.search(input)
13
+ end
14
+
15
+ def self.next
16
+ print "What would you like to do? "
17
+ input = STDIN.gets.strip.downcase.gsub(" ", "+")
18
+ if input == "fortune"
19
+ TwoCents.fortune
20
+ elsif input == "search"
21
+ TwoCents.search
22
+ else
23
+ put "Invalid - please fortune or search"
24
+ end
25
+ end
26
+
27
+
28
+ def self.fortune
29
+ i = rand(1..10)
30
+ if i == 1
31
+ puts Cat.cat_1
32
+ TwoCents.cents
33
+ TwoCents.next
34
+ elsif i == 2
35
+ puts Cat.cat_2
36
+ TwoCents.cents
37
+ TwoCents.next
38
+ elsif i == 3
39
+ puts Cat.cat_3
40
+ TwoCents.cents
41
+ TwoCents.next
42
+ elsif i == 4
43
+ puts Cat.cat_4
44
+ TwoCents.cents
45
+ TwoCents.next
46
+ elsif i == 5
47
+ puts Cat.cat_5
48
+ TwoCents.cents
49
+ TwoCents.next
50
+ elsif i == 6
51
+ puts Cat.cat_6
52
+ TwoCents.cents
53
+ TwoCents.next
54
+ elsif i == 7
55
+ puts Cat.cat_7
56
+ TwoCents.cents
57
+ TwoCents.next
58
+ elsif i == 8
59
+ puts Cat.cat_8
60
+ TwoCents.cents
61
+ TwoCents.next
62
+ elsif i == 9
63
+ puts Cat.cat_9
64
+ TwoCents.cents
65
+ TwoCents.next
66
+ else i == 10
67
+ puts Cat.cat_10
68
+ TwoCents.cents
69
+ TwoCents.next
70
+ end
71
+ end
72
+
73
+
74
+ end
75
+ end
data/lib/version.rb ADDED
@@ -0,0 +1,3 @@
1
+ class Version
2
+ VERSION = "0.1.5"
3
+ end
data/two_cents.gemspec ADDED
@@ -0,0 +1,34 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "two_cents"
7
+ spec.version = "0.1.7"
8
+ spec.authors = ["Jenny Kats", "Jenny Lai"]
9
+ spec.email = ["jenny.kats@aol.com"]
10
+
11
+ spec.summary = "Allows you to google search from your terminal and gives you a random daily fortune"
12
+ spec.description = "Random Fortune and Google Search in One"
13
+ spec.homepage = "http://rubygems.org/gems/two_cents"
14
+ spec.license = "MIT"
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ # if spec.respond_to?(:metadata)
19
+ # spec.metadata['allowed_push_host'] = "http://mygemserver.com"
20
+ # else
21
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
22
+ # end
23
+
24
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ spec.bindir = "bin"
26
+ spec.executables = ["two_cents"]
27
+ spec.require_paths = ["lib"]
28
+
29
+ spec.add_development_dependency "bundler", "~> 1.12"
30
+ spec.add_development_dependency "rake", "~> 10.0"
31
+ spec.add_development_dependency "rspec", "~> 3.0"
32
+ spec.add_dependency "thor", "~>0.19.1"
33
+ spec.add_dependency "gold_mine", "~>1.0.0"
34
+ end
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: two_cents
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.7
5
+ platform: ruby
6
+ authors:
7
+ - Jenny Kats
8
+ - Jenny Lai
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2017-01-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.12'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '1.12'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '10.0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '10.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rspec
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '3.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: thor
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 0.19.1
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: 0.19.1
70
+ - !ruby/object:Gem::Dependency
71
+ name: gold_mine
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: 1.0.0
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: 1.0.0
84
+ description: Random Fortune and Google Search in One
85
+ email:
86
+ - jenny.kats@aol.com
87
+ executables:
88
+ - two_cents
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - ".rspec"
94
+ - ".travis.yml"
95
+ - CODE_OF_CONDUCT.md
96
+ - Gemfile
97
+ - LICENSE.txt
98
+ - README.md
99
+ - Rakefile
100
+ - bin/setup
101
+ - bin/two_cents
102
+ - lib/two_cents/cat.rb
103
+ - lib/two_cents/character/cat.rb
104
+ - lib/two_cents/cli.rb
105
+ - lib/two_cents/two_cents.rb
106
+ - lib/version.rb
107
+ - two_cents.gemspec
108
+ homepage: http://rubygems.org/gems/two_cents
109
+ licenses:
110
+ - MIT
111
+ metadata: {}
112
+ post_install_message:
113
+ rdoc_options: []
114
+ require_paths:
115
+ - lib
116
+ required_ruby_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ requirements: []
127
+ rubyforge_project:
128
+ rubygems_version: 2.6.8
129
+ signing_key:
130
+ specification_version: 4
131
+ summary: Allows you to google search from your terminal and gives you a random daily
132
+ fortune
133
+ test_files: []