eco-helpers 3.2.7 → 3.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfe97cd5583e8650f73c0f7cb2557fde896d3b59b7e729703fdb01f9323d6fbb
4
- data.tar.gz: e40c8fdeae21780ca957c043aa7a637d06d9e85088fdbca6eb7c488448c74ab5
3
+ metadata.gz: 43c77b84b6e46fad0a26b3f63eff16a9c04b4dcd6b1e10d7b7d13316f40cc2c9
4
+ data.tar.gz: 3b65891882fa955295615676cb0a9e9ff5989466e5d930d7d6828852d79de3d9
5
5
  SHA512:
6
- metadata.gz: c1f28e77164e7f8c439b09dba5d952594c34721457842963cfb9e037c90658de8049545c1029e25e6aa2aadda2a729a4fc103fb04335adcfb6359b1fe946ad60
7
- data.tar.gz: '090c4c12745401c0191aec263bb3970bd92e5244c6b57f4d5ef6dd157acab37ab868ed239972d133bd52a4eb11ddcac0e4857a8e760e10321b7236f50a7d3c76'
6
+ metadata.gz: 6061e679732278bf644a93c6c9818aa5177266412ba324ba5dcc36ca6a991abbbd479218d670ba691cffcf783beac00a88ac3be194920ca9937370221475d8e6
7
+ data.tar.gz: 549a7f8011e667e849c444170fa1a1dedc6c9b0c46aaed4bae98fa7b415f6e2894f555dfd0ad39817f4d9dc04bbb70985465802b6e5e8ffc7727ad9a0a5036ca
data/CHANGELOG.md CHANGED
@@ -2,14 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [3.2.8] - 2025-09-xx
5
+ ## [3.2.9] - 2025-10-xx
6
6
 
7
7
  ### Added
8
8
 
9
+ - Compatibility with native RS CSV feature **headers**: support `classification_ids`.
10
+
9
11
  ### Changed
10
12
 
11
13
  ### Fixed
12
14
 
15
+ ## [3.2.8] - 2025-10-14
16
+
17
+ ### Added
18
+
19
+ - Compatibility with native RS CSV feature **headers**: support `classification_ids`.
20
+
13
21
  ## [3.2.7] - 2025-09-09
14
22
 
15
23
  ### Added
@@ -22,6 +22,12 @@ module Eco::API::UseCases::GraphQL::Samples::Location::Service
22
22
  msg << "Given: #{csv.class}"
23
23
  raise ArgumentError, msg unless csv.is_a?(Eco::CSV::Table)
24
24
 
25
+ csv = csv.transform_headers do |name|
26
+ name = name.to_s.strip.downcase
27
+ name = 'classifications' if name == 'classification_ids'
28
+ name
29
+ end
30
+
25
31
  csv.each do |row|
26
32
  row_transform&.call(row)
27
33
  transform_classifications(row)
data/lib/eco/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = '3.2.7'.freeze
2
+ VERSION = '3.2.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.7
4
+ version: 3.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-09 00:00:00.000000000 Z
11
+ date: 2025-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug