multi_password 0.1.2 → 0.2.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: c0657a313bae7cf70f5001effcd4863e6f1d3c52c8499cb4e0b3c7ff6e8acc3c
4
- data.tar.gz: '0185bbd90799d11585c3ce56679de77cf02b7ff6ced4d71725d25ac1654ca0f4'
3
+ metadata.gz: fce940a7df38095a807dcb6483bcfe7a207d434a126e347391968e388631d828
4
+ data.tar.gz: cced9bf7ef2ad5e99b9ea08871228e73d71f76d4a26cddd07ca745543c2fc7f7
5
5
  SHA512:
6
- metadata.gz: 9911136f9a540f7a19d870c91b76f2217a96c42d4a671575649e32a855112db5f2589a1ce6f211091620f29041fab6abe6fea10da2f920d97aa849ea099ac8df
7
- data.tar.gz: 81a4e61b8263bc8b475bda8306b40b2917a66708d5ffd22d80be6ba50ee453a7e6a9687c1696501657054646e9558bdacbd3c2a9f851d1d67fe67fe2899ccdd5
6
+ metadata.gz: c183cf256d80496c92f696e4743626e6df4f24c17af67629f0a904eddee384204d47393a82d7b40e183e6ed072643e65c0f030ab56428da590f02009a19d5ad4
7
+ data.tar.gz: 29f14923c0b7513d32bd7ed3ac068403c62f86996ae356a8ecb278f886202a7f0ab34aac30c58a58a8c40be8d55f657cef69aa0192cb0eb9382ba45ac1cc47f9
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.2.0
2
+
3
+ - `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
4
+
1
5
  # 0.1.2
2
6
 
3
7
  - Fix bug when validating cost options
@@ -1,3 +1,3 @@
1
1
  class MultiPassword
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
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
 
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.require_paths = ["lib"]
28
28
 
29
29
  spec.add_dependency 'concurrent-ruby'
30
- spec.add_dependency 'dry-configurable'
30
+ spec.add_dependency 'dry-configurable', "~> 0.13"
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
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.0
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: 2021-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -28,16 +28,16 @@ dependencies:
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.2.22
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Generic swappable password algorithm handler