mh_extensions 0.1.5.6 → 0.1.5.7

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.7
2
+ * Underlinize upgraded to handle modules (namespaces)
1
3
  = Version 0.1.5.6
2
4
  * Camelize from ActiveSupport::Inflector (to use outside of Rails)
3
5
  = Version 0.1.5.5
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.6') do |p|
6
+ Echoe.new('mh_extensions', '0.1.5.7') 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"
data/lib/string.rb CHANGED
@@ -78,7 +78,7 @@ class String
78
78
 
79
79
  # Zamiana CamelCase na underline
80
80
  def underlinize
81
- self.split(/(?=[A-Z])/).join('_').downcase
81
+ self.split(/(?=[A-Z])/).join('_').downcase.gsub("::_", "/")
82
82
  end
83
83
 
84
84
  # Zamiana CamelCase na underline na sobie
@@ -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.6"
5
+ s.version = "0.1.5.7"
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-07-07}
9
+ s.date = %q{2011-07-08}
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.6
4
+ version: 0.1.5.7
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-07-07 00:00:00.000000000Z
12
+ date: 2011-07-08 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