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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02ccdb9e91b8e7c80772eba88934cec0ce6157fb3bbbdbde6866242d7912ef21
4
- data.tar.gz: 6d9819dec1b04beb805ffa1e76558c6b12efc436bda4627648e0af6f09967411
3
+ metadata.gz: 44fc7447c47930d63937f671b215e6e74de9b913f754df9ad4a591e625d84f0e
4
+ data.tar.gz: e0a3ea5d9e64e44545d2f22b0120ee397fdb9235f7c6e60ef3704a18f8d79954
5
5
  SHA512:
6
- metadata.gz: 35a1e94b1e56239ad67499e6b8ff7dae154d7d7810cedc35450f740b93a03f179f42a66e071ab95e57e9af29f7364a206c4b85e37a3c5726cdcf70c686c37be4
7
- data.tar.gz: a44ff9c673f6319521da9b8470472395ad2a758f6de350cac58e72847cad7e9b135fd22440103d5e6a69b23dd567424f40cf7cd6465b8925510cbb9fa6c8b7dd
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob (0.2.5)
4
+ neetob (0.2.7)
5
5
  dotenv (~> 2.8.1)
6
6
  launchy (~> 2.5.0)
7
7
  octokit (~> 4.0)
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(".ruby-version").strip
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 run "#{heroku_command}" -a #{app}`
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.")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.7"
5
5
  end
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.5
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-15 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor