appsendr 0.0.6 → 1.0
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/.gitignore +17 -0
 - data/Gemfile +5 -0
 - data/LICENSE.txt +22 -0
 - data/README.md +47 -0
 - data/Rakefile +1 -16
 - data/appsendr.gemspec +18 -43
 - data/bin/appsendr +103 -8
 - data/lib/appsendr.rb +6 -26
 - data/lib/appsendr/app.rb +60 -0
 - data/lib/appsendr/version.rb +3 -0
 - data/test/units/app_test.rb +9 -0
 - metadata +51 -168
 - data/Manifest +0 -25
 - data/README.rdoc +0 -49
 - data/lib/appsendr/binary_plist.rb +0 -494
 - data/lib/appsendr/client.rb +0 -258
 - data/lib/appsendr/command.rb +0 -81
 - data/lib/appsendr/commands/app.rb +0 -241
 - data/lib/appsendr/commands/auth.rb +0 -139
 - data/lib/appsendr/commands/base.rb +0 -78
 - data/lib/appsendr/commands/build.rb +0 -320
 - data/lib/appsendr/commands/collaborators.rb +0 -52
 - data/lib/appsendr/commands/common.rb +0 -36
 - data/lib/appsendr/commands/deploy.rb +0 -56
 - data/lib/appsendr/commands/groups.rb +0 -63
 - data/lib/appsendr/commands/help.rb +0 -103
 - data/lib/appsendr/commands/portal.rb +0 -375
 - data/lib/appsendr/commands/testers.rb +0 -118
 - data/lib/appsendr/commands/version.rb +0 -7
 - data/lib/appsendr/constants.rb +0 -5
 - data/lib/appsendr/helpers.rb +0 -144
 - data/lib/appsendr/progressbar.rb +0 -236
 - data/portal.rb +0 -197
 - data/terms +0 -0
 
    
        data/.gitignore
    ADDED
    
    
    
        data/Gemfile
    ADDED
    
    
    
        data/LICENSE.txt
    ADDED
    
    | 
         @@ -0,0 +1,22 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            Copyright (c) 2013 Nolan Brown
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            MIT License
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Permission is hereby granted, free of charge, to any person obtaining
         
     | 
| 
      
 6 
     | 
    
         
            +
            a copy of this software and associated documentation files (the
         
     | 
| 
      
 7 
     | 
    
         
            +
            "Software"), to deal in the Software without restriction, including
         
     | 
| 
      
 8 
     | 
    
         
            +
            without limitation the rights to use, copy, modify, merge, publish,
         
     | 
| 
      
 9 
     | 
    
         
            +
            distribute, sublicense, and/or sell copies of the Software, and to
         
     | 
| 
      
 10 
     | 
    
         
            +
            permit persons to whom the Software is furnished to do so, subject to
         
     | 
| 
      
 11 
     | 
    
         
            +
            the following conditions:
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            The above copyright notice and this permission notice shall be
         
     | 
| 
      
 14 
     | 
    
         
            +
            included in all copies or substantial portions of the Software.
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
         
     | 
| 
      
 17 
     | 
    
         
            +
            EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
         
     | 
| 
      
 18 
     | 
    
         
            +
            MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
         
     | 
| 
      
 19 
     | 
    
         
            +
            NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
         
     | 
| 
      
 20 
     | 
    
         
            +
            LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
         
     | 
| 
      
 21 
     | 
    
         
            +
            OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
         
     | 
| 
      
 22 
     | 
    
         
            +
            WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         
     | 
    
        data/README.md
    ADDED
    
    | 
         @@ -0,0 +1,47 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # AppSendr
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            AppSendr is a free service for distributing iOS IPA and Android APK files over-the-air with a short URL. This gem is using the AppSendr V1 API.
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
              https://api.appsendr.com
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ## Installation
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            Add this line to your application's Gemfile:
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                gem 'appsendr'
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            And then execute:
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                $ bundle
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            Or install it yourself as:
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                $ gem install appsendr
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            ## Usage
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            **Command Line**
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
              appsendr create `FILE PATH` `IDENTIFIER`
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
              appsendr details `ID`
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
              appsendr destroy `ID` `TOKEN`
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            **Ruby**
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
              Appsendr::App.details(`ID`)
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
              Appsendr::App.create(`FILE`, `ICON FILE`, `IDENTIFIER`)
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
              Appsendr::App.destroy(`ID`, `TOKEN`)
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
            ## Contributing
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
            1. Fork it
         
     | 
| 
      
 44 
     | 
    
         
            +
            2. Create your feature branch (`git checkout -b my-new-feature`)
         
     | 
| 
      
 45 
     | 
    
         
            +
            3. Commit your changes (`git commit -am 'Add some feature'`)
         
     | 
| 
      
 46 
     | 
    
         
            +
            4. Push to the branch (`git push origin my-new-feature`)
         
     | 
| 
      
 47 
     | 
    
         
            +
            5. Create new Pull Request
         
     | 
    
        data/Rakefile
    CHANGED
    
    | 
         @@ -1,16 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            require  
     | 
| 
       2 
     | 
    
         
            -
            require 'rake'
         
     | 
| 
       3 
     | 
    
         
            -
            require 'echoe'
         
     | 
| 
       4 
     | 
    
         
            -
            require 'lib/appsendr/constants'
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
            Echoe.new('appsendr', AppSendr::VERSION) do |p|
         
     | 
| 
       7 
     | 
    
         
            -
              p.description    = "A gem that will build and distribute an iphone/ipad app to the web for remote install"
         
     | 
| 
       8 
     | 
    
         
            -
              p.url            = "http://www.appsendr.com/gem"
         
     | 
| 
       9 
     | 
    
         
            -
              p.author         = "AppSendr"
         
     | 
| 
       10 
     | 
    
         
            -
              p.email          = "nolan@appsendr.com"
         
     | 
| 
       11 
     | 
    
         
            -
              p.ignore_pattern = ["tmp/*", "script/*"]
         
     | 
