eco-rake 0.1.5 → 0.1.6

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: 7a95738d0726a071fd9302ea5644ae019f0417577e0b9df2debf9d8e1c06b94f
4
- data.tar.gz: eb1655d1f8cbc09ca84bc22be350170b122958a37bbbb70a969f038ee5e2afee
3
+ metadata.gz: 60189b6e7dc7efcff09a1086ea880b932ffefd23355c352d9811e2ea777f81b6
4
+ data.tar.gz: aea908242491f387979870592ce41c9535bf22122420148d8b5c4d77d6c4809f
5
5
  SHA512:
6
- metadata.gz: 6cb03e0ca5be560bd0e579851eb4476175e56eff2db1c37f41d2f9b07dfd536284c9cce1bf9ab06ff5b9a70d3f4ad3083f6b8ba81b7cfe0d764f00a7317dd23b
7
- data.tar.gz: 85c9dda526770a38a72512a593e4d883895056a06073a79fb9f7bd3a4176fada22b98da712636f13ec3f95e5b1d07e47e00b0bce0f713b3eb33631944473a84c
6
+ metadata.gz: 0d11088ce6730501e61af2fb5d2863138801f35381acf60a756afa2fc45d8bb24dfaffda13a8cf47b9b808cca67fd6fecc6a62f890e7f15d2a0ae81fb7699558
7
+ data.tar.gz: f57a89800529e1556b6b69e851e1b813f5f614ef3d8257efcebbb271a0cb4dd2b4890609cc2641c2a9d6f333e19a58b4553dc4d7dbdd4f39e2c4740045676a0d
data/CHANGELOG.md CHANGED
@@ -1,20 +1,25 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [0.1.6] - 2024-02-xx
4
+ ## [0.1.7] - 2024-02-xx
5
5
 
6
6
  ### Added
7
7
  ### Fixed
8
8
  ### Changed
9
9
 
10
- ## [0.1.5] - 2024-02-xx
11
-
12
- ### Added
13
- - new options for file pattern const and remote subfolder for the SFTP task
10
+ ## [0.1.6] - 2024-02-03
14
11
 
15
12
  ### Fixed
13
+ - Compatibility with `ruby 3`
14
+ - call to `super` with no args where method on parent class doesn't match parameters.
16
15
 
17
16
  ### Changed
17
+ - upgrade dependencies
18
+
19
+ ## [0.1.5] - 2024-02-01
20
+
21
+ ### Added
22
+ - new options for file pattern const and remote subfolder for the SFTP task
18
23
 
19
24
  ## [0.1.4] - 2023-07-23
20
25
 
data/eco-rake.gemspec CHANGED
@@ -21,14 +21,14 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.required_ruby_version = '>= 2.7.2'
23
23
 
24
- spec.add_development_dependency "bundler", ">= 2.4.9", "< 3"
24
+ spec.add_development_dependency "bundler", ">= 2.4.12", "< 3"
25
25
  spec.add_development_dependency "rake", ">= 13.0.6", "< 14"
26
- spec.add_development_dependency "redcarpet", ">= 3.6.0", "< 4"
27
26
  spec.add_development_dependency "rspec", ">= 3.10.0", "< 4"
28
27
  spec.add_development_dependency "yard", ">= 0.9.34", "< 1"
28
+ spec.add_development_dependency "redcarpet", ">= 3.6.0", "< 4"
29
29
 
30
- #spec.add_dependency 'aws-sdk-s3', '>= 1.83.0', '< 2'
31
- spec.add_dependency 'aws-sdk-ses', '>= 1.36.0', '< 2'
32
- spec.add_dependency 'dotenv', '>= 2.7.6', '< 3'
30
+ #spec.add_dependency 'aws-sdk-s3', '>= 1.142.0', '< 2'
31
+ spec.add_dependency 'aws-sdk-ses', '>= 1.58.0', '< 2'
32
+ spec.add_dependency 'dotenv', '>= 2.8.1', '< 3'
33
33
  spec.add_dependency 'rake-commander', '>= 0.3.6', "< 0.4"
34
34
  end
@@ -39,7 +39,7 @@ class EcoRake
39
39
  cmd = [base_command]
40
40
  cmd << forward_option(:folder)
