secret_string 1.0.0 → 1.0.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: '059dcb7dea1885b6f2b24c01c70567028e24cf9d4a916e607ce98d3a8ec5baab'
4
- data.tar.gz: 4fc32cecd334d8cddbe7f577b5997a09c437b8d89c2d61f243db0aac137ebdb8
3
+ metadata.gz: adc3ac2c2e93e1c310c878c4194525a165c390dccd2d6708186f54bb1147be9a
4
+ data.tar.gz: d7be0b22cd44ec755337957965a140bb155c811f6223cf5264217ab591e17976
5
5
  SHA512:
6
- metadata.gz: ae6503a05ddb781a1f79235630228e86c0b3c42984c43f4cbae9b331c1e7b3d456b604a523b3d4123de44b7434aea6aa4ec1c70e24410ac941d6481f7100de0c
7
- data.tar.gz: 7725fe9c2bc7c17276b380ad75d68587958d1fcc6efaa1c8ed1d2591c971b91e8832966d745380933b309524ef8981409af04dd73ef59564aa8d1b0f9f9058fb
6
+ metadata.gz: 5b4daa15f269466054ac21521c1d5cf4f7912bcdf7d811807046a2c3f69cbca3f398381a0a9d0d205bb8778a2f59cab0ca7bbb518ece5dca243c6d358d298c90
7
+ data.tar.gz: d922cfba5e22b7098f7ca19501f364a8d912ef17da44d409152d79e7ad0d901a19031bdabd4fc1a2472703f5e4696510b10a4cc47863360eff1fa16547f94ace
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # [v1.0.1](https://github.com/Muriel-Salvan/secret_string/compare/v1.0.0...v1.0.1) (2021-06-30 10:46:43)
2
+
3
+ ### Patches
4
+
5
+ * [Corrected typos in doc](https://github.com/Muriel-Salvan/secret_string/commit/46f5bb2e02ec9589818aaddf5a675820a6706b56)
6
+
1
7
  # [v0.0.1](https://github.com/Muriel-Salvan/secret_string/compare/...v0.0.1) (2021-06-28 16:06:53)
2
8
 
3
9
  ### Patches
data/README.md CHANGED
@@ -8,15 +8,15 @@ This Rubygem gives you ways to clean sensitive data (secrets, SSH keys, password
8
8
 
9
9
  ## Install
10
10
 
11
- Via gem
11
+ Via gem command line:
12
12
 
13
- ``` bash
14
- $ gem install secret_string
13
+ ```bash
14
+ gem install secret_string
15
15
  ```
16
16
 
17
17
  If using `bundler`, add this in your `Gemfile`:
18
18
 
19
- ``` ruby
19
+ ```ruby
20
20
  gem 'secret_string'
21
21
  ```
22
22
 
@@ -63,7 +63,7 @@ end
63
63
 
64
64
  ### With the `SecretString` class
65
65
 
66
- If you need more control (like having a simple scope is not enough), you can directly use the `SecureString` class to protect your strings.
66
+ If you need more control (like having a simple scope is not enough), you can directly use the `SecretString` class to protect your strings.
67
67
  If you do so, don't forget to call the `erase` method to clean their data, and make sure you didn't clone the secret in other variables.
68
68
 
69
69
  Example:
@@ -102,7 +102,7 @@ puts "My secret after being erased is #{my_secret}"
102
102
  # => My secret after being erased is
103
103
  ```
104
104
 
105
- The `erase` and `to_unprotected` methods have also been added to the core String class so that you can treat both `String` and `SecretString` easily within your code logic (no need to plague your code with `if str.is_a?(SecureString)`). Those methods won't do or change anything to the normal Ruby Strings.
105
+ The `erase` and `to_unprotected` methods have also been added to the core String class so that you can treat both `String` and `SecretString` easily within your code logic (no need to plague your code with `if str.is_a?(SecretString)`). Those methods won't do or change anything to the normal Ruby Strings.
106
106
 
107
107
  Example:
108
108
  ```ruby
@@ -1,5 +1,5 @@
1
1
  class SecretString
2
2
 
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secret_string
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muriel Salvan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-28 00:00:00.000000000 Z
11
+ date: 2021-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -72,9 +72,9 @@ email:
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files:
75
- - CHANGELOG.md
76
- - LICENSE.md
77
75
  - README.md
76
+ - LICENSE.md
77
+ - CHANGELOG.md
78
78
  files:
79
79
  - CHANGELOG.md
80
80
  - LICENSE.md