gtk2_window_settings 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{gtk2_window_settings}
8
- s.version = "0.0.2"
7
+ s.name = "gtk2_window_settings"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kasper Johansen"]
12
- s.date = %q{2012-09-03}
13
- s.description = %q{A class for remembering window-settings using the gtk2-extension for Ruby.}
14
- s.email = %q{k@spernj.org}
12
+ s.date = "2012-09-04"
13
+ s.description = "A class for remembering window-settings using the gtk2-extension for Ruby."
14
+ s.email = "k@spernj.org"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -30,11 +30,11 @@ Gem::Specification.new do |s|
30
30
  "spec/gtk2_window_settings_spec.rb",
31
31
  "spec/spec_helper.rb"
32
32
  ]
33
- s.homepage = %q{http://github.com/kaspernj/gtk2_window_settings}
33
+ s.homepage = "http://github.com/kaspernj/gtk2_window_settings"
34
34
  s.licenses = ["MIT"]
35
35
  s.require_paths = ["lib"]
36
- s.rubygems_version = %q{1.6.2}
37
- s.summary = %q{A class for remembering window-settings using the gtk2-extension for Ruby.}
36
+ s.rubygems_version = "1.8.24"
37
+ s.summary = "A class for remembering window-settings using the gtk2-extension for Ruby."
38
38
 
39
39
  if s.respond_to? :specification_version then
40
40
  s.specification_version = 3
@@ -70,6 +70,9 @@ class Gtk2_window_settings
70
70
 
71
71
  false
72
72
  end
73
+
74
+ #If false isnt returned the event might be canceled, which can lead to very buggy behaviour.
75
+ return false
73
76
  end
74
77
 
75
78
  #Called when the window is moved on the screen. Writes the new size to the database.
@@ -86,5 +89,8 @@ class Gtk2_window_settings
86
89
 
87
90
  false
88
91
  end
92
+
93
+ #If false isnt returned the event might be canceled, which can lead to very buggy behaviour.
94
+ return false
89
95
  end
90
96
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gtk2_window_settings
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kasper Johansen
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-09-03 00:00:00 +02:00
14
- default_executable:
13
+ date: 2012-09-04 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: gtk2
@@ -101,7 +100,6 @@ files:
101
100
  - lib/gtk2_window_settings.rb
102
101
  - spec/gtk2_window_settings_spec.rb
103
102
  - spec/spec_helper.rb
104
- has_rdoc: true
105
103
  homepage: http://github.com/kaspernj/gtk2_window_settings
106
104
  licenses:
107
105
  - MIT
@@ -115,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
113
  requirements:
116
114
  - - ">="
117
115
  - !ruby/object:Gem::Version
118
- hash: 2803892222156544132
116
+ hash: 961482250520693283
119
117
  segments:
120
118
  - 0
121
119
  version: "0"
@@ -128,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
126
  requirements: []
129
127
 
130
128
  rubyforge_project:
131
- rubygems_version: 1.6.2
129
+ rubygems_version: 1.8.24
132
130
  signing_key:
133
131
  specification_version: 3
134
132
  summary: A class for remembering window-settings using the gtk2-extension for Ruby.