atk 3.0.3-x64-mingw32 → 3.0.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/atk/extconf.rb +1 -0
- data/lib/2.0/atk.so +0 -0
- data/lib/2.1/atk.so +0 -0
- data/lib/2.2/atk.so +0 -0
- data/lib/atk.rb +34 -0
- data/test/test-version.rb +47 -0
- data/vendor/local/bin/libatk-1.0-0.dll +0 -0
- data/vendor/local/lib/girepository-1.0/Atk-1.0.typelib +0 -0
- data/vendor/local/lib/libatk-1.0.dll.a +0 -0
- data/vendor/local/lib/libatk-1.0.la +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8fbbacbcaa4fba86964647cbddfae60f309ca76
|
4
|
+
data.tar.gz: 4f9cebac554d3f655cf57d4096e9a142432609eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d87cb308622be8e229aa490b35b6e4e610ad1dc0766e15b7c83ff6fa1036585039e3051ce1a7367045ce4ae8e99c04107a5eb586def2dfb6429807fcb7141949
|
7
|
+
data.tar.gz: acdce2917645abdfc968d5289b80a9e70a72da937a0908ed2e441d401213b1a1fb631ea08cf53cdd43a8458d58eaf0ada45c158bf5dc83f4d7da32c3818bf1b5
|
data/ext/atk/extconf.rb
CHANGED
data/lib/2.0/atk.so
CHANGED
Binary file
|
data/lib/2.1/atk.so
CHANGED
Binary file
|
data/lib/2.2/atk.so
CHANGED
Binary file
|
data/lib/atk.rb
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
# Copyright (C) 2015 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
1
17
|
require 'glib2'
|
2
18
|
|
3
19
|
base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
|
@@ -19,3 +35,21 @@ if vendor_dir.exist?
|
|
19
35
|
rescue LoadError
|
20
36
|
end
|
21
37
|
end
|
38
|
+
|
39
|
+
module Atk
|
40
|
+
module Version
|
41
|
+
MAJOR, MINOR, MICRO = Atk::BUILD_VERSION
|
42
|
+
STRING = Atk::BUILD_VERSION.join(".")
|
43
|
+
class << self
|
44
|
+
def or_later?(major, minor, micro=nil)
|
45
|
+
micro ||= 0
|
46
|
+
version = [
|
47
|
+
MAJOR,
|
48
|
+
MINOR,
|
49
|
+
MICRO,
|
50
|
+
]
|
51
|
+
(version <=> [major, minor, micro]) >= 0
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# Copyright (C) 2015 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestAtkVersion < Test::Unit::TestCase
|
18
|
+
include AtkTestUtils
|
19
|
+
|
20
|
+
test "STRING" do
|
21
|
+
major = Atk::Version::MAJOR
|
22
|
+
minor = Atk::Version::MINOR
|
23
|
+
micro = Atk::Version::MICRO
|
24
|
+
assert_equal([major, minor, micro].join("."),
|
25
|
+
Atk::Version::STRING)
|
26
|
+
end
|
27
|
+
|
28
|
+
sub_test_case("#or_later?") do
|
29
|
+
test "same" do
|
30
|
+
assert_true(Atk::Version.or_later?(Atk::Version::MAJOR,
|
31
|
+
Atk::Version::MINOR,
|
32
|
+
Atk::Version::MICRO))
|
33
|
+
end
|
34
|
+
|
35
|
+
test "later" do
|
36
|
+
assert_true(Atk::Version.or_later?(Atk::Version::MAJOR,
|
37
|
+
Atk::Version::MINOR - 1,
|
38
|
+
Atk::Version::MICRO))
|
39
|
+
end
|
40
|
+
|
41
|
+
test "earlier" do
|
42
|
+
assert_false(Atk::Version.or_later?(Atk::Version::MAJOR,
|
43
|
+
Atk::Version::MINOR + 1,
|
44
|
+
Atk::Version::MICRO))
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
@@ -17,7 +17,7 @@ old_library=''
|
|
17
17
|
inherited_linker_flags=' -pthread'
|
18
18
|
|
19
19
|
# Libraries that this one depends upon.
|
20
|
-
dependency_libs=' -
|
20
|
+
dependency_libs=' -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/rcairo.win64/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/atk/vendor/local/lib /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libffi.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libintl.la'
|
21
21
|
|
22
22
|
# Names of additional weak libraries provided by this library
|
23
23
|
weak_library_names=''
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glib2
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.
|
19
|
+
version: 3.0.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.
|
26
|
+
version: 3.0.4
|
27
27
|
description: Ruby/ATK is a Ruby binding of ATK-1.0.x.
|
28
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
29
|
executables: []
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- test/atk-test-utils.rb
|
77
77
|
- test/run-test.rb
|
78
78
|
- test/test-text-rectangle.rb
|
79
|
+
- test/test-version.rb
|
79
80
|
- vendor/local/bin/libatk-1.0-0.dll
|
80
81
|
- vendor/local/include/atk-1.0/atk/atk-enum-types.h
|
81
82
|
- vendor/local/include/atk-1.0/atk/atk.h
|