riot_notifier 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc CHANGED
@@ -1 +1,2 @@
1
1
  rvm gemset create riot_notifier
2
+ rvm gemset use riot_notifier
data/Gemfile CHANGED
@@ -1,9 +1,12 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "riot"
3
+ # Update Rakefile when changing version
4
+ # TODO: Use bundler in Rakefile (jeweler)
5
+
6
+ gem "jeweler"
7
+ gem "riot", "~> 0.11.0"
4
8
  gem "riot_notifier"
5
9
 
6
10
  group :test do
7
- gem "jeweler"
8
- gem "libnotify"
11
+ gem "libnotify", "~> 0.2.0"
9
12
  end
data/Gemfile.lock CHANGED
@@ -3,10 +3,10 @@ dependencies:
3
3
  libnotify:
4
4
  group:
5
5
  - :test
6
- version: ">= 0"
6
+ version: ~> 0.2.0
7
7
  jeweler:
8
8
  group:
9
- - :test
9
+ - :default
10
10
  version: ">= 0"
11
11
  riot_notifier:
12
12
  group:
@@ -15,33 +15,33 @@ dependencies:
15
15
  riot:
16
16
  group:
17
17
  - :default
18
- version: ">= 0"
18
+ version: ~> 0.11.0
19
19
  specs:
20
20
  - rake:
21
21
  version: 0.8.7
22
22
  - ffi:
23
23
  version: 0.6.3
24
- - json_pure:
25
- version: 1.4.3
26
24
  - gemcutter:
27
- version: 0.5.0
25
+ version: 0.6.1
28
26
  - git:
29
27
  version: 1.2.5
28
+ - json_pure:
29
+ version: 1.4.6
30
30
  - rubyforge:
31
31
  version: 2.0.4
32
32
  - jeweler:
33
33
  version: 1.4.0
34
34
  - libnotify:
35
- version: 0.1.4
35
+ version: 0.2.0
36
36
  - rr:
37
- version: 0.10.11
37
+ version: 1.0.0
38
38
  - term-ansicolor:
39
39
  version: 1.0.5
40
40
  - riot:
41
- version: 0.11.2
41
+ version: 0.11.3
42
42
  - riot_notifier:
43
- version: 0.1.1
44
- hash: 6a111bec9b2b682a5f223928b9f0e22aad77edaa
43
+ version: 0.2.0
44
+ hash: a92e357b98e61ed637d518ddbe08484869671c28
45
45
  sources:
46
46
  - Rubygems:
47
47
  uri: http://rubygems.org
data/Rakefile CHANGED
@@ -12,9 +12,10 @@ begin
12
12
  gem.has_rdoc = true
13
13
  gem.extra_rdoc_files = [ "README.rdoc" ]
14
14
 
15
- gem.add_dependency "riot", ">= 0.10.12"
15
+ # TODO Use Gemfile!
16
+ gem.add_dependency "riot", "~> 0.11.0"
16
17
  gem.add_development_dependency "riot_notifier"
17
- gem.add_development_dependency "libnotify"
18
+ gem.add_development_dependency "libnotify", "~> 0.2.0"
18
19
 
19
20
  gem.test_files = Dir.glob('test/test_*.rb')
20
21
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{riot_notifier}
8
- s.version = "0.2.0"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Peter Suschlik"]
12
- s.date = %q{2010-07-11}
12
+ s.date = %q{2010-08-24}
13
13
  s.email = %q{peter-riot_notifier@suschlik.de}
14
14
  s.extra_rdoc_files = [
15
15
  "README.rdoc"
@@ -48,18 +48,18 @@ Gem::Specification.new do |s|
48
48
  s.specification_version = 3
49
49
 
50
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
- s.add_runtime_dependency(%q<riot>, [">= 0.10.12"])
51
+ s.add_runtime_dependency(%q<riot>, ["~> 0.11.0"])
52
52
  s.add_development_dependency(%q<riot_notifier>, [">= 0"])
53
- s.add_development_dependency(%q<libnotify>, [">= 0"])
53
+ s.add_development_dependency(%q<libnotify>, ["~> 0.2.0"])
54
54
  else
55
- s.add_dependency(%q<riot>, [">= 0.10.12"])
55
+ s.add_dependency(%q<riot>, ["~> 0.11.0"])
56
56
  s.add_dependency(%q<riot_notifier>, [">= 0"])
57
- s.add_dependency(%q<libnotify>, [">= 0"])
57
+ s.add_dependency(%q<libnotify>, ["~> 0.2.0"])
58
58
  end
59
59
  else
60
- s.add_dependency(%q<riot>, [">= 0.10.12"])
60
+ s.add_dependency(%q<riot>, ["~> 0.11.0"])
61
61
  s.add_dependency(%q<riot_notifier>, [">= 0"])
62
- s.add_dependency(%q<libnotify>, [">= 0"])
62
+ s.add_dependency(%q<libnotify>, ["~> 0.2.0"])
63
63
  end
64
64
  end
65
65
 
@@ -89,6 +89,10 @@ context "RiotNotifier" do
89
89
  def exec(string)
90
90
  string
91
91
  end
92
+
93
+ def self.usable?
94
+ true
95
+ end
92
96
  end.new
93
97
  end
94
98
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riot_notifier
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Peter Suschlik
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-11 00:00:00 +02:00
18
+ date: 2010-08-24 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,14 +24,14 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ">="
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
- hash: 47
29
+ hash: 51
30
30
  segments:
31
31
  - 0
32
- - 10
33
- - 12
34
- version: 0.10.12
32
+ - 11
33
+ - 0
34
+ version: 0.11.0
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
@@ -54,12 +54,14 @@ dependencies:
54
54
  requirement: &id003 !ruby/object:Gem::Requirement
55
55
  none: false
56
56
  requirements:
57
- - - ">="
57
+ - - ~>
58
58
  - !ruby/object:Gem::Version
59
- hash: 3
59
+ hash: 23
60
60
  segments:
61
61
  - 0
62
- version: "0"
62
+ - 2
63
+ - 0
64
+ version: 0.2.0
63
65
  type: :development
64
66
  version_requirements: *id003
65
67
  description: