nexaas-async-collector 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/nexaas/async/collector/persist.rb +2 -1
- data/lib/nexaas/async/collector/result.rb +1 -1
- data/lib/nexaas/async/collector/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6f7dddb4c3f1de985620fc046e55ad5abe09d4d
|
4
|
+
data.tar.gz: 4acb3b3d95a33a71139362f9b9b325e1c068e0be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 706fe8b5a088ad6d737dbc1016c718ab4ae6368a772c5a7f728a4b19bba84f4f70960d457dfbd579bef90a0b0247cacfba88cb6c9bc73b1fc29c63296eb68cd7
|
7
|
+
data.tar.gz: fed0df22ab89639ee90ca666bffa506f2395be4c5cf7dc7b99d4d00a44ab05953465d2749e3ab1ed07b9dc7fa6257873f8c31a1e2d83270464cb6f3a2cdea31c
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
Agnostic collector and generator of async content for Rails apps. Used in production in a few [Nexaas](www.nexaas.com) systems.
|
9
9
|
|
10
|
-
This gems is compatible with Ruby 2.3+ and Rails 3.2+.
|
10
|
+
This gems is compatible with Ruby 2.3+ (we do not ensure it works in previous versions) and Rails 3.2+.
|
11
11
|
|
12
12
|
## Prerequisites
|
13
13
|
The prerequisites of this project are:
|
@@ -14,11 +14,12 @@ module Nexaas
|
|
14
14
|
def content_in_json(opts)
|
15
15
|
{
|
16
16
|
'scope_id' => opts[:scope_id],
|
17
|
-
'content' => opts[:content],
|
17
|
+
'content' => (opts[:content] ? Base64.encode64(opts[:content].to_s) : nil),
|
18
18
|
'file' => opts[:file]
|
19
19
|
}.to_json
|
20
20
|
end
|
21
21
|
|
22
|
+
|
22
23
|
def storage
|
23
24
|
InMemoryStorage.new
|
24
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexaas-async-collector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo Hertz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project:
|
178
|
-
rubygems_version: 2.
|
178
|
+
rubygems_version: 2.6.11
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: Collect and generate async content.
|