auto_html 1.5.1 → 1.5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/auto_html/auto_html_for.rb +2 -2
- metadata +43 -63
@@ -27,7 +27,7 @@ module AutoHtmlFor
|
|
27
27
|
[raw_attrs].flatten.each do |raw_attr|
|
28
28
|
define_method("#{raw_attr}#{suffix}=") do |val|
|
29
29
|
a = "#{raw_attr}#{suffix}"
|
30
|
-
write_attribute(a, val) if attributes
|
30
|
+
write_attribute(a, val) if attributes.has_key?(a)
|
31
31
|
end
|
32
32
|
define_method("#{raw_attr}#{suffix}") do
|
33
33
|
result = read_attribute("#{raw_attr}#{suffix}") || send("auto_html_prepare_#{raw_attr}")
|
@@ -47,4 +47,4 @@ module AutoHtmlFor
|
|
47
47
|
module InstanceMethods
|
48
48
|
include AutoHtml
|
49
49
|
end
|
50
|
-
end
|
50
|
+
end
|
metadata
CHANGED
@@ -1,64 +1,55 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: auto_html
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.5.1.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 5
|
9
|
-
- 1
|
10
|
-
version: 1.5.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Dejan Simic
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2014-03-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: rinku
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
18
|
+
requirements:
|
27
19
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 5
|
33
|
-
- 0
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 1.5.0
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: redcarpet
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.5.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: redcarpet
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
41
33
|
none: false
|
42
|
-
requirements:
|
34
|
+
requirements:
|
43
35
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 15
|
46
|
-
segments:
|
47
|
-
- 2
|
48
|
-
- 0
|
49
|
-
- 0
|
36
|
+
- !ruby/object:Gem::Version
|
50
37
|
version: 2.0.0
|
51
38
|
type: :runtime
|
52
|
-
|
53
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.0.0
|
46
|
+
description: Automatically transforms URIs (via domain) and includes the destination
|
47
|
+
resource (Vimeo, YouTube movie, image, ...) in your document
|
54
48
|
email: desimic@gmail.com
|
55
49
|
executables: []
|
56
|
-
|
57
50
|
extensions: []
|
58
|
-
|
59
51
|
extra_rdoc_files: []
|
60
|
-
|
61
|
-
files:
|
52
|
+
files:
|
62
53
|
- Rakefile
|
63
54
|
- lib/auto_html/auto_html_for.rb
|
64
55
|
- lib/auto_html/base.rb
|
@@ -107,39 +98,28 @@ files:
|
|
107
98
|
- test/unit/filters/youtube_test.rb
|
108
99
|
- test/unit/unit_test_helper.rb
|
109
100
|
- README.md
|
110
|
-
has_rdoc: true
|
111
101
|
homepage: http://github.com/dejan/auto_html
|
112
102
|
licenses: []
|
113
|
-
|
114
103
|
post_install_message:
|
115
104
|
rdoc_options: []
|
116
|
-
|
117
|
-
require_paths:
|
105
|
+
require_paths:
|
118
106
|
- lib
|
119
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
120
108
|
none: false
|
121
|
-
requirements:
|
122
|
-
- -
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
|
125
|
-
|
126
|
-
- 0
|
127
|
-
version: "0"
|
128
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
114
|
none: false
|
130
|
-
requirements:
|
131
|
-
- -
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
|
134
|
-
segments:
|
135
|
-
- 0
|
136
|
-
version: "0"
|
115
|
+
requirements:
|
116
|
+
- - ! '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
137
119
|
requirements: []
|
138
|
-
|
139
120
|
rubyforge_project:
|
140
|
-
rubygems_version: 1.
|
121
|
+
rubygems_version: 1.8.23
|
141
122
|
signing_key:
|
142
123
|
specification_version: 3
|
143
124
|
summary: Transform URIs to appropriate markup
|
144
125
|
test_files: []
|
145
|
-
|