faker-precure 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +1 -1
- data/.travis.yml +13 -3
- data/README.md +17 -3
- data/faker-precure.gemspec +1 -1
- data/lib/faker-precure.rb +1 -0
- data/lib/faker/precure.rb +5 -0
- data/lib/faker/precure/version.rb +1 -1
- data/spec/faker/precure_spec.rb +9 -0
- data/spec/spec_helper.rb +5 -3
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5430955f55a5e974c2810014edb2d8721eac7757
|
4
|
+
data.tar.gz: ef7dc6a08e5996dd3ec74e588d2eada1ae151b21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65d2ea56ab24dc2f2590f47d7741de99781ebda1a62ea46f091dcfe4117470cea82297e821aa443ff13fe1e1a31f0678d8faff5e016dde0cf569770d1c9518dc
|
7
|
+
data.tar.gz: 6fab398d8982820414b83dcc6bc06d7ca2b2f914f3b647720252d9c4ffc7e6b6f8a0c275f21be745e08ced94ba25729e08218344d255658b63d22d09244a31aa
|
data/.rspec
CHANGED
data/.travis.yml
CHANGED
@@ -1,10 +1,20 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
|
4
|
-
|
3
|
+
- 2.0
|
4
|
+
- 2.1
|
5
|
+
- 2.2
|
6
|
+
- ruby-head
|
7
|
+
bundler_args: "--jobs=2"
|
8
|
+
before_script:
|
9
|
+
- export COVERAGE=true
|
5
10
|
script: bundle exec rspec
|
6
11
|
branches:
|
7
12
|
only:
|
8
|
-
|
13
|
+
- master
|
9
14
|
notifications:
|
10
15
|
email: false
|
16
|
+
slack:
|
17
|
+
secure: HKvrZjP1KUWhyNMA/3TfIe7vGXARu0gZFnntYPpIGm0N3Y8o3IHBc0Z0cY6N/VpFLinA95mfG8fk6SWUyqqlIfJiEQ7eIMj6kkOqWL+ro7BDMmi+pVSlE+Q2RmroY8pBKhFC7RsVW0JEjJ2OU4GqrVlxTncMNsfKNDCU3BXpWAU=
|
18
|
+
matrix:
|
19
|
+
allow_failures:
|
20
|
+
- rvm: ruby-head
|
data/README.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
-
# Faker::Precure
|
1
|
+
# Faker::Precure
|
2
|
+
Test data generator using Precure(Pretty Cure)
|
2
3
|
|
3
|
-
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/faker-precure.svg)](http://badge.fury.io/rb/faker-precure)
|
5
|
+
[![Build Status](https://travis-ci.org/sue445/faker-precure.svg?branch=master)](https://travis-ci.org/sue445/faker-precure)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/sue445/faker-precure.png)](https://codeclimate.com/github/sue445/faker-precure)
|
7
|
+
[![Coverage Status](https://coveralls.io/repos/sue445/faker-precure/badge.png)](https://coveralls.io/r/sue445/faker-precure)
|
8
|
+
[![Dependency Status](https://gemnasium.com/sue445/faker-precure.svg)](https://gemnasium.com/sue445/faker-precure)
|
4
9
|
|
5
10
|
## Installation
|
6
11
|
|
@@ -27,6 +32,9 @@ Faker::Precure.human_name
|
|
27
32
|
Faker::Precure.precure_name
|
28
33
|
#=> "キュアアクア"
|
29
34
|
|
35
|
+
Faker::Precure.cast_name
|
36
|
+
#=> "豊口めぐみ"
|
37
|
+
|
30
38
|
Faker::Precure.title
|
31
39
|
#=> "Yes! プリキュア5"
|
32
40
|
|
@@ -48,7 +56,13 @@ end
|
|
48
56
|
|
49
57
|
## Changelog
|
50
58
|
### master
|
51
|
-
[full changelog](http://github.com/sue445/faker-precure/compare/v0.0.
|
59
|
+
[full changelog](http://github.com/sue445/faker-precure/compare/v0.0.3...master)
|
60
|
+
|
61
|
+
### v0.0.3
|
62
|
+
[full changelog](http://github.com/sue445/faker-precure/compare/v0.0.2...v0.0.3)
|
63
|
+
|
64
|
+
* Impl Faker::Precure#cast_name
|
65
|
+
* https://github.com/sue445/faker-precure/pull/3
|
52
66
|
|
53
67
|
### v0.0.2
|
54
68
|
[full changelog](http://github.com/sue445/faker-precure/compare/v0.0.1...v0.0.2)
|
data/faker-precure.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "rubicure"
|
21
|
+
spec.add_dependency "rubicure", ">= 0.2.1"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", ">= 1.5"
|
24
24
|
spec.add_development_dependency "rake"
|
@@ -0,0 +1 @@
|
|
1
|
+
require "faker/precure"
|
data/lib/faker/precure.rb
CHANGED
data/spec/faker/precure_spec.rb
CHANGED
@@ -48,4 +48,13 @@ describe Faker::Precure do
|
|
48
48
|
it{ should_not be_blank }
|
49
49
|
it{ should be_an_element_of all_titles }
|
50
50
|
end
|
51
|
+
|
52
|
+
describe "#cast_name" do
|
53
|
+
subject{ Faker::Precure.cast_name }
|
54
|
+
|
55
|
+
let(:all_cast_names){ ::Precure.all_stars.map(&:cast_name) }
|
56
|
+
|
57
|
+
it{ should_not be_blank }
|
58
|
+
it{ should be_an_element_of all_cast_names }
|
59
|
+
end
|
51
60
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
+
if ENV["COVERAGE"]
|
2
|
+
require 'coveralls'
|
3
|
+
Coveralls.wear!
|
4
|
+
end
|
5
|
+
|
1
6
|
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
2
7
|
require 'faker/precure'
|
3
8
|
|
4
|
-
require 'coveralls'
|
5
|
-
Coveralls.wear!
|
6
|
-
|
7
9
|
# Requires supporting ruby files with custom matchers and macros, etc,
|
8
10
|
# in spec/support/ and its subdirectories.
|
9
11
|
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faker-precure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubicure
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.2.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.2.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- README.md
|
112
112
|
- Rakefile
|
113
113
|
- faker-precure.gemspec
|
114
|
+
- lib/faker-precure.rb
|
114
115
|
- lib/faker/precure.rb
|
115
116
|
- lib/faker/precure/version.rb
|
116
117
|
- spec/faker/precure_spec.rb
|
@@ -136,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
137
|
version: '0'
|
137
138
|
requirements: []
|
138
139
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.4.5
|
140
141
|
signing_key:
|
141
142
|
specification_version: 4
|
142
143
|
summary: Test data generator using precure
|