eco-helpers 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 507156a88f88bc8227f255251d1f8861f486a23a0fe3b23e003706dfe708507b
|
4
|
+
data.tar.gz: '07952da6db5134dfecc5461d41ad4ce0e264c0eaaec3d9ec55d9d42b41b2620b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcfa79dfa92123af03399391797013e7a23a032504570d8cc2cfcb890f8a93ece62a7acbbd43b2fbd70a4de20c28baa60635536d9b431ac260de2905db825332
|
7
|
+
data.tar.gz: 0e63f504d100e5647e9b48eceeebda57814d1dda0ce3d8c0147cb58ce7c40bf5e1225bc261d207d531af22611dc4fd0461461f70016647cda0eaf1147e653c12
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
## [2.0.
|
4
|
+
## [2.0.8] - 2021-03-xx
|
5
|
+
|
6
|
+
### Added
|
7
|
+
### Changed
|
8
|
+
### Fixed
|
9
|
+
- `Ecoportal::API::External::Person#identity` adjust behaviour
|
10
|
+
|
11
|
+
## [2.0.7] - 2021-03-09
|
5
12
|
|
6
13
|
### Added
|
7
14
|
### Changed
|
data/eco-helpers.gemspec
CHANGED
@@ -31,7 +31,6 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_development_dependency "redcarpet", ">= 3.5.1", "< 3.6"
|
32
32
|
|
33
33
|
spec.add_dependency 'ecoportal-api', '>= 0.8.2', '< 0.9'
|
34
|
-
#spec.add_dependency 'ecoportal-api', '>= 0.7.5', '< 0.8'
|
35
34
|
spec.add_dependency 'ecoportal-api-v2', '>= 0.8.6', '< 0.9'
|
36
35
|
spec.add_dependency 'aws-sdk-s3', '>= 1.83.0', '< 2'
|
37
36
|
spec.add_dependency 'aws-sdk-ses', '>= 1.36.0', '< 2'
|
@@ -154,14 +154,20 @@ module Eco
|
|
154
154
|
final_entry["default_tag"]
|
155
155
|
end
|
156
156
|
|
157
|
-
# Provides a reference
|
157
|
+
# Provides a reference to this person entry.
|
158
|
+
# @return [String] string summary of this person identity.
|
159
|
+
def identify
|
160
|
+
str_id = id ? "id: '#{id}'; " : ""
|
161
|
+
"(row: #{idx}) '#{name}' (#{str_id}ext_id: '#{external_id}'; email: '#{email}')"
|
162
|
+
end
|
163
|
+
|
164
|
+
# Provides a reference of this person entry.
|
158
165
|
# @return [String] string summary of this person identity.
|
159
166
|
def to_s(options)
|
160
167
|
options = into_a(options)
|
161
168
|
case
|
162
169
|
when options.include?(:identify)
|
163
|
-
|
164
|
-
"(row: #{idx}) '#{name}' (#{str_id}ext_id: '#{external_id}'; email: '#{email}')"
|
170
|
+
identify
|
165
171
|
else
|
166
172
|
final_entry.each.map do |k, v|
|
167
173
|
"'#{k}': '#{v.to_json}'"
|
data/lib/eco/version.rb
CHANGED