nwcopy 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,10 +19,9 @@ module Nwcopy
19
19
  if plugin.available?
20
20
  return plugin.copy data
21
21
  else
22
- unavailable << plugin.unavailable_message
22
+ STDERR << plugin.unavailable_message
23
23
  end
24
24
  end
25
- STDERR << unavailable.join("\n")
26
25
  end
27
26
 
28
27
  def self.paste
@@ -34,10 +33,9 @@ module Nwcopy
34
33
  return clipboard
35
34
  end
36
35
  else
37
- unavailable << plugin.unavailable_message
36
+ STDERR << plugin.unavailable_message
38
37
  end
39
38
  end
40
- STDERR << unavailable.join("\n")
41
39
  end
42
40
 
43
41
  private
@@ -1,3 +1,3 @@
1
1
  module Nwcopy
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -12,7 +12,8 @@ Gem::Specification.new do |s|
12
12
  s.summary = %q{network copy & paste.}
13
13
  s.description = %q{Uses your Dropbox folder to facilitate copy and pasting between machines. More awesomesauce to come.}
14
14
 
15
- s.add_dependency 'sinatra'
15
+ s.add_dependency 'multipart-post'
16
+ s.add_dependency 'gist'
16
17
  s.files = `git ls-files`.split("\n")
17
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 5
9
- version: 0.0.5
8
+ - 6
9
+ version: 0.0.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Josh Kleinpeter
@@ -18,7 +18,7 @@ date: 2011-02-05 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: sinatra
21
+ name: multipart-post
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
@@ -30,6 +30,19 @@ dependencies:
30
30
  version: "0"
31
31
  type: :runtime
32
32
  version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
34
+ name: gist
35
+ prerelease: false
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ type: :runtime
45
+ version_requirements: *id002
33
46
  description: Uses your Dropbox folder to facilitate copy and pasting between machines. More awesomesauce to come.
34
47
  email:
35
48
  - josh@kleinpeter.org