wc 0.90.0 → 0.91.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/wc.rb +3 -1
  3. data/wc.gemspec +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.90.0
1
+ 0.91.0
data/lib/wc.rb CHANGED
@@ -35,8 +35,10 @@ class Wc
35
35
  cloud_item = @sorted[0..@words-1]
36
36
  end
37
37
  ret = "<dl>"
38
+ i=1
38
39
  cloud_item.each { |elem|
39
- ret+="<dt>" + elem[0] +"</dt>"
40
+ ret+="<dt id=\""+i.to_s+"\">" + elem[0] +"</dt>"
41
+ i+=1
40
42
  }
41
43
  ret += "</dl>"
42
44
  ret
data/wc.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wc}
8
- s.version = "0.90.0"
8
+ s.version = "0.91.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paolo Perego"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 375
4
+ hash: 371
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 90
8
+ - 91
9
9
  - 0
10
- version: 0.90.0
10
+ version: 0.91.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Paolo Perego