rhoconnect 3.1.0.beta1 → 3.1.0.beta2
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/CHANGELOG.md +17 -0
 - data/Gemfile +4 -1
 - data/Gemfile.lock +28 -22
 - data/Rakefile +6 -5
 - data/bench/bench_runner.rb +2 -2
 - data/bench/benchapp/Gemfile +1 -2
 - data/bench/benchapp/Gemfile.lock +19 -42
 - data/bench/benchapp/spec/spec_helper.rb +1 -1
 - data/bench/blobapp/Gemfile +0 -1
 - data/bench/blobapp/Gemfile.lock +52 -47
 - data/bench/blobapp/spec/spec_helper.rb +1 -1
 - data/bench/lib/bench/logging.rb +0 -2
 - data/bench/lib/bench/utils.rb +3 -3
 - data/bench/run_bench.sh +4 -3
 - data/bench/spec/bench_spec_helper.rb +6 -0
 - data/doc/benchmarks-running.txt +2 -0
 - data/doc/client.txt +1 -1
 - data/doc/cud-conflicts.txt +23 -23
 - data/doc/java-plugin.txt +23 -23
 - data/doc/net-plugin.txt +21 -10
 - data/doc/rhoconnect-redis-stack.txt +4 -4
 - data/doc/supported-platforms.txt +77 -0
 - data/doc/tutorial.txt +11 -13
 - data/generators/rhoconnect.rb +1 -1
 - data/generators/templates/application/Gemfile +4 -4
 - data/generators/templates/application/spec/spec_helper.rb +10 -8
 - data/installer/unix-like/rho_connect_install_constants.rb +2 -2
 - data/installer/utils/package_upload/repos.rake +22 -7
 - data/installer/utils/package_upload/s3_upload.rb +50 -22
 - data/installer/windows/rhosync.nsi +5 -5
 - data/lib/rhoconnect/body_content_type_parser.rb +4 -1
 - data/lib/rhoconnect/jobs/bulk_data_job.rb +3 -3
 - data/lib/rhoconnect/tasks.rb +17 -21
 - data/lib/rhoconnect/version.rb +1 -1
 - data/rhoconnect.gemspec +2 -1
 - data/spec/spec_helper.rb +15 -7
 - data/spec/stats/middleware_spec.rb +0 -1
 - data/spec/store_spec.rb +0 -1
 - data/tasks/redis.rake +2 -2
 - metadata +64 -47
 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,3 +1,20 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ## 3.1.0.beta2 (2012-01-24)
         
     | 
| 
      
 2 
     | 
    
         
            +
            * #21859561 - bug fix (Sync With Sugar CE Brings No Records and Generates An Error from Zendesk ticket #1871)
         
     | 
| 
      
 3 
     | 
    
         
            +
            * #22399583 - bug fix (Creates are happening multiple times for the same data from Zendesk ticket #1964)
         
     | 
| 
      
 4 
     | 
    
         
            +
            * #22765085 - 1.9.3 Ruby support - all platforms (Mac,Linux,Windows)
         
     | 
| 
      
 5 
     | 
    
         
            +
            * #22801803 - support rack 1.4 (bundle dependency '~> 1.4.1')
         
     | 
| 
      
 6 
     | 
    
         
            +
            * #22965211 - bug fix (startbg, startdebug tasks do not work with Ruby 1.9.x)
         
     | 
| 
      
 7 
     | 
    
         
            +
            * #23100341 - bug fix (large JSON input is lost in rack, Ruby 1.9.x)
         
     | 
| 
      
 8 
     | 
    
         
            +
            * #23634587 - bug fix (related data models not getting updated from Zendesk ticket #2098)
         
     | 
| 
      
 9 
     | 
    
         
            +
            * #23641249 - Update Rhoconnect .NET sample with final code
         
     | 
| 
      
 10 
     | 
    
         
            +
            * #23625065 - Bug fix (Installing Rhoconnect from Zendesk ticket #2101)
         
     | 
| 
      
 11 
     | 
    
         
            +
            * #23641103 - .NET plugin needs to have an ability to be partitioned by app
         
     | 
| 
      
 12 
     | 
    
         
            +
            * #23641329 - JAVA plugin needs to have an ability to return "app" partition
         
     | 
| 
      
 13 
     | 
    
         
            +
            * #23638123 - Checking for duplicate creates from Zendesk ticket #2097
         
     | 
| 
      
 14 
     | 
    
         
            +
            * #21237229 - Docs for rhoconnect-benchmark commands
         
     | 
| 
      
 15 
     | 
    
         
            +
            * #23767161 - Bug fix (java-plugin doc fails to index with indextank)
         
     | 
| 
      
 16 
     | 
    
         
            +
            * added code coverage for Ruby 1.9 (gem 'simplecov')
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
       1 
18 
     | 
    
         
             
            ## 3.1.0.beta1 (2011-12-31)
         
     | 
| 
       2 
19 
     | 
    
         
             
            * #20396499 - saving rhoconnect-benchmark results into the file
         
     | 
| 
       3 
20 
     | 
    
         
             
            * #21630639 - rhoconnect-benchmark post-processing (GRUFF png images and EXCEL spreadsheets generation)
         
     | 
    
        data/Gemfile
    CHANGED
    
    | 
         @@ -3,6 +3,8 @@ source "http://rubygems.org" 
     | 
|
| 
       3 
3 
     | 
    
         
             
            # Specify your gem's dependencies in rhoconnect.gemspec
         
     | 
| 
       4 
4 
     | 
    
         
             
            gemspec
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
      
 6 
     | 
    
         
            +
            gem 'win32-process', :platforms => [:mswin, :mingw]
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
       6 
8 
     | 
    
         
             
            platforms :jruby do
         
     | 
| 
       7 
9 
     | 
    
         
             
              gem 'jdbc-sqlite3', ">= 3.7.2"
         
     | 
| 
       8 
10 
     | 
    
         
             
              gem 'dbi', ">= 0.4.5"
         
     | 
| 
         @@ -24,6 +26,7 @@ end 
     | 
|
| 
       24 
26 
     | 
    
         | 
| 
       25 
27 
     | 
    
         
             
            group :test do
         
     | 
| 
       26 
28 
     | 
    
         
             
              gem 'rspec', '~> 2.6.0'
         
     | 
| 
       27 
     | 
    
         
            -
              gem  
     | 
| 
      
 29 
     | 
    
         
            +
              gem "rcov", '~> 1.0.0', :require => false, :platforms => :ruby_18
         
     | 
| 
      
 30 
     | 
    
         
            +
              gem 'simplecov', :require => false, :platforms => [:ruby_19,:jruby]
         
     | 
| 
       28 
31 
     | 
    
         
             
              gem 'rack-test', '>= 0.5.3', :require => 'rack/test'
         
     | 
| 
       29 
32 
     | 
    
         
             
            end
         
     | 
    
        data/Gemfile.lock
    CHANGED
    
    | 
         @@ -1,9 +1,10 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            PATH
         
     | 
