libnotify 0.7.3 → 0.7.4.pre

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
1
  source "http://rubygems.org"
2
2
 
3
+ gem 'rake'
4
+
3
5
  gemspec
data/Rakefile CHANGED
@@ -1,8 +1,7 @@
1
- require 'bundler'
1
+ require 'bundler/setup'
2
2
  Bundler::GemHelper.install_tasks
3
3
 
4
4
  require 'rake'
5
- require 'rdoc/task'
6
5
  require 'rubygems'
7
6
  load 'libnotify/tasks/rubies.rake'
8
7
 
@@ -1,11 +1,9 @@
1
-
2
1
  SUPPORTED_RUBIES = %w[ree 1.9.2 1.9.3 jruby rbx]
3
- PLATFORMS = %w[ree rbx]
4
2
  GEMSPEC = Bundler::GemHelper.new(Dir.pwd).gemspec
5
3
 
6
4
  def with_ruby(ruby, command)
7
- rvm = "#{ruby}@#{GEMSPEC.name}"
8
- command = %{rvm #{rvm} exec bash -c '#{command}'}
5
+ gemset = GEMSPEC.name
6
+ command = %{rvm #{ruby}@#{gemset} --create do bash -c '#{command}'}
9
7
 
10
8
  puts "\n" * 3
11
9
  puts "CMD: #{command}"
@@ -17,23 +15,7 @@ end
17
15
  namespace :rubies do
18
16
  desc "Run tests for following supported platforms #{SUPPORTED_RUBIES.join ", "}"
19
17
  task :test do
20
- command = "bundle check || bundle install && rake"
18
+ command = "(bundle check || bundle install) && bundle exec rake"
21
19
  SUPPORTED_RUBIES.each { |ruby| with_ruby(ruby, command) }
22
20
  end
23
-
24
- desc "Build gems for following supported platforms #{PLATFORMS.join ", "}"
25
- task :build do
26
- command = "rm -f Gemfile.lock && rake build"
27
- PLATFORMS.each { |ruby| with_ruby(ruby, command) }
28
- end
29
-
30
- desc "Pushes gems for non-ruby platforms: rbx"
31
- task :push => :build do
32
- versions = Dir[File.join("pkg", "#{GEMSPEC.name}-#{GEMSPEC.version}-*.gem")].to_a
33
- versions.each do |gem|
34
- command = "gem push #{gem}"
35
- puts command
36
- system command
37
- end
38
- end
39
21
  end
@@ -1,3 +1,3 @@
1
1
  module Libnotify
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4.pre"
3
3
  end
data/libnotify.gemspec CHANGED
@@ -2,18 +2,9 @@
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
  require "libnotify/version"
4
4
 
5
- platform = Gem::Platform::RUBY
6
- needs_ffi = true
7
-
8
- if defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /rbx/
9
- needs_ffi = false
10
- platform = Gem::Platform::new ['universal', 'rubinius', '1.2']
11
- end
12
-
13
5
  Gem::Specification.new do |s|
14
6
  s.name = "libnotify"
15
7
  s.version = Libnotify::VERSION
16
- s.platform = platform
17
8
  s.authors = ["Peter Suschlik"]
18
9
  s.email = ["peter-libnotify@suschlik.de"]
19
10
  s.homepage = "http://rubygems.org/gems/libnotify"
@@ -24,11 +15,9 @@ Gem::Specification.new do |s|
24
15
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
25
16
  s.require_paths = ["lib"]
26
17
 
27
- if needs_ffi
28
- s.add_runtime_dependency 'ffi', '~> 1.0.0'
29
- end
18
+ s.add_runtime_dependency 'ffi', '~> 1.0.11'
30
19
 
31
- s.add_development_dependency 'minitest'
32
- s.add_development_dependency 'minitest-libnotify'
33
- s.add_development_dependency 'yard', '~> 0.7.0'
20
+ s.add_development_dependency 'yard', '~> 0.8.2'
21
+ s.add_development_dependency 'minitest', '~> 3.1.0'
22
+ s.add_development_dependency 'minitest-libnotify', '~> 0.2.2'
34
23
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libnotify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
5
- prerelease:
4
+ version: 0.7.4.pre
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Peter Suschlik
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-10 00:00:00.000000000 Z
12
+ date: 2012-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.0.0
21
+ version: 1.0.11
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,47 +26,47 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 1.0.0
29
+ version: 1.0.11
30
30
  - !ruby/object:Gem::Dependency
31
- name: minitest
31
+ name: yard
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ! '>='
35
+ - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 0.8.2
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ! '>='
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: 0.8.2
46
46
  - !ruby/object:Gem::Dependency
47
- name: minitest-libnotify
47
+ name: minitest
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: 3.1.0
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ! '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 3.1.0
62
62
  - !ruby/object:Gem::Dependency
63
- name: yard
63
+ name: minitest-libnotify
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
67
  - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: 0.7.0
69
+ version: 0.2.2
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: 0.7.0
77
+ version: 0.2.2
78
78
  description:
79
79
  email:
80
80
  - peter-libnotify@suschlik.de
@@ -109,12 +109,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
109
  - - ! '>='
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
+ segments:
113
+ - 0
114
+ hash: -3773005041823683307
112
115
  required_rubygems_version: !ruby/object:Gem::Requirement
113
116
  none: false
114
117
  requirements:
115
- - - ! '>='
118
+ - - ! '>'
116
119
  - !ruby/object:Gem::Version
117
- version: '0'
120
+ version: 1.3.1
118
121
  requirements: []
119
122
  rubyforge_project:
120
123
  rubygems_version: 1.8.24