string_master 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +43 -35
- data/VERSION +1 -1
- data/lib/string_master/string_master.rb +2 -2
- data/string_master.gemspec +2 -2
- metadata +13 -13
data/Gemfile.lock
CHANGED
@@ -1,48 +1,56 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
rack (~> 1.
|
12
|
-
rack-mount (~> 0.
|
13
|
-
rack-test (~> 0.
|
14
|
-
|
15
|
-
activemodel (3.
|
16
|
-
activesupport (= 3.
|
17
|
-
builder (~>
|
18
|
-
i18n (~> 0.
|
19
|
-
activesupport (3.
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
4
|
+
actionpack (3.1.3)
|
5
|
+
activemodel (= 3.1.3)
|
6
|
+
activesupport (= 3.1.3)
|
7
|
+
builder (~> 3.0.0)
|
8
|
+
erubis (~> 2.7.0)
|
9
|
+
i18n (~> 0.6)
|
10
|
+
rack (~> 1.3.5)
|
11
|
+
rack-cache (~> 1.1)
|
12
|
+
rack-mount (~> 0.8.2)
|
13
|
+
rack-test (~> 0.6.1)
|
14
|
+
sprockets (~> 2.0.3)
|
15
|
+
activemodel (3.1.3)
|
16
|
+
activesupport (= 3.1.3)
|
17
|
+
builder (~> 3.0.0)
|
18
|
+
i18n (~> 0.6)
|
19
|
+
activesupport (3.1.3)
|
20
|
+
multi_json (~> 1.0)
|
21
|
+
builder (3.0.0)
|
22
|
+
diff-lcs (1.1.3)
|
23
|
+
erubis (2.7.0)
|
24
24
|
git (1.2.5)
|
25
|
-
|
26
|
-
|
25
|
+
hike (1.2.1)
|
26
|
+
i18n (0.6.0)
|
27
|
+
jeweler (1.6.4)
|
27
28
|
bundler (~> 1.0)
|
28
29
|
git (>= 1.2.5)
|
29
30
|
rake
|
30
|
-
|
31
|
-
rack
|
31
|
+
multi_json (1.0.3)
|
32
|
+
rack (1.3.5)
|
33
|
+
rack-cache (1.1)
|
34
|
+
rack (>= 0.4)
|
35
|
+
rack-mount (0.8.3)
|
32
36
|
rack (>= 1.0.0)
|
33
|
-
rack-test (0.
|
37
|
+
rack-test (0.6.1)
|
34
38
|
rack (>= 1.0)
|
35
|
-
rake (0.9.2)
|
36
|
-
rcov (0.9.
|
37
|
-
rspec (2.
|
38
|
-
rspec-core (~> 2.
|
39
|
-
rspec-expectations (~> 2.
|
40
|
-
rspec-mocks (~> 2.
|
41
|
-
rspec-core (2.
|
42
|
-
rspec-expectations (2.
|
39
|
+
rake (0.9.2.2)
|
40
|
+
rcov (0.9.11)
|
41
|
+
rspec (2.7.0)
|
42
|
+
rspec-core (~> 2.7.0)
|
43
|
+
rspec-expectations (~> 2.7.0)
|
44
|
+
rspec-mocks (~> 2.7.0)
|
45
|
+
rspec-core (2.7.1)
|
46
|
+
rspec-expectations (2.7.0)
|
43
47
|
diff-lcs (~> 1.1.2)
|
44
|
-
rspec-mocks (2.
|
45
|
-
|
48
|
+
rspec-mocks (2.7.0)
|
49
|
+
sprockets (2.0.3)
|
50
|
+
hike (~> 1.2)
|
51
|
+
rack (~> 1.0)
|
52
|
+
tilt (~> 1.1, != 1.3.0)
|
53
|
+
tilt (1.3.3)
|
46
54
|
|
47
55
|
PLATFORMS
|
48
56
|
ruby
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
@@ -10,8 +10,8 @@ class StringMaster
|
|
10
10
|
alias :string :modified_string
|
11
11
|
|
12
12
|
def initialize(string)
|
13
|
-
@initial_string = string
|
14
|
-
@modified_string = string
|
13
|
+
@initial_string = String.new(string.html_safe)
|
14
|
+
@modified_string = String.new(string.html_safe)
|
15
15
|
yield(self) if block_given?
|
16
16
|
end
|
17
17
|
|
data/string_master.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{string_master}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Roman Snitko"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-11-24}
|
13
13
|
s.description = %q{Because every time I create a new webapp, I think about how I should process user-generated content. Should convert urls to links and images? Should I allow certain tags? Should I convert all new lines to *br* tags? Well, now all that is as simple as calling a single method.}
|
14
14
|
s.email = %q{roman.snitko@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: string_master
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,12 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-11-24 00:00:00.000000000 +04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: actionpack
|
17
|
-
requirement: &
|
17
|
+
requirement: &23351540 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *23351540
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: bundler
|
28
|
-
requirement: &
|
28
|
+
requirement: &23350300 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *23350300
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: jeweler
|
39
|
-
requirement: &
|
39
|
+
requirement: &23305120 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: '0'
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *23305120
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rcov
|
50
|
-
requirement: &
|
50
|
+
requirement: &23303060 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: '0'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *23303060
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: rspec
|
61
|
-
requirement: &
|
61
|
+
requirement: &23301300 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ! '>='
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
version: '0'
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *23301300
|
70
70
|
description: Because every time I create a new webapp, I think about how I should
|
71
71
|
process user-generated content. Should convert urls to links and images? Should
|
72
72
|
I allow certain tags? Should I convert all new lines to *br* tags? Well, now all
|
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
segments:
|
112
112
|
- 0
|
113
|
-
hash:
|
113
|
+
hash: 1809944806549981373
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
115
|
none: false
|
116
116
|
requirements:
|