dbox 0.6.12 → 0.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/VERSION +1 -1
- data/bin/dbox +15 -2
- data/dbox.gemspec +2 -2
- metadata +4 -4
    
        data/History.txt
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.6. | 
| 1 | 
            +
            0.6.13
         | 
    
        data/bin/dbox
    CHANGED
    
    | @@ -6,7 +6,7 @@ require "dbox" | |
| 6 6 | 
             
            # usage line
         | 
| 7 7 | 
             
            def usage
         | 
| 8 8 | 
             
              <<_EOF
         | 
| 9 | 
            -
            Usage: dbox < | 
| 9 | 
            +
            Usage: dbox <command> [<args>]
         | 
| 10 10 |  | 
| 11 11 | 
             
            Commands:
         | 
| 12 12 | 
             
              authorize                             Generate auth keys
         | 
| @@ -42,7 +42,7 @@ args = ARGV[1..-1] | |
| 42 42 | 
             
            case command
         | 
| 43 43 | 
             
            when "authorize"
         | 
| 44 44 | 
             
              Dbox.authorize
         | 
| 45 | 
            -
            when "create", "clone", "clone_or_pull" | 
| 45 | 
            +
            when "create", "clone", "clone_or_pull"
         | 
| 46 46 | 
             
              unless args.size >= 1
         | 
| 47 47 | 
             
                puts "Error: Please provide a remote path"
         | 
| 48 48 | 
             
                print_usage_and_quit
         | 
| @@ -74,6 +74,19 @@ when "move" | |
| 74 74 | 
             
              # default to current directory
         | 
| 75 75 | 
             
              local_path = args[1] || "."
         | 
| 76 76 |  | 
| 77 | 
            +
              Dbox.send(command, remote_path, local_path)
         | 
| 78 | 
            +
            when "delete"
         | 
| 79 | 
            +
              unless args.size >= 1
         | 
| 80 | 
            +
                puts "Error: Please provide a remote path"
         | 
| 81 | 
            +
                print_usage_and_quit
         | 
| 82 | 
            +
              end
         | 
| 83 | 
            +
             | 
| 84 | 
            +
              remote_path = args[0]
         | 
| 85 | 
            +
             | 
| 86 | 
            +
              # default to creating a directory inside the current directory with
         | 
| 87 | 
            +
              # the same name of the directory being created/cloned
         | 
| 88 | 
            +
              local_path = args[1] || remote_path.split("/").last
         | 
| 89 | 
            +
             | 
| 77 90 | 
             
              Dbox.send(command, remote_path, local_path)
         | 
| 78 91 | 
             
            else
         | 
| 79 92 | 
             
              print_usage_and_quit
         | 
    
        data/dbox.gemspec
    CHANGED
    
    | @@ -5,11 +5,11 @@ | |
| 5 5 |  | 
| 6 6 | 
             
            Gem::Specification.new do |s|
         | 
| 7 7 | 
             
              s.name = "dbox"
         | 
| 8 | 
            -
              s.version = "0.6. | 
| 8 | 
            +
              s.version = "0.6.13"
         | 
| 9 9 |  | 
| 10 10 | 
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 11 11 | 
             
              s.authors = ["Ken Pratt"]
         | 
| 12 | 
            -
              s.date = "2012-06- | 
| 12 | 
            +
              s.date = "2012-06-04"
         | 
| 13 13 | 
             
              s.description = "An easy-to-use Dropbox client with fine-grained control over syncs."
         | 
| 14 14 | 
             
              s.email = "ken@kenpratt.net"
         | 
| 15 15 | 
             
              s.executables = ["dbox"]
         | 
    
        metadata
    CHANGED
    
    | @@ -1,13 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: dbox
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              hash:  | 
| 4 | 
            +
              hash: 29
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
              segments: 
         | 
| 7 7 | 
             
              - 0
         | 
| 8 8 | 
             
              - 6
         | 
| 9 | 
            -
              -  | 
| 10 | 
            -
              version: 0.6. | 
| 9 | 
            +
              - 13
         | 
| 10 | 
            +
              version: 0.6.13
         | 
| 11 11 | 
             
            platform: ruby
         | 
| 12 12 | 
             
            authors: 
         | 
| 13 13 | 
             
            - Ken Pratt
         | 
| @@ -15,7 +15,7 @@ autorequire: | |
| 15 15 | 
             
            bindir: bin
         | 
| 16 16 | 
             
            cert_chain: []
         | 
| 17 17 |  | 
| 18 | 
            -
            date: 2012-06- | 
| 18 | 
            +
            date: 2012-06-04 00:00:00 Z
         | 
| 19 19 | 
             
            dependencies: 
         | 
| 20 20 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 21 21 | 
             
              name: multipart-post
         |