eco-helpers 2.7.25 → 3.0.0

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: f48b7df545da0ca3acf06e577b40cb29cf52efd58d9ee3de743609c9e829c2df
4
- data.tar.gz: 6e14955bfb6ab3d824dbc5e11d899c30a1059e1a2b37931e6970461753e2d892
3
+ metadata.gz: f87b772a3ca7272d32299e202d5f0a500f4e814b5281e00d2e49484a52fa42df
4
+ data.tar.gz: dde02113e49cc438157123b892b5ab2e747707f824ec0b228240a1f8aacebe29
5
5
  SHA512:
6
- metadata.gz: fe73ff0a71b790e686ca6bd58c553c2643cc71c99c02dd0572cc1acd29b20891a992a5edf1caa96e3d99cf622deac1ef060067f2ac3763cbc48ba1d93bfad7d5
7
- data.tar.gz: 41a6f87ed1b0dfb5ad3b1fee16afb44d9d0ff8ab7ad6aabc59167003837434ecff523e0f177b7d15a96be6b8044e918084d9eeaade05b33c18bac736a4c11810
6
+ metadata.gz: 3cc9947ab00adc1881db3a69cbe0873b5a2ec1275c92d3127f5826b5acb96db5b9b72cdc4297a0658172cdd321cdd46c4f02fddb7b93f05296ad2d2be2509298
7
+ data.tar.gz: '0330899821bab587d827d9079638e9cef5528f8c01e68aab5379e7d358b9de7dffb18ed6b49f12268737b953c4bb95419cbf0c4816b96dcf819d03857880d451'
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.7.8
2
+ TargetRubyVersion: 3.2.2
3
3
  Exclude:
4
4
  - 'config/routes.rb'
5
5
  NewCops: enable
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.2
data/CHANGELOG.md CHANGED
@@ -2,14 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [2.7.26] - 2024-08-xx
5
+ ## [3.0.0] - 2024-08-01
6
6
 
7
7
  ### Added
8
8
 
9
9
  ### Changed
10
10
 
11
+ - require `ruby 3`
12
+
11
13
  ### Fixed
12
14
 
15
+ - have `Eco::VERSION` defined
16
+
13
17
  ## [2.7.25] - 2024-08-01
14
18
 
15
19
  ### Added
