sexmachine 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sexmachine (0.0.1)
4
+ sexmachine (0.0.2)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/README.rdoc CHANGED
@@ -1,5 +1,5 @@
1
1
  = Sex Machine
2
- This gem uses the underlying data from the program "gender" by Jorg Michael (described [here](http://www.autohotkey.com/community/viewtopic.php?t=22000)). It's use is pretty straightforward:
2
+ This gem uses the underlying data from the program "gender" by Jorg Michael (described {here}[http://www.autohotkey.com/community/viewtopic.php?t=22000]). It's use is pretty straightforward:
3
3
 
4
4
  >> require 'sexmachine'
5
5
  >> d = Detector.new
@@ -76,8 +76,8 @@
76
76
  <h1>Sex Machine</h1>
77
77
  <p>
78
78
  This gem uses the underlying data from the program &#8220;gender&#8221; by
79
- Jorg Michael (described [here](<a
80
- href="http://www.autohotkey.com/community/viewtopic.php?t=22000">www.autohotkey.com/community/viewtopic.php?t=22000</a>)).
79
+ Jorg Michael (described <a
80
+ href="http://www.autohotkey.com/community/viewtopic.php?t=22000">here</a>).
81
81
  It&#8217;s use is pretty straightforward:
82
82
  </p>
83
83
  <pre>
@@ -168,10 +168,9 @@
168
168
  <pre>
169
169
  <span class="ruby-comment cmt"># File lib/sexmachine/detector.rb, line 4</span>
170
170
  4: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">fname</span>=<span class="ruby-keyword kw">nil</span>)
171
- 5: <span class="ruby-ivar">@names</span> = {}
172
- 6: <span class="ruby-identifier">fname</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-value str">'../data/nam_dict.txt'</span>, <span class="ruby-keyword kw">__FILE__</span>)
173
- 7: <span class="ruby-identifier">parse</span> <span class="ruby-identifier">fname</span>
174
- 8: <span class="ruby-keyword kw">end</span></pre>
171
+ 5: <span class="ruby-identifier">fname</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-value str">'../data/nam_dict.txt'</span>, <span class="ruby-keyword kw">__FILE__</span>)
172
+ 6: <span class="ruby-identifier">parse</span> <span class="ruby-identifier">fname</span>
173
+ 7: <span class="ruby-keyword kw">end</span></pre>
175
174
  </div>
176
175
 
177
176
  </div>
@@ -242,8 +241,9 @@
242
241
  <div class="method-source-code"
243
242
  id="parse-source">
244
243
  <pre>
245
- <span class="ruby-comment cmt"># File lib/sexmachine/detector.rb, line 10</span>
246
- 10: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">fname</span>)
244
+ <span class="ruby-comment cmt"># File lib/sexmachine/detector.rb, line 9</span>
245
+ 9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">fname</span>)
246
+ 10: <span class="ruby-ivar">@names</span> = {}
247
247
  11: <span class="ruby-identifier">open</span>(<span class="ruby-identifier">fname</span>, <span class="ruby-value str">&quot;r:iso8859-1:utf-8&quot;</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
248
248
  12: <span class="ruby-identifier">f</span>.<span class="ruby-identifier">each_line</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
249
249
  13: <span class="ruby-identifier">eatNameLine</span> <span class="ruby-identifier">line</span>
data/docs/created.rid CHANGED
@@ -1,5 +1,5 @@
1
- Tue, 24 Jul 2012 15:30:24 -0400
2
- README.rdoc Tue, 24 Jul 2012 15:28:26 -0400
3
- lib/sexmachine/detector.rb Tue, 24 Jul 2012 15:05:45 -0400
1
+ Tue, 24 Jul 2012 15:35:02 -0400
2
+ README.rdoc Tue, 24 Jul 2012 15:34:54 -0400
3
+ lib/sexmachine/detector.rb Tue, 24 Jul 2012 15:31:11 -0400
4
4
  lib/sexmachine/version.rb Tue, 24 Jul 2012 14:41:34 -0400
5
5
  lib/sexmachine.rb Tue, 24 Jul 2012 14:41:23 -0400
@@ -24,7 +24,7 @@
24
24
  <div id="metadata">
25
25
  <dl>
26
26
  <dt class="modified-date">Last Modified</dt>
27
- <dd class="modified-date">2012-07-24 15:05:45 -0400</dd>
27
+ <dd class="modified-date">2012-07-24 15:31:11 -0400</dd>
28
28
 
29
29
 
30
30
  <dt class="requires">Requires</dt>
@@ -1,3 +1,3 @@
1
1
  module SexMachine
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sexmachine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -46,7 +46,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ! '>='
48
48
  - !ruby/object:Gem::Version
49
- version: 1.9.2
49
+ version: 1.9.0
50
50
  required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
55
  version: '0'
56
56
  segments:
57
57
  - 0
58
- hash: 1950402375859060057
58
+ hash: -3175796837517117554
59
59
  requirements: []
60
60
  rubyforge_project: sexmachine
61
61
  rubygems_version: 1.8.17