relative 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/LICENSE +1 -1
- data/Manifest.txt +2 -2
- data/README.txt +9 -5
- data/Rakefile +4 -3
- metadata +42 -13
data/History.txt
CHANGED
data/LICENSE
CHANGED
data/Manifest.txt
CHANGED
data/README.txt
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
1
5
|
= relative
|
|
2
6
|
* Project Page: http://rubyforge.org/projects/relative/
|
|
3
|
-
* Documentation: http://relative.rubyforge.org/
|
|
4
7
|
|
|
5
8
|
== DESCRIPTION:
|
|
6
9
|
The relative library enhances Ruby's core and standard libraries to support
|
|
@@ -33,7 +36,7 @@ varying across platforms and web servers).
|
|
|
33
36
|
None (known).
|
|
34
37
|
|
|
35
38
|
== SYNOPSIS:
|
|
36
|
-
|
|
39
|
+
======<tt>examples/example.rb</tt>:
|
|
37
40
|
#!/usr/bin/env ruby
|
|
38
41
|
require 'rubygems'
|
|
39
42
|
require 'relative'
|
|
@@ -81,12 +84,12 @@ Hoe is required but only for running the tests.
|
|
|
81
84
|
* Homepage: http://www.designingpatterns.com
|
|
82
85
|
* Blogs: http://blogs.designingpatterns.com
|
|
83
86
|
|
|
84
|
-
== SUPPORT
|
|
87
|
+
== SUPPORT:
|
|
85
88
|
Please post questions, concerns, or requests for enhancement to the forums on
|
|
86
89
|
the project page. Alternatively, direct contact information for
|
|
87
90
|
Designing Patterns can be found on the project page for this gem.
|
|
88
91
|
|
|
89
|
-
== ENHANCEMENTS
|
|
92
|
+
== ENHANCEMENTS:
|
|
90
93
|
Please feel free to contact us with any ideas; we will try our best to
|
|
91
94
|
enhance the software and respond to user requests. Of course, we are more
|
|
92
95
|
likely to work on a particular enhancement if we know that there are users
|
|
@@ -100,7 +103,7 @@ distribution.
|
|
|
100
103
|
|
|
101
104
|
This package is licensed with an MIT license:
|
|
102
105
|
|
|
103
|
-
Copyright (c) 2008 Designing Patterns
|
|
106
|
+
Copyright (c) 2008-2009 Designing Patterns
|
|
104
107
|
|
|
105
108
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
106
109
|
a copy of this software and associated documentation files (the
|
|
@@ -122,3 +125,4 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
122
125
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
123
126
|
|
|
124
127
|
== SHARE AND ENJOY!
|
|
128
|
+
|
data/Rakefile
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# -*- ruby -*-
|
|
2
|
-
|
|
3
2
|
require 'rubygems'
|
|
4
3
|
require 'hoe'
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
PROJECT_NAME = 'relative'
|
|
7
6
|
|
|
8
|
-
Hoe.
|
|
7
|
+
Hoe.spec(PROJECT_NAME) do |p|
|
|
8
|
+
p.url = "http://www.rubyforge.org/projects/#{PROJECT_NAME}"
|
|
9
9
|
p.remote_rdoc_dir = ''
|
|
10
|
+
p.version = '1.0.3'
|
|
10
11
|
p.developer('DesigningPatterns', 'technical.inquiries@designingpatterns.com')
|
|
11
12
|
end
|
|
12
13
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: relative
|
|
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,47 @@ 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: |-
|
|
46
|
+
The relative library enhances Ruby's core and standard libraries to support
|
|
47
|
+
naming, opening, and reading files relative to the Ruby file currently being
|
|
48
|
+
interpreted (the contents of the __ FILE __ identifier). This functionality is
|
|
49
|
+
especially useful in embedded Ruby (eruby, erb, erubis, etc.) where absolute
|
|
50
|
+
paths or paths relative to the interpreter's current working directory are
|
|
51
|
+
problematic (due to file system structures and working directories
|
|
52
|
+
varying across platforms and web servers).
|
|
26
53
|
email:
|
|
27
54
|
- technical.inquiries@designingpatterns.com
|
|
28
55
|
executables: []
|
|
@@ -30,13 +57,13 @@ executables: []
|
|
|
30
57
|
extensions: []
|
|
31
58
|
|
|
32
59
|
extra_rdoc_files:
|
|
33
|
-
- Manifest.txt
|
|
34
60
|
- History.txt
|
|
61
|
+
- Manifest.txt
|
|
35
62
|
- README.txt
|
|
36
63
|
files:
|
|
37
|
-
- Manifest.txt
|
|
38
|
-
- LICENSE
|
|
39
64
|
- History.txt
|
|
65
|
+
- LICENSE
|
|
66
|
+
- Manifest.txt
|
|
40
67
|
- README.txt
|
|
41
68
|
- Rakefile
|
|
42
69
|
- examples/example.rb
|
|
@@ -50,7 +77,9 @@ files:
|
|
|
50
77
|
- test/test_pathname.rb
|
|
51
78
|
- test/test_pathrelativetocaller.rb
|
|
52
79
|
has_rdoc: true
|
|
53
|
-
homepage:
|
|
80
|
+
homepage: http://www.rubyforge.org/projects/relative
|
|
81
|
+
licenses: []
|
|
82
|
+
|
|
54
83
|
post_install_message:
|
|
55
84
|
rdoc_options:
|
|
56
85
|
- --main
|
|
@@ -72,12 +101,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
72
101
|
requirements: []
|
|
73
102
|
|
|
74
103
|
rubyforge_project: relative
|
|
75
|
-
rubygems_version: 1.
|
|
104
|
+
rubygems_version: 1.3.5
|
|
76
105
|
signing_key:
|
|
77
|
-
specification_version:
|
|
106
|
+
specification_version: 3
|
|
78
107
|
summary: The relative library enhances Ruby's core and standard libraries to support naming, opening, and reading files relative to the Ruby file currently being interpreted (the contents of the __ FILE __ identifier)
|
|
79
108
|
test_files:
|
|
80
|
-
- test/test_pathrelativetocaller.rb
|
|
81
109
|
- test/test_pathname.rb
|
|
82
|
-
- test/test_file.rb
|
|
83
110
|
- test/test_kernel.rb
|
|
111
|
+
- test/test_file.rb
|
|
112
|
+
- test/test_pathrelativetocaller.rb
|