wagon 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/README.rdoc +12 -0
- data/VERSION +1 -1
- data/bin/wagon +2 -13
- metadata +1 -1
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
@@ -2,6 +2,18 @@
|
|
2
2
|
|
3
3
|
Provided a valid lds.org username and password Wagon will download the information and pictures from the "Photo Directory" page and compile it into a convenient PDF.
|
4
4
|
|
5
|
+
== Usage
|
6
|
+
require 'wagon'
|
7
|
+
user = Wagon::connect('username', 'password')
|
8
|
+
pdf = user.ward.to_pdf(:font_size => 10, :rows => 9, ...)
|
9
|
+
pdf.render_file('photo_directory.pdf')
|
10
|
+
|
11
|
+
== Terminal Usage
|
12
|
+
wagon --help
|
13
|
+
|
14
|
+
== Installation
|
15
|
+
gem install wagon
|
16
|
+
|
5
17
|
== Copyright
|
6
18
|
|
7
19
|
Copyright (c) 2009 Devin Christensen. See LICENSE for details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.1
|
data/bin/wagon
CHANGED
@@ -1,20 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
# == Synopsis
|
4
|
-
# Create a PDF from your wards photo directory on lds.org
|
5
|
-
#
|
6
|
-
# == Examples
|
7
|
-
# Output a file named "photo_directory.pdf" to the current directory.
|
8
|
-
# wagon
|
9
|
-
#
|
10
|
-
# Other examples:
|
11
|
-
# wagon --title="Ward Menu"
|
12
|
-
#
|
13
3
|
# == Usage
|
14
4
|
# wagon [options] [output_file]
|
15
5
|
#
|
16
6
|
# == Options
|
17
|
-
# -h, --help Displays help message
|
7
|
+
# -h, --help Displays this help message
|
18
8
|
# -v, --version Display the version, then exit
|
19
9
|
# -V, --verbose Verbose output
|
20
10
|
# -t, --title Override the default title with your own
|
@@ -30,8 +20,7 @@
|
|
30
20
|
# --no-email Do not include email addresses
|
31
21
|
#
|
32
22
|
# == Copyright
|
33
|
-
#
|
34
|
-
# http://www.opensource.org/licenses/mit-license.php
|
23
|
+
# Copyright (c) 2009 Devin Christensen. See LICENSE for details.
|
35
24
|
|
36
25
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
37
26
|
|