gir_ffi-gtk 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.md +4 -0
- data/lib/gir_ffi-gtk/base.rb +3 -3
- data/test/gir_ffi-gtk/base_test.rb +0 -2
- data/test/gir_ffi-gtk/generated_gtk_test.rb +0 -1
- data/test/gir_ffi-gtk/menu_test.rb +0 -2
- data/test/test_helper.rb +2 -3
- metadata +6 -6
data/Changelog.md
CHANGED
data/lib/gir_ffi-gtk/base.rb
CHANGED
@@ -4,9 +4,9 @@ module Gtk
|
|
4
4
|
setup_method "init"
|
5
5
|
|
6
6
|
def self.init_with_auto_argv
|
7
|
-
|
8
|
-
|
9
|
-
ARGV.replace
|
7
|
+
remaining = init_without_auto_argv([$0, *ARGV]).to_a
|
8
|
+
remaining.shift
|
9
|
+
ARGV.replace remaining
|
10
10
|
end
|
11
11
|
class << self
|
12
12
|
alias init_without_auto_argv init
|
data/test/test_helper.rb
CHANGED
@@ -7,7 +7,6 @@ if RUBY_VERSION >= "1.9" and ENV["SIMPLECOV"]
|
|
7
7
|
SimpleCov.start
|
8
8
|
end
|
9
9
|
|
10
|
-
require 'minitest/spec'
|
11
10
|
require 'minitest/autorun'
|
12
11
|
require 'rr'
|
13
12
|
|
@@ -15,9 +14,9 @@ Thread.abort_on_exception = true
|
|
15
14
|
|
16
15
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
17
16
|
|
18
|
-
require 'gir_ffi'
|
17
|
+
require 'gir_ffi-gtk3'
|
19
18
|
|
20
|
-
class
|
19
|
+
class Minitest::Test
|
21
20
|
include RR::Adapters::TestUnit
|
22
21
|
|
23
22
|
def assert_nothing_raised
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gir_ffi-gtk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gir_ffi
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.6.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.6.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: minitest
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: '5.0'
|
38
38
|
type: :development
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: '5.0'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rr
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|