itrp-export-monitor 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +13 -12
- data/README.md +1 -1
- data/lib/itrp/export/monitor/mail.rb +2 -2
- data/lib/itrp/export/monitor/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzViN2RmNDJjN2IyZTY0MDU5YmU0OTk4ZWFjNDk3YmFkZTA3ODUwNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTQ1NjFiZTYyNGRlMDFiNTBkNjhmMzRhMDYxMzk0NTViMzVhODM3Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmMwNzE0ZDlkZjhkYjQ4NjIyNzFiYTg4ZGM5YTE3YWM2YmJjY2RlNWQ2NDM0
|
10
|
+
NDY2ZDYwMjQxYTE5OTg3ZTYzNDVmYzM5YmFlZDc3MGZiMDAxM2FlOGY4MWNh
|
11
|
+
YTc3Zjg1Y2Y5ZWE2NWQ2MWQ3NjcwZGY5ZTg0YjM5MzAzNTliY2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTViMzBhMGVmOGU4NTU1YWVmMTFhMjMwMjNiOGRmZDIyODBiYmEzNDU1ZDg3
|
14
|
+
ODNiODFiZmZhMTY4ZGQ2NGEwM2UwODExNTZhZWQ5ODBmM2JkMGI3MTlmMmU0
|
15
|
+
MGIxNDVlMmMxMzJkNTVkYTMwYzVhNTE4MWJlOGZlOTFkMWE4YWY=
|
data/Gemfile.lock
CHANGED
@@ -1,41 +1,42 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
itrp-export-monitor (1.0.
|
4
|
+
itrp-export-monitor (1.0.6)
|
5
5
|
activesupport
|
6
6
|
clacks (>= 1.0.7)
|
7
7
|
gem_config
|
8
8
|
i18n
|
9
9
|
itrp-client (>= 1.0.7)
|
10
|
+
mime-types (= 2.6.2)
|
10
11
|
rubyzip (>= 1.1.0)
|
11
12
|
|
12
13
|
GEM
|
13
14
|
remote: https://rubygems.org/
|
14
15
|
specs:
|
15
|
-
activesupport (4.1
|
16
|
-
i18n (~> 0.
|
16
|
+
activesupport (4.2.5.1)
|
17
|
+
i18n (~> 0.7)
|
17
18
|
json (~> 1.7, >= 1.7.7)
|
18
19
|
minitest (~> 5.1)
|
19
|
-
thread_safe (~> 0.
|
20
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
20
21
|
tzinfo (~> 1.1)
|
21
22
|
addressable (2.3.5)
|
22
|
-
clacks (1.0.
|
23
|
+
clacks (1.0.8)
|
23
24
|
mail
|
24
25
|
crack (0.4.1)
|
25
26
|
safe_yaml (~> 0.9.0)
|
26
27
|
diff-lcs (1.2.5)
|
27
28
|
docile (1.1.0)
|
28
29
|
gem_config (0.3.1)
|
29
|
-
i18n (0.
|
30
|
-
itrp-client (1.0.
|
30
|
+
i18n (0.7.0)
|
31
|
+
itrp-client (1.0.13)
|
31
32
|
activesupport
|
32
33
|
gem_config
|
33
34
|
mime-types
|
34
|
-
json (1.8.
|
35
|
+
json (1.8.3)
|
35
36
|
mail (2.6.3)
|
36
37
|
mime-types (>= 1.16, < 3)
|
37
|
-
mime-types (2.
|
38
|
-
minitest (5.
|
38
|
+
mime-types (2.6.2)
|
39
|
+
minitest (5.8.4)
|
39
40
|
multi_json (1.8.2)
|
40
41
|
rake (10.1.0)
|
41
42
|
rspec (2.14.1)
|
@@ -46,14 +47,14 @@ GEM
|
|
46
47
|
rspec-expectations (2.14.4)
|
47
48
|
diff-lcs (>= 1.1.3, < 2.0)
|
48
49
|
rspec-mocks (2.14.4)
|
49
|
-
rubyzip (1.1.
|
50
|
+
rubyzip (1.1.7)
|
50
51
|
safe_yaml (0.9.7)
|
51
52
|
simplecov (0.8.2)
|
52
53
|
docile (~> 1.1.0)
|
53
54
|
multi_json
|
54
55
|
simplecov-html (~> 0.8.0)
|
55
56
|
simplecov-html (0.8.0)
|
56
|
-
thread_safe (0.3.
|
57
|
+
thread_safe (0.3.5)
|
57
58
|
tzinfo (1.2.2)
|
58
59
|
thread_safe (~> 0.1)
|
59
60
|
webmock (1.16.0)
|
data/README.md
CHANGED
@@ -148,7 +148,7 @@ All options available:
|
|
148
148
|
* _csv_col_sep_: Set the CSV column separator (default: `','`)
|
149
149
|
* _csv_quote_char_: Set the CSV quote character, at most 1 character (default: `'"'`)
|
150
150
|
* _csv_value_proc_: Provide a procedure to change values before adding them to the CSV, e.g.
|
151
|
-
`Proc.new{ |value| value.gsub(/\r
|
151
|
+
`Proc.new{ |value| value.gsub(/\r/, '').gsub(/\n/, ' ')`
|
152
152
|
|
153
153
|
|
154
154
|
Start the Export Monitor
|
@@ -30,7 +30,7 @@ module Itrp
|
|
30
30
|
# the filename of the csv or zip file
|
31
31
|
def filename
|
32
32
|
return nil if self.download_uri.blank?
|
33
|
-
@filename ||= self.download_uri[/\/([^\/]+\.(?:csv|zip))
|
33
|
+
@filename ||= self.download_uri[/\/([^\/]+\.(?:csv|zip))/, 1]
|
34
34
|
end
|
35
35
|
|
36
36
|
# ignore the message
|
@@ -40,4 +40,4 @@ module Itrp
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
43
|
-
end
|
43
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itrp-export-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ITRP
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_config
|
@@ -171,18 +171,18 @@ executables:
|
|
171
171
|
extensions: []
|
172
172
|
extra_rdoc_files: []
|
173
173
|
files:
|
174
|
-
- lib/itrp/export/monitor.rb
|
175
|
-
- lib/itrp/export/monitor/service.rb
|
176
|
-
- lib/itrp/export/monitor/version.rb
|
177
|
-
- lib/itrp/export/monitor/mail.rb
|
178
|
-
- lib/itrp/export/monitor/tasks/itrp_export_monitor.rake
|
179
|
-
- lib/itrp/export/monitor/exchange.rb
|
180
|
-
- LICENSE.txt
|
181
|
-
- README.md
|
182
174
|
- Gemfile
|
183
175
|
- Gemfile.lock
|
184
|
-
-
|
176
|
+
- LICENSE.txt
|
177
|
+
- README.md
|
185
178
|
- bin/itrp-export-monitor
|
179
|
+
- itrp-export-monitor.gemspec
|
180
|
+
- lib/itrp/export/monitor.rb
|
181
|
+
- lib/itrp/export/monitor/exchange.rb
|
182
|
+
- lib/itrp/export/monitor/mail.rb
|
183
|
+
- lib/itrp/export/monitor/service.rb
|
184
|
+
- lib/itrp/export/monitor/tasks/itrp_export_monitor.rake
|
185
|
+
- lib/itrp/export/monitor/version.rb
|
186
186
|
homepage: https://github.com/itrp/itrp-export-monitor
|
187
187
|
licenses:
|
188
188
|
- MIT
|
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
204
|
version: '0'
|
205
205
|
requirements: []
|
206
206
|
rubyforge_project:
|
207
|
-
rubygems_version: 2.
|
207
|
+
rubygems_version: 2.4.3
|
208
208
|
signing_key:
|
209
209
|
specification_version: 4
|
210
210
|
summary: The itrp-export-monitor gem makes it easy to monitor a mailbox receiving
|