multi_password 0.1.2 → 0.2.1

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: c0657a313bae7cf70f5001effcd4863e6f1d3c52c8499cb4e0b3c7ff6e8acc3c
4
- data.tar.gz: '0185bbd90799d11585c3ce56679de77cf02b7ff6ced4d71725d25ac1654ca0f4'
3
+ metadata.gz: 8583fe1e2626d2ae504e7376a695645226435266284f7fc67bc8fb4d7543e8c2
4
+ data.tar.gz: 8e6323fa787df52039de30b2f91528aa0c852d037d98a4f94b8b1062e4f5642f
5
5
  SHA512:
6
- metadata.gz: 9911136f9a540f7a19d870c91b76f2217a96c42d4a671575649e32a855112db5f2589a1ce6f211091620f29041fab6abe6fea10da2f920d97aa849ea099ac8df
7
- data.tar.gz: 81a4e61b8263bc8b475bda8306b40b2917a66708d5ffd22d80be6ba50ee453a7e6a9687c1696501657054646e9558bdacbd3c2a9f851d1d67fe67fe2899ccdd5
6
+ metadata.gz: 010a9bf920c6cf64d41130fa1720558b238751b70898444784c1625c122511a7a5c2786f2b3a2191afd9080e92af52bdb6cfa7456744f5e1909f9779e9c46781
7
+ data.tar.gz: 13fda9397c3fb11371d35cc7dcc7db4a9c71c8a0d8988e36375a9053041592feb42437e75e2748d8ebcc9b12f096054f761ddfcbe3c168b40369c797ca8618bb
@@ -1,6 +1,6 @@
1
1
  name: RSpec
2
2
 
3
- on: [push, pull_request]
3
+ on: [push]
4
4
 
5
5
  env:
6
6
  RUBY_VERSION: 2.7.2
data/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
1
+ # 0.2.1
2
+
3
+ - Loosen restriction on dry-configurable version
4
+
5
+ # 0.2.0
6
+
7
+ - `setting.default` support for dry-configurable. See their [changelog](https://github.com/dry-rb/dry-configurable/blob/master/CHANGELOG.md#0130-2021-09-12) for more details
8
+
1
9
  # 0.1.2
2
10
 
3
11
  - Fix bug when validating cost options
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in multi_password.gemspec
4
4
  gemspec
5
5
 
6
- gem "rake", "~> 12.0"
6
+ gem "rake", "~> 13.0"
7
7
  gem "rspec", "~> 3.0"
8
8
 
9
9
  gem 'argon2'
@@ -1,3 +1,3 @@
1
1
  class MultiPassword
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -8,7 +8,7 @@ class MultiPassword
8
8
  extend Dry::Configurable
9
9
 
10
10
  setting :default_algorithm
11
- setting :default_options, {}
11
+ setting :default_options, default: {}
12
12
 
13
13
  @registers = Concurrent::Hash.new
14
14
 
@@ -26,6 +26,6 @@ Gem::Specification.new do |spec|
26
26
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
27
  spec.require_paths = ["lib"]
28
28
 
29
- spec.add_dependency 'concurrent-ruby'
30
- spec.add_dependency 'dry-configurable'
29
+ spec.add_dependency 'concurrent-ruby', '~> 1'
30
+ spec.add_dependency 'dry-configurable', ">= 0.13"
31
31
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_password
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hieu Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-12 00:00:00.000000000 Z
11
+ date: 2022-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dry-configurable
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.13'
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: '0'
40
+ version: '0.13'
41
41
  description: Provide a generic interface that allows application to easily switch
42
42
  password algorithm
43
43
  email:
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
- rubygems_version: 3.0.8
89
+ rubygems_version: 3.1.6
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Generic swappable password algorithm handler