Rustein 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +6 -0
- data/Rustein.gemspec +30 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/Rustein.rb +182 -0
- data/lib/Rustein/version.rb +3 -0
- metadata +113 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0b1f5a119d26329fc6e1499d77550a79029514412f2da41c5ddbd04e957edce8
|
4
|
+
data.tar.gz: 9353dceb0b8f9c88037966cecd69365c99d0a48549bacb4062c3c6f368f71d18
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: bf0195ebc087e5c24906cc8479ce42e6badeb9d7398969a26af64cbcbc67317e8df46f8182ad4f318a1fe8b8c024f7b5e18e12a57c05148b925e6c15baeb7d94
|
7
|
+
data.tar.gz: e4eade9cfc45400674a9feaaead2b41a075e80bfe097b3bd1350d8637426daa25ef4ad325a55a9294ad2efa91904ee384d7dd2cd3f052be11585cb841fb54365
|
data/.gitignore
ADDED
data/.rspec
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 gitea@fake.local. 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/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Gitea
|
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
|
+
# Rustein
|
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/Rustein`. 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 'Rustein'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install Rustein
|
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 spec` 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]/Rustein. 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 Rustein project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/Rustein/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/Rustein.gemspec
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "Rustein/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "Rustein"
|
7
|
+
spec.version = Rustein::VERSION
|
8
|
+
spec.authors = ["Gitea"]
|
9
|
+
spec.email = ["gitea@fake.local"]
|
10
|
+
|
11
|
+
spec.summary = %q{Assembles Dr. Zoidstein Python scripts in Ruby for the Python illiterate.}
|
12
|
+
spec.description = %q{Provides a more efficient way of writing Python scripts for Zoidsteins that's less error prone than hardcoding..}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
# Specify which files should be added to the gem when it is released.
|
17
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
19
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
|
+
end
|
21
|
+
spec.bindir = "exe"
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ["lib"]
|
24
|
+
|
25
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
26
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
28
|
+
|
29
|
+
spec.add_runtime_dependency "duck-duck-go", "~> 1.1.3"
|
30
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "Rustein"
|
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/lib/Rustein.rb
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
require "Rustein/version"
|
2
|
+
|
3
|
+
module Rustein
|
4
|
+
class Error < StandardError; end
|
5
|
+
|
6
|
+
class Zoidstein
|
7
|
+
|
8
|
+
# Gives the exact date you cloned the repository.
|
9
|
+
def self.rustein_cloner
|
10
|
+
time = Time.new
|
11
|
+
|
12
|
+
date = time.inspect
|
13
|
+
|
14
|
+
puts "#{date}\n"
|
15
|
+
|
16
|
+
system("git clone https://github.com/jdddog/hr_little_api")
|
17
|
+
end
|
18
|
+
|
19
|
+
# Assembles a Dr. Zoidstein walking direction.
|
20
|
+
def self.assemble_walker
|
21
|
+
print "Sequencer will ask you questions related to assembling walker..."
|
22
|
+
|
23
|
+
print "Assemble which walk direction? >> "; walk_direction = gets.chomp
|
24
|
+
print "Walk how many steps? >> "; steps_taken = gets.chomp
|
25
|
+
|
26
|
+
open("zoidstein_#{walk_direction}.py", "w") { |f|
|
27
|
+
f.puts "from hr_little_api.robot import Robot"
|
28
|
+
f.puts "from hr_little_api.robot import Animation"
|
29
|
+
f.puts "\nrobot = Robot()\n"
|
30
|
+
f.puts "if not robot.connect()"
|
31
|
+
f.puts " print('Trouble connecting...')\n"
|
32
|
+
f.puts " exit(-1)"
|
33
|
+
f.puts "\n### Your code below here. ###"
|
34
|
+
f.puts "robot.walk_#{walk_direction}(steps=#{steps_taken})\n"
|
35
|
+
f.puts "robot.disconnect()"
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Assembles a specific Dr. Zoidstein animation.
|
40
|
+
def self.assemble_animator
|
41
|
+
print "Sequencer will ask you questions related assembling animator...."
|
42
|
+
|
43
|
+
print "Assemble which walk animation? >> "; animation = gets.chomp
|
44
|
+
|
45
|
+
open("zoidstein_#{walk_direction}.py", "w") { |f|
|
46
|
+
f.puts "from hr_little_api.robot import Robot"
|
47
|
+
f.puts "from hr_little_api.robot import Animation"
|
48
|
+
f.puts "\nrobot = Robot()\n"
|
49
|
+
f.puts "if not robot.connect()"
|
50
|
+
f.puts " print('Trouble connecting...')\n"
|
51
|
+
f.puts " exit(-1)"
|
52
|
+
f.puts "\n### Your code below here. ###"
|
53
|
+
f.puts "robot.animate_#{animation}(})\n"
|
54
|
+
f.puts "robot.disconnect()"
|
55
|
+
}
|
56
|
+
end
|
57
|
+
|
58
|
+
# Sequence voltage sensors.
|
59
|
+
def self.assemble_sensors
|
60
|
+
print "Sequencer can take care of the sensors for you..."
|
61
|
+
|
62
|
+
open("zoidstein_voltage.py", "w") { |f|
|
63
|
+
f.puts "from hr_little_api.robot import Robot"
|
64
|
+
f.puts "from hr_little_api.robot import Animation"
|
65
|
+
f.puts "\nrobot = Robot()\n"
|
66
|
+
f.puts "if not robot.connect()"
|
67
|
+
f.puts " print('Trouble connecting...')\n"
|
68
|
+
f.puts " exit(-1)"
|
69
|
+
f.puts "\n### Your code below here. ###"
|
70
|
+
f.puts "print(robot.voltage)\n"
|
71
|
+
f.puts "robot.disconnect()"
|
72
|
+
}
|
73
|
+
end
|
74
|
+
|
75
|
+
# Teaches Dr. Zoidstein reasoning with words.
|
76
|
+
def self.duck_duck_stein
|
77
|
+
require "duck_duck_go"
|
78
|
+
|
79
|
+
print "What word do you wish to teach Zoidstein? >> "; teach_einstein = gets.chomp
|
80
|
+
|
81
|
+
ddg = DuckDuckGo.new
|
82
|
+
zci = ddg.zeroclickinfo(teach_einstein)
|
83
|
+
|
84
|
+
word = zci.heading
|
85
|
+
definition = zci.abstract_text
|
86
|
+
topics = zci.related_topics["_"][0].text
|
87
|
+
|
88
|
+
open("zoidstein_#{word}.py", "w") { |f|
|
89
|
+
f.puts "from hr_little_api.robot import Robot"
|
90
|
+
f.puts "from hr_little_api.robot import Animation"
|
91
|
+
f.puts "\nrobot = Robot()\n"
|
92
|
+
f.puts "if not robot.connect()"
|
93
|
+
f.puts " print('Trouble connecting...')\n"
|
94
|
+
f.puts " exit(-1)"
|
95
|
+
f.puts "\n### Your code below here. ###"
|
96
|
+
f.puts 'print("For the word #{word}, the definition is: #{definition}. The related topics is: #{topics}")\n'
|
97
|
+
f.puts "robot.disconnect()"
|
98
|
+
}
|
99
|
+
end
|
100
|
+
|
101
|
+
# Zoidstein orates my poetry.
|
102
|
+
def self.write_poetry
|
103
|
+
# Read in files.
|
104
|
+
poem01 = File.readlines('poetry/allistodust.txt'); poem02 = File.readlines('poetry/alongforestgreen.txt')
|
105
|
+
poem03 = File.readlines('poetry/anarchojean.txt'); poem04 = File.readlines('poetry/atmydoor.txt')
|
106
|
+
poem05 = File.readlines('poetry/badinbed.txt'); poem06 = File.readlines('poetry/beingmyself.txt')
|
107
|
+
poem07 = File.readlines('poetry/castleofthesea.txt'); poem08 = File.readlines('poetry/coping.txt')
|
108
|
+
poem09 = File.readlines('poetry/devilgoodcompany.txt'); poem10 = File.readlines('poetry/dianacyberneticdreams.txt')
|
109
|
+
poem11 = File.readlines('poetry/dogwithredcat.txt'); poem12 = File.readlines('poetry/dontfallback.txt')
|
110
|
+
poem13 = File.readlines('poetry/droptheideologies.txt'); poem14 = File.readlines('poetry/flalaikurose.txt')
|
111
|
+
poem15 = File.readlines('poetry/girlnothingbutadream.txt'); poem16 = File.readlines('poetry/goodopticsinthetropics.txt')
|
112
|
+
poem17 = File.readlines('poetry/haywiremeltingdown.txt'); poem18 = File.readlines('poetry/inthislandoftennessee.txt')
|
113
|
+
poem19 = File.readlines('poetry/invisibleminorities.txt'); poem20 = File.readlines('poetry/juicyneonsteak.txt')
|
114
|
+
poem21 = File.readlines('poetry/lackofcommunication.txt'); poem22 = File.readlines('poetry/laimencoformoonlight.txt')
|
115
|
+
poem23 = File.readlines('poetry/leadwithfeelingsnotthemind.txt'); poem24 = File.readlines('poetry/littleants.txt')
|
116
|
+
poem25 = File.readlines('poetry/lonelypetalswither.txt'); poem26 = File.readlines('poetry/marrowlust.txt')
|
117
|
+
poem27 = File.readlines('poetry/mmesmiled.txt'); poem28 = File.readlines('poetry/mmujinrose.txt')
|
118
|
+
poem29 = File.readlines('poetry/momentarysilence.txt'); poem30 = File.readlines('poetry/neveradrollmoment.txt')
|
119
|
+
poem31 = File.readlines('poetry/nevermorecrackingknuckles.txt'); poem32 = File.readlines('poetry/newlaconia.txt')
|
120
|
+
poem33 = File.readlines('poetry/nightlystatues.txt'); poem34 = File.readlines('poetry/policestate.txt')
|
121
|
+
poem35 = File.readlines('poetry/resigationpowder.txt'); poem36 = File.readlines('poetry/sentimentality.txt')
|
122
|
+
poem37 = File.readlines('poetry/shadowonthewall.txt'); poem38 = File.readlines('poetry/shotgungirl.txt')
|
123
|
+
poem39 = File.readlines('poetry/skeletonsfinallaugh.txt'); poem40 = File.readlines('poetry/skyslumbering.txt')
|
124
|
+
poem41 = File.readlines('poetry/sliceoflife.txt'); poem42 = File.readlines('poetry/spidersandtheghost.txt')
|
125
|
+
poem43 = File.readlines('poetry/superyacht.txt'); poem44 = File.readlines('poetry/thegirlwithrosecheeks.txt')
|
126
|
+
poem45 = File.readlines('poetry/theleftarentjellybeans.txt'); poem46 = File.readlines('poetry/thetimeshedied.txt')
|
127
|
+
poem47 = File.readlines('poetry/turntodust.txt'); poem48 = File.readlines('poetry/undertheweepingwillowtree.txt')
|
128
|
+
poem49 = File.readlines('poetry/unravelingfriendship.txt'); poem50 = File.readlines('poetry/vivalacyborgia.txt')
|
129
|
+
poem51 = File.readlines('poetry/waitinginthewall.txt'); poem52 = File.readlines('poetry/whattheysayofrome.txt')
|
130
|
+
poem53 = File.readlines('poetry/windmillsong.txt'); poem54 = File.readlines('poetry/winonaleeredneckbeyondrepair.txt')
|
131
|
+
poem55 = File.readlines('poetry/wiromantic.txt'); poem56 = File.readlines('poetry/yourmerlotourclimate.txt')
|
132
|
+
|
133
|
+
poem_shelf = [
|
134
|
+
poem01, poem02, poem03, poem04, poem05,
|
135
|
+
poem06, poem07, poem08, poem09, poem10,
|
136
|
+
poem11, poem12, poem13, poem14, poem15,
|
137
|
+
poem16, poem17, poem18, poem19, poem20,
|
138
|
+
poem21, poem22, poem23, poem24, poem25,
|
139
|
+
poem26, poem27, poem28, poem29, poem30,
|
140
|
+
poem31, poem32, poem33, poem34, poem35,
|
141
|
+
poem36, poem37, poem38, poem39, poem40,
|
142
|
+
poem41, poem42, poem43, poem44, poem45,
|
143
|
+
poem46, poem47, poem48, poem49, poem50,
|
144
|
+
poem51, poem52, poem53, poem54, poem55,
|
145
|
+
poem56,
|
146
|
+
]
|
147
|
+
|
148
|
+
active_poem01 = poem_shelf.sample; active_poem02 = poem_shelf.sample; active_poem03 = poem_shelf.sample;
|
149
|
+
active_poem04 = poem_shelf.sample; active_poem05 = poem_shelf.sample; active_poem06 = poem_shelf.sample;
|
150
|
+
active_poem07 = poem_shelf.sample; active_poem08 = poem_shelf.sample; active_poem09 = poem_shelf.sample;
|
151
|
+
active_poem10 = poem_shelf.sample; active_poem11 = poem_shelf.sample; active_poem12 = poem_shelf.sample;
|
152
|
+
|
153
|
+
time = Time.new
|
154
|
+
|
155
|
+
line_01 = active_poem01.sample
|
156
|
+
line_02 = active_poem02.sample
|
157
|
+
line_03 = active_poem03.sample
|
158
|
+
line_04 = active_poem04.sample
|
159
|
+
line_05 = active_poem05.sample
|
160
|
+
line_06 = active_poem06.sample
|
161
|
+
line_07 = active_poem07.sample
|
162
|
+
line_08 = active_poem08.sample
|
163
|
+
line_09 = active_poem09.sample
|
164
|
+
line_10 = active_poem10.sample
|
165
|
+
line_11 = active_poem11.sample
|
166
|
+
line_12 = active_poem12.sample
|
167
|
+
|
168
|
+
open("zoidstein_poetry.py", "w") { |f|
|
169
|
+
f.puts "from hr_little_api.robot import Robot"
|
170
|
+
f.puts "from hr_little_api.robot import Animation"
|
171
|
+
f.puts "\nrobot = Robot()\n"
|
172
|
+
f.puts "if not robot.connect()"
|
173
|
+
f.puts " print('Trouble connecting...')\n"
|
174
|
+
f.puts " exit(-1)"
|
175
|
+
f.puts "\n### Your code below here. ###"
|
176
|
+
f.puts 'robot.say("#{line_01} #{line_02} #{line_03} #{line_04} #{line_05} #{line_06} #{line_07} #{line_08} #{line_09} #{line_10} #{line_11} #{line_12}")\n'
|
177
|
+
f.puts "robot.disconnect()"
|
178
|
+
}
|
179
|
+
end
|
180
|
+
|
181
|
+
end
|
182
|
+
end
|
metadata
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: Rustein
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gitea
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-01-20 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: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
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: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: duck-duck-go
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.1.3
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.1.3
|
69
|
+
description: Provides a more efficient way of writing Python scripts for Zoidsteins
|
70
|
+
that's less error prone than hardcoding..
|
71
|
+
email:
|
72
|
+
- gitea@fake.local
|
73
|
+
executables: []
|
74
|
+
extensions: []
|
75
|
+
extra_rdoc_files: []
|
76
|
+
files:
|
77
|
+
- ".gitignore"
|
78
|
+
- ".rspec"
|
79
|
+
- ".travis.yml"
|
80
|
+
- CODE_OF_CONDUCT.md
|
81
|
+
- Gemfile
|
82
|
+
- LICENSE.txt
|
83
|
+
- README.md
|
84
|
+
- Rakefile
|
85
|
+
- Rustein.gemspec
|
86
|
+
- bin/console
|
87
|
+
- bin/setup
|
88
|
+
- lib/Rustein.rb
|
89
|
+
- lib/Rustein/version.rb
|
90
|
+
homepage: ''
|
91
|
+
licenses:
|
92
|
+
- MIT
|
93
|
+
metadata: {}
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
requirements: []
|
109
|
+
rubygems_version: 3.0.6
|
110
|
+
signing_key:
|
111
|
+
specification_version: 4
|
112
|
+
summary: Assembles Dr. Zoidstein Python scripts in Ruby for the Python illiterate.
|
113
|
+
test_files: []
|