Skip to content

Commit

Permalink
adding sqlite editor default options to settings
Browse files Browse the repository at this point in the history
On a new install idb would crash due to missing
config option

Fixes #79
  • Loading branch information
dmayer-mtso committed Jul 22, 2017
1 parent a611d74 commit c87dc47
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 22 deletions.
42 changes: 22 additions & 20 deletions Gemfile.lock
@@ -1,10 +1,9 @@
PATH
remote: .
specs:
idb (2.9.0)
idb (2.9.1)
awesome_print
coderay
ffi
git
hexdump
htmlentities
Expand All @@ -21,30 +20,31 @@ PATH
GEM
remote: https://rubygems.org/
specs:
addressable (2.4.0)
awesome_print (1.6.1)
addressable (2.5.1)
public_suffix (~> 2.0, >= 2.0.2)
awesome_print (1.8.0)
byebug (9.0.6)
coderay (1.1.0)
ffi (1.9.10)
git (1.2.9.1)
haml (4.0.7)
coderay (1.1.1)
git (1.3.0)
haml (5.0.1)
temple (>= 0.8.0)
tilt
hexdump (0.2.3)
htmlentities (4.3.4)
json (1.8.3)
json (2.1.0)
launchy (2.4.3)
addressable (~> 2.3)
libxml-ruby (2.8.0)
libxml-ruby (3.0.0)
libxml4r (0.2.6)
libxml-ruby (>= 1.1.3)
log4r (1.1.10)
method_source (0.8.2)
mini_portile2 (2.0.0)
mini_portile2 (2.2.0)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (3.0.1)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
net-ssh (4.1.0)
nokogiri (1.8.0)
mini_portile2 (~> 2.2.0)
plist4r (1.2.2)
haml
libxml-ruby
Expand All @@ -53,14 +53,16 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
pry-byebug (3.4.2)
byebug (~> 9.0)
pry (~> 0.10)
qtbindings (4.8.6.2)
rake (10.4.2)
public_suffix (2.0.5)
qtbindings (4.8.6.3)
rake (12.0.0)
slop (3.6.0)
sqlite3 (1.3.11)
tilt (2.0.1)
sqlite3 (1.3.13)
temple (0.8.0)
tilt (2.0.7)

PLATFORMS
ruby
Expand All @@ -73,4 +75,4 @@ DEPENDENCIES
rake

BUNDLED WITH
1.12.5
1.15.3
1 change: 0 additions & 1 deletion idb.gemspec
Expand Up @@ -32,7 +32,6 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'coderay'
spec.add_runtime_dependency 'qtbindings'
spec.add_runtime_dependency 'awesome_print'
spec.add_runtime_dependency 'ffi' # not really used atm.
spec.add_runtime_dependency 'htmlentities'
spec.add_runtime_dependency 'log4r'
spec.add_runtime_dependency 'git'
Expand Down
2 changes: 1 addition & 1 deletion lib/idb/version.rb
@@ -1,3 +1,3 @@
module Idb
VERSION = "2.9.1"
VERSION = "2.9.2"
end
1 change: 1 addition & 0 deletions lib/lib/settings.rb
Expand Up @@ -30,6 +30,7 @@ def load
@data["manual_ssh_port"] = "2222"
@data["idb_utility_port"] = "4711"
@data["device_connection_mode"] = "usb"
@data["sqlite_editor"] = ""
$log.info "Storing new configuration at #{@file_name}"
store
load
Expand Down

0 comments on commit c87dc47

Please sign in to comment.