rzicon 0.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 09c8dfbb92eab7d30251c345765b4add99707630
4
+ data.tar.gz: 5bfa9b85762f36b98f2d310fd2b8646be271b842
5
+ SHA512:
6
+ metadata.gz: efef5dee3b6b22e0d0ccd159e69812e726a4d18e805ef9f982fff16b4d7ad3bd8ac7e866725985c40c63f6e6d765b1d036dbf6e36f6b635749706958d1f4edbf
7
+ data.tar.gz: 4211deefb2bcc4fd8974fe658d1cfd1edbb49576edd83879aaee3e186afc2e7ab47b3b559a663078348d433b63a31002c3cb22c680d783401b36e5201147f08e
data/.gitignore ADDED
@@ -0,0 +1,18 @@
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
+ vendor/bundle/
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --format progress
2
+ --color
3
+ --require spec_helper
4
+ --tag ~category:verbose
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in nizicon.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 sue445
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,52 @@
1
+ # rzicon (Ruby + 2zicon)
2
+
3
+ All about Worldwide idol "2zicon".
4
+
5
+ Inspired by [Acme::2zicon](https://metacpan.org/source/CATATSUY/Acme-2zicon-0.1/) and [rubicure](https://github.com/sue445/rubicure)
6
+
7
+ ## Usage
8
+
9
+ ```ruby
10
+ Nizicon.name
11
+ #=> "虹のコンキスタドール"
12
+
13
+ Nizicon.from
14
+ #=> "つくドル!プロジェクト"
15
+
16
+ Nizicon.members.all
17
+ #=> [#<Nizicon::Members::NagataMinari:0x00000000000000>,
18
+ #<Nizicon::Members::ShigematsuYuka:0x00000000000000>,
19
+ #<Nizicon::Members::OkumuraNonoka:0x00000000000000>,
20
+ #<Nizicon::Members::KinoshitaHiyori:0x00000000000000>,
21
+ #<Nizicon::Members::SuyamaEmiri:0x00000000000000>,
22
+ #<Nizicon::Members::NakamuraAkari:0x00000000000000>,
23
+ #<Nizicon::Members::NishiNanami:0x00000000000000>,
24
+ #<Nizicon::Members::NemotoNagi:0x00000000000000>,
25
+ #<Nizicon::Members::MatobaKarin:0x00000000000000>,
26
+ #<Nizicon::Members::YoshimuraNana:0x00000000000000>]
27
+
28
+ Nizicon.members.each{|m| puts m.name}
29
+ 長田 美成
30
+ 重松 佑佳
31
+ 奥村 野乃花
32
+ 木下 ひより
33
+ 陶山 恵実里
34
+ 中村 朱里
35
+ 西 七海
36
+ 根本 凪
37
+ 的場 華鈴
38
+ 吉村 菜々
39
+ ```
40
+
41
+ more member information: https://github.com/bash0C7/rzicon/blob/master/lib/nizicon/members.rb
42
+
43
+ ## Change Log
44
+
45
+ ### Version 0.0.1
46
+
47
+ Fix some issues.
48
+ Impl some features.
49
+
50
+ ### Version 0.0.0
51
+
52
+ first version
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,36 @@
1
+ module Nizicon
2
+ require "singleton"
3
+
4
+ # generic methods
5
+ class Core
6
+ include Singleton
7
+
8
+ def name
9
+ '虹のコンキスタドール'
10
+ end
11
+
12
+ def from
13
+ 'つくドル!プロジェクト'
14
+ end
15
+
16
+ def members
17
+ Members.instance
18
+ end
19
+
20
+ def twitter_id
21
+ '@2zicon'
22
+ end
23
+
24
+ def blog_uri
25
+ URI.parse("http://ameblo.jp/2zicon/")
26
+ end
27
+
28
+ def website_uri
29
+ URI.parse("http://pixiv-pro.com/2zicon/")
30
+ end
31
+
32
+ def showroom_uri
33
+ URI.parse("https://www.showroom-live.com/2zicon")
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,280 @@
1
+ module Nizicon
2
+ require "singleton"
3
+ require 'date'
4
+ require 'uri'
5
+
6
+ class Members
7
+ include Singleton
8
+ include Enumerable
9
+
10
+ module Util
11
+ def age current_date = Date.today
12
+ current_date.year - birthday.year - (current_date.yday < birthday.yday ? 1 : 0)
13
+ end
14
+ end
15
+
16
+ def all
17
+ [
18
+ NagataMinari.instance,
19
+ ShigematsuYuka.instance,
20
+ OkumuraNonoka.instance,
21
+ KinoshitaHiyori.instance,
22
+ SuyamaEmiri.instance,
23
+ NakamuraAkari.instance,
24
+ NishiNanami.instance,
25
+ NemotoNagi.instance,
26
+ MatobaKarin.instance,
27
+ YoshimuraNana.instance,
28
+ ]
29
+ end
30
+
31
+ def each
32
+ all.each do |member|
33
+ yield member
34
+ end
35
+ end
36
+
37
+ def size
38
+ all.size
39
+ end
40
+
41
+ class NagataMinari
42
+ include Singleton
43
+ include Util
44
+
45
+ def position; '委員長'; end
46
+ def name; '長田 美成'; end
47
+ def nickname; 'みなりん'; end
48
+ def birthday; Date.new 1997, 12, 17; end
49
+ def hometown; '山口県'; end
50
+ def twitter_id; '@nagata_minari'; end
51
+ def introduction
52
+ [
53
+ "今日はみなりんマジックでみんなを笑顔にしちゃるけん。",
54
+ "#{hometown}出身の#{age}歳。頼れる#{position}。",
55
+ "\えーっ!/",
56
+ "アイドルがぶち大好きな#{nickname}こと#{name}です。",
57
+ ]
58
+ end
59
+ def blog_uri
60
+ URI.parse("http://ameblo.jp/2zicon/theme-10083290600.html")
61
+ end
62
+
63
+ alias_method :to_s, :nickname
64
+ end
65
+
66
+ class ShigematsuYuka
67
+ include Singleton
68
+ include Util
69
+
70
+ def position; '副委員長'; end
71
+ def name; '重松 佑佳'; end
72
+ def nickname; 'しげちー'; end
73
+ def birthday; Date.new 1996, 5, 20; end
74
+ def hometown; '福岡県'; end
75
+ def twitter_id; '@shigematsu_yuka'; end
76
+ def introduction
77
+ [
78
+ "博多からきたダイヤモンドの原石。みーんなの愛で輝かせてほしいと。",
79
+ "#{hometown}出身の#{age}歳。",
80
+ "#{nickname}こと#{name}です。",
81
+ ]
82
+ end
83
+ def blog_uri
84
+ URI.parse("http://ameblo.jp/2zicon/theme-10083290705.html")
85
+ end
86
+
87
+ alias_method :to_s, :nickname
88
+ end
89
+
90
+ class OkumuraNonoka
91
+ include Singleton
92
+ include Util
93
+
94
+ def name; '奥村 野乃花'; end
95
+ def nickname; 'ののた'; end
96
+ def birthday; Date.new 2001, 1, 4; end
97
+ def hometown; '東京都'; end
98
+ def twitter_id; '@okumura_nonoka'; end
99
+ def introduction
100
+ [
101
+ "アイドルオタクの進化系。毎日がビッグバン。せーの!",
102
+ " \どーん/",
103
+ "#{hometown}出身の最年少#{age}歳。",
104
+ "#{nickname}こと#{name}です。",
105
+ ]
106
+ end
107
+ def blog_uri
108
+ URI.parse("http://ameblo.jp/2zicon/theme-10083290716.html")
109
+ end
110
+
111
+ alias_method :to_s, :nickname
112
+ end
113
+
114
+ class KinoshitaHiyori
115
+ include Singleton
116
+ include Util
117
+
118
+ def name; '木下 ひより'; end
119
+ def nickname; 'ひよりん'; end
120
+ def birthday; Date.new 1997, 12, 9; end
121
+ def hometown; '東京都'; end
122
+ def twitter_id; '@kinosita_hiyori'; end
123
+ def introduction
124
+ [
125
+ "あなたのハートをチューニング。恋のスリーコードを奏でます。",
126
+ "#{hometown}出身#{age}歳。",
127
+ "#{name}です。#{nickname}って呼んでください。",
128
+ ]
129
+ end
130
+ def blog_uri
131
+ URI.parse("http://ameblo.jp/2zicon/theme-10083290721.html")
132
+ end
133
+
134
+ alias_method :to_s, :nickname
135
+ end
136
+
137
+ class SuyamaEmiri
138
+ include Singleton
139
+ include Util
140
+
141
+ def name; '陶山 恵実里'; end
142
+ def nickname; 'えみりぃ'; end
143
+ def birthday; Date.new 1999, 5, 26; end
144
+ def hometown; '東京都'; end
145
+ def twitter_id; '@suyama_emiri'; end
146
+ def introduction
147
+ [
148
+ "どこまでいってもマイペースなアイドルルーキー。あなたの新人王を狙います。",
149
+ "#{hometown}出身の#{age}歳。",
150
+ "#{nickname}こと#{name}です。",
151
+ ]
152
+ end
153
+ def blog_uri
154
+ URI.parse("http://ameblo.jp/2zicon/theme-10083290724.html")
155
+ end
156
+
157
+ alias_method :to_s, :nickname
158
+ end
159
+
160
+ class NakamuraAkari
161
+ include Singleton
162
+ include Util
163
+
164
+ def name; '中村 朱里'; end
165
+ def nickname; 'あかりん'; end
166
+ def birthday; Date.new 1998, 1, 30; end
167
+ def hometown; '千葉県'; end
168
+ def twitter_id; '@nakamura_akari'; end
169
+ def introduction
170
+ [
171
+ "\りんりんりーんあかりんりーん/",
172
+ "みーんなの笑顔の隣にいたい。",
173
+ "#{hometown}出身の#{age}歳。",
174
+ "#{nickname}こと#{name}です。",
175
+ ]
176
+ end
177
+ def blog_uri
178
+ URI.parse("http://ameblo.jp/2zicon/theme-10083290728.html")
179
+ end
180
+
181
+ alias_method :to_s, :nickname
182
+ end
183
+
184
+ class NishiNanami
185
+ include Singleton
186
+ include Util
187
+
188
+ def name; '西 七海'; end
189
+ def nickname; 'ななぴ'; end
190
+ def birthday; Date.new 1996, 10, 9; end
191
+ def hometown; '東京都'; end
192
+ def twitter_id; '@nishi_nanami'; end
193
+ def introduction
194
+ [
195
+ "わたしはあまーいチョコレート。あなたの熱気で溶けちゃうの。",
196
+ "虹コン色黒担当、#{hometown}出身#{age}歳",
197
+ "#{nickname}こと#{name}です。",
198
+ ]
199
+ end
200
+ def blog_uri
201
+ URI.parse("http://ameblo.jp/2zicon/theme-10083290730.html")
202
+ end
203
+
204
+ alias_method :to_s, :nickname
205
+ end
206
+
207
+ class NemotoNagi
208
+ include Singleton
209
+ include Util
210
+
211
+ def name; '根本 凪'; end
212
+ def nickname; 'ねも'; end
213
+ def birthday; Date.new 1999, 3, 15; end
214
+ def hometown; '茨城県'; end
215
+ def twitter_id; '@nemoto_nagi'; end
216
+ def pixiv_id; '11797412'; end
217
+ def introduction
218
+ [
219
+ "みんなのハートを#{nickname}色に染めちゃってもよかっぺか?",
220
+ "\ぺー!/",
221
+ "#{hometown}出身世間知らずの#{age}歳。",
222
+ "#{nickname}こと#{name}です。",
223
+ ]
224
+ end
225
+ def blog_uri
226
+ URI.parse("http://ameblo.jp/2zicon/theme-10083290733.html")
227
+ end
228
+
229
+ alias_method :to_s, :nickname
230
+ end
231
+
232
+ class MatobaKarin
233
+ include Singleton
234
+ include Util
235
+
236
+ def name; '的場 華鈴'; end
237
+ def nickname; 'かりんさま'; end
238
+ def birthday; Date.new 2000, 12, 30; end
239
+ def hometown; '埼玉県'; end
240
+ def twitter_id; '@matoba_karin'; end
241
+ def introduction
242
+ [
243
+ "#{hometown}からやってきた最年少の#{age}歳。#{nickname}ってよんでもいいよ。",
244
+ "\#{nickname}ー!/",
245
+ "ダンスと梅干しが大好きな#{name}です。",
246
+ ]
247
+ end
248
+ def blog_uri
249
+ URI.parse("http://ameblo.jp/2zicon/theme-10083290734.html")
250
+ end
251
+
252
+ alias_method :to_s, :nickname
253
+ end
254
+
255
+ class YoshimuraNana
256
+ include Singleton
257
+ include Util
258
+
259
+ def name; '吉村 菜々'; end
260
+ def nickname; 'なぁな'; end
261
+ def birthday; Date.new 1999, 8, 2; end
262
+ def hometown; '神奈川県'; end
263
+ def twitter_id; '@yoshimura_nana'; end
264
+ def introduction
265
+ [
266
+ "あの空に浮かぶ虹のように、みなさんになないろをお届けします。",
267
+ "#{hometown}出身の#{age}歳。",
268
+ "#{nickname}こと#{name}です。",
269
+ ]
270
+ end
271
+ def blog_uri
272
+ URI.parse("http://ameblo.jp/2zicon/theme-10083290737.html")
273
+ end
274
+
275
+ def to_s
276
+ 'ハム'
277
+ end
278
+ end
279
+ end
280
+ end
@@ -0,0 +1,3 @@
1
+ module Nizicon
2
+ VERSION = "0.0.1"
3
+ end
data/lib/nizicon.rb ADDED
@@ -0,0 +1,23 @@
1
+ require "nizicon/version"
2
+ require "nizicon/core"
3
+ require "nizicon/members"
4
+
5
+ module Nizicon
6
+ def self.core
7
+ Nizicon::Core.instance
8
+ end
9
+ end
10
+
11
+ module Nizicon
12
+ def self.method_missing(name, *args, &block)
13
+ Nizicon.core.send(name, *args, &block)
14
+ end
15
+
16
+ def self.name
17
+ Nizicon.core.name
18
+ end
19
+
20
+ def self.to_s
21
+ Nizicon.core.name
22
+ end
23
+ end
data/rzicon.gemspec ADDED
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'nizicon/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rzicon"
8
+ spec.version = Nizicon::VERSION
9
+ spec.authors = ["bash0C7"]
10
+ spec.email = ["ksb.4038.nullpointer+bash0C7@gmail.com"]
11
+ spec.description = %q{All about Worldwide idol "2zicon".}
12
+ spec.summary = %q{All about Worldwide idol "2zicon".}
13
+ spec.homepage = "https://github.com/bash0C7/rzicon"
14
+ spec.license = "MIT"
15
+
16
+ spec.required_ruby_version = '>= 2.0.0'
17
+
18
+ spec.files = `git ls-files`.split($/)
19
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
21
+ spec.require_paths = ["lib"]
22
+
23
+ #spec.add_dependency "hashie", ">= 2.0.5"
24
+
25
+ spec.add_development_dependency "bundler", ">= 1.3.5"
26
+ spec.add_development_dependency "pry"
27
+ spec.add_development_dependency "rake"
28
+ spec.add_development_dependency "rspec", "~> 3.0.0"
29
+ #spec.add_development_dependency "rspec-collection_matchers", "~> 1.0.0"
30
+ #spec.add_development_dependency "rspec-its", "~> 1.0.1"
31
+ end
data/spec/core_spec.rb ADDED
@@ -0,0 +1,32 @@
1
+ require 'spec_helper'
2
+
3
+ describe Nizicon::Core do
4
+ it do
5
+ expect(described_class.instance.name).to eq('虹のコンキスタドール')
6
+ end
7
+
8
+ it do
9
+ expect(described_class.instance.from).to eq('つくドル!プロジェクト')
10
+ end
11
+
12
+ it do
13
+ expect(described_class.instance.members).not_to be_nil
14
+ end
15
+
16
+ it do
17
+ expect(described_class.instance.twitter_id).not_to be_nil
18
+ end
19
+
20
+ it do
21
+ expect(described_class.instance.blog_uri).not_to be_nil
22
+ end
23
+
24
+ it do
25
+ expect(described_class.instance.website_uri).not_to be_nil
26
+ end
27
+
28
+ it do
29
+ expect(described_class.instance.showroom_uri).not_to be_nil
30
+ end
31
+
32
+ end
@@ -0,0 +1,91 @@
1
+ require 'spec_helper'
2
+
3
+ describe Nizicon::Members do
4
+ it do
5
+ expect(described_class.instance.size).to eq(10)
6
+ end
7
+
8
+ it do
9
+ expect(described_class.instance.all.size).to eq(10)
10
+ end
11
+
12
+ it do
13
+ expect(described_class.instance.all.each).not_to be_nil
14
+ end
15
+
16
+ describe described_class::NagataMinari do
17
+ it 'birthday' do
18
+ expect(described_class.instance.birthday.to_s).to eq('1997-12-17')
19
+ end
20
+
21
+ it do
22
+ expect(described_class.instance.position).not_to be_nil
23
+ end
24
+ end
25
+
26
+ describe described_class::ShigematsuYuka do
27
+ it 'birthday' do
28
+ expect(described_class.instance.birthday.to_s).to eq('1996-05-20')
29
+ end
30
+
31
+ it do
32
+ expect(described_class.instance.position).not_to be_nil
33
+ end
34
+ end
35
+
36
+ describe described_class::OkumuraNonoka do
37
+ it 'birthday' do
38
+ expect(described_class.instance.birthday.to_s).to eq('2001-01-04')
39
+ end
40
+ end
41
+
42
+ describe described_class::KinoshitaHiyori do
43
+ it 'birthday' do
44
+ expect(described_class.instance.birthday.to_s).to eq('1997-12-09')
45
+ end
46
+ end
47
+
48
+ describe described_class::SuyamaEmiri do
49
+ it 'birthday' do
50
+ expect(described_class.instance.birthday.to_s).to eq('1999-05-26')
51
+ end
52
+ end
53
+
54
+ describe described_class::NakamuraAkari do
55
+ it 'birthday' do
56
+ expect(described_class.instance.birthday.to_s).to eq('1998-01-30')
57
+ end
58
+ end
59
+
60
+ describe described_class::NishiNanami do
61
+ it 'birthday' do
62
+ expect(described_class.instance.birthday.to_s).to eq('1996-10-09')
63
+ end
64
+ end
65
+
66
+ describe described_class::NemotoNagi do
67
+ it 'birthday' do
68
+ expect(described_class.instance.birthday.to_s).to eq('1999-03-15')
69
+ end
70
+
71
+ it do
72
+ expect(described_class.instance.pixiv_id).not_to be_nil
73
+ end
74
+ end
75
+
76
+ describe described_class::MatobaKarin do
77
+ it 'birthday' do
78
+ expect(described_class.instance.birthday.to_s).to eq('2000-12-30')
79
+ end
80
+ end
81
+
82
+ describe described_class::YoshimuraNana do
83
+ it 'birthday' do
84
+ expect(described_class.instance.birthday.to_s).to eq('1999-08-02')
85
+ end
86
+
87
+ it do
88
+ expect(described_class.instance.to_s).not_to eq(described_class.instance.nickname)
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,17 @@
1
+ require 'spec_helper'
2
+
3
+ describe Nizicon do
4
+ it 'should have a version number' do
5
+ expect(Nizicon::VERSION).not_to be_nil
6
+ end
7
+
8
+ describe "Nizicon." do
9
+ it 'name' do
10
+ expect(Nizicon.name).to eq('虹のコンキスタドール')
11
+ end
12
+
13
+ it 'to_s' do
14
+ expect(Nizicon.to_s).to eq(Nizicon.name)
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,83 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, make a
10
+ # separate helper file that requires this one and then use it only in the specs
11
+ # that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
16
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
+
18
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
19
+ require 'nizicon'
20
+
21
+ RSpec.configure do |config|
22
+ # The settings below are suggested to provide a good initial experience
23
+ # with RSpec, but feel free to customize to your heart's content.
24
+ =begin
25
+ # These two settings work together to allow you to limit a spec run
26
+ # to individual examples or groups you care about by tagging them with
27
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
28
+ # get run.
29
+ config.filter_run :focus
30
+ config.run_all_when_everything_filtered = true
31
+
32
+ # Many RSpec users commonly either run the entire suite or an individual
33
+ # file, and it's useful to allow more verbose output when running an
34
+ # individual spec file.
35
+ if config.files_to_run.one?
36
+ # Use the documentation formatter for detailed output,
37
+ # unless a formatter has already been configured
38
+ # (e.g. via a command-line flag).
39
+ config.default_formatter = 'doc'
40
+ end
41
+
42
+ # Print the 10 slowest examples and example groups at the
43
+ # end of the spec run, to help surface which specs are running
44
+ # particularly slow.
45
+ config.profile_examples = 10
46
+
47
+ # Run specs in random order to surface order dependencies. If you find an
48
+ # order dependency and want to debug it, you can fix the order by providing
49
+ # the seed, which is printed after each run.
50
+ # --seed 1234
51
+ config.order = :random
52
+
53
+ # Seed global randomization in this process using the `--seed` CLI option.
54
+ # Setting this allows you to use `--seed` to deterministically reproduce
55
+ # test failures related to randomization by passing the same `--seed` value
56
+ # as the one that triggered the failure.
57
+ Kernel.srand config.seed
58
+
59
+ # rspec-expectations config goes here. You can use an alternate
60
+ # assertion/expectation library such as wrong or the stdlib/minitest
61
+ # assertions if you prefer.
62
+ config.expect_with :rspec do |expectations|
63
+ # Enable only the newer, non-monkey-patching expect syntax.
64
+ # For more details, see:
65
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
66
+ expectations.syntax = :expect
67
+ end
68
+
69
+ # rspec-mocks config goes here. You can use an alternate test double
70
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
71
+ config.mock_with :rspec do |mocks|
72
+ # Enable only the newer, non-monkey-patching expect syntax.
73
+ # For more details, see:
74
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
75
+ mocks.syntax = :expect
76
+
77
+ # Prevents you from mocking or stubbing a method that does not exist on
78
+ # a real object. This is generally recommended.
79
+ mocks.verify_partial_doubles = true
80
+ end
81
+ =end
82
+ config.order = :random
83
+ end
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rzicon
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - bash0C7
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-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: 1.3.5
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.3.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
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: rake
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
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 3.0.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 3.0.0
69
+ description: All about Worldwide idol "2zicon".
70
+ email:
71
+ - ksb.4038.nullpointer+bash0C7@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - .gitignore
77
+ - .rspec
78
+ - Gemfile
79
+ - LICENSE.txt
80
+ - README.md
81
+ - Rakefile
82
+ - lib/nizicon.rb
83
+ - lib/nizicon/core.rb
84
+ - lib/nizicon/members.rb
85
+ - lib/nizicon/version.rb
86
+ - rzicon.gemspec
87
+ - spec/core_spec.rb
88
+ - spec/members_spec.rb
89
+ - spec/nizicon_spec.rb
90
+ - spec/spec_helper.rb
91
+ homepage: https://github.com/bash0C7/rzicon
92
+ licenses:
93
+ - MIT
94
+ metadata: {}
95
+ post_install_message:
96
+ rdoc_options: []
97
+ require_paths:
98
+ - lib
99
+ required_ruby_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: 2.0.0
104
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - '>='
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ requirements: []
110
+ rubyforge_project:
111
+ rubygems_version: 2.0.14
112
+ signing_key:
113
+ specification_version: 4
114
+ summary: All about Worldwide idol "2zicon".
115
+ test_files:
116
+ - spec/core_spec.rb
117
+ - spec/members_spec.rb
118
+ - spec/nizicon_spec.rb
119
+ - spec/spec_helper.rb