aethernal-agent 0.4.3 → 0.4.4

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: 5e9159af826f9b6cce6ab160a368a5dba5392ed71c26a23beb6dde909a500bde
4
- data.tar.gz: 62f56bfebefd16dafb2cc33a08840bf416dba5f87dd330e23591ae8637d39b3c
3
+ metadata.gz: d68a8109eb9184f6e2f8830ad487b2c66b66c0386d99e70fa56daa713314d80c
4
+ data.tar.gz: '08ab3e66ec636a3deb41fc2bff6b49a33f5684f97c12c6f30ec0c0dd0894b7db'
5
5
  SHA512:
6
- metadata.gz: cad44fdc4c448a78658220a2894a67bf49a5a71b7e2b14281073337cf51845780c1d1b67133af547177e12288ecd73775db11097340757d40da85ac9e72e2b9b
7
- data.tar.gz: 6825e5ae99fbd69e9314e912899faad017c7dffa4124344f8f246c4c8909136839503db93ad2bbc6d27bea26f896ffb5563aee1e57acde7e21e60df6578f5f47
6
+ metadata.gz: a6da8a390096a758098794f06eef054bd8231c32e32d457377e89260524a6d6559ee6c826422b60c89002e5259e299bdcc86398c0029a4a1b0e6d07ec3fe0a32
7
+ data.tar.gz: fd591ef581781f6446efa05efac56aeb90650185b48a5ccd51bf5fa977ca50aee34155990b37a448ac0f42c8fe756f1e5181b9d2c58ec05581e24418236f8268
@@ -1,10 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aethernal-agent (0.4.2)
5
- activesupport
4
+ aethernal-agent (0.4.3)
5
+ activesupport (~> 6.0.3.4)
6
6
  bcrypt
7
7
  docker-api (~> 1.34.2)
8
+ ruby2_keywords (= 0.0.2)
8
9
  sinatra (~> 2.0.7)
9
10
  sinatra-contrib
10
11
  sqlite3
@@ -20,7 +21,7 @@ GEM
20
21
  minitest (~> 5.1)
21
22
  tzinfo (~> 1.1)
22
23
  zeitwerk (~> 2.2, >= 2.2.2)
23
- backports (3.18.2)
24
+ backports (3.20.1)
24
25
  bcrypt (3.1.16)
25
26
  coderay (1.1.3)
26
27
  concurrent-ruby (1.1.7)
@@ -28,11 +29,11 @@ GEM
28
29
  docker-api (1.34.2)
29
30
  excon (>= 0.47.0)
30
31
  multi_json
31
- excon (0.78.0)
32
- i18n (1.8.5)
32
+ excon (0.78.1)
33
+ i18n (1.8.7)
33
34
  concurrent-ruby (~> 1.0)
34
35
  method_source (1.0.0)
35
- minitest (5.14.2)
36
+ minitest (5.14.3)
36
37
  multi_json (1.15.0)
37
38
  mustermann (1.1.1)
38
39
  ruby2_keywords (~> 0.0.1)
@@ -93,7 +94,7 @@ GEM
93
94
  thor (1.0.1)
94
95
  thread_safe (0.3.6)
95
96
  tilt (2.0.10)
96
- tzinfo (1.2.8)
97
+ tzinfo (1.2.9)
97
98
  thread_safe (~> 0.1)
98
99
  unicode-display_width (1.7.0)
99
100
  zeitwerk (2.4.2)
@@ -109,4 +110,4 @@ DEPENDENCIES
109
110
  serverspec
110
111
 
111
112
  BUNDLED WITH
112
- 2.1.4
113
+ 2.2.5
@@ -38,6 +38,7 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency "serverspec"
39
39
  spec.add_development_dependency "pry"
40
40
  spec.add_dependency "activesupport" # We leave this loose to not interfere with Rails projects
41
+ spec.add_dependency "ruby2_keywords", "0.0.2" # We leave this loose to not interfere with Rails projects
41
42
  spec.add_dependency "sinatra", "~> 2.0.7"
42
43
  spec.add_dependency "sinatra-contrib"
43
44
  spec.add_dependency "sqlite3"
@@ -373,5 +373,6 @@ module AethernalAgent
373
373
 
374
374
  return sha.hexdigest
375
375
  end
376
+
376
377
  end
377
378
  end
@@ -1,3 +1,3 @@
1
1
  module AethernalAgent
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
@@ -49,6 +49,12 @@ module AethernalAgent
49
49
  end
50
50
  end
51
51
 
52
+ post "/refresh_apache_configuration" do
53
+ options = {custom_domains: params[:custom_domains], user: params[:user]}
54
+ apache = AethernalAgent::Apache.new(options)
55
+ apache.ensure_base_config(options)
56
+ end
57
+
52
58
  post "/plugins/:app_name/:method_name/?:wait?" do
53
59
  app = params['app_name']
54
60
  method = params['method_name']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aethernal-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maran
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-15 00:00:00.000000000 Z
11
+ date: 2021-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: ruby2_keywords
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.0.2
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.0.2
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: sinatra
85
99
  requirement: !ruby/object:Gem::Requirement