Skip to content

Commit

Permalink
Merge branch 'hotfix/username' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
catsby committed Jan 28, 2011
2 parents b58acff + 816935c commit 22fb069
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 33 deletions.
37 changes: 37 additions & 0 deletions README.md
@@ -0,0 +1,37 @@
#Growl-Transfer

Growl-Transfer is a little gem that wraps around a file transfer protocol (scp/curl) and notifies you via growl when the transfer is complete.

This is an early release, so there's not a ton here.

##Installation
Growl-Transfer requires [Growl][1] to be installed first.

gem install growl-transfer

Then, in Growl's preferences, enable "Listen for incoming notifications" and "Allow remote application registration".
Growl-Transfer sends growl notifications to "localhost" and needs these options enabled to function. (Password support coming...'soon')

!["Growl Preferences"](http://ctshryock.com/static/images/growl-transfer-prefs.png)

##Features

- Download files using scp and ssh keyless authentication
- Much more coming soon...

##Contributing to Growl-Transfer

* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
* Fork the project
* Start a feature/bugfix branch
* Commit and push until you are happy with your contribution
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

##Copyright

Copyright (c) 2011 Clint Shryock. See LICENSE.txt for
further details.

[1]: http://growl.info/
19 changes: 0 additions & 19 deletions README.rdoc

This file was deleted.

2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.0.1
0.0.3
25 changes: 13 additions & 12 deletions growl-down.gemspec → growl-transfer.gemspec
Expand Up @@ -4,16 +4,16 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{growl-down}
s.version = "0.0.1"
s.name = %q{growl-transfer}
s.version = "0.0.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Clint Shryock"]
s.date = %q{2011-01-27}
s.default_executable = %q{gd}
s.default_executable = %q{gt}
s.description = %q{A ruby gem wrapper around scp / curl / wget (and the like) that notifies you via Growl when the transfer is complete}
s.email = %q{clint+growl-down@ctshryock.com}
s.executables = ["gd"]
s.email = %q{clint+growl-transfer@ctshryock.com}
s.executables = ["gt"]
s.extra_rdoc_files = [
"LICENSE.txt",
"README.rdoc"
Expand All @@ -25,20 +25,21 @@ Gem::Specification.new do |s|
"README.rdoc",
"Rakefile",
"VERSION",
"bin/gd",
"features/gd_scp_file.feature",
"features/step_definitions/gd_scp_steps.rb",
"bin/gt",
"features/gt_scp_file.feature",
"features/step_definitions/gt_scp_steps.rb",
"features/support/env.rb",
"lib/growl-down.rb",
"lib/growl-down/gd_scp.rb",
"growl-down.gemspec",
"lib/growl-transfer.rb",
"lib/growl-transfer/gt_scp.rb",
"test/helper.rb",
"test/test_gd.rb"
]
s.homepage = %q{http://github.com/ctshryock/gd}
s.homepage = %q{https://github.com/ctshryock/growl-transfer}
s.licenses = ["MIT"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{Download big files, get Growl notice when it's done}
s.summary = %q{Transfer big files, get Growl notice when it's done}
s.test_files = [
"test/helper.rb",
"test/test_gd.rb"
Expand Down
2 changes: 1 addition & 1 deletion lib/growl-transfer/gt_scp.rb
Expand Up @@ -8,7 +8,7 @@ def download(remote, local_path)
@output.puts "Downloading #{remote}"
params = remote.split(":")
file = params.last.split("/").last
Net::SCP.start(params[0], "clint") do |scp|
Net::SCP.start(params[0], ENV['USER']) do |scp|
scp.download!(params[1], local_path, {:recursive => true, :verbose => true}) do |ch, name, sent, total|
# => progress?
end
Expand Down

0 comments on commit 22fb069

Please sign in to comment.