objects_extensions 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.1.0
@@ -36,7 +36,7 @@ String.class_eval do
36
36
 
37
37
  # Replaces all \n or \r\n for <br />
38
38
  def html_text
39
- self.gsub(/\r/, '').gsub(/\n/, '<br />')
39
+ self.gsub(/\<(.| )*\>/,'').gsub(/\r/, '').gsub(/\n/, '<br />')
40
40
  end
41
41
 
42
42
  # Removes first num_chars from string
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{objects_extensions}
8
- s.version = "0.0.1"
8
+ s.version = "0.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jduarte"]
12
- s.date = %q{2010-04-08}
12
+ s.date = %q{2010-04-29}
13
13
  s.description = %q{Convenience Methods}
14
14
  s.email = %q{jose.fduarte@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
35
35
  s.homepage = %q{http://github.com/jduarte/objects_extensions}
36
36
  s.rdoc_options = ["--charset=UTF-8"]
37
37
  s.require_paths = ["lib"]
38
- s.rubygems_version = %q{1.3.5}
38
+ s.rubygems_version = %q{1.3.6}
39
39
  s.summary = %q{Some convenient methods to String and Hash}
40
40
  s.test_files = [
41
41
  "test/helper.rb",
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: objects_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
5
10
  platform: ruby
6
11
  authors:
7
12
  - jduarte
@@ -9,19 +14,21 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-04-08 00:00:00 +01:00
17
+ date: 2010-04-29 00:00:00 +01:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: thoughtbot-shoulda
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
23
29
  version: "0"
24
- version:
30
+ type: :development
31
+ version_requirements: *id001
25
32
  description: Convenience Methods
26
33
  email: jose.fduarte@gmail.com
27
34
  executables: []
@@ -59,18 +66,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
66
  requirements:
60
67
  - - ">="
61
68
  - !ruby/object:Gem::Version
69
+ segments:
70
+ - 0
62
71
  version: "0"
63
- version:
64
72
  required_rubygems_version: !ruby/object:Gem::Requirement
65
73
  requirements:
66
74
  - - ">="
67
75
  - !ruby/object:Gem::Version
76
+ segments:
77
+ - 0
68
78
  version: "0"
69
- version:
70
79
  requirements: []
71
80
 
72
81
  rubyforge_project:
73
- rubygems_version: 1.3.5
82
+ rubygems_version: 1.3.6
74
83
  signing_key:
75
84
  specification_version: 3
76
85
  summary: Some convenient methods to String and Hash