retroactive_module_inclusion 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. data.tar.gz.sig +0 -0
  2. data/History.rdoc +7 -1
  3. data/README.rdoc +1 -2
  4. data/Rakefile +1 -1
  5. metadata +2 -2
  6. metadata.gz.sig +0 -0
data.tar.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,8 +1,14 @@
1
+ === 1.2.3 / 2011-01-24
2
+
3
+ * 1 minor enhancements
4
+
5
+ * updated Example section in README
6
+
1
7
  === 1.2.2 / 2011-01-24
2
8
 
3
9
  * 1 minor enhancements
4
10
 
5
- * updated synopsis section in README
11
+ * updated Synopsis section in README
6
12
 
7
13
  === 1.2.1 / 2011-01-23
8
14
 
data/README.rdoc CHANGED
@@ -46,8 +46,7 @@ In face of that, one has basically two possible solutions. The first is to give
46
46
 
47
47
  module Enumerable
48
48
  def mean
49
- n = 1
50
- inject {|s,k| n += 1 ; s + k }.to_f / count
49
+ inject(&:+) / count.to_f
51
50
  end
52
51
  end
53
52
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ require 'hoe'
8
8
  Hoe.spec 'retroactive_module_inclusion' do
9
9
  developer('Adriano Mitre', 'adriano.mitre@gmail.com')
10
10
 
11
- self.version = '1.2.2'
11
+ self.version = '1.2.3'
12
12
 
13
13
  self.readme_file = 'README.rdoc'
14
14
  self.history_file = 'History.rdoc'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 2
9
- version: 1.2.2
8
+ - 3
9
+ version: 1.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Adriano Mitre
metadata.gz.sig CHANGED
Binary file