gtk2passwordapp 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/gtk2passwordapp +1 -1
- data/lib/gtk2passwordapp/appconfig.rb +5 -5
- data/lib/gtk2passwordapp/passwords.rb +1 -0
- data/lib/gtk2passwordapp.rb +2 -5
- metadata +5 -5
data/bin/gtk2passwordapp
CHANGED
@@ -23,7 +23,7 @@ begin
|
|
23
23
|
:website => 'http://ruby-gnome-apps.blogspot.com/search/label/Passwords',
|
24
24
|
:website_label => 'Ruby-Gnome Password Manager',
|
25
25
|
:license => 'GPL',
|
26
|
-
:copyright => '2010-08-
|
26
|
+
:copyright => '2010-08-06 08:46:14',
|
27
27
|
}
|
28
28
|
|
29
29
|
PROGRAM.window(about) do |window|
|
@@ -39,10 +39,10 @@ module Configuration
|
|
39
39
|
WIDGET_OPTIONS[:padding] = PADDING
|
40
40
|
end
|
41
41
|
|
42
|
-
def self.passwords_updated
|
43
|
-
#
|
44
|
-
|
45
|
-
|
46
|
-
|
42
|
+
def self.passwords_updated(dumpfile)
|
43
|
+
# After the password files are saved, you have the option here to backup or mirror the files elsewhere....
|
44
|
+
#fn = File.basename(dumpfile)
|
45
|
+
#system( "scp #{dumpfile} user@192.168.1.123:.gtk2passwordapp-1/#{fn}")
|
46
|
+
#system( "scp #{Configuration::PASSWORDS_DATA_DIR}/passphrase.txt user@192.168.1.123:.gtk2passwordapp-1/passphrase.txt")
|
47
47
|
end
|
48
48
|
end
|
data/lib/gtk2passwordapp.rb
CHANGED
@@ -231,9 +231,7 @@ module Gtk2PasswordApp
|
|
231
231
|
pwd2 = Gtk2PasswordApp.get_salt('Verify')
|
232
232
|
return if !pwd2
|
233
233
|
end
|
234
|
-
|
235
|
-
passwords.save(pwd1)
|
236
|
-
Gtk2AppLib.passwords_updated
|
234
|
+
Gtk2AppLib.passwords_updated( passwords.save(pwd1) )
|
237
235
|
end
|
238
236
|
end
|
239
237
|
}
|
@@ -241,8 +239,7 @@ module Gtk2PasswordApp
|
|
241
239
|
# Save
|
242
240
|
widget[:save].signal_connect('clicked'){
|
243
241
|
if updated then
|
244
|
-
passwords.save
|
245
|
-
Gtk2AppLib.passwords_updated
|
242
|
+
Gtk2AppLib.passwords_updated( passwords.save )
|
246
243
|
updated = false
|
247
244
|
Gtk2PasswordApp.rebuild_menu(passwords)
|
248
245
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gtk2passwordapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 1.3.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- carlosjhr64@gmail.com
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-08-
|
18
|
+
date: 2010-08-06 00:00:00 -07:00
|
19
19
|
default_executable: gtk2passwordapp
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|