eco-helpers 2.7.6 → 2.7.7

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: 7c7e7c6c61dc2fa5886b5a396f54051e216bf8ffbf6e31ab98388b3ed21c5e5b
4
- data.tar.gz: 4cea27b25b939efd57a4bfcf1d540df660f94cd7b48be45cf96b67dde5d01033
3
+ metadata.gz: 6610ab2a1e5ce009eedeac2deafb3232d3c8266123b6f8784b5f4542e4f4b24b
4
+ data.tar.gz: 809cab1fd71f909e04fa16a3ac84cc053d564b1888511defc91126b9765b4008
5
5
  SHA512:
6
- metadata.gz: 4c0a48790cf660cb326fa6a06e60e8fc4395f4cfcefd00ca71aa79be79daceb8bf5e4dfd74c33957e07f1cb1f7d8cf298fd062544ecdecd620681c33706fec57
7
- data.tar.gz: 0dfb7e2c7ad703782373bd6c6b24bacc872238009cc9552998e40c55ff05f7bb61b667ee65d333e55b3623f8b139792ea42f5f3eab6a2f737ff182c01b28cd16
6
+ metadata.gz: bdfdf7afeff13f228c47febc677e6c39f8639dc4bdb6f0bee60d836418a8f14a1dc9ac9919fc7c5986d20386203719db597418e03f1c3dad82a755016a5ae4a1
7
+ data.tar.gz: 868e92852ec88fd3315080883f4c4854ef80ec04ca85d46c76ac62e995233e225dcf99b9ceadb51436546400968e72152933163dfdfb244a5e7d0151df89361f
data/CHANGELOG.md CHANGED
@@ -1,9 +1,22 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [2.7.6] - 2024-05-xx
4
+ ## [2.7.8] - 2024-05-xx
5
5
 
6
6
  ### Added
7
+ ### Changed
8
+ ### Fixed
9
+
10
+ ## [2.7.7] - 2024-05-16
11
+
12
+ ### Added
13
+ ### Changed
14
+ ### Fixed
15
+ - `Eco::API::UseCases::OozeSamples::TargetOozesUpdateCase`
16
+ - default prompt to user to `Y` when in remote mode.
17
+
18
+ ## [2.7.6] - 2024-05-16
19
+
7
20
  ### Changed
8
21
  - upgraded `ecoportal-api-graphql` gem, and `ecoportal-api` gem
9
22
  - `Eco::API::Common::People::Entries` (**optimization**)
@@ -50,7 +50,14 @@ class Eco::API::UseCases::OozeSamples::TargetOozesUpdateCase < Eco::API::UseCase
50
50
  dups_str = dups.count.positive? ? "There are #{dups.count} duplicated ids" : "No duplicates detected"
51
51
  msg = "Total target entries: #{target_ids.count} (#{dups_str})"
52
52
 
53
- session.prompt_user("Do you want to proceed (y/N):", explanation: msg, default: "N", timeout: 10) do |res|
53
+ default_answer = session.config.run_mode_remote?? "Y" : "N"
54
+
55
+ session.prompt_user(
56
+ "Do you want to proceed (y/N):",
57
+ explanation: msg,
58
+ default: default_answer,
59
+ timeout: 10
60
+ ) do |res|
54
61
  unless res.upcase.start_with?("Y")
55
62
  puts "..."
56
63
  log(:info) { "Aborting script..." }
data/lib/eco/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = '2.7.6'.freeze
2
+ VERSION = '2.7.7'.freeze
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: 2.7.6
4
+ version: 2.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura