capsule 1.0.0 → 1.1.0
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/.ruby +35 -0
- data/AGPL3.txt +661 -0
- data/COPYING.rdoc +24 -0
- data/HISTORY.rdoc +27 -0
- data/README.rdoc +154 -0
- data/lib/capsule.rb +65 -94
- data/lib/capsule/autoimport.rb +43 -0
- metadata +34 -39
- data/HISTORY +0 -11
- data/LICENSE +0 -674
- data/MANIFEST +0 -19
- data/README +0 -61
- data/RELEASE +0 -12
- data/meta/abstract +0 -2
- data/meta/authors +0 -3
- data/meta/created +0 -1
- data/meta/homepage +0 -1
- data/meta/license +0 -1
- data/meta/package +0 -1
- data/meta/project +0 -1
- data/meta/released +0 -1
- data/meta/repository +0 -1
- data/meta/summary +0 -2
- data/meta/version +0 -1
data/MANIFEST
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
test
|
2
|
-
RELEASE
|
3
|
-
LICENSE
|
4
|
-
README
|
5
|
-
HISTORY
|
6
|
-
meta
|
7
|
-
meta/created
|
8
|
-
meta/repository
|
9
|
-
meta/homepage
|
10
|
-
meta/summary
|
11
|
-
meta/abstract
|
12
|
-
meta/package
|
13
|
-
meta/released
|
14
|
-
meta/version
|
15
|
-
meta/license
|
16
|
-
meta/authors
|
17
|
-
meta/project
|
18
|
-
lib
|
19
|
-
lib/capsule.rb
|
data/README
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
= Capsule
|
2
|
-
|
3
|
-
* http://death.rubyforge.org
|
4
|
-
* http://death.rubyforge.org/capsule
|
5
|
-
|
6
|
-
|
7
|
-
== DESCRIPTION
|
8
|
-
|
9
|
-
Capsule is subclass of Module. It encapsulates an
|
10
|
-
extenal script as a functions module.
|
11
|
-
|
12
|
-
Capsule is based on Joel VanderWerf's Script class (script.rb).
|
13
|
-
|
14
|
-
|
15
|
-
== FEATURES/ISSUES
|
16
|
-
|
17
|
-
* Convert external "toplevel" scripts into modules.
|
18
|
-
* Provides autoload feature.
|
19
|
-
|
20
|
-
|
21
|
-
== RELEASE NOTES
|
22
|
-
|
23
|
-
Please see RELEASE file.
|
24
|
-
|
25
|
-
|
26
|
-
== SYNOPSIS
|
27
|
-
|
28
|
-
To encapsulate a script in a Capsule:
|
29
|
-
|
30
|
-
myscript = Capsule.new('myscript.rb')
|
31
|
-
|
32
|
-
If the script is in the Ruby load path, then you can use +Capsule.load+.
|
33
|
-
|
34
|
-
myscript = Capsule.load('myscript.rb')
|
35
|
-
|
36
|
-
|
37
|
-
== HOW TO INSTALL
|
38
|
-
|
39
|
-
To install with RubyGems simply open a console and type:
|
40
|
-
|
41
|
-
gem install capsule
|
42
|
-
|
43
|
-
Local installation requires Setup.rb (gem install setup),
|
44
|
-
then download the tarball package and type:
|
45
|
-
|
46
|
-
tar -xvzf capsule-1.0.0.tgz
|
47
|
-
cd capsule-1.0.0
|
48
|
-
sudo setup.rb all
|
49
|
-
|
50
|
-
Windows users use 'ruby setup.rb all'.
|
51
|
-
|
52
|
-
|
53
|
-
== COPYING
|
54
|
-
|
55
|
-
Copyright (c) 2007 Coding Dead
|
56
|
-
Copyright (c) 2005 Joel VanderWerf
|
57
|
-
|
58
|
-
This program is ditributed unser the terms of the LGPL v3 license.
|
59
|
-
|
60
|
-
See LICENSE file for details.
|
61
|
-
|
data/RELEASE
DELETED
data/meta/abstract
DELETED
data/meta/authors
DELETED
data/meta/created
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2005-01-01
|
data/meta/homepage
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
http://death.rubyforge.org/
|
data/meta/license
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
LGPLv3
|
data/meta/package
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
capsule
|
data/meta/project
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
death
|
data/meta/released
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2009-06-26
|
data/meta/repository
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
svn://rubyforge.org/var/svn/death/capsule
|
data/meta/summary
DELETED
data/meta/version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.0.0
|