| 
       12 
     | 
    
         
            -
              p.development_dependencies = []
         
     | 
| 
       13 
     | 
    
         
            -
              p.runtime_dependencies = ["rest-client >=1.4.0", "rubyzip", "json_pure >=1.2.0", "highline","mechanize"]
         
     | 
| 
       14 
     | 
    
         
            -
              p.has_rdoc = true  
         
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
            end
         
     | 
| 
      
 1 
     | 
    
         
            +
            require "bundler/gem_tasks"
         
     | 
    
        data/appsendr.gemspec
    CHANGED
    
    | 
         @@ -1,47 +1,22 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # -*- encoding: utf-8 -*-
         
     | 
| 
      
 2 
     | 
    
         
            +
            lib = File.expand_path('../lib', __FILE__)
         
     | 
| 
      
 3 
     | 
    
         
            +
            $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
         
     | 
| 
      
 4 
     | 
    
         
            +
            require 'appsendr/version'
         
     | 
| 
       2 
5 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            Gem::Specification.new do | 
     | 
| 
       4 
     | 
    
         
            -
               
     | 
| 
       5 
     | 
    
         
            -
               
     | 
| 
      
 6 
     | 
    
         
            +
            Gem::Specification.new do |gem|
         
     | 
| 
      
 7 
     | 
    
         
            +
              gem.name          = "appsendr"
         
     | 
| 
      
 8 
     | 
    
         
            +
              gem.version       = Appsendr::VERSION
         
     | 
| 
      
 9 
     | 
    
         
            +
              gem.authors       = ["Nolan Brown"]
         
     | 
| 
      
 10 
     | 
    
         
            +
              gem.email         = ["contact@appsendr.com"]
         
     | 
| 
      
 11 
     | 
    
         
            +
              gem.description   = %q{RubyGem for AppSendr}
         
     | 
| 
      
 12 
     | 
    
         
            +
              gem.summary       = gem.description
         
     | 
| 
      
 13 
     | 
    
         
            +
              gem.homepage      = "https://appsendr.com"
         
     | 
| 
       6 
14 
     | 
    
         | 
| 
       7 
     | 
    
         
            -
               
     | 
| 
       8 
     | 
    
         
            -
               
     | 
| 
       9 
     | 
    
         
            -
               
     | 
| 
       10 
     | 
    
         
            -
               
     | 
| 
       11 
     | 
    
         
            -
               
     | 
| 
       12 
     | 
    
         
            -
               
     | 
| 
       13 
     | 
    
         
            -
               
     | 
| 
       14 
     | 
    
         
            -
              s.extra_rdoc_files = ["README.rdoc", "bin/appsendr", "lib/appsendr.rb", "lib/appsendr/binary_plist.rb", "lib/appsendr/client.rb", "lib/appsendr/command.rb", "lib/appsendr/commands/app.rb", "lib/appsendr/commands/auth.rb", "lib/appsendr/commands/base.rb", "lib/appsendr/commands/build.rb", "lib/appsendr/commands/collaborators.rb", "lib/appsendr/commands/common.rb", "lib/appsendr/commands/deploy.rb", "lib/appsendr/commands/groups.rb", "lib/appsendr/commands/help.rb", "lib/appsendr/commands/portal.rb", "lib/appsendr/commands/testers.rb", "lib/appsendr/commands/version.rb", "lib/appsendr/constants.rb", "lib/appsendr/helpers.rb", "lib/appsendr/progressbar.rb"]
         
     | 
| 
       15 
     | 
    
         
            -
              s.files = ["Manifest", "README.rdoc", "Rakefile", "bin/appsendr", "lib/appsendr.rb", "lib/appsendr/binary_plist.rb", "lib/appsendr/client.rb", "lib/appsendr/command.rb", "lib/appsendr/commands/app.rb", "lib/appsendr/commands/auth.rb", "lib/appsendr/commands/base.rb", "lib/appsendr/commands/build.rb", "lib/appsendr/commands/collaborators.rb", "lib/appsendr/commands/common.rb", "lib/appsendr/commands/deploy.rb", "lib/appsendr/commands/groups.rb", "lib/appsendr/commands/help.rb", "lib/appsendr/commands/portal.rb", "lib/appsendr/commands/testers.rb", "lib/appsendr/commands/version.rb", "lib/appsendr/constants.rb", "lib/appsendr/helpers.rb", "lib/appsendr/progressbar.rb", "portal.rb", "terms", "appsendr.gemspec"]
         
     | 
