wordwise 0.1.0 → 0.1.1
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/cli.rb +1 -1
- data/lib/wordwise/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1947e162210a172708d21e999c7768353bc347cbc29172471129dfc1262992d
|
4
|
+
data.tar.gz: 5fa3952b37f6112138aca33bbd3673114c9042c99d502d2248fe4ca0cf92705e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51986ba8891c9bebe953c7de9d65f93806f064c5ac420a914353bd0914ffd37dbee340ba9979d3c979f32813f96decac6a536ee49f0a3d55c2b27c39bc1ff286
|
7
|
+
data.tar.gz: f6adfe9314385aed6ca33d5b2aa5825743624c0b9625279d0abafa191f99f908c3e9ece7e1de900a7413aeda0c246fd71834bdc61e26737ea283aa8b801e3b87
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -24,7 +24,7 @@ On starting, WordWise will choose a word and several definitions, one of which i
|
|
24
24
|
|
25
25
|
## Development
|
26
26
|
|
27
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.
|
27
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.
|
28
28
|
|
29
29
|
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).
|
30
30
|
|
data/lib/cli.rb
CHANGED
@@ -60,7 +60,7 @@ class Wordwise::CLI
|
|
60
60
|
# Samples starting at index 1 of array to avoid any column headings.
|
61
61
|
@question_words_defs = @words_defs_ary[1..@words_defs_ary.size - 1].sample(4)
|
62
62
|
# Prevents repetition of words in questions.
|
63
|
-
|
63
|
+
@words_defs_ary.delete_if { |wd| wd == @question_words_defs[0] }
|
64
64
|
set_question_words
|
65
65
|
end
|
66
66
|
|
data/lib/wordwise/version.rb
CHANGED