rasper_client 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,7 +51,7 @@ module RasperClient
51
51
  end
52
52
 
53
53
  def encode_options(options)
54
- options[:content] = Base64.encode64(options[:content])
54
+ options[:content] = Base64.encode64(options[:content]) if options[:content]
55
55
  if options[:images]
56
56
  options[:images].each do |image|
57
57
  image[:content] = Base64.encode64(image[:content])
@@ -2,6 +2,8 @@ require 'sinatra/base'
2
2
  require 'json'
3
3
  require 'base64'
4
4
 
5
+ Rack::Utils.key_space_limit = 262144
6
+
5
7
  module RasperClient
6
8
  class FakeServer
7
9
  class << self
@@ -1,3 +1,3 @@
1
1
  module RasperClient
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rasper_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-23 00:00:00.000000000 Z
12
+ date: 2013-07-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -84,9 +84,9 @@ extra_rdoc_files: []
84
84
  files:
85
85
  - lib/rasper_client.rb
86
86
  - lib/rasper_client/fake_server.rb
87
- - lib/rasper_client/client.rb
88
- - lib/rasper_client/version.rb
89
87
  - lib/rasper_client/errors.rb
88
+ - lib/rasper_client/version.rb
89
+ - lib/rasper_client/client.rb
90
90
  - README.rst
91
91
  - LICENSE.txt
92
92
  - Rakefile