svxbox 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/svxbox/lexicali.rb +1 -1
  3. metadata +8 -8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -13,7 +13,7 @@ module SvxBox
13
13
  # given a string, it create a hash of each word and the number of times
14
14
  # each word occurs in the text
15
15
  def svxwc(wstring, terms=1)
16
- return if wstring.nil?
16
+ return unless wstring.is_a?(String)
17
17
  h = Hash.new(0)
18
18
  wstring.downcase!
19
19
  wstring.gsub!(%q{'s },' ')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svxbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-14 00:00:00.000000000 -04:00
12
+ date: 2011-09-15 00:00:00.000000000 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
17
- requirement: &84855830 !ruby/object:Gem::Requirement
17
+ requirement: &76161000 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *84855830
25
+ version_requirements: *76161000
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: amazon_product
28
- requirement: &84855580 !ruby/object:Gem::Requirement
28
+ requirement: &76160760 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *84855580
36
+ version_requirements: *76160760
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: shoulda
39
- requirement: &84855310 !ruby/object:Gem::Requirement
39
+ requirement: &76160520 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *84855310
47
+ version_requirements: *76160520
48
48
  description: View the code.
49
49
  email: albert.lash@docunext.com
50
50
  executables: []