kokomo 0.1.0
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 +7 -0
- data/.gitignore +9 -0
- data/Gemfile +4 -0
- data/README.md +37 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/kokomo +15 -0
- data/kokomo.gemspec +35 -0
- data/lib/kokomo/version.rb +3 -0
- data/lib/kokomo.rb +5 -0
- data/resources/lyrics.txt +48 -0
- metadata +119 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cc6c8a759ab37814d212e96d4502b9aa81f400fa
|
4
|
+
data.tar.gz: 3e609b5cb09aa66d02e16d6159555147c4847402
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 021a43de1bab308828c427237dd574a1c87c58ddca58d8ac43dd2a3d1cb3d4f3e9ebb41a33e55bcb7baaa6ef2b8b46e6c6195b9ea9d451c9a0348936f41c401c
|
7
|
+
data.tar.gz: 2efc84fd4b7bd025f817776605e3343dc01e33221344ef02b3eded50ab5ead846d5036e582c94811215122e05a643722b196b63c6e00064182f7f351d67453ba
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# Kokomo
|
2
|
+
|
3
|
+
A lightweight, extensible framework to deliver Kokomo, objectively the worst song by The Beach Boys.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'kokomo'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install kokomo
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
From the command line:
|
24
|
+
|
25
|
+
```
|
26
|
+
$ kokomo
|
27
|
+
```
|
28
|
+
|
29
|
+
## Development
|
30
|
+
|
31
|
+
After checking out the repo, run `bin/setup` to install dependencies. 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
|
+
## Contributing
|
36
|
+
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/nodanaonlyzuul/kokomo.
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "kokomo"
|
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
|
data/bin/setup
ADDED
data/exe/kokomo
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'launchy'
|
4
|
+
|
5
|
+
def print_to_screen
|
6
|
+
print ''
|
7
|
+
print File.read(File.join(__dir__, '..', 'resources', 'lyrics.txt'))
|
8
|
+
print ''
|
9
|
+
print ''
|
10
|
+
print ''
|
11
|
+
end
|
12
|
+
|
13
|
+
Launchy.open('https://www.youtube.com/watch?v=fJWmbLS2_ec', options = {}) do |exception|
|
14
|
+
print_to_screen
|
15
|
+
end
|
data/kokomo.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'kokomo/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'kokomo'
|
7
|
+
spec.version = Kokomo::VERSION
|
8
|
+
spec.authors = ['nodanaonlyzuul']
|
9
|
+
spec.email = ['beholdthepanda@gmail.com']
|
10
|
+
|
11
|
+
spec.summary = 'The worst Beach Boys song, from your command line!'
|
12
|
+
spec.description = 'A lightweight, extensible framework to deliver Kokomo, objectively the worst song by The Beach Boys.'
|
13
|
+
spec.homepage = 'https://github.com/nodanaonlyzuul/kokomo'
|
14
|
+
|
15
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
16
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
17
|
+
if spec.respond_to?(:metadata)
|
18
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
19
|
+
else
|
20
|
+
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
21
|
+
'public gem pushes.'
|
22
|
+
end
|
23
|
+
|
24
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
25
|
+
f.match(%r{^(test|spec|features)/})
|
26
|
+
end
|
27
|
+
spec.bindir = 'exe'
|
28
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
|
+
spec.require_paths = ['lib']
|
30
|
+
|
31
|
+
spec.add_dependency 'launchy', '~> 2.4', '>= 2.4.3'
|
32
|
+
spec.add_development_dependency 'bundler', '~> 1.13'
|
33
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
34
|
+
spec.add_development_dependency 'rubocop'
|
35
|
+
end
|
data/lib/kokomo.rb
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
Aruba, Jamaica, oh I want to take ya
|
2
|
+
Bermuda, Bahama, come on pretty mama
|
3
|
+
Key Largo, Montego, baby why don't we go, Jamaica
|
4
|
+
|
5
|
+
Off the Florida Keys, there's a place called Kokomo
|
6
|
+
That's where you want to go to get away from it all
|
7
|
+
Bodies in the sand, tropical drink melting in your hand
|
8
|
+
We'll be falling in love to the rhythm of a steel drum band
|
9
|
+
Down in Kokomo
|
10
|
+
|
11
|
+
Aruba, Jamaica, oh I want to take you to
|
12
|
+
Bermuda, Bahama, come on pretty mama
|
13
|
+
Key Largo, Montego, baby why don't we go
|
14
|
+
oh I want to take you down to
|
15
|
+
Kokomo, we'll get there fast and then we'll take it slow
|
16
|
+
That's where we want to go, way down in Kokomo
|
17
|
+
|
18
|
+
Martinique, that Montserrat mystique
|
19
|
+
|
20
|
+
We'll put out to sea and we'll perfect our chemistry
|
21
|
+
And by and by we'll defy a little bit of gravity
|
22
|
+
Afternoon delight, cocktails and moonlit nights
|
23
|
+
That dreamy look in your eye, give me a tropical contact high
|
24
|
+
Way down in Kokomo
|
25
|
+
|
26
|
+
Aruba, Jamaica, oh I want to take you to
|
27
|
+
Bermuda, Bahama, come on pretty mama
|
28
|
+
Key Largo, Montego, baby why don't we go
|
29
|
+
oh I want to take you down to
|
30
|
+
Kokomo, we'll get there fast and then we'll take it slow
|
31
|
+
That's where we want to go, way down in Kokomo
|
32
|
+
|
33
|
+
Port au Prince, I want to catch a glimpse
|
34
|
+
|
35
|
+
Everybody knows a little place like Kokomo
|
36
|
+
Now if you want to go and get away from it all
|
37
|
+
Go down to Kokomo
|
38
|
+
|
39
|
+
Aruba, Jamaica, oh I want to take you to
|
40
|
+
Bermuda, Bahama, come on pretty mama
|
41
|
+
Key Largo, Montego, baby why don't we go
|
42
|
+
oh I want to take you down to
|
43
|
+
Kokomo, we'll get there fast and then we'll take it slow
|
44
|
+
That's where we want to go, way down in Kokomo
|
45
|
+
|
46
|
+
Aruba, Jamaica, oh I want to take you to
|
47
|
+
Bermuda, Bahama, come on pretty mama
|
48
|
+
Key Largo, Montego, baby why don't we go
|
metadata
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kokomo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- nodanaonlyzuul
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-08-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: launchy
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.4'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.4.3
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.4'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.4.3
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: bundler
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.13'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.13'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '10.0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '10.0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rubocop
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
description: A lightweight, extensible framework to deliver Kokomo, objectively the
|
76
|
+
worst song by The Beach Boys.
|
77
|
+
email:
|
78
|
+
- beholdthepanda@gmail.com
|
79
|
+
executables:
|
80
|
+
- kokomo
|
81
|
+
extensions: []
|
82
|
+
extra_rdoc_files: []
|
83
|
+
files:
|
84
|
+
- ".gitignore"
|
85
|
+
- Gemfile
|
86
|
+
- README.md
|
87
|
+
- Rakefile
|
88
|
+
- bin/console
|
89
|
+
- bin/setup
|
90
|
+
- exe/kokomo
|
91
|
+
- kokomo.gemspec
|
92
|
+
- lib/kokomo.rb
|
93
|
+
- lib/kokomo/version.rb
|
94
|
+
- resources/lyrics.txt
|
95
|
+
homepage: https://github.com/nodanaonlyzuul/kokomo
|
96
|
+
licenses: []
|
97
|
+
metadata:
|
98
|
+
allowed_push_host: https://rubygems.org
|
99
|
+
post_install_message:
|
100
|
+
rdoc_options: []
|
101
|
+
require_paths:
|
102
|
+
- lib
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
requirements: []
|
114
|
+
rubyforge_project:
|
115
|
+
rubygems_version: 2.5.1
|
116
|
+
signing_key:
|
117
|
+
specification_version: 4
|
118
|
+
summary: The worst Beach Boys song, from your command line!
|
119
|
+
test_files: []
|