lesspainful 0.10.4 → 0.10.5
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/Gemfile.lock +1 -1
- data/lib/lesspainful/cli.rb +3 -2
- data/lib/lesspainful/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/lib/lesspainful/cli.rb
CHANGED
|
@@ -152,7 +152,7 @@ module LessPainful
|
|
|
152
152
|
if pretty and JSON.respond_to?(:pretty_generate)
|
|
153
153
|
puts JSON.pretty_generate(json)
|
|
154
154
|
else
|
|
155
|
-
puts json
|
|
155
|
+
puts json.to_json
|
|
156
156
|
end
|
|
157
157
|
end
|
|
158
158
|
|
|
@@ -408,7 +408,8 @@ module LessPainful
|
|
|
408
408
|
def http_post(address, args, &block)
|
|
409
409
|
if block_given?
|
|
410
410
|
response = RestClient::Request.execute(:method => :post, :url => "#{host}/#{address}", :payload => args,
|
|
411
|
-
|
|
411
|
+
:timeout => 90000000,
|
|
412
|
+
:open_timeout => 90000000,
|
|
412
413
|
:headers => {:content_type => "multipart/form-data"}) do |response, request, result, &other_block|
|
|
413
414
|
block.call(response, request, result, &other_block)
|
|
414
415
|
end
|
data/lib/lesspainful/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lesspainful
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.5
|
|
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-03-
|
|
12
|
+
date: 2013-03-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: thor
|