libnotify 0.5.5 → 0.5.6.pre

Sign up to get free protection for your applications and to get access to all the features.
data/lib/libnotify/ffi.rb CHANGED
@@ -5,6 +5,9 @@ module Libnotify
5
5
  extend ::FFI::Library
6
6
 
7
7
  def self.included(base)
8
+ # Workaround for "half-linked" libnotify.so. Does not work on rubinius!
9
+ # See: https://bugzilla.redhat.com/show_bug.cgi?id=626852
10
+ ffi_lib_flags :lazy, :local, :global if respond_to?(:ffi_lib_flags)
8
11
  ffi_lib %w[libnotify libnotify.so libnotify.so.1]
9
12
  attach_functions!
10
13
  rescue LoadError => e
@@ -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.pre"
3
3
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libnotify
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
5
- prerelease: false
4
+ hash: 961916020
5
+ prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 5
10
- version: 0.5.5
9
+ - 6
10
+ - pre
11
+ version: 0.5.6.pre
11
12
  platform: ruby
12
13
  authors:
13
14
  - Peter Suschlik
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2011-05-25 00:00:00 +02:00
19
+ date: 2011-06-15 00:00:00 +02:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
@@ -111,20 +112,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
112
  required_rubygems_version: !ruby/object:Gem::Requirement
112
113
  none: false
113
114
  requirements:
114
- - - ">="
115
+ - - ">"
115
116
  - !ruby/object:Gem::Version
116
- hash: 3
117
+ hash: 25
117
118
  segments:
118
- - 0
119
- version: "0"
119
+ - 1
120
+ - 3
121
+ - 1
122
+ version: 1.3.1
120
123
  requirements: []
121
124
 
122
125
  rubyforge_project:
123
- rubygems_version: 1.3.7
126
+ rubygems_version: 1.6.2
124
127
  signing_key:
125
128
  specification_version: 3
126
129
  summary: Ruby bindings for libnotify using FFI
127
- test_files:
128
- - test/helper.rb
129
- - test/libnotify_io.rb
130
- - test/test_libnotify.rb
130
+ test_files: []
131
+