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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6ae82fe6eada63285a9f8aaf510b33681bd5360
4
- data.tar.gz: c3fca97bce0f6d41e8bfaaab38216a3e22510c62
3
+ metadata.gz: fa0d30b4ddeab70e8a94884e9822eea3906d0bb3
4
+ data.tar.gz: 31cc81b7835d8dec5c8859fc9ebe8a98958c3a91
5
5
  SHA512:
6
- metadata.gz: 075e470aaa02cea2e7824af68828568a38d49ba5fe030b80564942af821404047536aece1fd7f6014aa7321f6518df3b6ad7ecff3d2f60adc96153c1d902b546
7
- data.tar.gz: 6178769b307411ee5a001c5a20a7a14798f264e6f125a583b36c6e4fd844be3602a24c88c82ef02791e76f7cbe982a24b843323183d7668ea789864530fc55d6
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 simple machine learning module.
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
 
@@ -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 simple machine learning module."
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"
@@ -1,3 +1,3 @@
1
1
  module BabyFace
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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-05 00:00:00.000000000 Z
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 simple machine learning module.
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 simple machine learning module.
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