gtk2passwordapp 1.0.0 → 1.1.0

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/bin/gtk2passwordapp CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'rubygems'
3
- gem 'gtk2applib', '~> 3.1.0'
3
+ gem 'gtk2applib', '~> 4.5.0'
4
4
  require 'gtk2applib/gtk2_app'
5
5
 
6
6
  application = {
@@ -22,8 +22,10 @@ about = {
22
22
  :website => 'http://ruby-gnome-apps.blogspot.com/search/label/Passwords',
23
23
  :website_label => 'Ruby-Gnome Password Manager',
24
24
  :license => 'GPL',
25
- :copyright => '2009-Dec-14',
25
+ :copyright => '2010-01-29 13:46:07',
26
26
  }
27
27
  Gtk2App.main_window(about) do |window|
28
28
  Gtk2PasswordApp.edit(window,passwords)
29
29
  end
30
+
31
+ Gtk2App.finalize
@@ -10,7 +10,7 @@ module Configuration
10
10
  LABEL_WIDTH = 75
11
11
  GO_BUTTON_LENGTH = 50
12
12
  SPIN_BUTTON_LENGTH = 60
13
- PAD = 2 # cell padding
13
+ # PAD = 2 # cell padding
14
14
 
15
15
  MAX_PASSWORD_LENGTH = 20
16
16
  DEFAULT_PASSWORD_LENGTH = 7
@@ -118,18 +118,14 @@ module Gtk2PasswordApp
118
118
  widget = {}
119
119
  EDITOR_LABELS.each {|s|
120
120
  hbox = Gtk::HBox.new
121
- #label = Gtk::Label.new(TEXT[s]+':',hbox)
122
121
  label = Gtk2App::Label.new(TEXT[s]+':',hbox) # Gtk2App's Label
123
- #label.modify_font(FONT[:normal])
124
122
  label.width_request = LABEL_WIDTH
125
123
  label.justify = Gtk::JUSTIFY_RIGHT
126
- #label.wrap = true
127
124
  widget[s] = (s==:account)? Gtk::ComboBoxEntry.new : Gtk::Entry.new
128
125
  widget[s].width_request = ENTRY_WIDTH -
129
126
  ((s == :password)? (SPIN_BUTTON_LENGTH+2*GUI[:padding]):
130
127
  ((s == :url)? (GO_BUTTON_LENGTH+2*GUI[:padding]): 0))
131
128
  widget[s].modify_font(FONT[:normal])
132
- #hbox.pack_start(label, false, false, GUI[:padding])
133
129
  hbox.pack_start(widget[s], false, false, GUI[:padding])
134
130
  vbox.pack_start(hbox, false, false, GUI[:padding])
135
131
  hbox.pack_start(pwdlength, false, false, GUI[:padding]) if s == :password
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtk2passwordapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - carlosjhr64@gmail.com
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-12 00:00:00 -08:00
12
+ date: 2010-01-29 00:00:00 -08:00
13
13
  default_executable: gtk2passwordapp
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -30,9 +30,13 @@ dependencies:
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 3.1.0
33
+ version: 4.5.0
34
34
  version:
35
- description: A Ruby-Gnome password manager. Uses crypt-tea's Tiny Encryption Algorithm to encrypt the datafile. Features random password generator and clipboard use.
35
+ description: |
36
+ A Ruby-Gnome password manager.
37
+ Uses crypt-tea's Tiny Encryption Algorithm to encrypt the datafile.
38
+ Features random password generator and clipboard use.
39
+
36
40
  email: carlosjhr64@gmail.com
37
41
  executables:
38
42
  - gtk2passwordapp
@@ -48,8 +52,10 @@ files:
48
52
  - ./gtk2passwordapp/passwords_data.rb
49
53
  - ./pngs/logo.png
50
54
  - README.txt
51
- has_rdoc: false
55
+ has_rdoc: true
52
56
  homepage: http://ruby-gnome-apps.blogspot.com/search/label/Passwords
57
+ licenses: []
58
+
53
59
  post_install_message:
54
60
  rdoc_options: []
55
61
 
@@ -68,11 +74,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
74
  version: "0"
69
75
  version:
70
76
  requirements:
71
- - ruby-gtk2
77
+ - gtk2
72
78
  rubyforge_project: gtk2passwordapp
73
- rubygems_version: 1.3.1
79
+ rubygems_version: 1.3.5
74
80
  signing_key:
75
- specification_version: 2
81
+ specification_version: 3
76
82
  summary: Ruby-Gnome Password Manager
77
83
  test_files: []
78
84