vamp 0.1.5 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +11 -6
- data/Gemfile +7 -0
- data/README.md +5 -0
- data/lib/vamp/graphic.rb +1 -1
- data/lib/vamp/ply.rb +4 -4
- data/lib/vamp/version.rb +1 -1
- data/lib/vamp.rb +39 -11
- data/spec/graphic/transfer5_spec.rb +2 -2
- data/vamp.gemspec +2 -0
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 134e1aa12a9424f6e10ac28c3d3ee98349c69af38c9141a4fae88023d582aa3c
|
4
|
+
data.tar.gz: c1d28e614900c52c616edb3cec6960b199a4e160892acba5f7712192fc9dbba5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e90bc99943f440e45286e395e37fd6a6475990337cf2ee3f80b5a52e2c7fc65e7a2a30b589bb4b43ed16ab6729c1c02ab54dc8eaf754347f6e6874ffcc2e2145
|
7
|
+
data.tar.gz: f309e44acc9b212082f4fea43ee844518dcb045c293aa34931b169d896c104efb78a7af71b52e3b09154de34fc4905653dbb7092ebae8a88399f00b95ea7151b
|
data/.travis.yml
CHANGED
@@ -1,9 +1,14 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.
|
4
|
-
- 2.
|
5
|
-
-
|
6
|
-
-
|
7
|
-
- jruby-
|
3
|
+
- 2.0.0
|
4
|
+
- 2.6.5
|
5
|
+
- 3.0.2
|
6
|
+
- ruby-head
|
7
|
+
- jruby-9.2.6.0
|
8
8
|
- jruby-19mode
|
9
|
-
-
|
9
|
+
- jruby-head
|
10
|
+
matrix:
|
11
|
+
fast_finish: true
|
12
|
+
allow_failures:
|
13
|
+
- rvm: jruby-head
|
14
|
+
- rvm: ruby-head
|
data/Gemfile
CHANGED
@@ -2,3 +2,10 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in vamp.gemspec
|
4
4
|
gemspec
|
5
|
+
|
6
|
+
# only for local testing but not needed for spec tests
|
7
|
+
group :test do
|
8
|
+
gem 'rake' if RUBY_VERSION !~ /^1\./
|
9
|
+
gem 'rake', '~>10' if RUBY_VERSION =~ /^1\./
|
10
|
+
end
|
11
|
+
|
data/README.md
CHANGED
@@ -4,6 +4,7 @@ Want to pimp up your command line interface?
|
|
4
4
|
Just require this gem, insert some code and your CLI makes witty vampire quotes.
|
5
5
|
You can even play animated ascii art in a console window.
|
6
6
|
|
7
|
+
|
7
8
|
## Installation
|
8
9
|
|
9
10
|
Add this line to your application's Gemfile:
|
@@ -20,6 +21,7 @@ Or install it yourself as:
|
|
20
21
|
|
21
22
|
$ gem install vamp
|
22
23
|
|
24
|
+
|
23
25
|
## Usage with thor
|
24
26
|
|
25
27
|
```ruby
|
@@ -76,6 +78,8 @@ After checking out the repo, run `bundle install` to install dependencies.
|
|
76
78
|
|
77
79
|
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` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
78
80
|
|
81
|
+
See [here for travis reports](https://travis-ci.org/m-31/vamp)
|
82
|
+
|
79
83
|
## Contributing
|
80
84
|
|
81
85
|
1. Fork it ( https://github.com/m-31/vamp/fork )
|
@@ -83,3 +87,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
83
87
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
84
88
|
4. Push to the branch (`git push origin my-new-feature`)
|
85
89
|
5. Create a new Pull Request
|
90
|
+
|
data/lib/vamp/graphic.rb
CHANGED
data/lib/vamp/ply.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
require File.join(File.dirname(__FILE__), "ply/ply_object")
|
2
|
+
require File.join(File.dirname(__FILE__), "ply/cube")
|
3
|
+
require File.join(File.dirname(__FILE__), "ply/vampire")
|
4
4
|
|
5
5
|
module Vamp
|
6
6
|
module Ply
|
7
7
|
end
|
8
|
-
end
|
8
|
+
end
|
data/lib/vamp/version.rb
CHANGED
data/lib/vamp.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
require "vamp/animator"
|
2
|
+
require "vamp/art"
|
3
|
+
require "vamp/colorize"
|
4
|
+
require "vamp/ply"
|
5
|
+
require "vamp/version"
|
6
6
|
|
7
7
|
module Vamp
|
8
8
|
|
@@ -22,7 +22,7 @@ module Vamp
|
|
22
22
|
"You're still waiting for the running and the screaming, aren't you?",
|
23
23
|
"Your number was up the first time I met you.",
|
24
24
|
"You really should stay away from me.",
|
25
|
-
"
|
25
|
+
"That's the beautiful thing about being human: Things change.",
|
26
26
|
"I've never tried to keep a specific person alive before, and it's much more troublesome" \
|
27
27
|
" than I would have believed.",
|
28
28
|
"Hasn't anyone ever told you? Life isn't fair.",
|
@@ -42,9 +42,9 @@ module Vamp
|
|
42
42
|
"Some things aren't meant for sunlight. The only place for them is in the shadows.",
|
43
43
|
"Is that all I was to you, a one-bite stand?",
|
44
44
|
"Though I cannot predict the future, the consequences of this night will reverberate through the halls" \
|
45
|
-
" of both great covens for many years to come",
|
45
|
+
" of both great covens for many years to come.",
|
46
46
|
"Whether you like it or not, you are in middle of a war that has been raging for the better part of a" \
|
47
|
-
" thousand years",
|
47
|
+
" thousand years.",
|
48
48
|
"There is a good reason why these rules were created, and they are the only reason we have survived this long!",
|
49
49
|
"First rule about vampires, don`t believe anything you read.",
|
50
50
|
"Stupid, unreliable vampire.",
|
@@ -55,8 +55,8 @@ module Vamp
|
|
55
55
|
"One thing vampire children are taught is, never run with a wooden stake.",
|
56
56
|
"The unknown is now my reality, for I do not yet understand what I have become." \
|
57
57
|
" The future brings so many questions, so many fears. But the first step, the first day, has arrived.",
|
58
|
-
"Please forgive me, but I desperately need your guidance. I
|
59
|
-
"
|
58
|
+
"Please forgive me, but I desperately need your guidance. I apologize for breaking the chain and awakening you" \
|
59
|
+
" ahead of schedule, but I fear we may all be in grave danger.",
|
60
60
|
"I just feel like all the sand is at the bottom of the hour glass or something.",
|
61
61
|
"Only those prepared to die will find eternal life.",
|
62
62
|
"I remember everything. It's a burden.",
|
@@ -88,7 +88,35 @@ module Vamp
|
|
88
88
|
" I follow my blood, which doesn't exactly rush in the direction of my brain. So I make a lot of mistakes," \
|
89
89
|
" a lot of wrong bloody calls. A hundred plus years, and there's only one thing I've been sure of: you.",
|
90
90
|
"I have come to redefine the words pain and suffering since I fell in love with you.",
|
91
|
-
"It's officially nippy. So say my nips."
|
91
|
+
"It's officially nippy. So say my nips.",
|
92
|
+
"What the hell is going on? What's happening to me?",
|
93
|
+
"You can never come here again. They'll kill you. Do you understand?",
|
94
|
+
"Incoherent thoughts and images, nothing more. Which is precisely why the Awakening is performed by an elder." \
|
95
|
+
" You do not possess the necessary skills. ",
|
96
|
+
"He comes in, he does his job and then he goes home. Other than that, I really don't know what to tell you.",
|
97
|
+
"In one night the lies that had united our kind had been exposed.",
|
98
|
+
"Chaos and infighting are inevitable. All that is certain is that Darkness is still ahead. But for now," \
|
99
|
+
" for the first time, I look into the light with new hope.",
|
100
|
+
"The moon is my sun, the night is my day, Blood is my life, and you are my prey.",
|
101
|
+
"I don't live in darkness; Darkness lives in me.",
|
102
|
+
"In the end, we are alone. And there is nothing but the cold, dark wasteland of eternity.",
|
103
|
+
"Darling, you're already in my veins.",
|
104
|
+
"I'm an energy vampire. I just suck off everybody's energy. But I give it back.",
|
105
|
+
"I'm the thing that monsters have nightmares about.",
|
106
|
+
"We enjoy the night, the darkness, where we can do things that aren't acceptable in the light. Night is when" \
|
107
|
+
" we slake our thirst.",
|
108
|
+
"Vampires pretending to be humans pretending to be vampires ... How avant-garde!",
|
109
|
+
"I was shaking all over, and it wasn't from the vampire. Memories have teeth, too.",
|
110
|
+
"I always thought the appeal for vampires are the same as religion, the desire to avoid death and live forever.",
|
111
|
+
"When other little girls wanted to be ballet dancers I kind of wanted to be a vampire.",
|
112
|
+
"I took mythology a lot more seriously since I’d become a vampire.",
|
113
|
+
"Vampires pretending to be humans pretending to be vampires ... How avant-garde!",
|
114
|
+
"If there's one thing real vampires seem to have in common, it is their reluctance to tell the world about who," \
|
115
|
+
" and what, they are.",
|
116
|
+
"I'm going out to get a bite to drink.",
|
117
|
+
"Loving the monsters always ends badly for the humans. It's a rule.",
|
118
|
+
"Living somewhat apart from human society, vampires are not burdened with the conventions of heterosexual or" \
|
119
|
+
" homosexual. We admire physical beauty in all its forms."
|
92
120
|
].sample
|
93
121
|
end
|
94
122
|
end
|
@@ -149,7 +149,7 @@ describe Vamp::Graphic::Transfer5 do
|
|
149
149
|
/ / | \ \
|
150
150
|
.` | \ .
|
151
151
|
END
|
152
|
-
).
|
152
|
+
).rstrip
|
153
153
|
end
|
154
154
|
|
155
155
|
# here is the 3 x 3 result
|
@@ -173,7 +173,7 @@ describe Vamp::Graphic::Transfer5 do
|
|
173
173
|
/` / | \ \
|
174
174
|
/` / | \ '\
|
175
175
|
END
|
176
|
-
).
|
176
|
+
).rstrip
|
177
177
|
end
|
178
178
|
end
|
179
179
|
end
|
data/vamp.gemspec
CHANGED
@@ -20,6 +20,8 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
spec.post_install_message = " .. may the blood never cease to flow .."
|
22
22
|
|
23
|
+
spec.required_ruby_version = '>= 1.9.0'
|
24
|
+
|
23
25
|
spec.add_development_dependency "rake"
|
24
26
|
spec.add_development_dependency "rspec"
|
25
27
|
# spec.add_development_dependency "thor"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vamp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Meyling
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -91,16 +91,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
91
|
requirements:
|
92
92
|
- - ">="
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
94
|
+
version: 1.9.0
|
95
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
|
-
|
102
|
-
|
103
|
-
signing_key:
|
101
|
+
rubygems_version: 3.2.22
|
102
|
+
signing_key:
|
104
103
|
specification_version: 4
|
105
104
|
summary: vampire quotes
|
106
105
|
test_files:
|