Sha256: 57957bbb7aa419ed162767b99fbc10dd8117e0f7ac07354f41b57141b1724e65

Contents?: true

Size: 563 Bytes

Versions: 8

Compression:

Stored size: 563 Bytes

Contents

require 'rack/test'
require 'rspec'

require File.join(File.dirname(__FILE__),'..','spec_helper')
require File.join(File.dirname(__FILE__),'..','..','lib','rhoconnect.rb')
require File.join(File.dirname(__FILE__),'..','..','lib','rhoconnect','server.rb')

def compress(path)
  path.sub!(%r[/$],'')
  archive = File.join(path,File.basename(path))+'.zip'
  FileUtils.rm archive, :force=>true
  Zip::ZipFile.open(archive, 'w') do |zipfile|
    Dir["#{path}/**/**"].reject{|f|f==archive}.each do |file|
      zipfile.add(file.sub(path+'/',''),file)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rhoconnect-4.0.4 spec/api/api_helper.rb
rhoconnect-4.0.3 spec/api/api_helper.rb
rhoconnect-4.0.2 spec/api/api_helper.rb
rhoconnect-4.0.1 spec/api/api_helper.rb
rhoconnect-4.0.0 spec/api/api_helper.rb
rhoconnect-4.0.0.beta.24 spec/api/api_helper.rb
rhoconnect-4.0.0.beta.10 spec/api/api_helper.rb
rhoconnect-4.0.0.beta.12 spec/api/api_helper.rb