console_buddy 0.1.2 → 0.1.4
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 +4 -4
- data/lib/console_buddy/jobs/resque.rb +1 -1
- data/lib/console_buddy/version.rb +1 -1
- data/lib/console_buddy.rb +2 -2
- 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: 0e75b7c226fbd998a755de1b2aae689f803e2d8a763d8f5bec5e960ea4d861be
|
4
|
+
data.tar.gz: f743de5e2757ab1957089687587a74decdddea8ac423ba0f8bf2586286e8c3d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43ed9456043bfbc5ef45cff2f1815e9d6becec1915691b0f5def7b248f5c1eb888108036f34935ec33965263b8e6df2a60fd0e7fa9e418882ee5099c0d60be5a
|
7
|
+
data.tar.gz: debbb0f400ecdc58dd3c6c076f70f49213e97d0aa4619410919cdc81b2d5b9c0c20bb0b2e15ae83746b6459d166bbb889e7e31ff4fcb8362ccb44f7758b757cf
|
data/lib/console_buddy.rb
CHANGED
@@ -66,7 +66,7 @@ module ConsoleBuddy
|
|
66
66
|
start_buddy_in_byebug
|
67
67
|
puts "ConsoleBuddy session started! Debugger: #{use_in_debuggers} | Test: #{current_env}" if verbose_console
|
68
68
|
rescue ::StandardError => error
|
69
|
-
puts "ConsoleBuddy encountered an during startup. [Error]: #{error.message}"
|
69
|
+
puts "ConsoleBuddy encountered an during startup. [Error]: #{error.message}" unless ignore_startup_errors
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
@@ -103,7 +103,7 @@ module ConsoleBuddy
|
|
103
103
|
end
|
104
104
|
|
105
105
|
def current_env
|
106
|
-
ENV['RAILS_ENV']
|
106
|
+
ENV['RAILS_ENV'] || ENV['RACK_ENV']
|
107
107
|
end
|
108
108
|
|
109
109
|
# Loads the .console_buddy/config file if present
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: console_buddy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Bowie
|
@@ -228,7 +228,7 @@ requirements: []
|
|
228
228
|
rubygems_version: 3.4.1
|
229
229
|
signing_key:
|
230
230
|
specification_version: 4
|
231
|
-
summary: Have you ever
|
231
|
+
summary: Have you ever had debugging tricks, aliases, or shortcuts that don't make
|
232
232
|
sense as application code but, are super helpful in the console? Define custom methods,
|
233
233
|
helper, and aliases for your app and use them in your rails console or IRB session.
|
234
234
|
test_files: []
|