kgem 0.1.3 → 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.
- data/Rakefile +1 -1
- data/bin/kgem.rb +1 -1
- data/lib/downloadedwin.rb +1 -1
- data/lib/gemviews.rb +4 -2
- data/lib/searchwin.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
data/bin/kgem.rb
CHANGED
|
@@ -12,7 +12,7 @@ APP_FILE = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
|
|
12
12
|
APP_NAME = File.basename(APP_FILE).sub(/\.rb/, '')
|
|
13
13
|
APP_DIR = File::dirname(File.expand_path(File.dirname(APP_FILE)))
|
|
14
14
|
LIB_DIR = File::join(APP_DIR, "lib")
|
|
15
|
-
APP_VERSION = "0.1.
|
|
15
|
+
APP_VERSION = "0.1.4"
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
# standard libs
|
data/lib/downloadedwin.rb
CHANGED
|
@@ -241,7 +241,7 @@ class DownloadedWin < Qt::Widget
|
|
|
241
241
|
if Settings.autoUnpackFlag then
|
|
242
242
|
dir = Settings.autoUnpackDir
|
|
243
243
|
else
|
|
244
|
-
dir =
|
|
244
|
+
dir = Qt::FileDialog::getExistingDirectory(nil, 'select folder', Settings.autoUnpackDir)
|
|
245
245
|
return unless dir
|
|
246
246
|
Settings.autoUnpackDir.setUrl(dir)
|
|
247
247
|
end
|
data/lib/gemviews.rb
CHANGED
|
@@ -239,10 +239,12 @@ Pristine All ?
|
|
|
239
239
|
if Settings.autoFetchFlag then
|
|
240
240
|
dir = Settings.autoFetchDir
|
|
241
241
|
else
|
|
242
|
-
|
|
242
|
+
puts Settings.autoFetchDir.inspect
|
|
243
|
+
dir = Qt::FileDialog::getExistingDirectory(nil, 'select folder', Settings.autoFetchDir)
|
|
243
244
|
return unless dir
|
|
244
|
-
Settings.autoFetchDir
|
|
245
|
+
Settings.autoFetchDir = dir
|
|
245
246
|
end
|
|
247
|
+
FileUtils.mkdir_p(dir)
|
|
246
248
|
Dir.chdir(dir)
|
|
247
249
|
cmd = 'gem'
|
|
248
250
|
args = @selectDownloadVerDlg.makeDownloadArgs
|
data/lib/searchwin.rb
CHANGED
|
@@ -84,7 +84,7 @@ class SearchWin < Qt::Widget
|
|
|
84
84
|
w.sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::Expanding, Qt::SizePolicy::Fixed, Qt::SizePolicy::LineEdit)
|
|
85
85
|
end
|
|
86
86
|
|
|
87
|
-
@searchBtn = KDE::PushButton.new(KDE::Icon.new('search'), i18n('Search'))
|
|
87
|
+
@searchBtn = KDE::PushButton.new(KDE::Icon.new('system-search'), i18n('Search'))
|
|
88
88
|
@downloadBtn = KDE::PushButton.new(KDE::Icon.new('download'), i18n('Download'))
|
|
89
89
|
@installBtn = KDE::PushButton.new(KDE::Icon.new('run-build-install'), i18n('Install'))
|
|
90
90
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kgem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.1.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- ruby.twiddler
|