ochibako_share 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd3a14f1ef6262060be9393d3bcee5aa0ad2ef23
4
- data.tar.gz: e0b3dc1a0485f12ada430c852c875ac5003d5c40
3
+ metadata.gz: 9efe046e29c2421a7a425d4e00630d240956e549
4
+ data.tar.gz: f085fd160e7440601e571d6d6c7eba591b44dc76
5
5
  SHA512:
6
- metadata.gz: 268c500e252778d87513c33ba7538fc70e714fd8d9026f500fd03aef724c919008ec98ae53741d47675a0bf71b226d014f7fe758ed5562124d8064f240b56012
7
- data.tar.gz: 162b9927ed8bdcedde558389f65fa331d05e4d628d1731a5708a9bc20cb5d99a74050d2d5791a09581072c16b99bf3d511995b313eebf491d4b6b548393ff775
6
+ metadata.gz: b6d9a605b4eab843ca9e573a40e01f4821d0419bc3f3192860f2510d40316dd9ce3b50885f9794b8ae0831e7b5ada13c59af4ba4f0e477affd15e7ac51729faf
7
+ data.tar.gz: bf7fb43527dd0dc5595bdf23861055be320441acca5bb3efdd7ed84765bee0dadbed6bde22fd6e4704cdf5a1c4f2e083adf58eb9cff3daead18cab5d4b870a94
data/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 zunda <zundan@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person
6
+ obtaining a copy of this software and associated documentation
7
+ files (the "Software"), to deal in the Software without
8
+ restriction, including without limitation the rights to use,
9
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the
11
+ Software is furnished to do so, subject to the following
12
+ conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24
+ OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -32,4 +32,4 @@ $ bundle exec rake build
32
32
  ```
33
33
 
34
34
  ## License
35
- [MIT](license.md)
35
+ [MIT](LICENSE)
@@ -16,5 +16,5 @@ ARGV.each do |src|
16
16
  dst = File.basename(src)
17
17
  result = client.put_file(dst, File.read(src))
18
18
  shares = client.shares(dst)
19
- $stderr.puts "\n" + db_download_url(follow_url(shares['url']))
19
+ $stderr.puts "\r" + db_download_url(follow_url(shares['url'])) + " "
20
20
  end
@@ -5,7 +5,7 @@ require 'net/http'
5
5
  require 'uri'
6
6
 
7
7
  module OchibakoShare
8
- VERSION = '0.1.5'
8
+ VERSION = '0.1.6'
9
9
  APP_KEY_FILE = File.expand_path('~/.ochibako-share-app')
10
10
  ACCESS_TOKEN_FILE = File.expand_path('~/.ochibako-share-auth')
11
11
 
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ochibako_share
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - zunda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-09 00:00:00.000000000 Z
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dropbox-sdk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1'
27
27
  description: A Ruby CLI client to upload files to your Dropbox and obtain URL to share
@@ -33,13 +33,13 @@ executables:
33
33
  extensions: []
34
34
  extra_rdoc_files:
35
35
  - README.md
36
- - license.md
36
+ - LICENSE
37
37
  files:
38
38
  - lib/ochibako_share.rb
39
+ - README.md
40
+ - LICENSE
39
41
  - bin/ochibako-share
40
42
  - bin/ochibako-share-auth
41
- - README.md
42
- - license.md
43
43
  homepage: https://github.com/zunda/ochibako-share#readme
44
44
  licenses:
45
45
  - MIT
@@ -50,12 +50,12 @@ require_paths:
50
50
  - lib
51
51
  required_ruby_version: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - '>='
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  requirements: []
data/license.md DELETED
@@ -1,7 +0,0 @@
1
- Copyright (c) 2015 zunda <zundan@gmail.com>
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.