localvault 1.0.0 → 1.0.2

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: 188e3a7249114892858d65724529b3d537a2c058250fb06a2bbfd63acc4cc387
4
- data.tar.gz: 222bf0d8f5a377d6633f95ae066769c2db16333913c50c158e430b93b89faf7a
3
+ metadata.gz: '0883874c7172931cee11ae5dfd063b0fb06cdf3d483b3aa75e8c767291596d8c'
4
+ data.tar.gz: 2c13c6a92864ac881c6ec5f52a5ac8f21cde366cdae6e9c6a2dbfd2f2b4e2e2d
5
5
  SHA512:
6
- metadata.gz: 18cf7cdc7323b02abed37741d870dd20dbc5e81415f3d4f802ffd004286b3171c228cfe22e8b2d9d7a927bf9f276990013014c91d5ddb6ae008abc1c199f557d
7
- data.tar.gz: 28dcf1e3d8c3c9626bd328d021e9870d9da0c1804c6b2bf226c20e8411d14a421ec711646d1a6cbd05add7e513bd2a1989c6a45ce891374d9a252c06bec02fae
6
+ metadata.gz: 631a5255e74d88b252ade4f007b868f4fb29a117f74a1c0f12236ab0eeaad9a5661f6f87c0420e42fc8e5d4e640412adcb13a47e26fc211d5b5fa3fabcc40908
7
+ data.tar.gz: cf67984e053d17c850c68f6e8573420a3f8d468de77c80903dbd2f4ff736687499853392600f731c42ce5499bb5950008840071339c0b331ed986f2f89e15709
data/README.md CHANGED
@@ -222,6 +222,10 @@ bundle install
222
222
  bundle exec rake test
223
223
  ```
224
224
 
225
+ ## Used by
226
+
227
+ Powers credentials management at [InventList](https://inventlist.com) — where indie builders ship, share, and get discovered.
228
+
225
229
  ## License
226
230
 
227
231
  MIT
@@ -1,4 +1,25 @@
1
- require "rbnacl"
1
+ begin
2
+ require "rbnacl"
3
+ rescue LoadError => e
4
+ if e.message.include?("libsodium") || e.message.include?("sodium")
5
+ $stderr.puts <<~MSG
6
+
7
+ ERROR: libsodium is not installed.
8
+
9
+ LocalVault requires libsodium for encryption. Install it for your platform:
10
+
11
+ macOS: brew install libsodium
12
+ Ubuntu/Debian: sudo apt-get install libsodium-dev
13
+ Fedora/RHEL: sudo dnf install libsodium-devel
14
+ Arch Linux: sudo pacman -S libsodium
15
+ Alpine: apk add libsodium-dev
16
+
17
+ Then retry: gem install localvault
18
+
19
+ MSG
20
+ end
21
+ raise
22
+ end
2
23
 
3
24
  module LocalVault
4
25
  module Crypto
@@ -1,3 +1,3 @@
1
1
  module LocalVault
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localvault
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nauman Tariq