sdr-client 0.28.2 → 0.28.3

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: 629987702402b3487fdfa53ec0002e7f259b087adde85253255f764e11f0a880
4
- data.tar.gz: 3f3632a6acbcee16725fa144b6549f6672ca28de4624dc7308bb6d9391ca0456
3
+ metadata.gz: 0cb04dd251d4bdc856e935f8f6ff157054973e51e703eac5cfec621d3ea9906c
4
+ data.tar.gz: cc254f2105f3499a6a219e93ce51dcdde7f9c05d8fcd729c6b3c04ad58141012
5
5
  SHA512:
6
- metadata.gz: 586b712d96bb3bc4117fc4ece23a39a078421a11ec7410b3e6154f8819cfdc88fbd266dc2d6a2af0a829eee3cc71026faf9896c5f3b425b1cecc487627976724
7
- data.tar.gz: 20c104f1566ec93793c7106cbe5764968a8ceaa7556f6eb9c9b4899ca1555716c9cb8f2e8d7f3456e9ea583c96e022c27d3b7ba9372a97a848e51090d16a63a9
6
+ metadata.gz: faa0bd4e365b80ce47f8860af6a6f24f0581428662a9ded8ea6b78523aa09b73a3bcebb5aff33e998152ab8b8e1d81d9883ddee53cf162a7bdbc047596437a76
7
+ data.tar.gz: afb9f79a157929f83ba886f679c0eaa11965d3e60b9aa730f29edcdcb552e18c7d76d55e064ff3cdced78cf05f5df704b5d87b019607424e7263ee1e7bbb98cf
@@ -1,4 +1,3 @@
1
-
2
1
  inherit_from: .rubocop_todo.yml
3
2
 
4
3
  AllCops:
@@ -7,11 +6,6 @@ AllCops:
7
6
  - 'bin/console'
8
7
  - 'vendor/**/*'
9
8
 
10
- Layout/LineLength:
11
- Max: 120
12
- Exclude:
13
- - 'spec/sdr_client/deposit/process_spec.rb'
14
-
15
9
  Metrics/BlockLength:
16
10
  Exclude:
17
11
  - 'spec/**/*'
@@ -21,4 +15,4 @@ Metrics/BlockLength:
21
15
 
22
16
  Naming/FileName:
23
17
  Exclude:
24
- - 'lib/sdr-client.rb'
18
+ - 'lib/sdr-client.rb'
@@ -1,17 +1,29 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2020-04-27 08:24:29 -0400 using RuboCop version 0.82.0.
3
+ # on 2020-06-24 17:02:25 -0700 using RuboCop version 0.79.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
9
  # Offense count: 2
10
- # Configuration parameters: IgnoredMethods.
11
10
  Metrics/AbcSize:
12
11
  Max: 16
13
12
 
14
- # Offense count: 7
13
+ # Offense count: 8
15
14
  # Configuration parameters: CountComments, ExcludedMethods.
16
15
  Metrics/MethodLength:
17
16
  Max: 15
17
+
18
+ # Offense count: 1
19
+ # Cop supports --auto-correct.
20
+ Style/IfUnlessModifier:
21
+ Exclude:
22
+ - 'exe/sdr'
23
+
24
+ # Offense count: 187
25
+ # Cop supports --auto-correct.
26
+ # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
27
+ # URISchemes: http, https
28
+ Layout/LineLength:
29
+ Max: 1228
@@ -21,7 +21,7 @@ module SdrClient
21
21
 
22
22
  creds = nil
23
23
  File.open(credentials_file, 'r') do |file|
24
- file.flock(File::LOCK_SH)
24
+ file.flock(File::LOCK_EX)
25
25
  creds = file.readlines(chomp: true).first
26
26
  end
27
27
  raise NoCredentialsError if creds.nil?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SdrClient
4
- VERSION = '0.28.2'
4
+ VERSION = '0.28.3'
5
5
  end
@@ -37,6 +37,6 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency 'rspec', '~> 3.0'
38
38
  spec.add_development_dependency 'rubocop', '~> 0.79.0'
39
39
  spec.add_development_dependency 'rubocop-rspec', '~> 1.37.1'
40
- spec.add_development_dependency 'simplecov'
40
+ spec.add_development_dependency 'simplecov', '~> 0.17.0' # CodeClimate cannot use SimpleCov >= 0.18.0 for generating test coverage
41
41
  spec.add_development_dependency 'webmock', '~> 3.7'
42
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdr-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.2
4
+ version: 0.28.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-24 00:00:00.000000000 Z
11
+ date: 2020-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -140,16 +140,16 @@ dependencies:
140
140
  name: simplecov
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">="
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0'
145
+ version: 0.17.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">="
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '0'
152
+ version: 0.17.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: webmock
155
155
  requirement: !ruby/object:Gem::Requirement