randwordjp 0.0.2a

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 347857ea2c177c1d783fd18767de514fbcfbd937
4
+ data.tar.gz: 6f270b75de60476e2afc1e1eb357f9afce40c6de
5
+ SHA512:
6
+ metadata.gz: d7ee40ae8bc614477ffccb4f6e3d8b09c882514fd332819cf685a8a6f49e4a39db6787c8a3f70382a234d21a2678cf56bd0ff6432dd6f3df2325d83a4ce7c300
7
+ data.tar.gz: 4e9634788fb36c1b246ae2841bf03af17cda7252a8e3e6a574c5e4e3a5c8a85025d0b0ef5d93963ece9dad20d2c521b7935e75babc240290a77e6cc59667b80a
data/.gitignore ADDED
@@ -0,0 +1,23 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
23
+ Guardfile
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.1
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in randwordjp.gemspec
4
+ gemspec
5
+
6
+ gem 'guard-rspec'
data/Guardfile ADDED
@@ -0,0 +1,33 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ # Note: The cmd option is now required due to the increasing number of ways
5
+ # rspec may be run, below are examples of the most common uses.
6
+ # * bundler: 'bundle exec rspec'
7
+ # * bundler binstubs: 'bin/rspec'
8
+ # * spring: 'bin/rsspec' (This will use spring if running and you have
9
+ # installed the spring binstubs per the docs)
10
+ # * zeus: 'zeus rspec' (requires the server to be started separetly)
11
+ # * 'just' rspec: 'rspec'
12
+ guard :rspec, cmd: 'bundle exec rspec' do
13
+ watch(%r{^spec/.+_spec\.rb$})
14
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
15
+ watch('spec/spec_helper.rb') { "spec" }
16
+
17
+ # Rails example
18
+ watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
19
+ watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
20
+ watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
21
+ watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
22
+ watch('config/routes.rb') { "spec/routing" }
23
+ watch('app/controllers/application_controller.rb') { "spec/controllers" }
24
+ watch('spec/rails_helper.rb') { "spec" }
25
+
26
+ # Capybara features specs
27
+ watch(%r{^app/views/(.+)/.*\.(erb|haml|slim)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
28
+
29
+ # Turnip features and steps
30
+ watch(%r{^spec/acceptance/(.+)\.feature$})
31
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
32
+ end
33
+
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 nmoriya
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # Randwordjp
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'randwordjp'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install randwordjp
18
+
19
+ ## Usage
20
+
21
+ Get Japanese random words.
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it ( https://github.com/[my-github-username]/randwordjp/fork )
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
7
+
@@ -0,0 +1,3 @@
1
+ module Randwordjp
2
+ VERSION = "0.0.2a"
3
+ end
data/lib/randwordjp.rb ADDED
@@ -0,0 +1,165 @@
1
+ require 'randwordjp/version'
2
+ require 'date'
3
+
4
+ module Randwordjp
5
+ # 半角数字の文字列を取得する
6
+ # @param [Integer] length 文字列長
7
+ # @return [String] lengthで指定した文字列長の数字文字列
8
+ def self.getNumeric( length = 10 )
9
+ words = Array.new()
10
+ length.times do
11
+ words << ('0'..'9').to_a.sample()
12
+ end
13
+ return words.join
14
+ end
15
+
16
+ # 全角日本語の文字列を取得する。
17
+ # 漢字は第一水準となる。
18
+ # @param [Integer] length 文字列長
19
+ # @return [String] lengthで指定した文字列長の文字列
20
+ def self.getZenkakuAll(length = 10 )
21
+ words = Array.new()
22
+ base = "あいうえおかきくけこさしすせそたちつてとはひふへほはひふへほやゆよつわあいうえおかきくけこさしすせそたちつてとはひふへほはひふへほやゆよつわ亜哀挨愛曖悪握圧扱宛嵐安案暗以衣位囲医依委威為畏胃尉異移萎偉椅彙意違維慰遺緯域育一壱逸茨芋引印因咽姻員院淫陰飲隠韻右宇羽雨唄鬱畝浦運雲永泳英映栄営詠影鋭衛易疫益液駅悦越謁閲円延沿炎宴怨媛援園煙猿遠鉛塩演縁艶汚王凹央応往押旺欧殴桜翁奥横岡屋億憶臆虞乙俺卸音恩温穏下化火加可仮何花佳価果河苛科架夏家荷華菓貨渦過嫁暇禍靴寡歌箇稼課蚊牙瓦我画芽賀雅餓介回灰会快戒改怪拐悔海界皆械絵開階塊楷解潰壊懐諧貝外劾害崖涯街慨蓋該概骸垣柿各角拡革格核殻郭覚較隔閣確獲嚇穫学岳楽額顎掛潟括活喝渇割葛滑褐轄且株釜鎌刈干刊甘汗缶完肝官冠巻看陥乾勘患貫寒喚堪換敢棺款間閑勧寛幹感漢慣管関歓監緩憾還館環簡観韓艦鑑丸含岸岩玩眼頑顔願企伎危机気岐希忌汽奇祈季紀軌既記起飢鬼帰基寄規亀喜幾揮期棋貴棄毀旗器畿輝機騎技宜偽欺義疑儀戯擬犠議菊吉喫詰却客脚逆虐九久及弓丘旧休吸朽臼求究泣急級糾宮救球給嗅窮牛去巨居拒拠挙虚許距魚御漁凶共叫狂京享供協況峡挟狭恐恭胸脅強教郷境橋矯鏡競響驚仰暁業凝曲局極玉巾斤均近金菌勤琴筋僅禁緊錦謹襟吟銀区句苦駆具惧愚空偶遇隅串屈掘窟熊繰君訓勲薫軍郡群兄刑形系径茎係型契計恵啓掲渓経蛍敬景軽傾携継詣慶憬稽憩警鶏芸迎鯨隙劇撃激桁欠穴血決結傑潔月犬件見券肩建研県倹兼剣拳軒健険圏堅検嫌献絹遣権憲賢謙鍵繭顕験懸元幻玄言弦限原現舷減源厳己戸古呼固孤弧股虎故枯個庫湖雇誇鼓錮顧五互午呉後娯悟碁語誤護口工公勾孔功巧広甲交光向后好江考行坑孝抗攻更効幸拘肯侯厚恒洪皇紅荒郊香候校耕航貢降高康控梗黄喉慌港硬絞項溝鉱構綱酵稿興衡鋼講購乞号合拷剛傲豪克告谷刻国黒穀酷獄骨駒込頃今困昆恨根婚混痕紺魂墾懇左佐沙査砂唆差詐鎖座挫才再災妻采砕宰栽彩採済祭斎細菜最裁債催塞歳載際埼在材剤財罪崎作削昨柵索策酢搾錯咲冊札刷刹拶殺察撮擦雑皿三山参桟蚕惨産傘散算酸賛残斬暫士子支止氏仕史司四市矢旨死糸至伺志私使刺始姉枝祉肢姿思指施師恣紙脂視紫詞歯嗣試詩資飼誌雌摯賜諮示字寺次耳自似児事侍治持時滋慈辞磁餌璽鹿式識軸七叱失室疾執湿嫉漆質実芝写社車舎者射捨赦斜煮遮謝邪蛇尺借酌釈爵若弱寂手主守朱取狩首殊珠酒腫種趣寿受呪授需儒樹収囚州舟秀周宗拾秋臭修袖終羞習週就衆集愁酬醜蹴襲十汁充住柔重従渋銃獣縦叔祝宿淑粛縮塾熟出述術俊春瞬旬巡盾准殉純循順準潤遵処初所書庶暑署緒諸女如助序叙徐除小升少召匠床抄肖尚招承昇松沼昭宵将消症祥称笑唱商渉章紹訟勝掌晶焼焦硝粧詔証象傷奨照詳彰障憧衝賞償礁鐘上丈冗条状乗城浄剰常情場畳蒸縄壌嬢錠譲醸色拭食植殖飾触嘱織職辱尻心申伸臣芯身辛侵信津神唇娠振浸真針深紳進森診寝慎新審震薪親人刃仁尽迅甚陣尋腎須図水吹垂炊帥粋衰推酔遂睡穂随髄枢崇数据杉裾寸瀬是井世正生成西声制姓征性青斉政星牲省凄逝清盛婿晴勢聖誠精製誓静請整醒税夕斥石赤昔析席脊隻惜戚責跡積績籍切折拙窃接設雪摂節説舌絶千川仙占先宣専泉浅洗染扇栓旋船戦煎羨腺詮践箋銭潜線遷選薦繊鮮全前善然禅漸膳繕狙阻祖租素措粗組疎訴塑遡礎双壮早争走奏相荘草送倉捜挿桑巣掃曹曽爽窓創喪痩葬装僧想層総遭槽踪操燥霜騒藻造像増憎蔵贈臓即束足促則息捉速側測俗族属賊続卒率存村孫尊損遜他多汰打妥唾堕惰駄太対体耐待怠胎退帯泰堆袋逮替貸隊滞態戴大代台第題滝宅択沢卓拓託濯諾濁但達脱奪棚誰丹旦担単炭胆探淡短嘆端綻誕鍛団男段断弾暖談壇地池知値恥致遅痴稚置緻竹畜逐蓄築秩窒茶着嫡中仲虫沖宙忠抽注昼柱衷酎鋳駐著貯丁弔庁兆町長挑帳張彫眺釣頂鳥朝貼超腸跳徴嘲潮澄調聴懲直勅捗沈珍朕陳賃鎮追椎墜通痛塚漬坪爪鶴低呈廷弟定底抵邸亭貞帝訂庭逓停偵堤提程艇締諦泥的笛摘滴適敵溺迭哲鉄徹撤天典店点展添転塡田伝殿電斗吐妬徒途都渡塗賭土奴努度怒刀冬灯当投豆東到逃倒凍唐島桃討透党悼盗陶塔搭棟湯痘登答等筒統稲踏糖頭謄藤闘騰同洞胴動堂童道働銅導瞳峠匿特得督徳篤毒独読栃凸突届屯豚頓貪鈍曇丼那奈内梨謎鍋南軟難二尼弐匂肉虹日入乳尿任妊忍認寧熱年念捻粘燃悩納能脳農濃把波派破覇馬婆罵拝杯背肺俳配排敗廃輩売倍梅培陪媒買賠白伯拍泊迫剝舶博薄麦漠縛爆箱箸畑肌八鉢発髪伐抜罰閥反半氾犯帆汎伴判坂阪板版班畔般販斑飯搬煩頒範繁藩晩番蛮盤比皮妃否批彼披肥非卑飛疲秘被悲扉費碑罷避尾眉美備微鼻膝肘匹必泌筆姫百氷表俵票評漂標苗秒病描猫品浜貧賓頻敏瓶不夫父付布扶府怖阜附訃負赴浮婦符富普腐敷膚賦譜侮武部舞封風伏服副幅復福腹複覆払沸仏物粉紛雰噴墳憤奮分文聞丙平兵併並柄陛閉塀幣弊蔽餅米壁璧癖別蔑片辺返変偏遍編弁便勉歩保哺捕補舗母募墓慕暮簿方包芳邦奉宝抱放法泡胞俸倣峰砲崩訪報蜂豊飽褒縫亡乏忙坊妨忘防房肪某冒剖紡望傍帽棒貿貌暴膨謀頰北木朴牧睦僕墨撲没勃堀本奔翻凡盆麻摩磨魔毎妹枚昧埋幕膜枕又末抹万満慢漫未味魅岬密蜜脈妙民眠矛務無夢霧娘名命明迷冥盟銘鳴滅免面綿麺茂模毛妄盲耗猛網目黙門紋問冶夜野弥厄役約訳薬躍闇由油喩愉諭輸癒唯友有勇幽悠郵湧猶裕遊雄誘憂融優与予余誉預幼用羊妖洋要容庸揚揺葉陽溶腰様瘍踊窯養擁謡曜抑沃浴欲翌翼拉裸羅来雷頼絡落酪辣乱卵覧濫藍欄吏利里理痢裏履璃離陸立律慄略柳流留竜粒隆硫侶旅虜慮了両良料涼猟陵量僚領寮療瞭糧力緑林厘倫輪隣臨瑠涙累塁類令礼冷励戻例鈴零霊隷齢麗暦歴列劣烈裂恋連廉練錬呂炉賂路露老労弄郎朗浪廊楼漏籠六録麓論和話賄脇惑枠湾腕"
23
+ length.times do
24
+ words << base.split(//).sample()
25
+ end
26
+ return words.join
27
+ end
28
+
29
+ # 全角カタカナの文字列を取得する。
30
+ # @param [Integer] length 文字列長
31
+ # @return [String] lengthで指定した文字列長の文字列
32
+ def self.getZenkakuKataKana(length = 10)
33
+ words = Array.new()
34
+ base = ('ア'..'ン').to_a
35
+ length.times do
36
+ words << base.sample()
37
+ end
38
+ return words.join
39
+ end
40
+
41
+ # 全角ひらがなの文字列を取得する。
42
+ # @param [Integer] length 文字列長
43
+ # @return [String] lengthで指定した文字列長の文字列
44
+ def self.getZenkakuHiraKana(length = 10 )
45
+ words = Array.new()
46
+ base = ('あ'..'ん').to_a
47
+ length.times do
48
+ words << base.sample()
49
+ end
50
+ return words.join
51
+ end
52
+
53
+ # ローマ字の文字列を取得する。
54
+ # @param [Integer] length 文字列長
55
+ # @return [String] lengthで指定した文字列長の文字列
56
+ def self.getAlphabet(length = 10 )
57
+ words = Array.new()
58
+ base = ('a'..'z').to_a
59
+ length.times do
60
+ words << base.sample()
61
+ end
62
+ return words.join
63
+ end
64
+
65
+ # 数字+ローマ字の文字列を取得する。
66
+ # @param [Integer] length 文字列長
67
+ # @return [String] lengthで指定した文字列長の文字列
68
+ def self.getAlphanumeric(length = 10 )
69
+ words = Array.new()
70
+ base = ('0'..'9').to_a + ('a'..'z').to_a
71
+ words << getAlphabet(1)
72
+ length.times do
73
+ words << base.sample()
74
+ end
75
+ return words.join
76
+ end
77
+
78
+ # 数字+ローマ字+記号(-_)の文字列を取得する。
79
+ # @param [Integer] length 文字列長
80
+ # @return [String] lengthで指定した文字列長の文字列
81
+ def self.getAlphanumericPlus(length = 10 )
82
+ words = Array.new()
83
+ base = ('0'..'9').to_a + ('a'..'z').to_a + ["-", "_"]
84
+ words << getAlphabet(1)
85
+ (length - 1).times do
86
+ words << base.sample()
87
+ end
88
+ return words.join
89
+ end
90
+
91
+ # メールアドレス風の文字列を取得する。
92
+ # @param [String] randword トップレベルドメインの文字列を指定する。
93
+ # @param [Integer] local_length ローカルパートの文字列長
94
+ # @param [Integer] domain_lengh ドメインパートの文字列長
95
+ # @return [String] lengthで指定した文字列長の文字列
96
+ def self.getMailAddress(randword = "rand",local_length = 10, domain_length = 10)
97
+ local_part = getAlphanumericPlus(rand(local_length)+1)
98
+ domain_part = getAlphanumeric(rand(domain_length)+1) + "." + randword
99
+ return local_part + "@" + domain_part
100
+ end
101
+
102
+
103
+ # Date型の日付を取得する。
104
+ # @param [Date] date 指定日
105
+ # @param [Integer] before 指定日より後の最大何日までを対象とする
106
+ # @param [Integer] afute 指定日より前の最大何日までを対象とする
107
+ # @return [Date] 日付を取得する
108
+ def self.getDate(date = Date.today, before = 100, after = 100 )
109
+ return (date + (rand(after))- (rand(before))).to_s
110
+ end
111
+
112
+ # String型の都道府県名を取得する
113
+ # @param [Integer] 都道府県ID
114
+ def self.getTodofuken()
115
+ todofuken_list = [
116
+ "北海道",
117
+ "青森県",
118
+ "岩手県",
119
+ "宮城県",
120
+ "秋田県",
121
+ "山形県",
122
+ "福島県",
123
+ "茨城県",
124
+ "栃木県",
125
+ "群馬県",
126
+ "埼玉県",
127
+ "千葉県",
128
+ "東京都",
129
+ "神奈川県",
130
+ "新潟県",
131
+ "富山県",
132
+ "石川健",
133
+ "福井県",
134
+ "山梨県",
135
+ "長野県",
136
+ "岐阜県",
137
+ "静岡県",
138
+ "愛知県",
139
+ "三重県",
140
+ "滋賀県",
141
+ "京都府",
142
+ "大阪府",
143
+ "兵庫県",
144
+ "奈良県",
145
+ "和歌山県",
146
+ "鳥取県",
147
+ "島根県",
148
+ "岡山県",
149
+ "広島県",
150
+ "山口県",
151
+ "徳島県",
152
+ "香川県",
153
+ "愛媛県",
154
+ "高知県",
155
+ "福岡県",
156
+ "佐賀県",
157
+ "長崎県",
158
+ "熊本県",
159
+ "大分県",
160
+ "宮崎県",
161
+ "鹿児島県",
162
+ "沖縄県" ]
163
+ return todofuken_list.sample()
164
+ end
165
+ end
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'randwordjp/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "randwordjp"
8
+ spec.version = Randwordjp::VERSION
9
+ spec.authors = ["inpwjp"]
10
+ spec.email = ["inpw@mua.biglobe.ne.jp"]
11
+ spec.description = %q{get Japanese random words.}
12
+ spec.summary = %q{get Japanese random words.}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler"
22
+ spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "rspec"
24
+ end
@@ -0,0 +1,36 @@
1
+ require 'spec_helper'
2
+
3
+ describe Randwordjp do
4
+ it 'should have a version number' do
5
+ expect(Randwordjp::VERSION).not_to be nil
6
+ end
7
+
8
+ it 'getNumeric length is should have set length' do
9
+ expect(Randwordjp.getNumeric(15).length).to be 15
10
+ end
11
+
12
+ it 'getNumeric is should have numerical' do
13
+ expect(Randwordjp.getNumeric(10)).to match /[0-9]{10}/
14
+ end
15
+
16
+ it 'getNumeric is not should have next time' do
17
+ expect(Randwordjp.getNumeric(10)).not_to eq(Randwordjp.getNumeric(10))
18
+ end
19
+
20
+ it 'getZenkakuKataKana length is should have set length' do
21
+ expect(Randwordjp.getZenkakuKataKana(15).length).to be 15
22
+ end
23
+
24
+ it 'getZenkakuKataKana is should have 全角カタカナ' do
25
+ expect(Randwordjp.getZenkakuKataKana(10)).to match /[ア-ヲ]{10}/
26
+ end
27
+
28
+ it 'getZenkakuKataKana is not should have next time' do
29
+ expect(Randwordjp.getZenkakuKataKana(10)).not_to eq(Randwordjp.getZenkakuKataKana(10))
30
+ end
31
+
32
+ it 'getTodofuken is not should have next time' do
33
+ expect(Randwordjp::getTodofuken()).not_to eq(Randwordjp::getTodofuken())
34
+ end
35
+ end
36
+
@@ -0,0 +1,2 @@
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
+ require 'randwordjp'
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: randwordjp
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2a
5
+ platform: ruby
6
+ authors:
7
+ - inpwjp
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-11 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: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '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: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '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: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: get Japanese random words.
56
+ email:
57
+ - inpw@mua.biglobe.ne.jp
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".rspec"
64
+ - ".travis.yml"
65
+ - Gemfile
66
+ - Guardfile
67
+ - LICENSE.txt
68
+ - README.md
69
+ - Rakefile
70
+ - lib/randwordjp.rb
71
+ - lib/randwordjp/version.rb
72
+ - randwordjp.gemspec
73
+ - spec/randwordjp_spec.rb
74
+ - spec/spec_helper.rb
75
+ homepage: ''
76
+ licenses:
77
+ - MIT
78
+ metadata: {}
79
+ post_install_message:
80
+ rdoc_options: []
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">"
91
+ - !ruby/object:Gem::Version
92
+ version: 1.3.1
93
+ requirements: []
94
+ rubyforge_project:
95
+ rubygems_version: 2.2.2
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: get Japanese random words.
99
+ test_files:
100
+ - spec/randwordjp_spec.rb
101
+ - spec/spec_helper.rb