erbextensions 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/LICENSE +1 -1
- data/Manifest.txt +4 -4
- data/README.txt +7 -8
- data/Rakefile +6 -5
- metadata +35 -13
data/History.txt
CHANGED
data/LICENSE
CHANGED
data/Manifest.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
Manifest.txt
|
2
|
-
LICENSE
|
3
1
|
History.txt
|
2
|
+
LICENSE
|
3
|
+
Manifest.txt
|
4
4
|
README.txt
|
5
5
|
Rakefile
|
6
6
|
examples/template.erb
|
7
7
|
examples/template_wrapper.erb
|
8
8
|
lib/erbextensions.rb
|
9
|
-
test/test_erbextensions.rb
|
10
|
-
test/test2.erb
|
11
9
|
test/test.erb
|
10
|
+
test/test2.erb
|
11
|
+
test/test_erbextensions.rb
|
data/README.txt
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
|
2
|
-
* Project Page: http://rubyforge.org/projects/erbextensions/
|
3
|
-
* Documentation: http://erbextensions.rubyforge.org/
|
1
|
+
Object
|
4
2
|
|
5
3
|
== DESCRIPTION:
|
6
4
|
This package enhances the Standard ERB library, including providing:
|
@@ -12,7 +10,7 @@ This package enhances the Standard ERB library, including providing:
|
|
12
10
|
None (known).
|
13
11
|
|
14
12
|
== SYNOPSIS:
|
15
|
-
|
13
|
+
======<tt>examples/template_wrapper.erb</tt>:
|
16
14
|
<%=
|
17
15
|
require 'rubygems'
|
18
16
|
require 'erbextensions'
|
@@ -30,7 +28,7 @@ None (known).
|
|
30
28
|
ERB::process_file(File.join(File.dirname(__FILE__), "template.erb"))
|
31
29
|
%>
|
32
30
|
|
33
|
-
|
31
|
+
======<tt>examples/template.erb</tt>:
|
34
32
|
Dear <%= $recipient %>,
|
35
33
|
I am writing to be considered for the <%= $position %> position that
|
36
34
|
you recently advertised in <%= $source %>. I possess a keen interest
|
@@ -76,13 +74,14 @@ Hoe is required but only for running the tests.
|
|
76
74
|
=== Designing Patterns
|
77
75
|
* Homepage: http://www.designingpatterns.com
|
78
76
|
* Blogs: http://blogs.designingpatterns.com
|
77
|
+
* Twitter: http://www.twitter.com/TonyDesignP
|
79
78
|
|
80
|
-
== SUPPORT
|
79
|
+
== SUPPORT:
|
81
80
|
Please post questions, concerns, or requests for enhancement to the forums on
|
82
81
|
the project page. Alternatively, direct contact information for
|
83
82
|
Designing Patterns can be found on the project page for this gem.
|
84
83
|
|
85
|
-
== ENHANCEMENTS
|
84
|
+
== ENHANCEMENTS:
|
86
85
|
Please feel free to contact us with any ideas; we will try our best to
|
87
86
|
enhance the software and respond to user requests. Of course, we are more
|
88
87
|
likely to work on a particular enhancement if we know that there are users
|
@@ -96,7 +95,7 @@ distribution.
|
|
96
95
|
|
97
96
|
This package is licensed with an MIT license:
|
98
97
|
|
99
|
-
Copyright (c) 2008 Designing Patterns
|
98
|
+
Copyright (c) 2008-2009 Designing Patterns
|
100
99
|
|
101
100
|
Permission is hereby granted, free of charge, to any person obtaining
|
102
101
|
a copy of this software and associated documentation files (the
|
data/Rakefile
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
# -*- ruby -*-
|
2
|
-
|
3
|
-
$LOAD_PATH.unshift("lib")
|
4
|
-
|
5
2
|
require 'rubygems'
|
6
3
|
require 'hoe'
|
7
4
|
|
8
|
-
|
5
|
+
PROJECT_NAME = 'erbextensions'
|
6
|
+
DESCRIPTION = 'erbextensions is a library that extends the Standard ERB library. One key functionality that it provides is a method for programatically processing a named erb file, which is very useful when including one erb document into another erb document.'
|
9
7
|
|
10
|
-
Hoe.
|
8
|
+
Hoe.spec(PROJECT_NAME) do |p|
|
9
|
+
p.url = "http://www.rubyforge.org/projects/#{PROJECT_NAME}"
|
11
10
|
p.remote_rdoc_dir = ''
|
11
|
+
p.version = '1.0.3'
|
12
12
|
p.developer('DesigningPatterns', 'technical.inquiries@designingpatterns.com')
|
13
|
+
p.description = DESCRIPTION
|
13
14
|
end
|
14
15
|
|
15
16
|
# vim: syntax=Ruby
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erbextensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DesigningPatterns
|
@@ -9,20 +9,40 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-17 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rubyforge
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.0.3
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: gemcutter
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.3.0
|
34
|
+
version:
|
15
35
|
- !ruby/object:Gem::Dependency
|
16
36
|
name: hoe
|
17
|
-
type: :
|
37
|
+
type: :development
|
18
38
|
version_requirement:
|
19
39
|
version_requirements: !ruby/object:Gem::Requirement
|
20
40
|
requirements:
|
21
41
|
- - ">="
|
22
42
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
43
|
+
version: 2.5.0
|
24
44
|
version:
|
25
|
-
description:
|
45
|
+
description: erbextensions is a library that extends the Standard ERB library. One key functionality that it provides is a method for programatically processing a named erb file, which is very useful when including one erb document into another erb document.
|
26
46
|
email:
|
27
47
|
- technical.inquiries@designingpatterns.com
|
28
48
|
executables: []
|
@@ -30,23 +50,25 @@ executables: []
|
|
30
50
|
extensions: []
|
31
51
|
|
32
52
|
extra_rdoc_files:
|
33
|
-
- Manifest.txt
|
34
53
|
- History.txt
|
54
|
+
- Manifest.txt
|
35
55
|
- README.txt
|
36
56
|
files:
|
37
|
-
- Manifest.txt
|
38
|
-
- LICENSE
|
39
57
|
- History.txt
|
58
|
+
- LICENSE
|
59
|
+
- Manifest.txt
|
40
60
|
- README.txt
|
41
61
|
- Rakefile
|
42
62
|
- examples/template.erb
|
43
63
|
- examples/template_wrapper.erb
|
44
64
|
- lib/erbextensions.rb
|
45
|
-
- test/test_erbextensions.rb
|
46
|
-
- test/test2.erb
|
47
65
|
- test/test.erb
|
66
|
+
- test/test2.erb
|
67
|
+
- test/test_erbextensions.rb
|
48
68
|
has_rdoc: true
|
49
|
-
homepage:
|
69
|
+
homepage: http://www.rubyforge.org/projects/erbextensions
|
70
|
+
licenses: []
|
71
|
+
|
50
72
|
post_install_message:
|
51
73
|
rdoc_options:
|
52
74
|
- --main
|
@@ -68,9 +90,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
90
|
requirements: []
|
69
91
|
|
70
92
|
rubyforge_project: erbextensions
|
71
|
-
rubygems_version: 1.
|
93
|
+
rubygems_version: 1.3.5
|
72
94
|
signing_key:
|
73
|
-
specification_version:
|
95
|
+
specification_version: 3
|
74
96
|
summary: "This package enhances the Standard ERB library, including providing: * A method for returning the processed contents of a named erb file (ERB.process_file)"
|
75
97
|
test_files:
|
76
98
|
- test/test_erbextensions.rb
|