41
41
  cmd << forward_options(:list, :get_last, :get, :archive).compact.first || '-list'
42
- cmd.push(*forward_options(:remote_subfolder, :file_pattern).compact)
42
+ cmd.push(*forward_options(:remote_subfolder, :file_pattern))
43
43
  cmd << '-no-people'
44
44
  cmd = yield(cmd) if block_given?
45
45
  string_cmd(*cmd)
@@ -9,7 +9,6 @@ class EcoRake
9
9
  option '-o', '--only-stats', TrueClass, desc: 'To display only stats in the feedback'
10
10
  option '-b', '--no-policy', FalseClass, desc: 'To skip the batch policy'
11
11
  option '-n', '--no-get', FalseClass, desc: 'Skip get people step'
12
- option '-p', '--file-pattern', TrueClass, desc: "Specifies the target file pattern (can use a const)"
13
12
  end
14
13
  end
15
14
  end
@@ -11,7 +11,7 @@ class EcoRake
11
11
  module ClassMethods
12
12
  private
13
13
 
14
- def add_to_options(opt, *args)
14
+ def add_to_options(opt, **kargs)
15
15
  super.tap do |out|
16
16
  next unless opt.respond_to?(:parent=)
17
17
  opt.parent = self if opt == out
@@ -1,5 +1,5 @@
1
1
  require 'rake-commander'
2
2
 
3
3
  class EcoRake < RakeCommander
4
- VERSION = '0.1.5'.freeze
4
+ VERSION = '0.1.6'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura Samper
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-31 00:00:00.000000000 Z
11
+ date: 2024-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.4.9
19
+ version: 2.4.12
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '3'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 2.4.9
29
+ version: 2.4.12
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '3'
@@ -51,12 +51,12 @@ dependencies:
51
51
  - !ruby/object:Gem::Version
52
52
  version: '14'
53
53
  - !ruby/object:Gem::Dependency
54
- name: redcarpet
54
+ name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 3.6.0
59
+ version: 3.10.0
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '4'
@@ -66,57 +66,57 @@ dependencies:
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 3.6.0
69
+ version: 3.10.0
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
72
  version: '4'
73
73
  - !ruby/object:Gem::Dependency
74
- name: rspec
74
+ name: yard
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 3.10.0
79
+ version: 0.9.34
80
80
  - - "<"
81
81
  - !ruby/object:Gem::Version
82
- version: '4'
82
+ version: '1'
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 3.10.0
89
+ version: 0.9.34
90
90
  - - "<"
91
91
  - !ruby/object:Gem::Version
92
- version: '4'
92
+ version: '1'
93
93
  - !ruby/object:Gem::Dependency
94
- name: yard
94
+ name: redcarpet
95
95
  requirement: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - ">="
98
98
  - !ruby/object:Gem::Version
99
- version: 0.9.34
99
+ version: 3.6.0
100
100
  - - "<"
101
101
  - !ruby/object:Gem::Version
102
- version: '1'
102
+ version: '4'
103
103
  type: :development
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: 0.9.34
109
+ version: 3.6.0
110
110
  - - "<"
111
111
  - !ruby/object:Gem::Version
112
- version: '1'
112
+ version: '4'
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: aws-sdk-ses
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - ">="
118
118
  - !ruby/object:Gem::Version
119
- version: 1.36.0
119
+ version: 1.58.0
120
120
  - - "<"
121
121
  - !ruby/object:Gem::Version
122
122
  version: '2'
@@ -126,7 +126,7 @@ dependencies:
126
126
  requirements:
127
127
  - - ">="
128
128
  - !ruby/object:Gem::Version
129
- version: 1.36.0
129
+ version: 1.58.0
130
130
  - - "<"
131
131
  - !ruby/object:Gem::Version
132
132
  version: '2'
@@ -136,7 +136,7 @@ dependencies:
136
136
  requirements:
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
- version: 2.7.6
139
+ version: 2.8.1
140
140
  - - "<"
141
141
  - !ruby/object:Gem::Version
142
142
  version: '3'
@@ -146,7 +146,7 @@ dependencies:
146
146
  requirements:
147
147
  - - ">="
148
148
  - !ruby/object:Gem::Version
149
- version: 2.7.6
149
+ version: 2.8.1
150
150
  - - "<"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '3'