neetob 0.2.5 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/Gemfile.lock +1 -1
- data/exe/neetob +1 -1
- data/lib/neetob/cli/heroku/execute.rb +2 -2
- data/lib/neetob/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44fc7447c47930d63937f671b215e6e74de9b913f754df9ad4a591e625d84f0e
|
4
|
+
data.tar.gz: e0a3ea5d9e64e44545d2f22b0120ee397fdb9235f7c6e60ef3704a18f8d79954
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd471b240cdab4e99c1dab47bb104c108324613507a5943a3b206785c98949382efef27a980c63d3a7b4c3633f3a62fa911074420176c6e57e3d64a91c608b60
|
7
|
+
data.tar.gz: 35cd801899082fc2e999a4f5075da10bd22b06d21a1c36252c03c007a70b97a1332d65191f4480b5bd5b1fa44466a844809c78b99fa06d7d16064b60a936bde5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
### [0.2.7](https://www.github.com/bigbinary/neetob/compare/v0.2.6...v0.2.7) (2023-03-16)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* Fixed path of ruby-version file ([#227](https://www.github.com/bigbinary/neetob/issues/227)) ([3d2542d](https://www.github.com/bigbinary/neetob/commit/3d2542d9306974009ef51105efd288841f556d5e))
|
9
|
+
|
10
|
+
### [0.2.6](https://www.github.com/bigbinary/neetob/compare/v0.2.5...v0.2.6) (2023-03-15)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* Fixed the heroku execute command ([#221](https://www.github.com/bigbinary/neetob/issues/221)) ([7a93f18](https://www.github.com/bigbinary/neetob/commit/7a93f186f4280e74eec638ed0846e9309db4e2a8))
|
16
|
+
|
3
17
|
### [0.2.5](https://www.github.com/bigbinary/neetob/compare/v0.2.4...v0.2.5) (2023-03-15)
|
4
18
|
|
5
19
|
|
data/Gemfile.lock
CHANGED
data/exe/neetob
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
require "dotenv"
|
5
5
|
require "bundler/setup"
|
6
6
|
|
7
|
-
MIN_RUBY_VERSION = File.read("
|
7
|
+
MIN_RUBY_VERSION = File.read(File.expand_path("../.ruby-version", __dir__)).strip
|
8
8
|
|
9
9
|
if RUBY_VERSION < MIN_RUBY_VERSION
|
10
10
|
raise RuntimeError, "neetob requires Ruby version of #{MIN_RUBY_VERSION} or higher"
|
@@ -19,10 +19,10 @@ module Neetob
|
|
19
19
|
def run
|
20
20
|
matching_apps = find_all_matching_apps_or_repos(apps, :heroku, sandbox)
|
21
21
|
rails_runner_command = "rails runner '#{command_to_execute}'"
|
22
|
-
heroku_command = should_run_in_rails_console ? rails_runner_command : command_to_execute
|
22
|
+
heroku_command = should_run_in_rails_console ? "run \"#{rails_runner_command}\"" : command_to_execute
|
23
23
|
matching_apps.each do |app|
|
24
24
|
ui.info("\n Working on #{app}\n")
|
25
|
-
output = `heroku
|
25
|
+
output = `heroku #{heroku_command} -a #{app}`
|
26
26
|
unless $?.success?
|
27
27
|
ui.error("There is a problem in accessing the app with name \"#{app}\" in your account.")
|
28
28
|
ui.error("Please check the specified app name and ensure you're authorized to view that app.")
|
data/lib/neetob/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neetob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Udai Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|