wagon 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/.gitignore +2 -1
  2. data/README.rdoc +12 -0
  3. data/VERSION +1 -1
  4. data/bin/wagon +2 -13
  5. metadata +1 -1
data/.gitignore CHANGED
@@ -15,7 +15,8 @@ tmtags
15
15
 
16
16
  ## PROJECT::GENERAL
17
17
  coverage
18
- rdoc
18
+ doc
19
+ .yardoc
19
20
  pkg
20
21
 
21
22
  ## PROJECT::SPECIFIC
@@ -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.0
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
- # Copyright (c) 2009 Devin Christensen. Licensed under the MIT License:
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devin Christensen