mh_extensions 0.1.6.3 → 0.1.6.4

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.6.4
2
+ * Multiply pauses replacement for to_url method
1
3
  = Version 0.1.6.2
2
4
  * Strip_tags as a string instance method
3
5
  = Version 0.1.6.1
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.6.3') do |p|
6
+ Echoe.new('mh_extensions', '0.1.6.4') 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
@@ -32,6 +32,7 @@ class String
32
32
  temp.gsub!(/\s/,'-')
33
33
  temp.gsub!(/\-+$/,'')
34
34
  temp.gsub!(/^\-+/,'')
35
+ temp.gsub!(/\-{2,}/, '-')
35
36
  temp
36
37
  end
37
38
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "mh_extensions"
5
- s.version = "0.1.6.3"
5
+ s.version = "0.1.6.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Maciej Mensfeld"]
9
- s.date = "2012-03-02"
9
+ s.date = "2012-03-17"
10
10
  s.description = "Package of usefull ruby basic classes (and not only) extensions"
11
11
  s.email = "maciej@mensfeld.pl"
12
12
  s.extra_rdoc_files = ["CHANGELOG.rdoc", "README.md", "lib/activerecord_ext.rb", "lib/acts_as_tree_ext.rb", "lib/array.rb", "lib/browser_detector.rb", "lib/date_ext.rb", "lib/hash.rb", "lib/mh_extensions.rb", "lib/rand.rb", "lib/range.rb", "lib/string.rb", "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.6.3
4
+ version: 0.1.6.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-02 00:00:00.000000000Z
12
+ date: 2012-03-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: babosa
16
- requirement: &23831620 !ruby/object:Gem::Requirement
16
+ requirement: &15005800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *23831620
24
+ version_requirements: *15005800
25
25
  description: Package of usefull ruby basic classes (and not only) extensions
26
26
  email: maciej@mensfeld.pl
27
27
  executables: []