azure-blob 0.4.0 → 0.4.1

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: 046a2472eb232c6579a189ea2621c495348c43487d0963d71c7ff47283da59f0
4
- data.tar.gz: 18793a16bea30be351fcd78a3e5cdd91375f1df54db1477632851e7ed0a6540b
3
+ metadata.gz: 20f2d1c40dbc979782d017b025e5369f21e8ec9c1de02e50ef030648b8fd557b
4
+ data.tar.gz: d818c311fb5a55db068d1b6d7e8d112d0fc44aa5f862144ec789ce3e3cd97a99
5
5
  SHA512:
6
- metadata.gz: c2881fd3b9681468cf9639b3049876773e15de1853915b48dd22cca0dd34815c60198f45768017de736a475ac1e58e295921f9081e27ea002c40b0518e7e8993
7
- data.tar.gz: 7f877ab5f4c5c94f5204088270d6fb2fc6d8b78d4ac88892ec79ee0176bfad30f91f4666176b9c25f0a74b4d3cdbbd30625b4541e3a2b1e9aceb33a7f599a542
6
+ metadata.gz: 9f58536a8295aa300c0be73a4654e2a888a51db9c7acc0bb793297c3878c39947aef7bf25c4231ab30e2ee764bd65a3f5c5863d0a2b5b555bf9c7bd976abeb13
7
+ data.tar.gz: ae0f1e93eaff5c7f196fa78b6cf230f6be2a3c05cb4ba9635eb19828539cf381c8c23415453678ea19e790d860b65180260e9175ad1c825cb904047b09893047
data/README.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  This gem was built to replace azure-storage-blob (deprecated) in Active Storage, but was written to be Rails agnostic.
4
4
 
5
+ ## Contributing
6
+
7
+ ### dev environment
8
+
9
+ Ensure your version of Ruby fit the minimum version in `azure-blob.gemspec`
10
+
11
+ and setup those Env variables:
12
+
13
+ - `AZURE_ACCOUNT_NAME`
14
+ - `AZURE_ACCESS_KEY`
15
+ - `AZURE_PRIVATE_CONTAINER`
16
+ - `AZURE_PUBLIC_CONTAINER`
17
+
18
+
19
+ A dev environment setup is also supplied through Nix with [devenv](https://devenv.sh/).
20
+
21
+ To use the Nix environment:
22
+ 1- install [devenv](https://devenv.sh/)
23
+ 2- Copy `devenv.local.nix.example` to `devenv.local.nix`
24
+ 3- Insert your azure credentials into `devenv.local.nix`
25
+ 4- Start the shell with `devenv shell` or with [direnv](https://direnv.net/).
26
+
27
+ ### Tests
28
+
29
+ `bin/rake test`.
5
30
 
6
31
  # Active Storage
7
32
 
@@ -0,0 +1,8 @@
1
+ {pkgs, lib, ...}:{
2
+ env = {
3
+ AZURE_ACCOUNT_NAME = "";
4
+ AZURE_ACCESS_KEY = "";
5
+ AZURE_PRIVATE_CONTAINER = "";
6
+ AZURE_PUBLIC_CONTAINER = "";
7
+ };
8
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AzureBlob
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure-blob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joé Dupuis
@@ -39,6 +39,7 @@ files:
39
39
  - README.md
40
40
  - Rakefile
41
41
  - azure-blob.gemspec
42
+ - devenv.local.nix.example
42
43
  - devenv.lock
43
44
  - devenv.nix
44
45
  - devenv.yaml