rzicon 0.0.2 → 0.0.3

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: 776b1fe440158660c89b85b15768fa0f7db9ea6e
4
- data.tar.gz: 8a4b76cf80ef2570f4396ad0d3cf8f9c8a0d33bf
3
+ metadata.gz: b1fe710bd304e384ae2193a04808dc0ef6b8e9cb
4
+ data.tar.gz: 9c214e5436414689ff5c91eeab742787521eaa71
5
5
  SHA512:
6
- metadata.gz: 38780a84d13b1580c3e818eed5ffa3a99c63a0adfdfca16dc7b6640d36e86897f6c320d6bab80ad6c3ab0bf5686288f7f616d19dfd2bbdb54e388fdec536bcfc
7
- data.tar.gz: 88365305c8b2f3b008e6d5a5052e111fb2e9bf0238d49ce9f569506b24b5e34939a83a9cff998d723375645ac187fa181c68800fdd20b4b985f5069d9b5732b3
6
+ metadata.gz: 761fb9354d9c21573d19198143c9c029b96c72927ddc45803fe160163aed2cf86a9ec4db581b4c81388648935dccdac081151ec40b191982453c8014f984147e
7
+ data.tar.gz: 9e380dbecdbbad943196ea21693a1f58b90e821cfd3019841229f5a604cd4f8680919470613a2bd6ac5b5f0514b8e1cdc0c45aba3dc3300b02ba0308d4c243b3
data/README.md CHANGED
@@ -23,16 +23,17 @@ Nizicon.members.all
23
23
  #<Nizicon::Members::NishiNanami:0x00000000000000>,
24
24
  #<Nizicon::Members::NemotoNagi:0x00000000000000>,
25
25
  #<Nizicon::Members::MatobaKarin:0x00000000000000>,
26
- #<Nizicon::Members::YoshimuraNana:0x00000000000000>]
26
+ #<Nizicon::Members::YoshimuraNana:0x00000000000000>,
27
+ #<Nizicon::Members::TsurumiMoe:0x00000000000000>,]
27
28
 
28
29
  Nizicon.members.map(&:name)
29
- #=> ["長田 美成", "重松 佑佳", "奥村 野乃花", "木下 ひより", "陶山 恵実里", "中村 朱里", "西 七海", "根本 凪", "的場 華鈴", "吉村 菜々"]
30
+ #=> ["長田 美成", "重松 佑佳", "奥村 野乃花", "木下 ひより", "陶山 恵実里", "中村 朱里", "西 七海", "根本 凪", "的場 華鈴", "吉村 菜々", "鶴見 萌"]
30
31
 
31
32
  Nizicon.members.map(&:nickname)
32
- #=> ["みなりん", "しげちー", "ののた", "ひよりん", "えみりぃ", "あかりん", "ななぴ", "ねも", "かりんさま", "なぁな"]
33
+ #=> ["みなりん", "しげちー", "ののた", "ひよりん", "えみりぃ", "あかりん", "ななぴ", "ねも", "かりんさま", "なぁな", "もえ"]
33
34
 
34
35
  Nizicon.members.map(&:to_s)
35
- #=> ["みなりん", "しげちー", "ののた", "ひよりん", "えみりぃ", "あかりん", "ななぴ", "ねも", "かりんさま", "ハム"]
36
+ #=> ["みなりん", "しげちー", "ののた", "ひよりん", "えみりぃ", "あかりん", "ななぴ", "ねも", "かりんさま", "ハム", "もえ"]
36
37
 
37
38
  Nizicon.members.all.sample.to_hash
38
39
  #=> {:name=>"根本 凪",
@@ -50,6 +51,10 @@ more member information: https://github.com/bash0C7/rzicon/blob/master/lib/nizic
50
51
 
51
52
  ## Change Log
52
53
 
54
+ ### Version 0.0.3
55
+
56
+ Join Tsurumi Moe
57
+
53
58
  ### Version 0.0.2
54
59
 
55
60
  Support <member>#to_hash
@@ -35,6 +35,7 @@ module Nizicon
35
35
  NemotoNagi.instance,
36
36
  MatobaKarin.instance,
37
37
  YoshimuraNana.instance,
38
+ TsurumiMoe.instance,
38
39
  ]
39
40
  end
40
41
 
@@ -286,5 +287,25 @@ module Nizicon
286
287
  'ハム'
287
288
  end
288
289
  end
290
+
291
+ class TsurumiMoe
292
+ include Singleton
293
+ include Util
294
+
295
+ def name; '鶴見 萌'; end
296
+ def nickname; 'もえ'; end
297
+ def birthday; Date.new 1996, 12, 5; end
298
+ def hometown; '東京都'; end
299
+ def twitter_id; '@tsurumi_moe'; end
300
+ def introduction
301
+ [
302
+ ]
303
+ end
304
+ def blog_uri
305
+ nil
306
+ end
307
+
308
+ alias_method :to_s, :nickname
309
+ end
289
310
  end
290
311
  end
@@ -1,3 +1,3 @@
1
1
  module Nizicon
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/spec/members_spec.rb CHANGED
@@ -2,11 +2,11 @@ require 'spec_helper'
2
2
 
3
3
  describe Nizicon::Members do
4
4
  it do
5
- expect(described_class.instance.size).to eq(10)
5
+ expect(described_class.instance.size).to eq(11)
6
6
  end
7
7
 
8
8
  it do
9
- expect(described_class.instance.all.size).to eq(10)
9
+ expect(described_class.instance.all.size).to eq(11)
10
10
  end
11
11
 
12
12
  it do
@@ -94,4 +94,10 @@ describe Nizicon::Members do
94
94
  expect(described_class.instance.to_s).not_to eq(described_class.instance.nickname)
95
95
  end
96
96
  end
97
+
98
+ describe described_class::TsurumiMoe do
99
+ it 'birthday' do
100
+ expect(described_class.instance.birthday.to_s).to eq('1996-12-05')
101
+ end
102
+ end
97
103
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rzicon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bash0C7
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-19 00:00:00.000000000 Z
11
+ date: 2014-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler