DropSync 1.0.1.pre → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +8 -25
- data/bin/dropsync +1 -1
- data/lib/dropsync.rb +1 -1
- data/lib/dropsync/{dropsync.rb → engine.rb} +0 -0
- data/lib/dropsync/mecha.rb +2 -1
- data/lib/dropsync/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 807c9c7926c022c86b0923b935b7beddf1fae1f5
|
4
|
+
data.tar.gz: 28977733d1e1c6dcf2181e26733655d536801e6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce8be2778cb15706eb8d6cfcd4a019fc4ec3c170f8404fde19c939198fb4d027fa6df05d0897c7e0a01a81b4617504bc712b55da3f0d37393cda13ee2980c624
|
7
|
+
data.tar.gz: feb358e2ba6f5258005ea631caaf96d893081c02da3bcae422902cab32ace9d188fb4b0a32bdd63666a4a3fc52d2f3e2adc245dabcd83bf3e0331d7a09d786fe
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -4,42 +4,25 @@ A simple Dropbox client to download files or folders.
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
```ruby
|
10
|
-
gem 'DropSync'
|
11
|
-
```
|
12
|
-
|
13
|
-
And then execute:
|
14
|
-
|
15
|
-
$ bundle
|
16
|
-
|
17
|
-
Or install it yourself as:
|
18
|
-
|
19
|
-
$ gem install DropSync
|
7
|
+
$ gem install DropSync --pre
|
20
8
|
|
21
9
|
## Usage
|
22
10
|
|
23
11
|
On your terminal, call:
|
24
12
|
|
25
|
-
|
13
|
+
$ dropsync access_token filename
|
26
14
|
|
27
15
|
The access token can be found at [Dropbox Developers](https://www.dropbox.com/developers).
|
28
16
|
|
29
17
|
That's it :)
|
30
18
|
|
31
|
-
##
|
32
|
-
|
33
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
34
|
-
|
35
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
36
|
-
|
37
|
-
## Contributing
|
38
|
-
|
39
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/DropSync.
|
19
|
+
## Developing and Contributing
|
40
20
|
|
21
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
41
22
|
|
42
|
-
|
23
|
+
Bug reports and pull requests are welcome!
|
43
24
|
|
44
|
-
|
25
|
+
## Next steps
|
45
26
|
|
27
|
+
1) Error handling
|
28
|
+
2) Tests
|
data/bin/dropsync
CHANGED
data/lib/dropsync.rb
CHANGED
File without changes
|
data/lib/dropsync/mecha.rb
CHANGED
@@ -17,7 +17,8 @@ module DropSync
|
|
17
17
|
FileUtils.cd(filename)
|
18
18
|
system("curl -L -s -o #{download_path}/#{filename}/#{filename}.zip #{link}")
|
19
19
|
system("unzip #{download_path}/#{filename}/#{filename}.zip > /dev/null 2>&1")
|
20
|
-
|
20
|
+
FileUtils.rm_rf("__MACOSX")
|
21
|
+
system("rm #{filename}.zip")
|
21
22
|
end
|
22
23
|
end
|
23
24
|
end
|
data/lib/dropsync/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: DropSync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Kair
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -82,7 +82,7 @@ files:
|
|
82
82
|
- Rakefile
|
83
83
|
- bin/dropsync
|
84
84
|
- lib/dropsync.rb
|
85
|
-
- lib/dropsync/
|
85
|
+
- lib/dropsync/engine.rb
|
86
86
|
- lib/dropsync/mecha.rb
|
87
87
|
- lib/dropsync/version.rb
|
88
88
|
- pkg/DropSync-1.0.1.pre.gem
|
@@ -101,9 +101,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
|
-
- - "
|
104
|
+
- - ">="
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
106
|
+
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
109
|
rubygems_version: 2.4.5.1
|