| 
       16 
     | 
    
         
            -
              s.homepage = %q{http://www.appsendr.com/gem}
         
     | 
| 
       17 
     | 
    
         
            -
              s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Appsendr", "--main", "README.rdoc"]
         
     | 
| 
       18 
     | 
    
         
            -
              s.require_paths = ["lib"]
         
     | 
| 
       19 
     | 
    
         
            -
              s.rubyforge_project = %q{appsendr}
         
     | 
| 
       20 
     | 
    
         
            -
              s.rubygems_version = %q{1.3.7}
         
     | 
| 
       21 
     | 
    
         
            -
              s.summary = %q{A gem that will build and distribute an iphone/ipad app to the web for remote install}
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
              if s.respond_to? :specification_version then
         
     | 
| 
       24 
     | 
    
         
            -
                current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
         
     | 
| 
       25 
     | 
    
         
            -
                s.specification_version = 3
         
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
                if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
         
     | 
| 
       28 
     | 
    
         
            -
                  s.add_runtime_dependency(%q<rest-client>, [">= 1.4.0"])
         
     | 
| 
       29 
     | 
    
         
            -
                  s.add_runtime_dependency(%q<rubyzip>, [">= 0"])
         
     | 
| 
       30 
     | 
    
         
            -
                  s.add_runtime_dependency(%q<json_pure>, [">= 1.2.0"])
         
     | 
| 
       31 
     | 
    
         
            -
                  s.add_runtime_dependency(%q<highline>, [">= 0"])
         
     | 
| 
       32 
     | 
    
         
            -
                  s.add_runtime_dependency(%q<mechanize>, [">= 0"])
         
     | 
| 
       33 
     | 
    
         
            -
                else
         
     | 
| 
       34 
     | 
    
         
            -
                  s.add_dependency(%q<rest-client>, [">= 1.4.0"])
         
     | 
| 
       35 
     | 
    
         
            -
                  s.add_dependency(%q<rubyzip>, [">= 0"])
         
     | 
| 
       36 
     | 
    
         
            -
                  s.add_dependency(%q<json_pure>, [">= 1.2.0"])
         
     | 
| 
       37 
     | 
    
         
            -
                  s.add_dependency(%q<highline>, [">= 0"])
         
     | 
| 
       38 
     | 
    
         
            -
                  s.add_dependency(%q<mechanize>, [">= 0"])
         
     | 
| 
       39 
     | 
    
         
            -
                end
         
     | 
| 
       40 
     | 
    
         
            -
              else
         
     | 
| 
       41 
     | 
    
         
            -
                s.add_dependency(%q<rest-client>, [">= 1.4.0"])
         
     | 
| 
       42 
     | 
    
         
            -
                s.add_dependency(%q<rubyzip>, [">= 0"])
         
     | 
| 
       43 
     | 
    
         
            -
                s.add_dependency(%q<json_pure>, [">= 1.2.0"])
         
     | 
| 
       44 
     | 
    
         
            -
                s.add_dependency(%q<highline>, [">= 0"])
         
     | 
| 
       45 
     | 
    
         
            -
                s.add_dependency(%q<mechanize>, [">= 0"])
         
     | 
| 
       46 
     | 
    
         
            -
              end
         
     | 
| 
      
 15 
     | 
    
         
            +
              gem.files         = `git ls-files`.split($/)
         
     | 
| 
      
 16 
     | 
    
         
            +
              gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
         
     | 
| 
      
 17 
     | 
    
         
            +
              gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
         
     | 
| 
      
 18 
     | 
    
         
            +
              gem.require_paths = ["lib"]
         
     | 
| 
      
 19 
     | 
    
         
            +
              
         
     | 
| 
      
 20 
     | 
    
         
            +
              gem.add_dependency 'rest-client'
         
     | 
| 
      
 21 
     | 
    
         
            +
              
         
     | 
| 
       47 
22 
     | 
    
         
             
            end
         
     | 
    
        data/bin/appsendr
    CHANGED
    
    | 
         @@ -1,14 +1,109 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/usr/bin/env ruby
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            lib = File.expand_path( 
     | 
| 
       4 
     | 
    
         
            -
            $LOAD_PATH.unshift(lib)  
     | 
| 
      
 3 
     | 
    
         
            +
            lib = File.expand_path('../../lib', __FILE__)
         
     | 
| 
      
 4 
     | 
    
         
            +
            $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
         
     | 
| 
      
 5 
     | 
    
         
            +
            require 'appsendr/app'
         
     | 
| 
      
 6 
     | 
    
         
            +
            require 'date'
         
     | 
| 
       5 
7 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
      
 8 
     | 
    
         
            +
            command = ARGV.shift
         
     | 
| 
      
 9 
     | 
    
         
            +
            case command
         
     | 
| 
      
 10 
     | 
    
         
            +
            when "create"
         
     | 
| 
      
 11 
     | 
    
         
            +
              file_path = ARGV.shift
         
     | 
| 
      
 12 
     | 
    
         
            +
              unless file_path
         
     | 
| 
      
 13 
     | 
    
         
            +
                STDERR.puts "You must enter the path to an IPA or APK file"
         
     | 
| 
      
 14 
     | 
    
         
            +
                exit 1
         
     | 
| 
      
 15 
     | 
    
         
            +
              end
         
     | 
| 
      
 16 
     | 
    
         
            +
              
         
     | 
| 
      
 17 
     | 
    
         
            +
              full_file_path = File.absolute_path file_path
         
     | 
| 
      
 18 
     | 
    
         
            +
              
         
     | 
| 
      
 19 
     | 
    
         
            +
              file = File.new(full_file_path, 'rb') if File.exists? full_file_path
         
     | 
| 
       8 
20 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
      
 21 
     | 
    
         
            +
              identifier= nil
         
     | 
| 
      
 22 
     | 
    
         
            +
              icon_file = nil
         
     | 
| 
      
 23 
     | 
    
         
            +
              
         
     | 
| 
      
 24 
     | 
    
         
            +
              if ARGV.length > 0
         
     | 
| 
      
 25 
     | 
    
         
            +
                identifier = ARGV.shift
         
     | 
| 
      
 26 
     | 
    
         
            +
              end
         
     | 
| 
      
 27 
     | 
    
         
            +
              if ARGV.length > 0
         
     | 
| 
      
 28 
     | 
    
         
            +
                icon_path = ARGV.shift
         
     | 
| 
      
 29 
     | 
    
         
            +
                icon_file_path = File.absolute_path icon_path
         
     | 
| 
      
 30 
     | 
    
         
            +
                icon_file = File.new(icon_file_path, 'rb') if File.exists? icon_file_path
         
     | 
| 
      
 31 
     | 
    
         
            +
              end
         
     | 
| 
      
 32 
     | 
    
         
            +
              
         
     | 
| 
      
 33 
     | 
    
         
            +
              
         
     | 
| 
      
 34 
     | 
    
         
            +
              app_details = Appsendr::App.create file, icon_file, identifier
         
     | 
| 
       12 
35 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
      
 36 
     | 
    
         
            +
              if app_details["error"]
         
     | 
| 
      
 37 
     | 
    
         
            +
                STDERR.puts app_details["error"]["message"]
         
     | 
| 
      
 38 
     | 
    
         
            +
                exit 1
         
     | 
| 
      
 39 
     | 
    
         
            +
              end
         
     | 
| 
      
 40 
     | 
    
         
            +
              
         
     | 
| 
      
 41 
     | 
    
         
            +
              created_at = DateTime.parse(app_details["created_at"])
         
     | 
| 
      
 42 
     | 
    
         
            +
              
         
     | 
| 
      
 43 
     | 
    
         
            +
              output =  "App Details\n"
         
     | 
| 
      
 44 
     | 
    
         
            +
              output += "========================\n"
         
     | 
| 
      
 45 
     | 
    
         
            +
              output += "ID: #{app_details["id"]}\n"
         
     | 
| 
      
 46 
     | 
    
         
            +
              output += "URL: #{app_details["url"]}\n"
         
     | 
| 
      
 47 
     | 
    
         
            +
              output += "Token: #{app_details["token"]}\n"
         
     | 
| 
      
 48 
     | 
    
         
            +
              output += "Filename: #{app_details["filename"]}\n"
         
     | 
| 
      
 49 
     | 
    
         
            +
              output += "Created on #{created_at.strftime("%m/%d/%Y at %r")}\n"
         
     | 
| 
      
 50 
     | 
    
         
            +
              output += "\n"
         
     | 
| 
       14 
51 
     | 
    
         | 
| 
      
 52 
     | 
    
         
            +
              STDOUT.puts output
         
     | 
| 
      
 53 
     | 
    
         
            +
              
         
     | 
| 
      
 54 
     | 
    
         
            +
            when "destroy"
         
     | 
| 
      
 55 
     | 
    
         
            +
              id = ARGV.shift
         
     | 
| 
      
 56 
     | 
    
         
            +
              unless id
         
     | 
| 
      
 57 
     | 
    
         
            +
                STDERR.puts "You must enter an App Id"
         
     | 
| 
      
 58 
     | 
    
         
            +
                exit 1
         
     | 
| 
      
 59 
     | 
    
         
            +
              end
         
     | 
| 
      
 60 
     | 
    
         
            +
              
         
     | 
| 
      
 61 
     | 
    
         
            +
              token = ARGV.shift
         
     | 
| 
      
 62 
     | 
    
         
            +
              unless token
         
     | 
| 
      
 63 
     | 
    
         
            +
                STDERR.puts "You must enter an App Token"
         
     | 
| 
      
 64 
     | 
    
         
            +
                exit 1
         
     | 
| 
      
 65 
     | 
    
         
            +
              end
         
     | 
| 
      
 66 
     | 
    
         
            +
              
         
     | 
| 
      
 67 
     | 
    
         
            +
              if Appsendr::App.destroy(id, token)
         
     | 
| 
      
 68 
     | 
    
         
            +
                STDOUT.puts "App was succesfully destroyed"
         
     | 
| 
      
 69 
     | 
    
         
            +
              else
         
     | 
| 
      
 70 
     | 
    
         
            +
                STDERR.puts "An error occured"
         
     | 
| 
      
 71 
     | 
    
         
            +
                exit 1
         
     | 
| 
      
 72 
     | 
    
         
            +
              end
         
     | 
| 
      
 73 
     | 
    
         
            +
                
         
     | 
| 
      
 74 
     | 
    
         
            +
            when "details"
         
     | 
| 
      
 75 
     | 
    
         
            +
              id = ARGV.shift
         
     | 
| 
      
 76 
     | 
    
         
            +
              unless id
         
     | 
| 
      
 77 
     | 
    
         
            +
                STDERR.puts "You must enter an App Id"
         
     | 
| 
      
 78 
     | 
    
         
            +
                exit 1
         
     | 
| 
      
 79 
     | 
    
         
            +
              end
         
     | 
| 
      
 80 
     | 
    
         
            +
              app_details = Appsendr::App.details(id)
         
     | 
| 
      
 81 
     | 
    
         
            +
              
         
     | 
| 
      
 82 
     | 
    
         
            +
              if app_details["error"]
         
     | 
| 
      
 83 
     | 
    
         
            +
                STDERR.puts app_details["error"]["message"]
         
     | 
| 
      
 84 
     | 
    
         
            +
                exit 1
         
     | 
| 
      
 85 
     | 
    
         
            +
              end
         
     | 
| 
      
 86 
     | 
    
         
            +
              
         
     | 
| 
      
 87 
     | 
    
         
            +
              created_at = DateTime.parse(app_details["created_at"])
         
     | 
| 
      
 88 
     | 
    
         
            +
              
         
     | 
| 
      
 89 
     | 
    
         
            +
              output =  "App Details\n"
         
     | 
| 
      
 90 
     | 
    
         
            +
              output += "========================\n"
         
     | 
| 
      
 91 
     | 
    
         
            +
              output += "ID: #{app_details["id"]}\n"
         
     | 
| 
      
 92 
     | 
    
         
            +
              output += "URL: #{app_details["url"]}\n"
         
     | 
| 
      
 93 
     | 
    
         
            +
              output += "Filename: #{app_details["filename"]}\n"
         
     | 
| 
      
 94 
     | 
    
         
            +
              output += "Created on #{created_at.strftime("%m/%d/%Y at %r")}\n"
         
     | 
| 
      
 95 
     | 
    
         
            +
              output += "\n"
         
     | 
| 
      
 96 
     | 
    
         
            +
              
         
     | 
| 
      
 97 
     | 
    
         
            +
              
         
     | 
| 
      
 98 
     | 
    
         
            +
              STDOUT.puts output
         
     | 
| 
      
 99 
     | 
    
         
            +
              
         
     | 
| 
      
 100 
     | 
    
         
            +
            else
         
     | 
| 
      
 101 
     | 
    
         
            +
              STDOUT.puts <<-EOF
         
     | 
| 
      
 102 
     | 
    
         
            +
            Please provide command name
         
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
      
 104 
     | 
    
         
            +
            Usage:
         
     | 
| 
      
 105 
     | 
    
         
            +
              appsendr create <FILE PATH> <IDENTIFIER>
         
     | 
| 
      
 106 
     | 
    
         
            +
              appsendr details <ID>
         
     | 
| 
      
 107 
     | 
    
         
            +
              appsendr destroy <ID> <TOKEN>
         
     | 
| 
      
 108 
     | 
    
         
            +
            EOF
         
     | 
| 
      
 109 
     | 
    
         
            +
            end
         
     | 
    
        data/lib/appsendr.rb
    CHANGED
    
    | 
         @@ -1,27 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            require 'appsendr/client'
         
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            # (The MIT License)
         
     | 
| 
       6 
     | 
    
         
            -
            # 
         
     | 
| 
       7 
     | 
    
         
            -
            # Copyright (c) 2010
         
     | 
| 
       8 
     | 
    
         
            -
            # 
         
     | 
| 
       9 
     | 
    
         
            -
            # Permission is hereby granted, free of charge, to any person obtaining
         
     | 
| 
       10 
     | 
    
         
            -
            # a copy of this software and associated documentation files (the
         
     | 
| 
       11 
     | 
    
         
            -
            # 'Software'), to deal in the Software without restriction, including
         
     | 
| 
       12 
     | 
    
         
            -
            # without limitation the rights to use, copy, modify, merge, publish,
         
     | 
| 
       13 
     | 
    
         
            -
            # distribute, sublicense, and/or sell copies of the Software, and to
         
     | 
| 
       14 
     | 
    
         
            -
            # permit persons to whom the Software is furnished to do so, subject to
         
     | 
| 
       15 
     | 
    
         
            -
            # the following conditions:
         
     | 
| 
       16 
     | 
    
         
            -
            # 
         
     | 
| 
       17 
     | 
    
         
            -
            # The above copyright notice and this permission notice shall be
         
     | 
| 
       18 
     | 
    
         
            -
            # included in all copies or substantial portions of the Software.
         
     | 
| 
       19 
     | 
    
         
            -
            # 
         
     | 
| 
       20 
     | 
    
         
            -
            # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
         
     | 
| 
       21 
     | 
    
         
            -
            # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
         
     | 
| 
       22 
     | 
    
         
            -
            # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
         
     | 
| 
       23 
     | 
    
         
            -
            # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
         
     | 
| 
       24 
     | 
    
         
            -
            # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
         
     | 
| 
       25 
     | 
    
         
            -
            # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
         
     | 
| 
       26 
     | 
    
         
            -
            # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         
     | 
| 
      
 1 
     | 
    
         
            +
            require "appsendr/version"
         
     | 
| 
       27 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            module Appsendr
         
     | 
| 
      
 4 
     | 
    
         
            +
              def self.version
         
     | 
| 
      
 5 
     | 
    
         
            +
                return VERSION
         
     | 
| 
      
 6 
     | 
    
         
            +
              end
         
     | 
| 
      
 7 
     | 
    
         
            +
            end
         
     | 
    
        data/lib/appsendr/app.rb
    ADDED
    
    | 
         @@ -0,0 +1,60 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require "appsendr/version"
         
     | 
| 
      
 2 
     | 
    
         
            +
            require "json"
         
     | 
| 
      
 3 
     | 
    
         
            +
            require "rest-client"
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            module Appsendr  
         
     | 
| 
      
 6 
     | 
    
         
            +
              class App
         
     | 
| 
      
 7 
     | 
    
         
            +
                API_BASE_URL = "https://api.appsendr.com"
         
     | 
| 
      
 8 
     | 
    
         
            +
                
         
     | 
| 
      
 9 
     | 
    
         
            +
                def self.create(file,icon=nil,identifier=nil)
         
     | 
| 
      
 10 
     | 
    
         
            +
                  #File.new("test.apk", 'rb')
         
     | 
| 
      
 11 
     | 
    
         
            +
                  
         
     | 
| 
      
 12 
     | 
    
         
            +
                  params = {:app_data => file, :multipart => true}
         
     | 
| 
      
 13 
     | 
    
         
            +
                  params[:icon] = icon if icon
         
     | 
| 
      
 14 
     | 
    
         
            +
                  params[:identifier] = identifier if identifier
         
     | 
| 
      
 15 
     | 
    
         
            +
                  
         
     | 
| 
      
 16 
     | 
    
         
            +
                  begin
         
     | 
| 
      
 17 
     | 
    
         
            +
                    response = RestClient.post _url("new"), params
         
     | 
| 
      
 18 
     | 
    
         
            +
                    return JSON.parse response.to_str
         
     | 
| 
      
 19 
     | 
    
         
            +
                  rescue => e
         
     | 
| 
      
 20 
     | 
    
         
            +
                    return JSON.parse e.response unless e.response.empty?
         
     | 
| 
      
 21 
     | 
    
         
            +
                  end
         
     | 
| 
      
 22 
     | 
    
         
            +
                end
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                def self.destroy(id, token)
         
     | 
| 
      
 25 
     | 
    
         
            +
                  params = {"token" => token}
         
     | 
| 
      
 26 
     | 
    
         
            +
                
         
     | 
| 
      
 27 
     | 
    
         
            +
                  begin
         
     | 
| 
      
 28 
     | 
    
         
            +
                    response = RestClient.delete _url(id, params)
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
                    return (response.code == 204)
         
     | 
| 
      
 31 
     | 
    
         
            +
                  rescue => e
         
     | 
| 
      
 32 
     | 
    
         
            +
                    return false
         
     | 
| 
      
 33 
     | 
    
         
            +
                  end
         
     | 
| 
      
 34 
     | 
    
         
            +
                end
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
                def self.details(id)
         
     | 
| 
      
 37 
     | 
    
         
            +
                  begin
         
     | 
| 
      
 38 
     | 
    
         
            +
                    response = RestClient.get _url(id)
         
     | 
| 
      
 39 
     | 
    
         
            +
                    return JSON.parse response.to_str
         
     | 
| 
      
 40 
     | 
    
         
            +
                  rescue => e
         
     | 
| 
      
 41 
     | 
    
         
            +
                    return JSON.parse e.response
         
     | 
| 
      
 42 
     | 
    
         
            +
                  end
         
     | 
| 
      
 43 
     | 
    
         
            +
                end
         
     | 
| 
      
 44 
     | 
    
         
            +
                
         
     | 
| 
      
 45 
     | 
    
         
            +
                
         
     | 
| 
      
 46 
     | 
    
         
            +
                private
         
     | 
| 
      
 47 
     | 
    
         
            +
                
         
     | 
| 
      
 48 
     | 
    
         
            +
                def self._url(path, params=nil)
         
     | 
| 
      
 49 
     | 
    
         
            +
                  if params
         
     | 
| 
      
 50 
     | 
    
         
            +
                    querystring = params.map{|k,v| "#{CGI.escape(k)}=#{CGI.escape(v)}"}.join("&")
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
                    "#{API_BASE_URL}/v1/app/#{path}?#{querystring}"
         
     | 
| 
      
 53 
     | 
    
         
            +
                  else
         
     | 
| 
      
 54 
     | 
    
         
            +
                    "#{API_BASE_URL}/v1/app/#{path}"
         
     | 
| 
      
 55 
     | 
    
         
            +
                  end
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
                end
         
     | 
| 
      
 58 
     | 
    
         
            +
              end
         
     | 
| 
      
 59 
     | 
    
         
            +
              
         
     | 
| 
      
 60 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,191 +1,74 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            --- !ruby/object:Gem::Specification 
     | 
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: appsendr
         
     | 
| 
       3 
     | 
    
         
            -
            version: !ruby/object:Gem::Version 
     | 
| 
       4 
     | 
    
         
            -
               
     | 
| 
       5 
     | 
    
         
            -
              prerelease:  
     | 
| 
       6 
     | 
    
         
            -
              segments: 
         
     | 
| 
       7 
     | 
    
         
            -
              - 0
         
     | 
| 
       8 
     | 
    
         
            -
              - 0
         
     | 
| 
       9 
     | 
    
         
            -
              - 6
         
     | 
| 
       10 
     | 
    
         
            -
              version: 0.0.6
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: '1.0'
         
     | 
| 
      
 5 
     | 
    
         
            +
              prerelease: 
         
     | 
| 
       11 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
     | 
    
         
            -
            authors: 
     | 
| 
       13 
     | 
    
         
            -
            -  
     | 
| 
      
 7 
     | 
    
         
            +
            authors:
         
     | 
| 
      
 8 
     | 
    
         
            +
            - Nolan Brown
         
     | 
| 
       14 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       15 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       16 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
            dependencies: 
         
     | 
| 
       21 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2013-01-19 00:00:00.000000000 Z
         
     | 
| 
      
 13 
     | 
    
         
            +
            dependencies:
         
     | 
| 
      
 14 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
       22 
15 
     | 
    
         
             
              name: rest-client
         
     | 
| 
       23 
     | 
    
         
            -
               
     | 
| 
       24 
     | 
    
         
            -
              requirement: &id001 !ruby/object:Gem::Requirement 
         
     | 
| 
       25 
     | 
    
         
            -
                none: false
         
     | 
| 
       26 
     | 
    
         
            -
                requirements: 
         
     | 
| 
       27 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       28 
     | 
    
         
            -
                  - !ruby/object:Gem::Version 
         
     | 
| 
       29 
     | 
    
         
            -
                    hash: 7
         
     | 
| 
       30 
     | 
    
         
            -
                    segments: 
         
     | 
| 
       31 
     | 
    
         
            -
                    - 1
         
     | 
| 
       32 
     | 
    
         
            -
                    - 4
         
     | 
| 
       33 
     | 
    
         
            -
                    - 0
         
     | 
| 
       34 
     | 
    
         
            -
                    version: 1.4.0
         
     | 
| 
       35 
     | 
    
         
            -
              type: :runtime
         
     | 
| 
       36 
     | 
    
         
            -
              version_requirements: *id001
         
     | 
| 
       37 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       38 
     | 
    
         
            -
              name: rubyzip
         
     | 
| 
       39 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       40 
     | 
    
         
            -
              requirement: &id002 !ruby/object:Gem::Requirement 
         
     | 
| 
       41 
     | 
    
         
            -
                none: false
         
     | 
| 
       42 
     | 
    
         
            -
                requirements: 
         
     | 
| 
       43 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       44 
     | 
    
         
            -
                  - !ruby/object:Gem::Version 
         
     | 
| 
       45 
     | 
    
         
            -
                    hash: 3
         
     | 
| 
       46 
     | 
    
         
            -
                    segments: 
         
     | 
| 
       47 
     | 
    
         
            -
                    - 0
         
     | 
| 
       48 
     | 
    
         
            -
                    version: "0"
         
     | 
| 
       49 
     | 
    
         
            -
              type: :runtime
         
     | 
| 
       50 
     | 
    
         
            -
              version_requirements: *id002
         
     | 
| 
       51 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       52 
     | 
    
         
            -
              name: json_pure
         
     | 
| 
       53 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       54 
     | 
    
         
            -
              requirement: &id003 !ruby/object:Gem::Requirement 
         
     | 
| 
      
 16 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       55 
17 
     | 
    
         
             
                none: false
         
     | 
| 
       56 
     | 
    
         
            -
                requirements: 
     | 
| 
       57 
     | 
    
         
            -
                - -  
     | 
| 
       58 
     | 
    
         
            -
                  - !ruby/object:Gem::Version 
     | 
| 
       59 
     | 
    
         
            -
                     
     | 
| 
       60 
     | 
    
         
            -
                    segments: 
         
     | 
| 
       61 
     | 
    
         
            -
                    - 1
         
     | 
| 
       62 
     | 
    
         
            -
                    - 2
         
     | 
| 
       63 
     | 
    
         
            -
                    - 0
         
     | 
| 
       64 
     | 
    
         
            -
                    version: 1.2.0
         
     | 
| 
      
 18 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 19 
     | 
    
         
            +
                - - ! '>='
         
     | 
| 
      
 20 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 21 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
       65 
22 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       66 
     | 
    
         
            -
              version_requirements: *id003
         
     | 
| 
       67 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       68 
     | 
    
         
            -
              name: highline
         
     | 
| 
       69 
23 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       70 
     | 
    
         
            -
               
     | 
| 
      
 24 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       71 
25 
     | 
    
         
             
                none: false
         
     | 
| 
       72 
     | 
    
         
            -
                requirements: 
     | 
| 
       73 
     | 
    
         
            -
                - -  
     | 
| 
       74 
     | 
    
         
            -
                  - !ruby/object:Gem::Version 
     | 
| 
       75 
     | 
    
         
            -
                     
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
       79 
     | 
    
         
            -
             
     | 
| 
       80 
     | 
    
         
            -
              version_requirements: *id004
         
     | 
| 
       81 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       82 
     | 
    
         
            -
              name: mechanize
         
     | 
| 
       83 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       84 
     | 
    
         
            -
              requirement: &id005 !ruby/object:Gem::Requirement 
         
     | 
| 
       85 
     | 
    
         
            -
                none: false
         
     | 
| 
       86 
     | 
    
         
            -
                requirements: 
         
     | 
| 
       87 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       88 
     | 
    
         
            -
                  - !ruby/object:Gem::Version 
         
     | 
| 
       89 
     | 
    
         
            -
                    hash: 3
         
     | 
| 
       90 
     | 
    
         
            -
                    segments: 
         
     | 
| 
       91 
     | 
    
         
            -
                    - 0
         
     | 
| 
       92 
     | 
    
         
            -
                    version: "0"
         
     | 
| 
       93 
     | 
    
         
            -
              type: :runtime
         
     | 
| 
       94 
     | 
    
         
            -
              version_requirements: *id005
         
     | 
| 
       95 
     | 
    
         
            -
            description: A gem that will build and distribute an iphone/ipad app to the web for remote install
         
     | 
| 
       96 
     | 
    
         
            -
            email: nolan@appsendr.com
         
     | 
| 
       97 
     | 
    
         
            -
            executables: 
         
     | 
| 
      
 26 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 27 
     | 
    
         
            +
                - - ! '>='
         
     | 
| 
      
 28 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 29 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
      
 30 
     | 
    
         
            +
            description: RubyGem for AppSendr
         
     | 
| 
      
 31 
     | 
    
         
            +
            email:
         
     | 
| 
      
 32 
     | 
    
         
            +
            - contact@appsendr.com
         
     | 
| 
      
 33 
     | 
    
         
            +
            executables:
         
     | 
| 
       98 
34 
     | 
    
         
             
            - appsendr
         
     | 
| 
       99 
35 
     | 
    
         
             
            extensions: []
         
     | 
| 
       100 
     | 
    
         
            -
             
     | 
| 
       101 
     | 
    
         
            -
             
     | 
| 
       102 
     | 
    
         
            -
            -  
     | 
| 
       103 
     | 
    
         
            -
            -  
     | 
| 
       104 
     | 
    
         
            -
            -  
     | 
| 
       105 
     | 
    
         
            -
            -  
     | 
| 
       106 
     | 
    
         
            -
            - lib/appsendr/client.rb
         
     | 
| 
       107 
     | 
    
         
            -
            - lib/appsendr/command.rb
         
     | 
| 
       108 
     | 
    
         
            -
            - lib/appsendr/commands/app.rb
         
     | 
| 
       109 
     | 
    
         
            -
            - lib/appsendr/commands/auth.rb
         
     | 
| 
       110 
     | 
    
         
            -
            - lib/appsendr/commands/base.rb
         
     | 
| 
       111 
     | 
    
         
            -
            - lib/appsendr/commands/build.rb
         
     | 
| 
       112 
     | 
    
         
            -
            - lib/appsendr/commands/collaborators.rb
         
     | 
| 
       113 
     | 
    
         
            -
            - lib/appsendr/commands/common.rb
         
     | 
| 
       114 
     | 
    
         
            -
            - lib/appsendr/commands/deploy.rb
         
     | 
| 
       115 
     | 
    
         
            -
            - lib/appsendr/commands/groups.rb
         
     | 
| 
       116 
     | 
    
         
            -
            - lib/appsendr/commands/help.rb
         
     | 
| 
       117 
     | 
    
         
            -
            - lib/appsendr/commands/portal.rb
         
     | 
| 
       118 
     | 
    
         
            -
            - lib/appsendr/commands/testers.rb
         
     | 
| 
       119 
     | 
    
         
            -
            - lib/appsendr/commands/version.rb
         
     | 
| 
       120 
     | 
    
         
            -
            - lib/appsendr/constants.rb
         
     | 
| 
       121 
     | 
    
         
            -
            - lib/appsendr/helpers.rb
         
     | 
| 
       122 
     | 
    
         
            -
            - lib/appsendr/progressbar.rb
         
     | 
| 
       123 
     | 
    
         
            -
            files: 
         
     | 
| 
       124 
     | 
    
         
            -
            - Manifest
         
     | 
| 
       125 
     | 
    
         
            -
            - README.rdoc
         
     | 
| 
      
 36 
     | 
    
         
            +
            extra_rdoc_files: []
         
     | 
| 
      
 37 
     | 
    
         
            +
            files:
         
     | 
| 
      
 38 
     | 
    
         
            +
            - .gitignore
         
     | 
| 
      
 39 
     | 
    
         
            +
            - Gemfile
         
     | 
| 
      
 40 
     | 
    
         
            +
            - LICENSE.txt
         
     | 
| 
      
 41 
     | 
    
         
            +
            - README.md
         
     | 
| 
       126 
42 
     | 
    
         
             
            - Rakefile
         
     | 
| 
      
 43 
     | 
    
         
            +
            - appsendr.gemspec
         
     | 
| 
       127 
44 
     | 
    
         
             
            - bin/appsendr
         
     | 
| 
       128 
45 
     | 
    
         
             
            - lib/appsendr.rb
         
     | 
| 
       129 
     | 
    
         
            -
            - lib/appsendr/ 
     | 
| 
       130 
     | 
    
         
            -
            - lib/appsendr/ 
     | 
| 
       131 
     | 
    
         
            -
            -  
     | 
| 
       132 
     | 
    
         
            -
             
     | 
| 
       133 
     | 
    
         
            -
            - lib/appsendr/commands/auth.rb
         
     | 
| 
       134 
     | 
    
         
            -
            - lib/appsendr/commands/base.rb
         
     | 
| 
       135 
     | 
    
         
            -
            - lib/appsendr/commands/build.rb
         
     | 
| 
       136 
     | 
    
         
            -
            - lib/appsendr/commands/collaborators.rb
         
     | 
| 
       137 
     | 
    
         
            -
            - lib/appsendr/commands/common.rb
         
     | 
| 
       138 
     | 
    
         
            -
            - lib/appsendr/commands/deploy.rb
         
     | 
| 
       139 
     | 
    
         
            -
            - lib/appsendr/commands/groups.rb
         
     | 
| 
       140 
     | 
    
         
            -
            - lib/appsendr/commands/help.rb
         
     | 
| 
       141 
     | 
    
         
            -
            - lib/appsendr/commands/portal.rb
         
     | 
| 
       142 
     | 
    
         
            -
            - lib/appsendr/commands/testers.rb
         
     | 
| 
       143 
     | 
    
         
            -
            - lib/appsendr/commands/version.rb
         
     | 
| 
       144 
     | 
    
         
            -
            - lib/appsendr/constants.rb
         
     | 
| 
       145 
     | 
    
         
            -
            - lib/appsendr/helpers.rb
         
     | 
| 
       146 
     | 
    
         
            -
            - lib/appsendr/progressbar.rb
         
     | 
| 
       147 
     | 
    
         
            -
            - portal.rb
         
     | 
| 
       148 
     | 
    
         
            -
            - terms
         
     | 
| 
       149 
     | 
    
         
            -
            - appsendr.gemspec
         
     | 
| 
       150 
     | 
    
         
            -
            has_rdoc: true
         
     | 
| 
       151 
     | 
    
         
            -
            homepage: http://www.appsendr.com/gem
         
     | 
| 
      
 46 
     | 
    
         
            +
            - lib/appsendr/app.rb
         
     | 
| 
      
 47 
     | 
    
         
            +
            - lib/appsendr/version.rb
         
     | 
| 
      
 48 
     | 
    
         
            +
            - test/units/app_test.rb
         
     | 
| 
      
 49 
     | 
    
         
            +
            homepage: https://appsendr.com
         
     | 
| 
       152 
50 
     | 
    
         
             
            licenses: []
         
     | 
| 
       153 
     | 
    
         
            -
             
     | 
| 
       154 
51 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       155 
     | 
    
         
            -
            rdoc_options: 
         
     | 
| 
       156 
     | 
    
         
            -
             
     | 
| 
       157 
     | 
    
         
            -
            - --inline-source
         
     | 
| 
       158 
     | 
    
         
            -
            - --title
         
     | 
| 
       159 
     | 
    
         
            -
            - Appsendr
         
     | 
| 
       160 
     | 
    
         
            -
            - --main
         
     | 
| 
       161 
     | 
    
         
            -
            - README.rdoc
         
     | 
| 
       162 
     | 
    
         
            -
            require_paths: 
         
     | 
| 
      
 52 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 53 
     | 
    
         
            +
            require_paths:
         
     | 
| 
       163 
54 
     | 
    
         
             
            - lib
         
     | 
| 
       164 
     | 
    
         
            -
            required_ruby_version: !ruby/object:Gem::Requirement 
     | 
| 
      
 55 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
       165 
56 
     | 
    
         
             
              none: false
         
     | 
| 
       166 
     | 
    
         
            -
              requirements: 
     | 
| 
       167 
     | 
    
         
            -
              - -  
     | 
| 
       168 
     | 
    
         
            -
                - !ruby/object:Gem::Version 
     | 
| 
       169 
     | 
    
         
            -
                   
     | 
| 
       170 
     | 
    
         
            -
             
     | 
| 
       171 
     | 
    
         
            -
                  - 0
         
     | 
| 
       172 
     | 
    
         
            -
                  version: "0"
         
     | 
| 
       173 
     | 
    
         
            -
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 57 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 58 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
      
 59 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 60 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 61 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       174 
62 
     | 
    
         
             
              none: false
         
     | 
| 
       175 
     | 
    
         
            -
              requirements: 
     | 
| 
       176 
     | 
    
         
            -
              - -  
     | 
| 
       177 
     | 
    
         
            -
                - !ruby/object:Gem::Version 
     | 
| 
       178 
     | 
    
         
            -
                   
     | 
| 
       179 
     | 
    
         
            -
                  segments: 
         
     | 
| 
       180 
     | 
    
         
            -
                  - 1
         
     | 
| 
       181 
     | 
    
         
            -
                  - 2
         
     | 
| 
       182 
     | 
    
         
            -
                  version: "1.2"
         
     | 
| 
      
 63 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 64 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
      
 65 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 66 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
       183 
67 
     | 
    
         
             
            requirements: []
         
     | 
| 
       184 
     | 
    
         
            -
             
     | 
| 
       185 
     | 
    
         
            -
             
     | 
| 
       186 
     | 
    
         
            -
            rubygems_version: 1.3.7
         
     | 
| 
      
 68 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 69 
     | 
    
         
            +
            rubygems_version: 1.8.24
         
     | 
| 
       187 
70 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       188 
71 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       189 
     | 
    
         
            -
            summary:  
     | 
| 
       190 
     | 
    
         
            -
            test_files: 
     | 
| 
       191 
     | 
    
         
            -
             
     | 
| 
      
 72 
     | 
    
         
            +
            summary: RubyGem for AppSendr
         
     | 
| 
      
 73 
     | 
    
         
            +
            test_files:
         
     | 
| 
      
 74 
     | 
    
         
            +
            - test/units/app_test.rb
         
     |