baby_face 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/README.md +3 -3
- data/baby_face.gemspec +1 -1
- data/lib/baby_face/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa0d30b4ddeab70e8a94884e9822eea3906d0bb3
|
4
|
+
data.tar.gz: 31cc81b7835d8dec5c8859fc9ebe8a98958c3a91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 004c57261bde51fd05c6371539dace6fafb98429d5cde574c0b43a00b0cf631c7757f0844e4842b57fcbd4b8439419e19b0f0eaabae97f05d1f08eb72dfb9196
|
7
|
+
data.tar.gz: bb0b81427f9fc4451a7a191f0b3a46a2794e28cd5502a0ba169785c18ae88f862076025e0be9a7841168230f73334c3f805e1af38a131799c1ea53505ee4688d
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# BabyFace
|
2
2
|
|
3
|
-
baby_face is a
|
3
|
+
baby_face is a mix-in module to provide a simple classifier.
|
4
4
|
|
5
5
|
![](http://farm3.staticflickr.com/2835/11172696593_2e98d981d0_o.jpg)
|
6
6
|
|
@@ -74,13 +74,13 @@ support nested BabyFace object, array and hash.
|
|
74
74
|
class Entry < ActiveRecord::Base
|
75
75
|
has_many :comments
|
76
76
|
include BabyFace
|
77
|
-
baby_face_for features: :title, :body, :comments,
|
77
|
+
baby_face_for features: [:title, :body, :comments],
|
78
78
|
categories: [:ham, :spam]
|
79
79
|
end
|
80
80
|
|
81
81
|
class Comment < ActiveRecord::Base
|
82
82
|
include BabyFace
|
83
|
-
baby_face_for features: :title, :message
|
83
|
+
baby_face_for features: [:title, :message]
|
84
84
|
end
|
85
85
|
```
|
86
86
|
|
data/baby_face.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = BabyFace::VERSION
|
9
9
|
spec.authors = ["Yoshiori SHOJI"]
|
10
10
|
spec.email = ["yoshiori@gmail.com"]
|
11
|
-
spec.description = "baby_face is a
|
11
|
+
spec.description = "baby_face is a mix-in module to provide a simple classifier."
|
12
12
|
spec.summary = spec.description
|
13
13
|
spec.homepage = "https://github.com/yoshiori/baby_face"
|
14
14
|
spec.license = "MIT"
|
data/lib/baby_face/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baby_face
|
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
|
- Yoshiori SHOJI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: classifier
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description: baby_face is a
|
69
|
+
description: baby_face is a mix-in module to provide a simple classifier.
|
70
70
|
email:
|
71
71
|
- yoshiori@gmail.com
|
72
72
|
executables:
|
@@ -109,6 +109,6 @@ rubyforge_project:
|
|
109
109
|
rubygems_version: 2.0.0
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
|
-
summary: baby_face is a
|
112
|
+
summary: baby_face is a mix-in module to provide a simple classifier.
|
113
113
|
test_files:
|
114
114
|
- spec/baby_face/stand_spec.rb
|