randwordjp 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 193ccda082f054f2b1c31bddd5c79a8c64ebffea
4
- data.tar.gz: cf820e152e656dc2ad824dfbc92c97010fb50cda
3
+ metadata.gz: a24f09a2707a3e5234e27e27df6deb2a6e117fa9
4
+ data.tar.gz: 3b25ca298d7ea3d37ce79b00f120ffcdff68d12d
5
5
  SHA512:
6
- metadata.gz: e792c0f4402a0fb83ff2a49276e14a01532bac9df2c6fafe55d0719a29bffc4e96f18f240d7f4af5970654315ac4b1e529dc8dc5327da85b295e399d8e3ac004
7
- data.tar.gz: b00fbffe08b719d4619c67493e26d673685c5fb634dd844ab26ecfc01155813e2bae68d58d447928e240a7fc79a5ab1cc6c3c9c8fe496abc94820423db4f3543
6
+ metadata.gz: 0ba24fdd84166e8dec862a34aa8e49fb218a9695fa28002ebe2e50e06584c571a205e8e379267a9adfb2d05a6a25775de814cdc46a11d4fcb9081d38b7439fc3
7
+ data.tar.gz: 412af1c0c9612196368940f16d1f39c99cbb187f0355007710d025f99ce71fa6a2c918c7875b91a6e4e2bf3e176e5a1350d0143b4d2dda7ca55e30c27d04a46a
@@ -1,3 +1,3 @@
1
1
  module Randwordjp
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
data/lib/randwordjp.rb CHANGED
@@ -140,7 +140,7 @@ module Randwordjp
140
140
  db = SQLite3::Database.new(@dbfile)
141
141
  sql = "select count(*) from namaelist;"
142
142
  id = Random.rand(((db.execute(sql))[0][0]).to_i)
143
- sql = "select * from myojilist where id = #{id};"
143
+ sql = "select * from namaelist where id = #{id};"
144
144
  data = db.execute(sql)
145
145
  gender = "M"
146
146
  if data[0][3] == 2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: randwordjp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - inpwjp