mimas 0.8.0 → 0.8.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: d7b1e0a122cca5f1960259943841f29cb12c967bf694de92338265a8ba3b7d77
4
- data.tar.gz: 83880507d160303bf177657773ebbc5f664fb39a763b28a30c7442020cdbacc2
3
+ metadata.gz: 07ce3491c9d74a20957021ca25030ffcd9756cc5776573e5015c55f43373e828
4
+ data.tar.gz: 487db1186cd077ff7b15e28c05fa0e3aed445b1f03e51e7083ab6a01b73df002
5
5
  SHA512:
6
- metadata.gz: e6bb11010c26816b7ea3af61871b06061782adf92b5222dbb61c8816c35ea23c0d9afe432a329afccf87686c8599c3baad3d66d0aa5309389bb8987da7390a6d
7
- data.tar.gz: b1b77669d6fb2e3809bd5f696c723ccb407a2db9e5d98b6b78f311cfc9b7986f37d44d377897172ef2e8ab9e48a8bb51732572e1aa26c24e3d92b23fdb8d37c9
6
+ metadata.gz: a8df0db3820ed8da319491f7886aeb65ae24dad766f49863872b4be08b869cb1a72a5fc224d9db6acd0f48772e0385600dc6208977c39f92f06b526ea37692cd
7
+ data.tar.gz: 9895fbf0b0882c7594e34ab11a16cb2d14c9bf0f073b77a062e407b2fc32a740d38d220f6a46400b264a63bd0ca291e9de929bacf23a0b86f7159cf168545778
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026-present Ayush Newatia
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -3,7 +3,7 @@ module Mimas
3
3
  module Console
4
4
  def start_console(site)
5
5
  console_command = site.console
6
- exec_command = "cd #{current_path(site)} && ~/.cargo/bin/rv run #{console_command}"
6
+ exec_command = "cd #{current_path(site)} && /usr/bin/env bash -lc 'set -a; source #{site_root(site).join(".env")}; source #{site_root(site).join("mimas", "mimas.env")}; rv run #{console_command}'; set +a;"
7
7
 
8
8
  interactive_ssh(host, user: user, command: exec_command)
9
9
  end
data/lib/mimas/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mimas
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mimas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ayush Newatia
@@ -99,6 +99,7 @@ executables:
99
99
  extensions: []
100
100
  extra_rdoc_files: []
101
101
  files:
102
+ - LICENSE.txt
102
103
  - bin/mimas
103
104
  - lib/mimas.rb
104
105
  - lib/mimas/archiver.rb