trusted-sandbox 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 2d4e0bcecde1af0fb5f4c06a716777e1504e319b
4
- data.tar.gz: f89202701ed4195b50d54d16e33fcfba824c006e
3
+ metadata.gz: 4e79ee5b95826f3f6b958d64ba41aa5bc69698be
4
+ data.tar.gz: 674ce0e484bc9f25a1daadd890806ec5cbec1c49
5
5
  SHA512:
6
- metadata.gz: 7aef11d8b4ff742e7413d1aba15cf09d81df302e1cfd537557f98051b0b7d0282fb48667d00d14eddd171561a0c01766156f4135956ddd98f8de3d73613aa2f5
7
- data.tar.gz: 1d3d9de1be89cd85e08c281272d5af13b500896d9daa2bbd0ebcc410925c5263a916c355833dbe3d003fb536b0d5a945c4b8f4c46f63fbd4cf87279b25aed051
6
+ metadata.gz: 758f1b48f60299af80576785a12b6c19e3d1e93d119c5fc54922d36b943585cc4114639cae7db200003b04b6782491813a7eaf506d7936fb300093307ffbe445
7
+ data.tar.gz: 0ebb3139a9378b6dda3bc53251bbcbc04b6f78d5e739bcdec0a91a59fc66a425207772355d8f03d867ecf29b9d8406948c175136da77764124f81d167ac938f1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusted-sandbox (0.1.2)
4
+ trusted-sandbox (0.1.3)
5
5
  docker-api (~> 1.13)
6
6
  thor (~> 0.19)
7
7
 
@@ -10,11 +10,11 @@ GEM
10
10
  specs:
11
11
  archive-tar-minitar (0.5.2)
12
12
  diff-lcs (1.2.5)
13
- docker-api (1.13.6)
13
+ docker-api (1.14.0)
14
14
  archive-tar-minitar
15
15
  excon (>= 0.38.0)
16
16
  json
17
- excon (0.40.0)
17
+ excon (0.41.0)
18
18
  json (1.8.1)
19
19
  rake (10.1.0)
20
20
  rr (1.1.2)
data/README.md CHANGED
@@ -274,7 +274,7 @@ You should see something like this:
274
274
 
275
275
  To actually set the quotas, run the following (quota is in KB):
276
276
  ```
277
- $ sudo trusted_sandbox set_quotas 10000
277
+ $ trusted_sandbox set_quotas 10000
278
278
  ```
279
279
  This sets ~10MB quota on all UIDs that are in the range defined by `pool_size` and `pool_min_uid` parameters. If you
280
280
  change these configuration parameters you must rerun the `set_quotas` command.
@@ -61,7 +61,7 @@ module TrustedSandbox
61
61
  to = TrustedSandbox.config.pool_max_uid
62
62
  puts "Configuring quota for UIDs [#{from}..#{to}]"
63
63
  (from..to).each do |uid|
64
- `setquota -u #{uid} 0 #{quota_kb} 0 0 /`
64
+ `sudo setquota -u #{uid} 0 #{quota_kb} 0 0 /`
65
65
  end
66
66
  end
67
67
 
@@ -1,3 +1,3 @@
1
1
  module TrustedSandbox
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusted-sandbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amit Aharoni