growl-transfer 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,37 @@
1
+ #Growl-Transfer
2
+
3
+ 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.
4
+
5
+ This is an early release, so there's not a ton here.
6
+
7
+ ##Installation
8
+ Growl-Transfer requires [Growl][1] to be installed first.
9
+
10
+ gem install growl-transfer
11
+
12
+ Then, in Growl's preferences, enable "Listen for incoming notifications" and "Allow remote application registration".
13
+ Growl-Transfer sends growl notifications to "localhost" and needs these options enabled to function. (Password support coming...'soon')
14
+
15
+ !["Growl Preferences"](http://ctshryock.com/static/images/growl-transfer-prefs.png)
16
+
17
+ ##Features
18
+
19
+ - Download files using scp and ssh keyless authentication
20
+ - Much more coming soon...
21
+
22
+ ##Contributing to Growl-Transfer
23
+
24
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
25
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
26
+ * Fork the project
27
+ * Start a feature/bugfix branch
28
+ * Commit and push until you are happy with your contribution
29
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
30
+ * 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.
31
+
32
+ ##Copyright
33
+
34
+ Copyright (c) 2011 Clint Shryock. See LICENSE.txt for
35
+ further details.
36
+
37
+ [1]: http://growl.info/
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -4,42 +4,42 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{growl-down}
8
- s.version = "0.0.1"
7
+ s.name = %q{growl-transfer}
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Clint Shryock"]
12
- s.date = %q{2011-01-27}
13
- s.default_executable = %q{gd}
12
+ s.date = %q{2011-01-28}
13
+ s.default_executable = %q{gt}
14
14
  s.description = %q{A ruby gem wrapper around scp / curl / wget (and the like) that notifies you via Growl when the transfer is complete}
15
- s.email = %q{clint+growl-down@ctshryock.com}
16
- s.executables = ["gd"]
15
+ s.email = %q{clint+growl-transfer@ctshryock.com}
16
+ s.executables = ["gt"]
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
19
- "README.rdoc"
19
+ "README.md"
20
20
  ]
21
21
  s.files = [
22
22
  "Gemfile",
23
23
  "Gemfile.lock",
24
24
  "LICENSE.txt",
25
- "README.rdoc",
25
+ "README.md",
26
26
  "Rakefile",
27
27
  "VERSION",
28
- "bin/gd",
29
- "features/gd_scp_file.feature",
30
- "features/step_definitions/gd_scp_steps.rb",
28
+ "bin/gt",
29
+ "features/gt_scp_file.feature",
30
+ "features/step_definitions/gt_scp_steps.rb",
31
31
  "features/support/env.rb",
32
- "growl-down.gemspec",
33
- "lib/growl-down.rb",
34
- "lib/growl-down/gd_scp.rb",
32
+ "growl-transfer.gemspec",
33
+ "lib/growl-transfer.rb",
34
+ "lib/growl-transfer/gt_scp.rb",
35
35
  "test/helper.rb",
36
36
  "test/test_gd.rb"
37
37
  ]
38
- s.homepage = %q{http://github.com/ctshryock/gd}
38
+ s.homepage = %q{https://github.com/ctshryock/growl-transfer}
39
39
  s.licenses = ["MIT"]
40
40
  s.require_paths = ["lib"]
41
41
  s.rubygems_version = %q{1.3.7}
42
- s.summary = %q{Download big files, get Growl notice when it's done}
42
+ s.summary = %q{Transfer big files, get Growl notice when it's done}
43
43
  s.test_files = [
44
44
  "test/helper.rb",
45
45
  "test/test_gd.rb"
@@ -8,7 +8,7 @@ module GrowlTransfer
8
8
  @output.puts "Downloading #{remote}"
9
9
  params = remote.split(":")
10
10
  file = params.last.split("/").last
11
- Net::SCP.start(params[0], "clint") do |scp|
11
+ Net::SCP.start(params[0], ENV['USER']) do |scp|
12
12
  scp.download!(params[1], local_path, {:recursive => true, :verbose => true}) do |ch, name, sent, total|
13
13
  # => progress?
14
14
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: growl-transfer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Clint Shryock
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-27 00:00:00 -06:00
18
+ date: 2011-01-28 00:00:00 -06:00
19
19
  default_executable: gt
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -148,19 +148,19 @@ extensions: []
148
148
 
149
149
  extra_rdoc_files:
150
150
  - LICENSE.txt
151
- - README.rdoc
151
+ - README.md
152
152
  files:
153
153
  - Gemfile
154
154
  - Gemfile.lock
155
155
  - LICENSE.txt
156
- - README.rdoc
156
+ - README.md
157
157
  - Rakefile
158
158
  - VERSION
159
159
  - bin/gt
160
160
  - features/gt_scp_file.feature
161
161
  - features/step_definitions/gt_scp_steps.rb
162
162
  - features/support/env.rb
163
- - growl-down.gemspec
163
+ - growl-transfer.gemspec
164
164
  - lib/growl-transfer.rb
165
165
  - lib/growl-transfer/gt_scp.rb
166
166
  - test/helper.rb
@@ -1,19 +0,0 @@
1
- = growl-down
2
-
3
- Growl-Down is a little gem that wraps around a file transfer protocol (scp/curl) and notifies you via growl when the transfer is complete.
4
-
5
- == Contributing to growl-down
6
-
7
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
- * Fork the project
10
- * Start a feature/bugfix branch
11
- * Commit and push until you are happy with your contribution
12
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
- * 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.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2010 Clint Shryock. See LICENSE.txt for
18
- further details.
19
-