mh_extensions 0.1.5.8 → 0.1.5.9

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,5 @@
1
+ = Version 0.1.5.9
2
+ * Fix for undefined method `length' for 0:Fixnum
1
3
  = Version 0.1.5.8
2
4
  * Fix in act_as_tree extensions
3
5
  = Version 0.1.5.7
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
  require 'rake'
4
4
  require 'echoe'
5
5
 
6
- Echoe.new('mh_extensions', '0.1.5.8') do |p|
6
+ Echoe.new('mh_extensions', '0.1.5.9') do |p|
7
7
  p.description = "Package of usefull ruby basic classes (and not only) extensions"
8
8
  p.url = "https://github.com/mensfeld/MH-Extensions"
9
9
  p.author = "Maciej Mensfeld"
@@ -15,7 +15,7 @@ module ArMH
15
15
 
16
16
  if self.column_names.include?('created_by') && self.column_names.include?('updated_by')
17
17
  self.send(:define_method, "created_by=".to_sym) do |author|
18
- self.updated_by=author if self.updated_by.nil? || self.updated_by.length == 0
18
+ self.updated_by=author if self.updated_by.nil? || self.updated_by.to_s.length == 0
19
19
  super author
20
20
  end
21
21
  end
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{mh_extensions}
5
- s.version = "0.1.5.8"
5
+ s.version = "0.1.5.9"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = [%q{Maciej Mensfeld}]
9
- s.date = %q{2011-08-14}
9
+ s.date = %q{2011-08-22}
10
10
  s.description = %q{Package of usefull ruby basic classes (and not only) extensions}
11
11
  s.email = %q{maciej@mensfeld.pl}
12
12
  s.extra_rdoc_files = [%q{CHANGELOG.rdoc}, %q{README.md}, %q{lib/activerecord_ext.rb}, %q{lib/acts_as_tree_ext.rb}, %q{lib/array.rb}, %q{lib/browser_detector.rb}, %q{lib/date_ext.rb}, %q{lib/hash.rb}, %q{lib/mh_extensions.rb}, %q{lib/rand.rb}, %q{lib/range.rb}, %q{lib/string.rb}, %q{lib/txt_file_handler.rb}]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mh_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5.8
4
+ version: 0.1.5.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-14 00:00:00.000000000Z
12
+ date: 2011-08-22 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Package of usefull ruby basic classes (and not only) extensions
15
15
  email: maciej@mensfeld.pl