graytoad 0.0.9 → 0.1.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/.gitignore +21 -0
  2. data/Rakefile +2 -1
  3. data/VERSION +1 -1
  4. data/graytoad.gemspec +6 -6
  5. data/lib/graytoad.rb +2 -4
  6. metadata +21 -16
data/.gitignore ADDED
@@ -0,0 +1,21 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
data/Rakefile CHANGED
@@ -2,6 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
 
4
4
  begin
5
+ gem 'jeweler', '~> 1.4.0' # https://github.com/technicalpickles/jeweler/issues/issue/150
5
6
  require 'jeweler'
6
7
  Jeweler::Tasks.new do |gem|
7
8
  gem.name = "graytoad"
@@ -10,7 +11,7 @@ begin
10
11
  gem.homepage = "http://github.com/AlekSi/graytoad"
11
12
  gem.authors = ["Alexey Palazhchenko"]
12
13
  gem.add_dependency "hoptoad_notifier", "~> 2.3.0"
13
- gem.add_dependency "aleksi-gelf", "~> 1.0.9999"
14
+ gem.add_dependency "gelf", "1.1.0.beta1"
14
15
  end
15
16
  Jeweler::GemcutterTasks.new
16
17
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.1.0.beta1
data/graytoad.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{graytoad}
8
- s.version = "0.0.8"
8
+ s.version = "0.1.0.beta1"
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
10
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alexey Palazhchenko"]
12
- s.date = %q{2010-11-08}
12
+ s.date = %q{2010-11-25}
13
13
  s.description = %q{Notify both Graylog2 and Hoptoad with this wrapper.}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -37,14 +37,14 @@ Gem::Specification.new do |s|
37
37
 
38
38
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
39
39
  s.add_runtime_dependency(%q<hoptoad_notifier>, ["~> 2.3.0"])
40
- s.add_runtime_dependency(%q<aleksi-gelf>, ["~> 0.9.780"])
40
+ s.add_runtime_dependency(%q<gelf>, ["= 1.1.0.beta1"])
41
41
  else
42
42
  s.add_dependency(%q<hoptoad_notifier>, ["~> 2.3.0"])
43
- s.add_dependency(%q<aleksi-gelf>, ["~> 0.9.780"])
43
+ s.add_dependency(%q<gelf>, ["= 1.1.0.beta1"])
44
44
  end
45
45
  else
46
46
  s.add_dependency(%q<hoptoad_notifier>, ["~> 2.3.0"])
47
- s.add_dependency(%q<aleksi-gelf>, ["~> 0.9.780"])
47
+ s.add_dependency(%q<gelf>, ["= 1.1.0.beta1"])
48
48
  end
49
49
  end
50
50
 
data/lib/graytoad.rb CHANGED
@@ -3,13 +3,11 @@ require "hoptoad_notifier"
3
3
 
4
4
  class Graytoad
5
5
  class << self
6
- attr_accessor :gelf_host, :gelf_port
6
+ attr_accessor :gelf_notifier
7
7
 
8
8
  def notify(*args)
9
9
  HoptoadNotifier.notify(*args)
10
-
11
- @notifier ||= GELF::Notifier.new(@gelf_host, @gelf_port)
12
- @notifier.notify(*args)
10
+ @gelf_notifier.notify(*args)
13
11
  end
14
12
  end
15
13
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graytoad
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
5
- prerelease: false
4
+ hash: -1848230075
5
+ prerelease: true
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 9
10
- version: 0.0.9
10
+ - beta1
11
+ version: 0.1.0.beta1
11
12
  platform: ruby
12
13
  authors:
13
14
  - Alexey Palazhchenko
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-11-16 00:00:00 +03:00
19
+ date: 2010-11-25 00:00:00 +03:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
@@ -35,19 +36,20 @@ dependencies:
35
36
  type: :runtime
36
37
  version_requirements: *id001
37
38
  - !ruby/object:Gem::Dependency
38
- name: aleksi-gelf
39
+ name: gelf
39
40
  prerelease: false
40
41
  requirement: &id002 !ruby/object:Gem::Requirement
41
42
  none: false
42
43
  requirements:
43
- - - ~>
44
+ - - "="
44
45
  - !ruby/object:Gem::Version
45
- hash: 19977
46
+ hash: -1848230059
46
47
  segments:
47
48
  - 1
49
+ - 1
48
50
  - 0
49
- - 9999
50
- version: 1.0.9999
51
+ - beta1
52
+ version: 1.1.0.beta1
51
53
  type: :runtime
52
54
  version_requirements: *id002
53
55
  description: Notify both Graylog2 and Hoptoad with this wrapper.
@@ -61,6 +63,7 @@ extra_rdoc_files:
61
63
  - README.rdoc
62
64
  files:
63
65
  - .document
66
+ - .gitignore
64
67
  - LICENSE
65
68
  - README.rdoc
66
69
  - Rakefile
@@ -72,8 +75,8 @@ homepage: http://github.com/AlekSi/graytoad
72
75
  licenses: []
73
76
 
74
77
  post_install_message:
75
- rdoc_options: []
76
-
78
+ rdoc_options:
79
+ - --charset=UTF-8
77
80
  require_paths:
78
81
  - lib
79
82
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -88,12 +91,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
91
  required_rubygems_version: !ruby/object:Gem::Requirement
89
92
  none: false
90
93
  requirements:
91
- - - ">="
94
+ - - ">"
92
95
  - !ruby/object:Gem::Version
93
- hash: 3
96
+ hash: 25
94
97
  segments:
95
- - 0
96
- version: "0"
98
+ - 1
99
+ - 3
100
+ - 1
101
+ version: 1.3.1
97
102
  requirements: []
98
103
 
99
104
  rubyforge_project: