Permalink
Browse files

Fixed the Ruby gem file that did not include the files it needed.

Modified   bin/vuzitcl
* Added "output" parameter to the help options and reduced the white space between several of the other help commands.

Modified   lib/vuzitruby/service.rb
* Updated version to 2.1.1.

Modified   vuzitruby.gemspec
* Added the missing "event.rb" and "page.rb" files.
  • Loading branch information...
bmatzelle committed Apr 23, 2010
1 parent 06283e2 commit 9e2fa7863aab56fcaca79588c866abe041a3a574
Showing with 26 additions and 16 deletions.
  1. +11 −10 bin/vuzitcl
  2. +1 −1 lib/vuzitruby/service.rb
  3. +14 −5 vuzitruby.gemspec
View
@@ -349,10 +349,10 @@ def print_usage_event
puts "usage: event [OPTIONS] WEB_ID"
puts ""
puts "Valid options:"
- puts " -e, --event Event type to load"
- puts " -c, --custom Custom value to load"
- puts " -l, --limit Limits the number of results"
- puts " -o, --offset Offset the results at this number"
+ puts " -e, --event Event type to load"
+ puts " -c, --custom Custom value to load"
+ puts " -l, --limit Limits the number of results"
+ puts " -o, --offset Offset the results at this number"
puts ""
print_usage_global
end
@@ -381,9 +381,9 @@ def print_usage_page
puts "usage: page [OPTIONS] WEB_ID"
puts ""
puts "Valid options:"
- puts " -i, --included Set range of pages to load (e.g '5,10-19')"
- puts " -l, --limit Limits the results to a number"
- puts " -o, --offset Offsets the results at this number"
+ puts " -i, --included Set range of pages to load (e.g '5,10-19')"
+ puts " -l, --limit Limits the results to a number"
+ puts " -o, --offset Offsets the results at this number"
puts ""
print_usage_global
end
@@ -394,9 +394,10 @@ def print_usage_search
puts "usage: search [OPTIONS]"
puts ""
puts "Valid options:"
- puts " -q, --query Query keywords"
- puts " -l, --limit Limits the results to a number"
- puts " -o, --offset Offsets the results at this number"
+ puts " -q, --query Query keywords"
+ puts " -o, --offset Offsets the results at this number"
+ puts " -l, --limit Limits the results to a number"
+ puts " -O, --output Output more document info including title and excerpt"
puts ""
print_usage_global
end
View
@@ -47,7 +47,7 @@ class Service
@@public_key = nil
@@private_key = nil
@@service_url = 'http://vuzit.com'
- @@product_name = 'VuzitRuby Library 2.1.0'
+ @@product_name = 'VuzitRuby Library 2.1.1'
@@user_agent = @@product_name
# TODO: For all of the set variables do not allow nil values
View
@@ -3,23 +3,32 @@
# Gem building script for Github. Every time the version is updated the
# gem will be built.
+# TODO: Add dependencies below
+
# Gem building task
Gem::Specification.new do |s|
s.name = 'vuzitruby'
- s.version = "2.1.0"
+ s.version = "2.1.1"
s.homepage = 'http://wiki.github.com/vuzit/vuzitruby/'
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Brent Matzelle"]
s.default_executable = %q{vuzitcl}
s.executables = ["vuzitcl"]
- s.date = %q{2010-03-01}
+ s.date = %q{2010-04-22}
s.description = %q{Code library that allows developers to directly access
the Vuzit Document Viewer Web Service API through Ruby.}
s.email = %q{support@vuzit.com}
s.extra_rdoc_files = ["README"]
- s.files = ["README", "Rakefile", "lib/vuzitruby.rb","lib/vuzitruby/base.rb",
- "lib/vuzitruby/document.rb", "lib/vuzitruby/client_exception.rb",
- "lib/vuzitruby/service.rb"]
+ s.files = ["README",
+ "Rakefile",
+ "lib/vuzitruby.rb",
+ "lib/vuzitruby/base.rb",
+ "lib/vuzitruby/document.rb",
+ "lib/vuzitruby/event.rb",
+ "lib/vuzitruby/page.rb",
+ "lib/vuzitruby/client_exception.rb",
+ "lib/vuzitruby/service.rb"
+ ]
s.has_rdoc = true
s.rdoc_options = ["--main", "README"]
s.require_paths = ["lib"]

0 comments on commit 9e2fa78

Please sign in to comment.