data/eco-helpers.gemspec CHANGED
@@ -1,4 +1,4 @@
1
- lib = File.expand_path("../lib", __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  require "./lib/eco/version"
@@ -9,12 +9,14 @@ Gem::Specification.new do |spec|
9
9
  spec.platform = Gem::Platform::RUBY
10
10
  spec.authors = ["Oscar Segura"]
11
11
  spec.email = ["oscar@ecoportal.co.nz"]
12
- spec.date = %q{2018-09-05}
13
- spec.summary = %q(eco-helpers to manage people api cases)
12
+
13
+ spec.summary = "eco-helpers to manage people api cases"
14
14
  spec.homepage = "https://www.ecoportal.com"
15
15
  spec.licenses = %w[MIT]
16
16
 
17
- spec.required_ruby_version = '>= 2.7.2'
17
+ spec.metadata['rubygems_mfa_required'] = 'true'
18
+
19
+ spec.required_ruby_version = '>= 3.2.2'
18
20
 
19
21
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
22
  f.match(%r{^(test|spec|features)/})
@@ -24,7 +26,6 @@ Gem::Specification.new do |spec|
24
26
  #spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
25
27
  spec.require_paths = ["lib"]
26
28
 
27
- spec.add_development_dependency "bundler", ">= 2.4.12", "< 3"
28
29
  spec.add_development_dependency "rake", ">= 13.0.3", "< 14"
29
30
  spec.add_development_dependency "redcarpet", ">= 3.6.0", "< 4"
30
31
  spec.add_development_dependency "rspec", ">= 3.12.0", "< 4"
@@ -32,15 +33,15 @@ Gem::Specification.new do |spec|
32
33
  spec.add_development_dependency "rubocop-rake", "~> 0"
33
34
  spec.add_development_dependency "yard", ">= 0.9.34", "< 1"
34
35
 
35
- spec.add_dependency 'amatch', '>= 0.4.1', '< 0.5'
36
+ spec.add_dependency 'amatch', '>= 0.4.1', '< 0.5'
36
37
  spec.add_dependency 'aws-sdk-s3', '>= 1.142.0', '< 2'
37
38
  spec.add_dependency 'aws-sdk-ses', '>= 1.58.0', '< 2'
38
39
  spec.add_dependency 'bcrypt_pbkdf', '~> 1.0'
39
- spec.add_dependency 'docx', '>= 0.8.0', '< 0.9'
40
- spec.add_dependency 'dotenv', '>= 2.8.1', '< 3'
41
- spec.add_dependency 'ecoportal-api', '>= 0.9.8', '< 0.10'
42
- spec.add_dependency 'ecoportal-api-graphql', '>= 0.3.18', '< 0.4'
43
- spec.add_dependency 'ecoportal-api-v2', '>= 1.1.8', '< 1.2'
40
+ spec.add_dependency 'docx', '>= 0.8.0', '< 0.9'
41
+ spec.add_dependency 'dotenv', '~> 3'
42
+ spec.add_dependency 'ecoportal-api', '~> 0.10'
43
+ spec.add_dependency 'ecoportal-api-graphql', '~> 0.4'
44
+ spec.add_dependency 'ecoportal-api-v2', '~> 2.0'
44
45
  spec.add_dependency 'ed25519', '~> 1.2'
45
46
  spec.add_dependency 'fast_excel', '>= 0.5.0', '< 0.6'
46
47
  spec.add_dependency 'fuzzy_match', '>= 2.1.0', '< 2.2'
data/lib/eco/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = '2.7.25'.freeze
2
+ VERSION = '3.0.0'.freeze
3
3
  end
data/lib/eco-helpers.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # rubocop:disable Naming/FileName
1
2
  require 'csv'
2
3
  require 'json'
3
4
  require 'pp'
@@ -7,6 +8,7 @@ require 'dotenv/load'
7
8
  module Eco
8
9
  end
9
10
 
11
+ require_relative 'eco/version'
10
12
  require_relative 'eco/language'
11
13
  require_relative 'eco/common'
12
14
  require_relative 'eco/data'
@@ -14,3 +16,5 @@ require_relative 'eco/csv'
14
16
  require_relative 'eco/api'
15
17
  require_relative 'eco/cli'
16
18
  require_relative 'eco/assets'
19
+
20
+ # rubocop:enable Naming/FileName
metadata CHANGED
@@ -1,35 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.25
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-05 00:00:00.000000000 Z
11
+ date: 2024-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 2.4.12
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '3'
23
- type: :development
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 2.4.12
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '3'
33
13
  - !ruby/object:Gem::Dependency
34
14
  name: rake
35
15
  requirement: !ruby/object:Gem::Requirement
@@ -236,82 +216,58 @@ dependencies:
236
216
  name: dotenv
237
217
  requirement: !ruby/object:Gem::Requirement
238
218
  requirements:
239
- - - ">="
240
- - !ruby/object:Gem::Version
241
- version: 2.8.1
242
- - - "<"
219
+ - - "~>"
243
220
  - !ruby/object:Gem::Version
244
221
  version: '3'
245
222
  type: :runtime
246
223
  prerelease: false
247
224
  version_requirements: !ruby/object:Gem::Requirement
248
225
  requirements:
249
- - - ">="
250
- - !ruby/object:Gem::Version
251
- version: 2.8.1
252
- - - "<"
226
+ - - "~>"
253
227
  - !ruby/object:Gem::Version
254
228
  version: '3'
255
229
  - !ruby/object:Gem::Dependency
256
230
  name: ecoportal-api
257
231
  requirement: !ruby/object:Gem::Requirement
258
232
  requirements:
259
- - - ">="
260
- - !ruby/object:Gem::Version
261
- version: 0.9.8
262
- - - "<"
233
+ - - "~>"
263
234
  - !ruby/object:Gem::Version
264
235
  version: '0.10'
265
236
  type: :runtime
266
237
  prerelease: false
267
238
  version_requirements: !ruby/object:Gem::Requirement
268
239
  requirements:
269
- - - ">="
270
- - !ruby/object:Gem::Version
271
- version: 0.9.8
272
- - - "<"
240
+ - - "~>"
273
241
  - !ruby/object:Gem::Version
274
242
  version: '0.10'
275
243
  - !ruby/object:Gem::Dependency
276
244
  name: ecoportal-api-graphql
277
245
  requirement: !ruby/object:Gem::Requirement
278
246
  requirements:
279
- - - ">="
280
- - !ruby/object:Gem::Version
281
- version: 0.3.18
282
- - - "<"
247
+ - - "~>"
283
248
  - !ruby/object:Gem::Version
284
249
  version: '0.4'
285
250
  type: :runtime
286
251
  prerelease: false
287
252
  version_requirements: !ruby/object:Gem::Requirement
288
253
  requirements:
289
- - - ">="
290
- - !ruby/object:Gem::Version
291
- version: 0.3.18
292
- - - "<"
254
+ - - "~>"
293
255
  - !ruby/object:Gem::Version
294
256
  version: '0.4'
295
257
  - !ruby/object:Gem::Dependency
296
258
  name: ecoportal-api-v2
297
259
  requirement: !ruby/object:Gem::Requirement
298
260
  requirements:
299
- - - ">="
300
- - !ruby/object:Gem::Version
301
- version: 1.1.8
302
- - - "<"
261
+ - - "~>"
303
262
  - !ruby/object:Gem::Version
304
- version: '1.2'
263
+ version: '2.0'
305
264
  type: :runtime
306
265
  prerelease: false
307
266
  version_requirements: !ruby/object:Gem::Requirement
308
267
  requirements:
309
- - - ">="
310
- - !ruby/object:Gem::Version
311
- version: 1.1.8
312
- - - "<"
268
+ - - "~>"
313
269
  - !ruby/object:Gem::Version
314
- version: '1.2'
270
+ version: '2.0'
315
271
  - !ruby/object:Gem::Dependency
316
272
  name: ed25519
317
273
  requirement: !ruby/object:Gem::Requirement
@@ -534,9 +490,10 @@ extensions: []
534
490
  extra_rdoc_files: []
535
491
  files:
536
492
  - ".gitignore"
537
- - ".markdownlint.jsonc"
493
+ - ".markdownlint.json"
538
494
  - ".rspec"
539
495
  - ".rubocop.yml"
496
+ - ".ruby-version"
540
497
  - ".yardopts"
541
498
  - CHANGELOG.md
542
499
  - Gemfile
@@ -923,7 +880,8 @@ files:
923
880
  homepage: https://www.ecoportal.com
924
881
  licenses:
925
882
  - MIT
926
- metadata: {}
883
+ metadata:
884
+ rubygems_mfa_required: 'true'
927
885
  post_install_message:
928
886
  rdoc_options: []
929
887
  require_paths:
@@ -932,14 +890,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
932
890
  requirements:
933
891
  - - ">="
934
892
  - !ruby/object:Gem::Version
935
- version: 2.7.2
893
+ version: 3.2.2
936
894
  required_rubygems_version: !ruby/object:Gem::Requirement
937
895
  requirements:
938
896
  - - ">="
939
897
  - !ruby/object:Gem::Version
940
898
  version: '0'
941
899
  requirements: []
942
- rubygems_version: 3.4.12
900
+ rubygems_version: 3.5.6
943
901
  signing_key:
944
902
  specification_version: 4
945
903
  summary: eco-helpers to manage people api cases
File without changes