deployed 0.1.0 → 0.1.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: 50080d040c3bff4dd637c1a713099f647b33da038b2941b39a5880231626b8ac
4
- data.tar.gz: 5c65431ac771b299bb08bfce1af59e7b8ac4654a8676205c3df2faa28fc18696
3
+ metadata.gz: e1f71cb9305f84bd114bf8e1fa31f8476ddb975a84435fc95e29fb96c89da4db
4
+ data.tar.gz: c1a0b28ccb763a174730be3a8fff3602da272eae122a77046516984eb78cafeb
5
5
  SHA512:
6
- metadata.gz: 862ee593d481ad2fcaa39a97ca378c90b92463f3ca66fb88d024df960a8c9dc4bc4c3a7673e42c4353159c582b7f200049c67b170287ca5a2136ea592b584baf
7
- data.tar.gz: 9e7ca19e33afe77160a635491e66a79f66aebe8cefb306264262f27034f9acadc23522ef5a8b66d7db9b2752dd4b0116538909635eac21c3a06c2a312aacfbfe
6
+ metadata.gz: 8c91b4d97bc69ed65368f308ad48250d2da25a41e427e5ad7c7c9efb3ace3a9341057004e5ab5eb199ccfb8a3615152fc5e43e17afdaafa59d96f728ba68fed3
7
+ data.tar.gz: 512c8cd7c9342fc6142a29e6294939b6bd36d200e29a5724f7d4773a2615318348bea0c6bd83672e92b85cd0a264aad44097631cc52035820bd3bb99507fe03b
@@ -30,7 +30,7 @@ module Deployed
30
30
  $stdout.reopen(write_io)
31
31
 
32
32
  # Execute the command
33
- exec("kamal #{command}; echo \"[Kamal Rails] End transmission\"")
33
+ exec("kamal #{command}; echo \"[Deployed Rails] End transmission\"")
34
34
  end
35
35
 
36
36
  lock_process
@@ -112,7 +112,7 @@ module Deployed
112
112
  logger.info 'IOError'
113
113
  ensure
114
114
  sse.write(
115
- '[Kamal Rails] End transmission',
115
+ '[Deployed Rails] End transmission',
116
116
  event: 'message'
117
117
  )
118
118
  sse.close
@@ -47,7 +47,7 @@ module Deployed
47
47
  button_tag(
48
48
  label,
49
49
  type: 'button',
50
- onclick: "execKamal('#{command}')",
50
+ onclick: "execDeployed('#{command}')",
51
51
  class: 'rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50',
52
52
  'x-bind:disabled' => '$store.process.running',
53
53
  'x-bind:class' => "{'opacity-50': $store.process.running}",
@@ -59,7 +59,7 @@ module Deployed
59
59
  button_tag(
60
60
  'Abort',
61
61
  type: 'button',
62
- onclick: "abortKamal()",
62
+ onclick: "abortDeployed()",
63
63
  class: 'rounded-md bg-red-600 px-3 py-1.5 text-sm text-white shadow-sm hover:bg-red-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-red-600',
64
64
  'x-bind:disabled' => '$store.process.abortInProgress',
65
65
  'x-bind:class' => "{'opacity-50': $store.process.abortInProgress}",
@@ -1,3 +1,3 @@
1
1
  module Deployed
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deployed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Chiu