shenmegui 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/shenmegui/file_dialog.rb +10 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0616bc0a74fa88989396d61aa0d5b29c1b6a743a
4
- data.tar.gz: 3e69d038102eed7384925e33f47c989336eae7c7
3
+ metadata.gz: 44380427299d2ddb86b605ba9ae47a96a28d6d83
4
+ data.tar.gz: 9e3d7a4252d6a395c8ea31591d0a54f46b74d0ba
5
5
  SHA512:
6
- metadata.gz: 5267a28ac71496fe58da7bbe085f04223f79842d07cd3883a0823ce2501818a6d5cc6a3d58ef0017339b24934043c0a5f8e674a317559037ab663350c574e609
7
- data.tar.gz: 51a3dacd5dbb893fea43c17184e361c6a13d6b8f6f726171cd099ab3890b163bbf29d2bf69f12952c5ebce64dc68fb3a3031f43e5b629f4f9f607e2d7fe7247f
6
+ metadata.gz: 70939da850249a3dab80b71cd242b430e4b7b1e582112ca685f5cdf30aeea6ddaa61e408ce00fe44892020d0fec48f9ab85ace86fdb0e518b42282f4d700b66d
7
+ data.tar.gz: c027c6b8c0ceaa1fe15c3a649dd88da234fdd7e7a61fb5ca450c8999bda2d54de9d376363f9bc075fae993c109c9312b356da4c79f1242f73666ceb4fc996b11
@@ -84,7 +84,17 @@ module ShenmeGUI
84
84
  path.force_encoding('GBK').encode('UTF-8')
85
85
  end
86
86
 
87
+ #avoid error under linux
88
+ rescue
89
+ def self.get_open_file_name(params={})
90
+ ""
91
+ end
92
+
93
+ def self.get_save_file_name(params={})
94
+ ""
95
+ end
87
96
  end
97
+
88
98
  end
89
99
 
90
100
  #ShenmeGUI::FileDialog.get_open_file_name(initial_path: 'C:\\')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shenmegui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CicholGricenchos