Permalink
Browse files

Cleaned up version 0.4.3 for gem on github.

  • Loading branch information...
1 parent bf4b294 commit c3ad0e76b5fc454bd88f545dc52905c809f0227f Daniel Parker committed Jul 25, 2008
Showing with 12 additions and 7 deletions.
  1. 0 .gitignore
  2. +1 −1 README
  3. +11 −6 Rakefile
View
0 .gitignore
No changes.
View
2 README
@@ -21,7 +21,7 @@ Furthermore, as of version 0.1.0, the Customer model is the only model fleshed o
Simply include this gem in your project:
require 'rubygems'
- gem 'quickbooks'
+ require 'quickbooks'
Without any configuration, you should be able to talk to Quickbooks immediately if it and a company file is open on the same computer:
c = Quickbooks::Customer.first
View
17 Rakefile
@@ -12,12 +12,6 @@ PKG_FILES = FileList[
"lib/**/*", "rspec/**/*", "[A-Z]*", "Rakefile", "doc/**/*"
]
-desc "Default Task"
-task :default => [ :test ] do
- # Run the unit tests
- desc "Run all rspec tests (rake task not yet implemented!)"
-end
-
# Make a console, useful when working on tests
desc "Generate a test console"
task :console do
@@ -76,6 +70,17 @@ task :stats do
).to_s
end
+desc "Publish new gem to Public Dropbox"
+task :drop_gem => [:package] do
+ `cp pkg/*.gem ~/Dropbox/Public`
+end
+
+desc "Default Task"
+task :default => [ :drop_gem ] do
+ # Run the unit tests
+ # desc "Run all rspec tests (rake task not yet implemented!)"
+end
+
desc "Publish new documentation"
task :publish => [:doc] do
`scp -r doc/* dcparker@rubyforge.org:/var/www/gforge-projects/quickbooks`

0 comments on commit c3ad0e7

Please sign in to comment.