sc4ry 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/sc4ry.gemspec CHANGED
@@ -1,31 +1,31 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  Gem::Specification.new do |spec|
3
- spec.name = "sc4ry"
4
+ spec.name = 'sc4ry'
4
5
  spec.version = `cat VERSION`.chomp
5
- spec.authors = ["Romain GEORGES"]
6
- spec.email = ["romain.georges@orange.com"]
7
-
8
- spec.summary = %q{Sc4Ry is Simple Circuitbreaker 4 RubY}
9
- spec.description = %q{Sc4ry provide the design pattern Circuit breaker for your application.}
10
- spec.homepage = "https://github.com/Ultragreen/sc4ry"
11
- spec.license = "MIT"
12
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
6
+ spec.authors = ['Romain GEORGES']
7
+ spec.email = ['romain.georges@orange.com']
13
8
 
9
+ spec.summary = 'Sc4Ry is Simple Circuitbreaker 4 RubY'
10
+ spec.description = 'Sc4ry provide the design pattern Circuit breaker for your application.'
11
+ spec.homepage = 'https://github.com/Ultragreen/sc4ry'
12
+ spec.license = 'MIT'
13
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')
14
14
 
15
15
  # Specify which files should be added to the gem when it is released.
16
16
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
17
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
17
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
18
18
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
19
  end
20
- spec.require_paths = ["lib"]
21
-
22
- spec.add_dependency "prometheus-client", "~> 3.0"
23
- spec.add_dependency "rest-client", "~> 2.1"
24
- spec.add_dependency "redis", "~> 4.6"
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_dependency 'prometheus-client', '~> 3.0'
23
+ spec.add_dependency 'redis', '~> 4.6'
24
+ spec.add_dependency 'rest-client', '~> 2.1'
25
25
 
26
- spec.add_development_dependency "yard", "~> 0.9.27"
27
26
  spec.add_development_dependency 'code_statistics', '~> 0.2.13'
28
- spec.add_development_dependency "yard-rspec", "~> 0.1"
29
- spec.add_development_dependency "roodi", "~> 5.0"
30
- spec.add_dependency "version", "~> 1.1"
27
+ spec.add_development_dependency 'rubocop', '~> 1.32'
28
+ spec.add_development_dependency 'yard', '~> 0.9.27'
29
+ spec.add_development_dependency 'yard-rspec', '~> 0.1'
30
+ spec.add_dependency 'version', '~> 1.1'
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sc4ry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Romain GEORGES
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-12 00:00:00.000000000 Z
11
+ date: 2022-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prometheus-client
@@ -25,89 +25,89 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rest-client
28
+ name: redis
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.1'
33
+ version: '4.6'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.1'
40
+ version: '4.6'
41
41
  - !ruby/object:Gem::Dependency
42
- name: redis
42
+ name: rest-client
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '4.6'
47
+ version: '2.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '4.6'
54
+ version: '2.1'
55
55
  - !ruby/object:Gem::Dependency
56
- name: yard
56
+ name: code_statistics
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.9.27
61
+ version: 0.2.13
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.9.27
68
+ version: 0.2.13
69
69
  - !ruby/object:Gem::Dependency
70
- name: code_statistics
70
+ name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.2.13
75
+ version: '1.32'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.2.13
82
+ version: '1.32'
83
83
  - !ruby/object:Gem::Dependency
84
- name: yard-rspec
84
+ name: yard
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.1'
89
+ version: 0.9.27
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.1'
96
+ version: 0.9.27
97
97
  - !ruby/object:Gem::Dependency
98
- name: roodi
98
+ name: yard-rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '5.0'
103
+ version: '0.1'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '5.0'
110
+ version: '0.1'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: version
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -132,6 +132,7 @@ files:
132
132
  - ".github/workflows/main.yml"
133
133
  - ".gitignore"
134
134
  - ".rspec"
135
+ - ".rubocop.yml"
135
136
  - Gemfile
136
137
  - LICENSE.txt
137
138
  - README.md
@@ -159,8 +160,8 @@ files:
159
160
  - lib/sc4ry/run_controller.rb
160
161
  - lib/sc4ry/store.rb
161
162
  - lib/sc4ry/version.rb
163
+ - samples/test.rb
162
164
  - sc4ry.gemspec
163
- - ultragreen_roodi_coding_convention.yml
164
165
  homepage: https://github.com/Ultragreen/sc4ry
165
166
  licenses:
166
167
  - MIT
@@ -173,7 +174,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
174
  requirements:
174
175
  - - ">="
175
176
  - !ruby/object:Gem::Version
176
- version: 2.3.0
177
+ version: 2.6.0
177
178
  required_rubygems_version: !ruby/object:Gem::Requirement
178
179
  requirements:
179
180
  - - ">="
@@ -1,25 +0,0 @@
1
- AssignmentInConditionalCheck:
2
- CaseMissingElseCheck:
3
- ClassLineCountCheck:
4
- line_count: 300 # including comments yard
5
- ClassNameCheck:
6
- pattern: !ruby/regexp /^[A-Z][a-zA-Z0-9]*$/
7
- #ClassVariableCheck:
8
- CyclomaticComplexityBlockCheck:
9
- complexity: 5
10
- CyclomaticComplexityMethodCheck:
11
- complexity: 10
12
- EmptyRescueBodyCheck:
13
- ForLoopCheck:
14
- MethodLineCountCheck:
15
- line_count: 30
16
- MethodNameCheck:
17
- pattern: !ruby/regexp /^[_a-z<>=\[|+-\/\*`]+[_a-z0-9_<>=~@\[\]]*[=!\?]?$/
18
- # MissingForeignKeyIndexCheck:
19
- ModuleLineCountCheck:
20
- line_count: 300
21
- ModuleNameCheck:
22
- pattern: !ruby/regexp /^[A-Z][a-zA-Z0-9]*$/
23
- ParameterNumberCheck:
24
- parameter_count: 5
25
-