app-mgr 0.3.0 → 0.3.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
  SHA1:
3
- metadata.gz: d1b7f9478ff5a8baa6ca8fe533dd7d0ed1c2ff31
4
- data.tar.gz: 82c38a2ae61cf314e15f8475d38c4bc7f984d2ee
3
+ metadata.gz: 19554bb1a7aad5dc3f001f6dfa583ce7d324138f
4
+ data.tar.gz: e65dcd8093b4ebabffe02c71b93683ae6c2d8fe2
5
5
  SHA512:
6
- metadata.gz: f680a411fe83caf47a19127138c43cf4b2db29c1973d03f0afe517e8783da6cabbae9dfc3ebf35d018867a2969ba0bf81985b7d1b07fd0270e8db75c00bfd7c4
7
- data.tar.gz: 562307f3909b8517b739183f97f8f9e5a0d70e00bef588f6983be93e976b06870e2e519f57274695d3c5aa354a0c1b4f187d6dd39f836ba95d723ba944cc9956
6
+ metadata.gz: f867b4649393116e46b3c9a3b97bbb4b5868a07823b9cd5d13e87ac24bf39c40b60c5d4d54c7c730c63e3d17667cb0a283a5730d53c1bccce1b6d718421834bb
7
+ data.tar.gz: bec5af08ac8301c5e0f4cee5f46dbd1be023aefec1c67676d686e1faeeb2fcffbd56eeb48f6a2ac5549e6600bb49fbf6c8408786a97049d6477abda3101e1656
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -20,11 +20,14 @@ class AppMgr
20
20
  end
21
21
 
22
22
  def available()
23
- @app.select {|k,v| v[:available] == true}.keys
23
+ @app.keys
24
24
  end
25
25
 
26
26
  def call(app_name)
27
+
28
+ run(app_name) unless running? app_name
27
29
  @app[app_name.to_sym][:running].call
30
+
28
31
  end
29
32
 
30
33
  def execute(name, method, params='')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-mgr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -30,7 +30,7 @@ cert_chain:
30
30
  jZi4xFnZ2LNxhD09t1Ag0wOhNh+yHsyECmyU5Zu7FKG0ZNnX0zc5IAupPGBsMKXf
31
31
  at4=
32
32
  -----END CERTIFICATE-----
33
- date: 2018-07-30 00:00:00.000000000 Z
33
+ date: 2018-07-31 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rscript
@@ -38,20 +38,20 @@ dependencies:
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0.3'
41
+ version: '0.5'
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- version: 0.3.0
44
+ version: 0.5.2
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - "~>"
50
50
  - !ruby/object:Gem::Version
51
- version: '0.3'
51
+ version: '0.5'
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.3.0
54
+ version: 0.5.2
55
55
  description:
56
56
  email: james@jamesrobertson.eu
57
57
  executables: []
metadata.gz.sig CHANGED
Binary file