public 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -42,6 +42,7 @@ argument to copy them to your Public folder **and** your clipboard.
42
42
 
43
43
  ```
44
44
  > public foobar.txt
45
+ > public barbaz.txt foobaz.txt
45
46
  ```
46
47
 
47
48
  ## Contributing
data/lib/public.rb CHANGED
@@ -51,9 +51,10 @@ class Public
51
51
  end
52
52
 
53
53
  def self.move_file(file)
54
- dropbox_location = "#{ Dir.home }/Dropbox/Public/"
54
+ without_spaces = file.gsub(" ", "_")
55
+ dropbox_location = Dir.home + "/Dropbox/Public/" + without_spaces
55
56
  FileUtils.cp file, dropbox_location
56
- copy_link(file)
57
+ copy_link(without_spaces)
57
58
  end
58
59
 
59
60
  def self.copy_link(file)
@@ -1,3 +1,3 @@
1
1
  class Public
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: public
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Kristian Freeman
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-07-09 00:00:00.000000000 Z
12
+ date: 2013-07-29 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,29 +30,33 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: clipboard
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - '>='
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - '>='
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  description: Dropbox public files made easy
@@ -73,26 +80,28 @@ files:
73
80
  homepage: https://github.com/imkmf/public
74
81
  licenses:
75
82
  - MIT
76
- metadata: {}
77
83
  post_install_message:
78
84
  rdoc_options: []
79
85
  require_paths:
80
86
  - lib
81
87
  required_ruby_version: !ruby/object:Gem::Requirement
88
+ none: false
82
89
  requirements:
83
- - - '>='
90
+ - - ! '>='
84
91
  - !ruby/object:Gem::Version
85
92
  version: '0'
86
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
+ none: false
87
95
  requirements:
88
- - - '>='
96
+ - - ! '>='
89
97
  - !ruby/object:Gem::Version
90
98
  version: '0'
91
99
  requirements: []
92
100
  rubyforge_project:
93
- rubygems_version: 2.0.3
101
+ rubygems_version: 1.8.25
94
102
  signing_key:
95
- specification_version: 4
103
+ specification_version: 3
96
104
  summary: Command-line tool for copying a file to your public Dropbox folder and then
97
105
  adding it to your clipboard
98
106
  test_files: []
107
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 8a382ce8e0b3b53e121f5a0dbade5349e37855eb
4
- data.tar.gz: 315d92c0d4d95a13b01327d213132008ff934027
5
- SHA512:
6
- metadata.gz: 2472cbe3f756ed800a57424cc4634bfb4f351f3188063346e63e7d3504af76e405659ff0b5cee981e401a0d085d4750442963be681fa2c11702b5991b947f2ef
7
- data.tar.gz: 2ab29f30bad923207d1dbf186aa8805dd6f2a6ee47a6139e977d9bca33a6446fd7b56f1c09a1ba5fbf5771454a706954752d4c8288d5e6ad3bb9f9b6c10996bf