libnotify 0.5.5-universal-rubinius-1.2 → 0.5.6.pre1-universal-rubinius-1.2

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/lib/libnotify/ffi.rb CHANGED
@@ -5,7 +5,12 @@ module Libnotify
5
5
  extend ::FFI::Library
6
6
 
7
7
  def self.included(base)
8
- ffi_lib %w[libnotify libnotify.so libnotify.so.1]
8
+ # Workaround for "half-linked" libnotify.so. Does not work on rubinius (no ffi_lib_flags there)!
9
+ # See: https://bugzilla.redhat.com/show_bug.cgi?id=626852
10
+ ffi_lib_flags :lazy, :local, :global if respond_to?(:ffi_lib_flags)
11
+ ffi_lib %w[libgtk-x11-2.0.so.0 libgtk-x11-2.0.so]
12
+ ffi_lib %w[libgtkmm-2.4.so.1 libgtkmm-2.4.so]
13
+ ffi_lib %w[libnotify.so.1 libnotify.so libnotify]
9
14
  attach_functions!
10
15
  rescue LoadError => e
11
16
  warn e.message
@@ -27,15 +27,13 @@ namespace :rubies do
27
27
  PLATFORMS.each { |ruby| with_ruby(ruby, command) }
28
28
  end
29
29
 
30
- versions = Dir[File.join("pkg", "#{GEMSPEC.name}-#{GEMSPEC.version}-*.gem")].to_a
31
-
32
- desc "Pushes gems for following supported platforms #{versions.join ", "}"
30
+ desc "Pushes gems for non-ruby platforms: rbx"
33
31
  task :push => :build do
32
+ versions = Dir[File.join("pkg", "#{GEMSPEC.name}-#{GEMSPEC.version}-*.gem")].to_a
34
33
  versions.each do |gem|
35
34
  command = "gem push #{gem}"
36
35
  puts command
37
36
  system command
38
37
  end
39
38
  end
40
-
41
39
  end
@@ -1,3 +1,3 @@
1
1
  module Libnotify
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.6.pre1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libnotify
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
5
- prerelease:
4
+ hash: 3457254002499246929
5
+ prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 5
10
- version: 0.5.5
9
+ - 6
10
+ - pre
11
+ - 1
12
+ version: 0.5.6.pre1
11
13
  platform: universal-rubinius-1.2
12
14
  authors:
13
15
  - Peter Suschlik
@@ -15,7 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2011-05-25 00:00:00 +02:00
20
+ date: 2011-06-16 00:00:00 +02:00
19
21
  default_executable:
20
22
  dependencies:
21
23
  - !ruby/object:Gem::Dependency
@@ -95,12 +97,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
97
  required_rubygems_version: !ruby/object:Gem::Requirement
96
98
  none: false
97
99
  requirements:
98
- - - ">="
100
+ - - ">"
99
101
  - !ruby/object:Gem::Version
100
- hash: 3
102
+ hash: 25
101
103
  segments:
102
- - 0
103
- version: "0"
104
+ - 1
105
+ - 3
106
+ - 1
107
+ version: 1.3.1
104
108
  requirements: []
105
109
 
106
110
  rubyforge_project:
@@ -108,7 +112,5 @@ rubygems_version: 1.5.2
108
112
  signing_key:
109
113
  specification_version: 3
110
114
  summary: Ruby bindings for libnotify using FFI
111
- test_files:
112
- - test/helper.rb
113
- - test/libnotify_io.rb
114
- - test/test_libnotify.rb
115
+ test_files: []
116
+