| 
       2 
2 
     | 
    
         
             
              remote: .
         
     | 
| 
       3 
3 
     | 
    
         
             
              specs:
         
     | 
| 
       4 
     | 
    
         
            -
                rhoconnect (3.1.0. 
     | 
| 
      
 4 
     | 
    
         
            +
                rhoconnect (3.1.0.beta2)
         
     | 
| 
       5 
5 
     | 
    
         
             
                  bundler (~> 1.0)
         
     | 
| 
       6 
     | 
    
         
            -
                  json (~> 1. 
     | 
| 
      
 6 
     | 
    
         
            +
                  json (~> 1.6.0)
         
     | 
| 
      
 7 
     | 
    
         
            +
                  rack (~> 1.4.1)
         
     | 
| 
       7 
8 
     | 
    
         
             
                  rake (~> 0.9.2)
         
     | 
| 
       8 
9 
     | 
    
         
             
                  redis (>= 2.2.0)
         
     | 
| 
       9 
10 
     | 
    
         
             
                  resque (~> 1.19.0)
         
     | 
| 
         @@ -30,12 +31,12 @@ GEM 
     | 
|
| 
       30 
31 
     | 
    
         
             
                  deprecated (= 2.0.1)
         
     | 
| 
       31 
32 
     | 
    
         
             
                deprecated (2.0.1)
         
     | 
| 
       32 
33 
     | 
    
         
             
                diff-lcs (1.1.3)
         
     | 
| 
       33 
     | 
    
         
            -
                excon (0. 
     | 
| 
      
 34 
     | 
    
         
            +
                excon (0.9.5)
         
     | 
| 
       34 
35 
     | 
    
         
             
                extlib (0.9.15)
         
     | 
| 
       35 
36 
     | 
    
         
             
                ffaker (1.8.1)
         
     | 
| 
       36 
     | 
    
         
            -
                fog (1.1. 
     | 
| 
      
 37 
     | 
    
         
            +
                fog (1.1.2)
         
     | 
| 
       37 
38 
     | 
    
         
             
                  builder
         
     | 
| 
       38 
     | 
    
         
            -
                  excon (~> 0. 
     | 
| 
      
 39 
     | 
    
         
            +
                  excon (~> 0.9.0)
         
     | 
| 
       39 
40 
     | 
    
         
             
                  formatador (~> 0.2.0)
         
     | 
| 
       40 
41 
     | 
    
         
             
                  mime-types
         
     | 
| 
       41 
42 
     | 
    
         
             
                  multi_json (~> 1.0.3)
         
     | 
| 
         @@ -46,29 +47,28 @@ GEM 
     | 
|
| 
       46 
47 
     | 
    
         
             
                formatador (0.2.1)
         
     | 
| 
       47 
48 
     | 
    
         
             
                fpm (0.3.11)
         
     | 
| 
       48 
49 
     | 
    
         
             
                  json
         
     | 
| 
       49 
     | 
    
         
            -
                highline (1.6. 
     | 
| 
      
 50 
     | 
    
         
            +
                highline (1.6.11)
         
     | 
| 
       50 
51 
     | 
    
         
             
                jdbc-sqlite3 (3.7.2)
         
     | 
| 
       51 
     | 
    
         
            -
                jruby-jars (1.6.5)
         
     | 
| 
       52 
     | 
    
         
            -
                jruby-openssl (0.7. 
     | 
| 
       53 
     | 
    
         
            -
                  bouncy-castle-java
         
     | 
| 
       54 
     | 
    
         
            -
                jruby-rack (1.1. 
     | 
| 
       55 
     | 
    
         
            -
                json (1.5 
     | 
| 
       56 
     | 
    
         
            -
                json (1.5 
     | 
| 
      
 52 
     | 
    
         
            +
                jruby-jars (1.6.5.1)
         
     | 
| 
      
 53 
     | 
    
         
            +
                jruby-openssl (0.7.5)
         
     | 
| 
      
 54 
     | 
    
         
            +
                  bouncy-castle-java (>= 1.5.0146.1)
         
     | 
| 
      
 55 
     | 
    
         
            +
                jruby-rack (1.1.3)
         
     | 
| 
      
 56 
     | 
    
         
            +
                json (1.6.5)
         
     | 
| 
      
 57 
     | 
    
         
            +
                json (1.6.5-java)
         
     | 
| 
       57 
58 
     | 
    
         
             
                mime-types (1.17.2)
         
     | 
| 
       58 
59 
     | 
    
         
             
                multi_json (1.0.4)
         
     | 
| 
       59 
60 
     | 
    
         
             
                net-scp (1.0.4)
         
     | 
| 
       60 
61 
     | 
    
         
             
                  net-ssh (>= 1.99.1)
         
     | 
| 
       61 
     | 
    
         
            -
                net-ssh (2. 
     | 
| 
      
 62 
     | 
    
         
            +
                net-ssh (2.3.0)
         
     | 
| 
       62 
63 
     | 
    
         
             
                nokogiri (1.5.0)
         
     | 
| 
       63 
64 
     | 
    
         
             
                nokogiri (1.5.0-java)
         
     | 
| 
       64 
     | 
    
         
            -
                rack (1. 
     | 
| 
       65 
     | 
    
         
            -
                rack-protection (1. 
     | 
| 
      
 65 
     | 
    
         
            +
                rack (1.4.1)
         
     | 
| 
      
 66 
     | 
    
         
            +
                rack-protection (1.2.0)
         
     | 
| 
       66 
67 
     | 
    
         
             
                  rack
         
     | 
| 
       67 
68 
     | 
    
         
             
                rack-test (0.6.1)
         
     | 
| 
       68 
69 
     | 
    
         
             
                  rack (>= 1.0)
         
     | 
| 
       69 
70 
     | 
    
         
             
                rake (0.9.2.2)
         
     | 
| 
       70 
     | 
    
         
            -
                rcov (0. 
     | 
| 
       71 
     | 
    
         
            -
                rcov (0.9.11-java)
         
     | 
| 
      
 71 
     | 
    
         
            +
                rcov (1.0.0)
         
     | 
| 
       72 
72 
     | 
    
         
             
                redis (2.2.2)
         
     | 
| 
       73 
73 
     | 
    
         
             
                redis-namespace (1.0.3)
         
     | 
| 
       74 
74 
     | 
    
         
             
                  redis (< 3.0.0)
         
     | 
| 
         @@ -89,9 +89,13 @@ GEM 
     | 
|
| 
       89 
89 
     | 
    
         
             
                rspec-mocks (2.6.0)
         
     | 
| 
       90 
90 
     | 
    
         
             
                ruby-hmac (0.4.0)
         
     | 
| 
       91 
91 
     | 
    
         
             
                rubyzip (0.9.5)
         
     | 
| 
       92 
     | 
    
         
            -
                 
     | 
| 
       93 
     | 
    
         
            -
                   
     | 
| 
       94 
     | 
    
         
            -
                   
     | 
| 
      
 92 
     | 
    
         
            +
                simplecov (0.5.4)
         
     | 
| 
      
 93 
     | 
    
         
            +
                  multi_json (~> 1.0.3)
         
     | 
| 
      
 94 
     | 
    
         
            +
                  simplecov-html (~> 0.5.3)
         
     | 
| 
      
 95 
     | 
    
         
            +
                simplecov-html (0.5.3)
         
     | 
| 
      
 96 
     | 
    
         
            +
                sinatra (1.3.2)
         
     | 
| 
      
 97 
     | 
    
         
            +
                  rack (~> 1.3, >= 1.3.6)
         
     | 
| 
      
 98 
     | 
    
         
            +
                  rack-protection (~> 1.2)
         
     | 
| 
       95 
99 
     | 
    
         
             
                  tilt (~> 1.3, >= 1.3.3)
         
     | 
| 
       96 
100 
     | 
    
         
             
                sqlite3 (1.3.5)
         
     | 
| 
       97 
101 
     | 
    
         
             
                templater (1.0.0)
         
     | 
| 
         @@ -101,7 +105,7 @@ GEM 
     | 
|
| 
       101 
105 
     | 
    
         
             
                thor (0.14.6)
         
     | 
| 
       102 
106 
     | 
    
         
             
                tilt (1.3.3)
         
     | 
| 
       103 
107 
     | 
    
         
             
                uuidtools (2.1.2)
         
     | 
| 
       104 
     | 
    
         
            -
                vegas (0.1. 
     | 
| 
      
 108 
     | 
    
         
            +
                vegas (0.1.11)
         
     | 
| 
       105 
109 
     | 
    
         
             
                  rack (>= 1.0.0)
         
     | 
| 
       106 
110 
     | 
    
         
             
                warbler (1.3.2)
         
     | 
| 
       107 
111 
     | 
    
         
             
                  jruby-jars (>= 1.4.0)
         
     | 
| 
         @@ -128,10 +132,12 @@ DEPENDENCIES 
     | 
|
| 
       128 
132 
     | 
    
         
             
              jdbc-sqlite3 (>= 3.7.2)
         
     | 
| 
       129 
133 
     | 
    
         
             
              jruby-openssl (>= 0.7.4)
         
     | 
| 
       130 
134 
     | 
    
         
             
              rack-test (>= 0.5.3)
         
     | 
| 
       131 
     | 
    
         
            -
              rcov ( 
     | 
| 
      
 135 
     | 
    
         
            +
              rcov (~> 1.0.0)
         
     | 
| 
       132 
136 
     | 
    
         
             
              rhoconnect!
         
     | 
| 
       133 
137 
     | 
    
         
             
              rspec (~> 2.6.0)
         
     | 
| 
      
 138 
     | 
    
         
            +
              simplecov
         
     | 
| 
       134 
139 
     | 
    
         
             
              sqlite3 (>= 1.3.3)
         
     | 
| 
       135 
140 
     | 
    
         
             
              thor (>= 0.13.6)
         
     | 
| 
       136 
141 
     | 
    
         
             
              warbler
         
     | 
| 
       137 
142 
     | 
    
         
             
              webmock (~> 1.6.4)
         
     | 
| 
      
 143 
     | 
    
         
            +
              win32-process
         
     | 
    
        data/Rakefile
    CHANGED
    
    | 
         @@ -1,8 +1,8 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            require 'rubygems'
         
     | 
| 
       2 
     | 
    
         
            -
            load 'tasks/redis.rake'
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
2 
     | 
    
         
             
            require 'bundler'
         
     | 
| 
       5 
3 
     | 
    
         
             
            Bundler.setup(:default, :development, :test)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            load 'tasks/redis.rake'
         
     | 
| 
       6 
6 
     | 
    
         
             
            load 'installer/utils/nix_installation.rake'
         
     | 
| 
       7 
7 
     | 
    
         
             
            load 'installer/utils/package_upload/repos.rake'
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
         @@ -16,7 +16,6 @@ task :spec => 'spec:spec' 
     | 
|
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
            begin
         
     | 
| 
       18 
18 
     | 
    
         
             
              require 'rspec/core/rake_task'
         
     | 
| 
       19 
     | 
    
         
            -
              require 'rcov/rcovtask'
         
     | 
| 
       20 
19 
     | 
    
         | 
| 
       21 
20 
     | 
    
         
             
              TYPES = { 
         
     | 
| 
       22 
21 
     | 
    
         
             
                :spec   => 'spec/*_spec.rb',
         
     | 
| 
         @@ -44,9 +43,11 @@ begin 
     | 
|
| 
       44 
43 
     | 
    
         
             
              RSpec::Core::RakeTask.new('spec:all') do |t|
         
     | 
| 
       45 
44 
     | 
    
         
             
                t.rspec_opts = ["-b", "-c", "-fd"]
         
     | 
| 
       46 
45 
     | 
    
         
             
                t.pattern = FileList[TYPES.values]
         
     | 
| 
       47 
     | 
    
         
            -
                 
     | 
| 
      
 46 
     | 
    
         
            +
                # FIXME: Ruby 1.9 is not supported by rcov. Please switch to simplecov
         
     | 
| 
      
 47 
     | 
    
         
            +
                unless RUBY_VERSION =~ /1.9/ || defined?(JRUBY_VERSION)
         
     | 
| 
      
 48 
     | 
    
         
            +
                  require 'rcov/rcovtask'
         
     | 
| 
       48 
49 
     | 
    
         
             
                  t.rcov = true
         
     | 
| 
       49 
     | 
    
         
            -
                  t.rcov_opts = ['--exclude', 'spec/*,gems/*,apps/*,bench/spec/*,json/*'] 
     | 
| 
      
 50 
     | 
    
         
            +
                  t.rcov_opts = ['--exclude', 'spec/*,gems/*,apps/*,bench/spec/*,json/*']
         
     | 
| 
       50 
51 
     | 
    
         
             
                end
         
     | 
| 
       51 
52 
     | 
    
         
             
              end
         
     | 
| 
       52 
53 
     | 
    
         | 
    
        data/bench/bench_runner.rb
    CHANGED
    
    | 
         @@ -18,7 +18,7 @@ begin 
     | 
|
| 
       18 
18 
     | 
    
         
             
              puts
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
       20 
20 
     | 
    
         
             
              puts "Installing rhoconnect ..."
         
     | 
| 
       21 
     | 
    
         
            -
              puts `rake install`
         
     | 
| 
      
 21 
     | 
    
         
            +
              puts `bundle exec rake install`
         
     | 
| 
       22 
22 
     | 
    
         
             
              puts
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
              Dir.chdir "bench/benchapp"  #puts Dir.pwd
         
     | 
| 
         @@ -32,7 +32,7 @@ begin 
     | 
|
| 
       32 
32 
     | 
    
         | 
| 
       33 
33 
     | 
    
         
             
              puts "Starting bench application ..."
         
     | 
| 
       34 
34 
     | 
    
         
             
              t = Thread.new do
         
     | 
| 
       35 
     | 
    
         
            -
                log = `rackup -D -P /tmp/benchapp.pid -s thin config.ru`
         
     | 
| 
      
 35 
     | 
    
         
            +
                log = `bundle exec rackup -D -P /tmp/benchapp.pid -s thin config.ru`
         
     | 
| 
       36 
36 
     | 
    
         
             
                puts log
         
     | 
| 
       37 
37 
     | 
    
         
             
              end
         
     | 
| 
       38 
38 
     | 
    
         
             
              t.join
         
     | 
    
        data/bench/benchapp/Gemfile
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            source 'http://rubygems.org'
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            gem 'rhoconnect'
         
     | 
| 
      
 3 
     | 
    
         
            +
            gem 'rhoconnect', '~> 3.1.0.beta' #FIXME: replace by '~> 3.1.0'
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            # Helps with some of the limitations of green threads, not needed in ruby 1.9.x
         
     | 
| 
       6 
6 
     | 
    
         
             
            gem 'SystemTimer', '~> 1.2.3', :platforms => :ruby_18
         
     | 
| 
         @@ -26,5 +26,4 @@ end 
     | 
|
| 
       26 
26 
     | 
    
         
             
            group :test do
         
     | 
| 
       27 
27 
     | 
    
         
             
              gem 'rack-test', '>= 0.5.3', :require => "rack/test"
         
     | 
| 
       28 
28 
     | 
    
         
             
              gem 'rspec', '~> 2.6.0'
         
     | 
| 
       29 
     | 
    
         
            -
              gem 'rcov', '>= 0.9.8'
         
     | 
| 
       30 
29 
     | 
    
         
             
            end
         
     | 
    
        data/bench/benchapp/Gemfile.lock
    CHANGED
    
    | 
         @@ -2,33 +2,20 @@ GEM 
     | 
|
| 
       2 
2 
     | 
    
         
             
              remote: http://rubygems.org/
         
     | 
| 
       3 
3 
     | 
    
         
             
              specs:
         
     | 
| 
       4 
4 
     | 
    
         
             
                SystemTimer (1.2.3)
         
     | 
| 
       5 
     | 
    
         
            -
                 
     | 
| 
       6 
     | 
    
         
            -
                daemons (1.1.4)
         
     | 
| 
       7 
     | 
    
         
            -
                dbd-jdbc (0.1.4)
         
     | 
| 
       8 
     | 
    
         
            -
                dbi (0.4.5)
         
     | 
| 
       9 
     | 
    
         
            -
                  deprecated (= 2.0.1)
         
     | 
| 
       10 
     | 
    
         
            -
                deprecated (2.0.1)
         
     | 
| 
      
 5 
     | 
    
         
            +
                daemons (1.1.6)
         
     | 
| 
       11 
6 
     | 
    
         
             
                diff-lcs (1.1.3)
         
     | 
| 
       12 
7 
     | 
    
         
             
                eventmachine (0.12.10)
         
     | 
| 
       13 
8 
     | 
    
         
             
                extlib (0.9.15)
         
     | 
| 
       14 
     | 
    
         
            -
                highline (1.6. 
     | 
| 
       15 
     | 
    
         
            -
                 
     | 
| 
       16 
     | 
    
         
            -
                jruby-jars (1.6.4)
         
     | 
| 
       17 
     | 
    
         
            -
                jruby-openssl (0.7.4)
         
     | 
| 
       18 
     | 
    
         
            -
                  bouncy-castle-java
         
     | 
| 
       19 
     | 
    
         
            -
                jruby-rack (1.0.10)
         
     | 
| 
       20 
     | 
    
         
            -
                json (1.5.4)
         
     | 
| 
       21 
     | 
    
         
            -
                json (1.5.4-java)
         
     | 
| 
      
 9 
     | 
    
         
            +
                highline (1.6.11)
         
     | 
| 
      
 10 
     | 
    
         
            +
                json (1.6.5)
         
     | 
| 
       22 
11 
     | 
    
         
             
                mime-types (1.17.2)
         
     | 
| 
       23 
     | 
    
         
            -
                multi_json (1.0. 
     | 
| 
       24 
     | 
    
         
            -
                rack (1. 
     | 
| 
       25 
     | 
    
         
            -
                rack-protection (1. 
     | 
| 
      
 12 
     | 
    
         
            +
                multi_json (1.0.4)
         
     | 
| 
      
 13 
     | 
    
         
            +
                rack (1.4.1)
         
     | 
| 
      
 14 
     | 
    
         
            +
                rack-protection (1.2.0)
         
     | 
| 
       26 
15 
     | 
    
         
             
                  rack
         
     | 
| 
       27 
16 
     | 
    
         
             
                rack-test (0.6.1)
         
     | 
| 
       28 
17 
     | 
    
         
             
                  rack (>= 1.0)
         
     | 
| 
       29 
     | 
    
         
            -
                rake (0.9.2)
         
     | 
| 
       30 
     | 
    
         
            -
                rcov (0.9.11)
         
     | 
| 
       31 
     | 
    
         
            -
                rcov (0.9.11-java)
         
     | 
| 
      
 18 
     | 
    
         
            +
                rake (0.9.2.2)
         
     | 
| 
       32 
19 
     | 
    
         
             
                redis (2.2.2)
         
     | 
| 
       33 
20 
     | 
    
         
             
                redis-namespace (1.0.3)
         
     | 
| 
       34 
21 
     | 
    
         
             
                  redis (< 3.0.0)
         
     | 
| 
         @@ -39,10 +26,11 @@ GEM 
     | 
|
| 
       39 
26 
     | 
    
         
             
                  vegas (~> 0.1.2)
         
     | 
| 
       40 
27 
     | 
    
         
             
                rest-client (1.6.7)
         
     | 
| 
       41 
28 
     | 
    
         
             
                  mime-types (>= 1.16)
         
     | 
| 
       42 
     | 
    
         
            -
                rhoconnect (3.0. 
     | 
| 
      
 29 
     | 
    
         
            +
                rhoconnect (3.1.0.beta2)
         
     | 
| 
       43 
30 
     | 
    
         
             
                  bundler (~> 1.0)
         
     | 
| 
       44 
     | 
    
         
            -
                  json (~> 1. 
     | 
| 
       45 
     | 
    
         
            -
                   
     | 
| 
      
 31 
     | 
    
         
            +
                  json (~> 1.6.0)
         
     | 
| 
      
 32 
     | 
    
         
            +
                  rack (~> 1.4.1)
         
     | 
| 
      
 33 
     | 
    
         
            +
                  rake (~> 0.9.2)
         
     | 
| 
       46 
34 
     | 
    
         
             
                  redis (>= 2.2.0)
         
     | 
| 
       47 
35 
     | 
    
         
             
                  resque (~> 1.19.0)
         
     | 
| 
       48 
36 
     | 
    
         
             
                  rest-client (~> 1.6.1)
         
     | 
| 
         @@ -58,36 +46,26 @@ GEM 
     | 
|
| 
       58 
46 
     | 
    
         
             
                rspec-expectations (2.6.0)
         
     | 
| 
       59 
47 
     | 
    
         
             
                  diff-lcs (~> 1.1.2)
         
     | 
| 
       60 
48 
     | 
    
         
             
                rspec-mocks (2.6.0)
         
     | 
| 
       61 
     | 
    
         
            -
                rubyzip (0.9. 
     | 
| 
       62 
     | 
    
         
            -
                sinatra (1.3. 
     | 
| 
       63 
     | 
    
         
            -
                  rack (>= 1.3. 
     | 
| 
       64 
     | 
    
         
            -
                  rack-protection ( 
     | 
| 
      
 49 
     | 
    
         
            +
                rubyzip (0.9.5)
         
     | 
| 
      
 50 
     | 
    
         
            +
                sinatra (1.3.2)
         
     | 
| 
      
 51 
     | 
    
         
            +
                  rack (>= 1.3.6, ~> 1.3)
         
     | 
| 
      
 52 
     | 
    
         
            +
                  rack-protection (~> 1.2)
         
     | 
| 
       65 
53 
     | 
    
         
             
                  tilt (>= 1.3.3, ~> 1.3)
         
     | 
| 
       66 
     | 
    
         
            -
                sqlite3 (1.3. 
     | 
| 
      
 54 
     | 
    
         
            +
                sqlite3 (1.3.5)
         
     | 
| 
       67 
55 
     | 
    
         
             
                templater (1.0.0)
         
     | 
| 
       68 
56 
     | 
    
         
             
                  diff-lcs (>= 1.1.2)
         
     | 
| 
       69 
57 
     | 
    
         
             
                  extlib (>= 0.9.5)
         
     | 
| 
       70 
58 
     | 
    
         
             
                  highline (>= 1.4.0)
         
     | 
| 
       71 
     | 
    
         
            -
                thin (1. 
     | 
| 
      
 59 
     | 
    
         
            +
                thin (1.3.1)
         
     | 
| 
       72 
60 
     | 
    
         
             
                  daemons (>= 1.0.9)
         
     | 
| 
       73 
61 
     | 
    
         
             
                  eventmachine (>= 0.12.6)
         
     | 
| 
       74 
62 
     | 
    
         
             
                  rack (>= 1.0.0)
         
     | 
| 
       75 
63 
     | 
    
         
             
                tilt (1.3.3)
         
     | 
| 
       76 
     | 
    
         
            -
                trinidad (1.2.3)
         
     | 
| 
       77 
     | 
    
         
            -
                  jruby-rack (>= 1.0.9)
         
     | 
| 
       78 
     | 
    
         
            -
                  trinidad_jars (>= 1.0.1)
         
     | 
| 
       79 
     | 
    
         
            -
                trinidad_jars (1.0.1)
         
     | 
| 
       80 
64 
     | 
    
         
             
                uuidtools (2.1.2)
         
     | 
| 
       81 
     | 
    
         
            -
                vegas (0.1. 
     | 
| 
      
 65 
     | 
    
         
            +
                vegas (0.1.11)
         
     | 
| 
       82 
66 
     | 
    
         
             
                  rack (>= 1.0.0)
         
     | 
| 
       83 
     | 
    
         
            -
                warbler (1.3.2)
         
     | 
| 
       84 
     | 
    
         
            -
                  jruby-jars (>= 1.4.0)
         
     | 
| 
       85 
     | 
    
         
            -
                  jruby-rack (>= 1.0.0)
         
     | 
| 
       86 
     | 
    
         
            -
                  rake (>= 0.8.7)
         
     | 
| 
       87 
     | 
    
         
            -
                  rubyzip (>= 0.9.4)
         
     | 
| 
       88 
67 
     | 
    
         | 
| 
       89 
68 
     | 
    
         
             
            PLATFORMS
         
     | 
| 
       90 
     | 
    
         
            -
              java
         
     | 
| 
       91 
69 
     | 
    
         
             
              ruby
         
     | 
| 
       92 
70 
     | 
    
         | 
| 
       93 
71 
     | 
    
         
             
            DEPENDENCIES
         
     | 
| 
         @@ -97,8 +75,7 @@ DEPENDENCIES 
     | 
|
| 
       97 
75 
     | 
    
         
             
              jdbc-sqlite3 (>= 3.7.2)
         
     | 
| 
       98 
76 
     | 
    
         
             
              jruby-openssl (>= 0.7.4)
         
     | 
| 
       99 
77 
     | 
    
         
             
              rack-test (>= 0.5.3)
         
     | 
| 
       100 
     | 
    
         
            -
               
     | 
| 
       101 
     | 
    
         
            -
              rhoconnect
         
     | 
| 
      
 78 
     | 
    
         
            +
              rhoconnect (~> 3.1.0.beta)
         
     | 
| 
       102 
79 
     | 
    
         
             
              rspec (~> 2.6.0)
         
     | 
| 
       103 
80 
     | 
    
         
             
              sqlite3 (>= 1.3.3)
         
     | 
| 
       104 
81 
     | 
    
         
             
              thin
         
     | 
    
        data/bench/blobapp/Gemfile
    CHANGED
    
    
    
        data/bench/blobapp/Gemfile.lock
    CHANGED
    
    | 
         @@ -1,54 +1,58 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            PATH
         
     | 
| 
      
 2 
     | 
    
         
            +
              remote: ../../
         
     | 
| 
      
 3 
     | 
    
         
            +
              specs:
         
     | 
| 
      
 4 
     | 
    
         
            +
                rhoconnect (3.1.0.beta2)
         
     | 
| 
      
 5 
     | 
    
         
            +
                  bundler (~> 1.0)
         
     | 
| 
      
 6 
     | 
    
         
            +
                  json (~> 1.6.0)
         
     | 
| 
      
 7 
     | 
    
         
            +
                  rack (~> 1.4.1)
         
     | 
| 
      
 8 
     | 
    
         
            +
                  rake (~> 0.9.2)
         
     | 
| 
      
 9 
     | 
    
         
            +
                  redis (>= 2.2.0)
         
     | 
| 
      
 10 
     | 
    
         
            +
                  resque (~> 1.19.0)
         
     | 
| 
      
 11 
     | 
    
         
            +
                  rest-client (~> 1.6.1)
         
     | 
| 
      
 12 
     | 
    
         
            +
                  rubyzip (~> 0.9.4)
         
     | 
| 
      
 13 
     | 
    
         
            +
                  sinatra (~> 1.3)
         
     | 
| 
      
 14 
     | 
    
         
            +
                  templater (~> 1.0.0)
         
     | 
| 
      
 15 
     | 
    
         
            +
                  uuidtools (>= 2.1.1)
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
       1 
17 
     | 
    
         
             
            GEM
         
     | 
| 
       2 
18 
     | 
    
         
             
              remote: http://rubygems.org/
         
     | 
| 
       3 
19 
     | 
    
         
             
              specs:
         
     | 
| 
       4 
20 
     | 
    
         
             
                SystemTimer (1.2.3)
         
     | 
| 
       5 
21 
     | 
    
         
             
                bouncy-castle-java (1.5.0146.1)
         
     | 
| 
       6 
     | 
    
         
            -
                daemons (1.1. 
     | 
| 
      
 22 
     | 
    
         
            +
                daemons (1.1.6)
         
     | 
| 
       7 
23 
     | 
    
         
             
                dbd-jdbc (0.1.4)
         
     | 
| 
       8 
24 
     | 
    
         
             
                dbi (0.4.5)
         
     | 
| 
       9 
25 
     | 
    
         
             
                  deprecated (= 2.0.1)
         
     | 
| 
       10 
26 
     | 
    
         
             
                deprecated (2.0.1)
         
     | 
| 
       11 
     | 
    
         
            -
                diff-lcs (1.1. 
     | 
| 
      
 27 
     | 
    
         
            +
                diff-lcs (1.1.3)
         
     | 
| 
       12 
28 
     | 
    
         
             
                eventmachine (0.12.10)
         
     | 
| 
       13 
29 
     | 
    
         
             
                extlib (0.9.15)
         
     | 
| 
       14 
     | 
    
         
            -
                highline (1.6. 
     | 
| 
      
 30 
     | 
    
         
            +
                highline (1.6.11)
         
     | 
| 
       15 
31 
     | 
    
         
             
                jdbc-sqlite3 (3.7.2)
         
     | 
| 
       16 
     | 
    
         
            -
                jruby-jars (1.6. 
     | 
| 
       17 
     | 
    
         
            -
                jruby-openssl (0.7. 
     | 
| 
       18 
     | 
    
         
            -
                  bouncy-castle-java
         
     | 
| 
       19 
     | 
    
         
            -
                jruby-rack (1. 
     | 
| 
       20 
     | 
    
         
            -
                json (1.5 
     | 
| 
       21 
     | 
    
         
            -
                json (1.5 
     | 
| 
       22 
     | 
    
         
            -
                mime-types (1. 
     | 
| 
       23 
     | 
    
         
            -
                 
     | 
| 
      
 32 
     | 
    
         
            +
                jruby-jars (1.6.5.1)
         
     | 
| 
      
 33 
     | 
    
         
            +
                jruby-openssl (0.7.5)
         
     | 
| 
      
 34 
     | 
    
         
            +
                  bouncy-castle-java (>= 1.5.0146.1)
         
     | 
| 
      
 35 
     | 
    
         
            +
                jruby-rack (1.1.3)
         
     | 
| 
      
 36 
     | 
    
         
            +
                json (1.6.5)
         
     | 
| 
      
 37 
     | 
    
         
            +
                json (1.6.5-java)
         
     | 
| 
      
 38 
     | 
    
         
            +
                mime-types (1.17.2)
         
     | 
| 
      
 39 
     | 
    
         
            +
                multi_json (1.0.4)
         
     | 
| 
      
 40 
     | 
    
         
            +
                rack (1.4.1)
         
     | 
| 
      
 41 
     | 
    
         
            +
                rack-protection (1.2.0)
         
     | 
| 
      
 42 
     | 
    
         
            +
                  rack
         
     | 
| 
       24 
43 
     | 
    
         
             
                rack-test (0.6.1)
         
     | 
| 
       25 
44 
     | 
    
         
             
                  rack (>= 1.0)
         
     | 
| 
       26 
     | 
    
         
            -
                rake (0.9.2)
         
     | 
| 
       27 
     | 
    
         
            -
                rcov (0.9.10)
         
     | 
| 
       28 
     | 
    
         
            -
                rcov (0.9.10-java)
         
     | 
| 
      
 45 
     | 
    
         
            +
                rake (0.9.2.2)
         
     | 
| 
       29 
46 
     | 
    
         
             
                redis (2.2.2)
         
     | 
| 
       30 
47 
     | 
    
         
             
                redis-namespace (1.0.3)
         
     | 
| 
       31 
48 
     | 
    
         
             
                  redis (< 3.0.0)
         
     | 
| 
       32 
     | 
    
         
            -
                resque (1. 
     | 
| 
       33 
     | 
    
         
            -
                   
     | 
| 
      
 49 
     | 
    
         
            +
                resque (1.19.0)
         
     | 
| 
      
 50 
     | 
    
         
            +
                  multi_json (~> 1.0)
         
     | 
| 
       34 
51 
     | 
    
         
             
                  redis-namespace (~> 1.0.2)
         
     | 
| 
       35 
52 
     | 
    
         
             
                  sinatra (>= 0.9.2)
         
     | 
| 
       36 
53 
     | 
    
         
             
                  vegas (~> 0.1.2)
         
     | 
| 
       37 
54 
     | 
    
         
             
                rest-client (1.6.7)
         
     | 
| 
       38 
55 
     | 
    
         
             
                  mime-types (>= 1.16)
         
     | 
| 
       39 
     | 
    
         
            -
                rhoconnect (3.0.0)
         
     | 
| 
       40 
     | 
    
         
            -
                  SystemTimer (~> 1.2.3)
         
     | 
| 
       41 
     | 
    
         
            -
                  bundler (~> 1.0)
         
     | 
| 
       42 
     | 
    
         
            -
                  json (~> 1.5.0)
         
     | 
| 
       43 
     | 
    
         
            -
                  rake (= 0.9.2)
         
     | 
| 
       44 
     | 
    
         
            -
                  redis (>= 2.2.0)
         
     | 
| 
       45 
     | 
    
         
            -
                  resque (~> 1.17.0)
         
     | 
| 
       46 
     | 
    
         
            -
                  rest-client (~> 1.6.1)
         
     | 
| 
       47 
     | 
    
         
            -
                  rubyzip (~> 0.9.4)
         
     | 
| 
       48 
     | 
    
         
            -
                  sinatra (~> 1.2)
         
     | 
| 
       49 
     | 
    
         
            -
                  sqlite3 (>= 1.3.3)
         
     | 
| 
       50 
     | 
    
         
            -
                  templater (~> 1.0.0)
         
     | 
| 
       51 
     | 
    
         
            -
                  uuidtools (>= 2.1.1)
         
     | 
| 
       52 
56 
     | 
    
         
             
                rspec (2.6.0)
         
     | 
| 
       53 
57 
     | 
    
         
             
                  rspec-core (~> 2.6.0)
         
     | 
| 
       54 
58 
     | 
    
         
             
                  rspec-expectations (~> 2.6.0)
         
     | 
| 
         @@ -57,26 +61,27 @@ GEM 
     | 
|
| 
       57 
61 
     | 
    
         
             
                rspec-expectations (2.6.0)
         
     | 
| 
       58 
62 
     | 
    
         
             
                  diff-lcs (~> 1.1.2)
         
     | 
| 
       59 
63 
     | 
    
         
             
                rspec-mocks (2.6.0)
         
     | 
| 
       60 
     | 
    
         
            -
                rubyzip (0.9. 
     | 
| 
       61 
     | 
    
         
            -
                sinatra (1.2 
     | 
| 
       62 
     | 
    
         
            -
                  rack (~> 1.1)
         
     | 
| 
       63 
     | 
    
         
            -
                   
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
      
 64 
     | 
    
         
            +
                rubyzip (0.9.5)
         
     | 
| 
      
 65 
     | 
    
         
            +
                sinatra (1.3.2)
         
     | 
| 
      
 66 
     | 
    
         
            +
                  rack (~> 1.3, >= 1.3.6)
         
     | 
| 
      
 67 
     | 
    
         
            +
                  rack-protection (~> 1.2)
         
     | 
| 
      
 68 
     | 
    
         
            +
                  tilt (~> 1.3, >= 1.3.3)
         
     | 
| 
      
 69 
     | 
    
         
            +
                sqlite3 (1.3.5)
         
     | 
| 
       65 
70 
     | 
    
         
             
                templater (1.0.0)
         
     | 
| 
       66 
71 
     | 
    
         
             
                  diff-lcs (>= 1.1.2)
         
     | 
| 
       67 
72 
     | 
    
         
             
                  extlib (>= 0.9.5)
         
     | 
| 
       68 
73 
     | 
    
         
             
                  highline (>= 1.4.0)
         
     | 
| 
       69 
     | 
    
         
            -
                thin (1. 
     | 
| 
      
 74 
     | 
    
         
            +
                thin (1.3.1)
         
     | 
| 
       70 
75 
     | 
    
         
             
                  daemons (>= 1.0.9)
         
     | 
| 
       71 
76 
     | 
    
         
             
                  eventmachine (>= 0.12.6)
         
     | 
| 
       72 
77 
     | 
    
         
             
                  rack (>= 1.0.0)
         
     | 
| 
       73 
78 
     | 
    
         
             
                tilt (1.3.3)
         
     | 
| 
       74 
     | 
    
         
            -
                trinidad (1.2 
     | 
| 
       75 
     | 
    
         
            -
                  jruby-rack (>= 1. 
     | 
| 
      
 79 
     | 
    
         
            +
                trinidad (1.3.2)
         
     | 
| 
      
 80 
     | 
    
         
            +
                  jruby-rack (>= 1.1.1)
         
     | 
| 
       76 
81 
     | 
    
         
             
                  trinidad_jars (>= 1.0.1)
         
     | 
| 
       77 
     | 
    
         
            -
                trinidad_jars (1.0. 
     | 
| 
      
 82 
     | 
    
         
            +
                trinidad_jars (1.0.2)
         
     | 
| 
       78 
83 
     | 
    
         
             
                uuidtools (2.1.2)
         
     | 
| 
       79 
     | 
    
         
            -
                vegas (0.1. 
     | 
| 
      
 84 
     | 
    
         
            +
                vegas (0.1.11)
         
     | 
| 
       80 
85 
     | 
    
         
             
                  rack (>= 1.0.0)
         
     | 
| 
       81 
86 
     | 
    
         
             
                warbler (1.3.2)
         
     | 
| 
       82 
87 
     | 
    
         
             
                  jruby-jars (>= 1.4.0)
         
     | 
| 
         @@ -89,15 +94,15 @@ PLATFORMS 
     | 
|
| 
       89 
94 
     | 
    
         
             
              ruby
         
     | 
| 
       90 
95 
     | 
    
         | 
| 
       91 
96 
     | 
    
         
             
            DEPENDENCIES
         
     | 
| 
       92 
     | 
    
         
            -
               
     | 
| 
       93 
     | 
    
         
            -
               
     | 
| 
       94 
     | 
    
         
            -
               
     | 
| 
       95 
     | 
    
         
            -
               
     | 
| 
      
 97 
     | 
    
         
            +
              SystemTimer (~> 1.2.3)
         
     | 
| 
      
 98 
     | 
    
         
            +
              dbd-jdbc (>= 0.1.4)
         
     | 
| 
      
 99 
     | 
    
         
            +
              dbi (>= 0.4.5)
         
     | 
| 
      
 100 
     | 
    
         
            +
              jdbc-sqlite3 (>= 3.7.2)
         
     | 
| 
      
 101 
     | 
    
         
            +
              jruby-openssl (>= 0.7.4)
         
     | 
| 
       96 
102 
     | 
    
         
             
              rack-test (>= 0.5.3)
         
     | 
| 
       97 
     | 
    
         
            -
               
     | 
| 
       98 
     | 
    
         
            -
              rhoconnect (>= 3.0.0)
         
     | 
| 
      
 103 
     | 
    
         
            +
              rhoconnect!
         
     | 
| 
       99 
104 
     | 
    
         
             
              rspec (~> 2.6.0)
         
     | 
| 
       100 
     | 
    
         
            -
              sqlite3
         
     | 
| 
       101 
     | 
    
         
            -
              thin 
     | 
| 
      
 105 
     | 
    
         
            +
              sqlite3 (>= 1.3.3)
         
     | 
| 
      
 106 
     | 
    
         
            +
              thin
         
     | 
| 
       102 
107 
     | 
    
         
             
              trinidad
         
     | 
| 
       103 
108 
     | 
    
         
             
              warbler
         
     | 
    
        data/bench/lib/bench/logging.rb
    CHANGED
    
    
    
        data/bench/lib/bench/utils.rb
    CHANGED
    
    | 
         @@ -99,8 +99,8 @@ module Bench 
     | 
|
| 
       99 
99 
     | 
    
         
             
                  puts "Starting up the Rhoconnect Application at #{options[:server_url]}"
         
     | 
| 
       100 
100 
     | 
    
         
             
                  current_dir = Dir.pwd
         
     | 
| 
       101 
101 
     | 
    
         
             
                  Dir.chdir(path)
         
     | 
| 
       102 
     | 
    
         
            -
                  exit_code = system("rake rhoconnect:startbg")
         
     | 
| 
       103 
     | 
    
         
            -
                  sleep  
     | 
| 
      
 102 
     | 
    
         
            +
                  exit_code = system("bundle exec rake rhoconnect:startbg")
         
     | 
| 
      
 103 
     | 
    
         
            +
                  sleep 2
         
     | 
| 
       104 
104 
     | 
    
         
             
                  Dir.chdir(current_dir)
         
     | 
| 
       105 
105 
     | 
    
         | 
| 
       106 
106 
     | 
    
         
             
                  options[:app_started] = check_rc_service(options[:server_url])
         
     | 
| 
         @@ -117,7 +117,7 @@ module Bench 
     | 
|
| 
       117 
117 
     | 
    
         
             
                  puts "Stopping the Rhoconnect Application at #{options[:server_url]}"
         
     | 
| 
       118 
118 
     | 
    
         
             
                  current_dir = Dir.pwd
         
     | 
| 
       119 
119 
     | 
    
         
             
                  Dir.chdir(path)
         
     | 
| 
       120 
     | 
    
         
            -
                  system("rake rhoconnect:stop")
         
     | 
| 
      
 120 
     | 
    
         
            +
                  system("bundle exec rake rhoconnect:stop")
         
     | 
| 
       121 
121 
     | 
    
         
             
                  sleep 1
         
     | 
| 
       122 
122 
     | 
    
         
             
                  Dir.chdir(current_dir)
         
     | 
| 
       123 
123 
     | 
    
         
             
                end
         
     | 
    
        data/bench/run_bench.sh
    CHANGED
    
    | 
         @@ -23,18 +23,19 @@ fi 
     | 
|
| 
       23 
23 
     | 
    
         
             
            cd '../'
         
     | 
| 
       24 
24 
     | 
    
         
             
            RHOCONNECT_HOME=`pwd`
         
     | 
| 
       25 
25 
     | 
    
         | 
| 
      
 26 
     | 
    
         
            +
            # echo "RhoConnect code already up-to-date." | tee -a /tmp/bench.log
         
     | 
| 
       26 
27 
     | 
    
         
             
            echo "Pull rhoconnect code from remote repository ..." | tee -a /tmp/bench.log
         
     | 
| 
       27 
28 
     | 
    
         
             
            git reset --hard HEAD | tee -a /tmp/bench.log 2>&1
         
     | 
| 
       28 
29 
     | 
    
         
             
            git pull origin master | tee -a /tmp/bench.log 2>&1
         
     | 
| 
       29 
30 
     | 
    
         
             
            echo '' | tee -a /tmp/bench.log
         
     | 
| 
       30 
31 
     | 
    
         | 
| 
       31 
     | 
    
         
            -
            # Run benchmarks for ruby 1.8.7, ree, and 1.9. 
     | 
| 
      
 32 
     | 
    
         
            +
            # Run benchmarks for ruby 1.8.7, ree, 1.9.2, and 1.9.3
         
     | 
| 
       32 
33 
     | 
    
         
             
            #  TODO: 'jruby'
         
     | 
| 
       33 
     | 
    
         
            -
            for ruby in '1.9.2' '1.8.7' 'ree' 
     | 
| 
      
 34 
     | 
    
         
            +
            for ruby in '1.9.3' '1.9.2' '1.8.7' 'ree'
         
     | 
| 
       34 
35 
     | 
    
         
             
            do
         
     | 
| 
       35 
36 
     | 
    
         
             
              rvm use $ruby > /dev/null
         
     | 
| 
       36 
37 
     | 
    
         
             
              ruby_version=$(rvm current)
         
     | 
| 
       37 
     | 
    
         
            -
              echo "Running benchmarks  
     | 
| 
      
 38 
     | 
    
         
            +
              echo "Running benchmarks for $ruby_version ..." | tee -a /tmp/bench.log
         
     | 
| 
       38 
39 
     | 
    
         
             
              echo "" | tee -a /tmp/bench.log
         
     | 
| 
       39 
40 
     | 
    
         
             
              ruby ./bench/bench_runner.rb $RHOCONNECT_HOME 2>&1 | tee -a /tmp/bench.log
         
     | 
| 
       40 
41 
     | 
    
         
             
            done
         
     | 
| 
         @@ -2,6 +2,12 @@ require 'rubygems' 
     | 
|
| 
       2 
2 
     | 
    
         
             
            require 'rspec'
         
     | 
| 
       3 
3 
     | 
    
         
             
            $:.unshift File.join(File.dirname(__FILE__),'..')
         
     | 
| 
       4 
4 
     | 
    
         
             
            $:.unshift File.join(File.dirname(__FILE__),'..','lib')
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            if RUBY_VERSION =~ /1.9/ || defined?(JRUBY_VERSION)
         
     | 
| 
      
 7 
     | 
    
         
            +
              require 'simplecov'
         
     | 
| 
      
 8 
     | 
    
         
            +
              SimpleCov.start
         
     | 
| 
      
 9 
     | 
    
         
            +
            end
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       5 
11 
     | 
    
         
             
            require 'bench/logging'
         
     | 
| 
       6 
12 
     | 
    
         
             
            require 'bench/mock_client'
         
     | 
| 
       7 
13 
     | 
    
         
             
            require 'bench/utils'
         
     | 
    
        data/doc/benchmarks-running.txt
    CHANGED
    
    | 
         @@ -72,6 +72,7 @@ By default, all results are displayed in the console during the test. However, i 
     | 
|
| 
       72 
72 
     | 
    
         
             
            ### Generate EXCEL spreadsheet
         
     | 
| 
       73 
73 
     | 
    
         
             
            To enable the automatic generation of the EXCEL spreadsheets from the test results, please install the `spreadsheet` gem by using:
         
     | 
| 
       74 
74 
     | 
    
         | 
| 
      
 75 
     | 
    
         
            +
            	:::term
         
     | 
| 
       75 
76 
     | 
    
         
             
            	$ [sudo] gem install spreadsheet
         
     | 
| 
       76 
77 
     | 
    
         | 
| 
       77 
78 
     | 
    
         
             
            You can read more about the `spreadsheet` gem [here](http://rubygems.org/gems/spreadsheet).
         
     | 
| 
         @@ -130,6 +131,7 @@ You can install those gems using the `[sudo] gem install <gemname>` command. 
     | 
|
| 
       130 
131 
     | 
    
         | 
| 
       131 
132 
     | 
    
         
             
            Once all the pre-requisites are met, you can run the distributed Rhoconnect Benchmark test with the following command:
         
     | 
| 
       132 
133 
     | 
    
         | 
| 
      
 134 
     | 
    
         
            +
            	:::term
         
     | 
| 
       133 
135 
     | 
    
         
             
            	$ rhoconnect-benchmark -u `server_url` -D `path_to_aws_settings_file`
         
     | 
| 
       134 
136 
     | 
    
         | 
| 
       135 
137 
     | 
    
         | 
    
        data/doc/client.txt
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Using RhoConnect with the RhoConnect Client
         
     | 
| 
       2 
2 
     | 
    
         
             
            ===
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
       4 
     | 
    
         
            -
            Rhoconnect Client is a library to add sync data capability to your applications. Application code can be ObjectiveC,  
     | 
| 
      
 4 
     | 
    
         
            +
            Rhoconnect Client is a library to add sync data capability to your applications. Application code can be ObjectiveC, JavaScript or any other supported language. Using this library you can easily enable synchronized data between your smartphone application and a RhoConnect server.
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            ## Objective-C Client
         
     | 
| 
       7 
7 
     | 
    
         |