gsf 3.1.1-x64-mingw32 → 3.1.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ccf3c74415602703899c75e35d43833368da1648
4
- data.tar.gz: 6b40cbf0c4a4ed9f706884a375297271fd3d57cf
3
+ metadata.gz: d4cd69874e83e107949b384c612440d19b95fa85
4
+ data.tar.gz: a3569d0e8a7cb9777bbf7e3a7dc3a782be5cc892
5
5
  SHA512:
6
- metadata.gz: 94c5118e8068068c58a478821d26c379d2aeae2879fb4fdc18b0253861ffddc7380ac69b5f31a493f55b8f1e71cd478709582d9d50484020c0e9faf7c8c22d39
7
- data.tar.gz: 0af08eedbd00afd4b808dedfbe7c7e833686d41de05c9edc82b3521e883fbb754aa7f7a204f64eb5af7e8be0c1753172c070637170570522d21546195e75d864
6
+ metadata.gz: 869a5e994ee8ac9b32081c4eddfe1ec1794dc6429e1738f5426d46521f08d9bad9e1adf84de6d6e29d5f4eaecd81ca14b27f7fa94b6ef7e7ff4089e6581ec9c1
7
+ data.tar.gz: 7f5b6e3f63b49aaf855e50dd4b00350c65f5c5a2ae4af40bdafa51447d3b4e6e8776815c7385d895db2bb8c70d09e4a19f54b79223b23a3282a133904ec8be0b
@@ -0,0 +1,40 @@
1
+ # Copyright (C) 2017 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
+ require "pkg-config"
18
+ require "native-package-installer"
19
+
20
+ case RUBY_PLATFORM
21
+ when /mingw|mswin/
22
+ task :default => "nothing"
23
+ else
24
+ task :default => "dependency:check"
25
+ end
26
+
27
+ task :nothing do
28
+ end
29
+
30
+ namespace :dependency do
31
+ desc "Check dependency"
32
+ task :check do
33
+ unless PKGConfig.check_version?("libgsf-1")
34
+ unless NativePackageInstaller.install(:debian => "libgsf-1-dev",
35
+ :homebrew => "libgsf")
36
+ exit(false)
37
+ end
38
+ end
39
+ end
40
+ end
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2016 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2016-2017 Ruby-GNOME2 Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -19,11 +19,13 @@
19
19
  ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
20
20
  ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
21
21
 
22
+ glib2_base = File.join(ruby_gnome2_base, "glib2")
22
23
  gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
23
24
  gio2_base = File.join(ruby_gnome2_base, "gio2")
24
25
  gsf_base = File.join(ruby_gnome2_base, "gsf")
25
26
 
26
27
  modules = [
28
+ [glib2_base, "glib2"],
27
29
  [gobject_introspection_base, "gobject-introspection"],
28
30
  [gio2_base, "gio2"],
29
31
  [gsf_base, "gsf"]
@@ -42,5 +44,11 @@ $LOAD_PATH.unshift(File.join(gsf_base, "test"))
42
44
  require "gsf-test-utils"
43
45
 
44
46
  require "gsf"
47
+ begin
48
+ Gsf.init
49
+ rescue GObjectIntrospection::RepositoryError
50
+ puts("Omit because typelib file doesn't exist: #{$!.message}")
51
+ exit(true)
52
+ end
45
53
 
46
54
  exit Test::Unit::AutoRunner.run(true, File.join(gsf_base, "test"))
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gsf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
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: 2017-01-26 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gio2
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.1
19
+ version: 3.1.2
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.1.1
26
+ version: 3.1.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gobject-introspection
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.1.1
33
+ version: 3.1.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.1.1
40
+ version: 3.1.2
41
41
  description: Ruby/GSF is a Ruby binding of GSF.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
@@ -45,6 +45,7 @@ extensions: []
45
45
  extra_rdoc_files: []
46
46
  files:
47
47
  - Rakefile
48
+ - dependency-check/Rakefile
48
49
  - lib/gsf.rb
49
50
  - lib/gsf/input.rb
50
51
  - lib/gsf/loader.rb
@@ -209,7 +210,7 @@ files:
209
210
  - vendor/local/share/thumbnailers/gsf-office.thumbnailer
210
211
  homepage: http://ruby-gnome2.sourceforge.jp/
211
212
  licenses:
212
- - LGPLv2.1+
213
+ - LGPL-2.1+
213
214
  metadata: {}
214
215
  post_install_message:
215
216
  rdoc_options: []