eco-helpers 1.3.12 → 1.3.13

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: 98a2098cebb4520b57aa8307cf4a09711fe5fb6d99e9dbd2cddaa50c0c74310e
4
- data.tar.gz: d45f4401b9626c1950e9a9dd6b601d6bece0d746bb0272b65be03ea626783a49
3
+ metadata.gz: 5b59fa190429f792010af645ab28370ef0132ad17fafca035a363722736ab01e
4
+ data.tar.gz: c35a11ee4935356f1a93a008b63b520bd0809ef3a3d12d2b71e5329eb9f721f8
5
5
  SHA512:
6
- metadata.gz: 659fb760d4f93a3acb33ea1c25ea2f489bdaffb6808e0bb1e3beab707f1c85a17c6b623f945a94e9f5ff7dc763919b83b29f7ad18678755d04c1668f1fb8394c
7
- data.tar.gz: ad7befbcad34c8abd24e3c9bd5b962876b797a3a245157817e30a3c8a559864b35c0b1269e92f842011ac7d998f17bd9f57b4a8fafc54bd149a9433575f695b3
6
+ metadata.gz: e9d7f407038348bfb98bc8c1cf127d73108f3e90b92d3cd267f8c1868a1fad5810226506e4112f7c87d9deb6775af2d7ad94bb27dfd4c6c2ea2885b28f7b6c76
7
+ data.tar.gz: 90c6d245f2eb3fbfa1729765cf7629792eadbd33b84c58333aaac6a7e6a81d395fa150c4ff9c240c24403976c25d471d510441b849159aeaf67a593c19258db1
@@ -1,6 +1,14 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [1.3.13] - 2020-05-29
5
+
6
+ ### Added
7
+ ### Changed
8
+ ### Fixed
9
+ - `Eco::API::Organization::TagTree#tag?` to accept `nil` by returning `false`
10
+ - `Eco::API::Common::People::DefaultParsers::DateParser` will parse to `Date` class
11
+ * it was parsing to `Time` class, while the native gem `ecoportal-api` parses as `Date` ([reference](https://gitlab.com/ecoPortal/ecoportal-api/-/blob/master/lib/ecoportal/api/v1/schema_field.rb))
4
12
  ## [1.3.11] - 2020-05-19
5
13
 
6
14
  ### Added
@@ -19,7 +19,7 @@ module Eco
19
19
 
20
20
  def parse_date(value)
21
21
  begin
22
- (value.to_s.empty?) ? nil : Time.parse(value)
22
+ (value.to_s.empty?) ? nil : Date.parse(value)
23
23
  rescue
24
24
  nil
25
25
  end
@@ -62,7 +62,7 @@ module Eco
62
62
  # @param key [String] tag to verify.
63
63
  # @return [Boolean]
64
64
  def tag?(key)
65
- @hash_tags.key?(key.upcase)
65
+ @hash_tags.key?(key&.upcase)
66
66
  end
67
67
 
68
68
  # Finds a subtree node.
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = "1.3.12"
2
+ VERSION = "1.3.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.12
4
+ version: 1.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura