ruby-libappindicator 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.1.2. Replace deprecated functions for use with recent rubygems
2
+
1
3
  v0.1.1. Add runtime dependency on gtk2, load it automatically, change the .so file name
2
4
 
3
5
  v0.1.0. Initial version
@@ -11,9 +11,10 @@ end
11
11
  package_id = 'appindicator-0.1'
12
12
  PKGConfig.have_package(package_id) || failure("Couldn't find #{package_id}")
13
13
 
14
- [['glib2','rbgobject.h'],['gtk2','rbgtk.h']].each do |g,h|
15
- (h_fp = Gem::required_location(g,h)) || failure("Couldn't find #{h} file in #{g} gem")
16
- find_header(h, h_fp.rpartition("/")[0])
14
+ [['glib2','rbgobject.h'],['gtk2','rbgtk.h']].each do |gem,header|
15
+ gem_spec = Gem::Specification.find_by_name(gem)
16
+ dirs = Dir.glob(gem_spec.lib_dirs_glob)
17
+ dirs.each {|dir| find_header(header, dir)}
17
18
  end
18
19
 
19
20
  create_makefile 'appindicator'
@@ -2,21 +2,21 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ruby-libappindicator}
5
- s.version = "0.1.1"
5
+ s.version = "0.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Thomas Kister"]
9
- s.date = %q{2011-04-01}
8
+ s.authors = [%q{Thomas Kister}]
9
+ s.date = %q{2011-08-24}
10
10
  s.description = %q{Ruby bindings for libappindicator}
11
11
  s.email = %q{leander256@gmail.com}
12
- s.extensions = ["ext/libappindicator/extconf.rb"]
13
- s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.rdoc", "lib/ruby-libappindicator.rb", "ext/libappindicator/extconf.rb", "ext/libappindicator/libappindicator.c"]
14
- s.files = ["CHANGELOG", "LICENSE", "README.rdoc", "Rakefile", "lib/ruby-libappindicator.rb", "ext/libappindicator/extconf.rb", "ext/libappindicator/libappindicator.c", "Manifest", "ruby-libappindicator.gemspec"]
12
+ s.extensions = [%q{ext/libappindicator/extconf.rb}]
13
+ s.extra_rdoc_files = [%q{CHANGELOG}, %q{LICENSE}, %q{README.rdoc}, %q{lib/ruby-libappindicator.rb}, %q{ext/libappindicator/extconf.rb}, %q{ext/libappindicator/libappindicator.c}]
14
+ s.files = [%q{CHANGELOG}, %q{LICENSE}, %q{README.rdoc}, %q{Rakefile}, %q{lib/ruby-libappindicator.rb}, %q{ext/libappindicator/extconf.rb}, %q{ext/libappindicator/libappindicator.c}, %q{Manifest}, %q{ruby-libappindicator.gemspec}]
15
15
  s.homepage = %q{http://github.com/leander256/ruby-libappindicator}
16
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Ruby-libappindicator", "--main", "README.rdoc"]
17
- s.require_paths = ["lib", "ext"]
16
+ s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Ruby-libappindicator}, %q{--main}, %q{README.rdoc}]
17
+ s.require_paths = [%q{lib}, %q{ext}]
18
18
  s.rubyforge_project = %q{ruby-libappindicator}
19
- s.rubygems_version = %q{1.6.2}
19
+ s.rubygems_version = %q{1.8.6}
20
20
  s.summary = %q{Ruby bindings for libappindicator}
21
21
 
22
22
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-libappindicator
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Kister
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-01 00:00:00 +02:00
19
- default_executable:
18
+ date: 2011-08-24 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: gtk2
@@ -83,7 +82,6 @@ files:
83
82
  - ext/libappindicator/libappindicator.c
84
83
  - Manifest
85
84
  - ruby-libappindicator.gemspec
86
- has_rdoc: true
87
85
  homepage: http://github.com/leander256/ruby-libappindicator
88
86
  licenses: []
89
87
 
@@ -120,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
118
  requirements: []
121
119
 
122
120
  rubyforge_project: ruby-libappindicator
123
- rubygems_version: 1.6.2
121
+ rubygems_version: 1.8.6
124
122
  signing_key:
125
123
  specification_version: 3
126
124
  summary: Ruby bindings for libappindicator