mailarchiva 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/mailarchiva/soap_client.rb +3 -3
- data/mailarchiva.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c39f5da7f5bc73ce78fcd3fc31598d074ef32f3
|
4
|
+
data.tar.gz: 128c43d7abc8b2d4061c22caf80f5c3568c71e9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69cf0fe57d7a7de2268bc489026d7a5c88d23168dac32414cdaefda1d0fdc8b04e88054fd7094484060e9ac44e9158ab7a8d887948b9f59e1acb8d5b3dad3a73
|
7
|
+
data.tar.gz: 953e64d3718efadb10176bd3599edd8044ce0ef094348fa474b95736f7578ba22ef506cacd900af97d76fa8fdb0835d7b36aad2b085624234d19c8b8d46bd7e4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -26,9 +26,9 @@ module Mailarchiva
|
|
26
26
|
|
27
27
|
def search_results_from_response(response)
|
28
28
|
return [] if search_result_size == 0
|
29
|
-
search_results_response = soap_client.call(:get_search_results, message: { blob_category: 'email', start:
|
30
|
-
search_results = search_results_response.body[:get_search_results_response][:return]
|
31
|
-
search_results.
|
29
|
+
search_results_response = soap_client.call(:get_search_results, message: { blob_category: 'email', start: 0, end: search_result_size })
|
30
|
+
search_results = [ search_results_response.body[:get_search_results_response][:return] ].flatten.compact
|
31
|
+
search_results.map{|field_values| Message.new(field_values)}
|
32
32
|
end
|
33
33
|
|
34
34
|
def search_result_size
|
data/mailarchiva.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: mailarchiva 0.0.
|
5
|
+
# stub: mailarchiva 0.0.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "mailarchiva"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|