tengine_event 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,13 @@
1
+ # -*- coding: utf-8 -*-
2
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
3
+
4
+ describe Tengine::NullLogger do
5
+ context "使用可能なメソッド" do
6
+ subject{ Tengine::NullLogger.new }
7
+ it{ subject.debug("foo") }
8
+ it{ subject.info("foo") }
9
+ it{ subject.warn("foo") }
10
+ it{ subject.error("foo") }
11
+ it{ subject.fatal("foo") }
12
+ end
13
+ end
@@ -0,0 +1,17 @@
1
+ # -*- coding: utf-8 -*-
2
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
3
+
4
+ require 'stringio'
5
+ require 'logger'
6
+
7
+ describe Tengine do
8
+ describe :logger do
9
+ it "Tengine.loggerを設定" do
10
+ io = StringIO.new
11
+ Tengine.logger = Logger.new(io)
12
+ Tengine.logger.debug("foo")
13
+ io.rewind
14
+ io.string.should =~ /foo$/
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,96 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "tengine_event"
8
+ s.version = "0.4.6"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["taigou", "totty", "g-morita", "shyouhei", "akm"]
12
+ s.date = "2012-02-09"
13
+ s.description = "Tengine Event API to access the queue"
14
+ s.email = "tengine@nautilus-technologies.com"
15
+ s.executables = ["tengine_fire", "tengine_event_sucks"]
16
+ s.extra_rdoc_files = [
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "bin/tengine_event_sucks",
28
+ "bin/tengine_fire",
29
+ "lib/tengine/event.rb",
30
+ "lib/tengine/event/model_notifiable.rb",
31
+ "lib/tengine/event/sender.rb",
32
+ "lib/tengine/mq.rb",
33
+ "lib/tengine/mq/suite.rb",
34
+ "lib/tengine/null_logger.rb",
35
+ "lib/tengine_event.rb",
36
+ "spec/.gitignore",
37
+ "spec/mq_config.yml.example",
38
+ "spec/spec_helper.rb",
39
+ "spec/tengine/event/model_notifiable_spec.rb",
40
+ "spec/tengine/event/sender_spec.rb",
41
+ "spec/tengine/event_spec.rb",
42
+ "spec/tengine/mq/connect_actually_spec.rb",
43
+ "spec/tengine/mq/suite_spec.rb",
44
+ "spec/tengine/null_logger_spec.rb",
45
+ "spec/tengine_spec.rb",
46
+ "tengine_event.gemspec"
47
+ ]
48
+ s.homepage = "https://github.com/tengine/tengine_event"
49
+ s.licenses = ["MPL2.0/LGPLv3"]
50
+ s.require_paths = ["lib"]
51
+ s.rubygems_version = "1.8.12"
52
+ s.summary = "Tengine Event API to access the queue"
53
+
54
+ if s.respond_to? :specification_version then
55
+ s.specification_version = 3
56
+
57
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
58
+ s.add_runtime_dependency(%q<activesupport>, [">= 3.0.0"])
59
+ s.add_runtime_dependency(%q<tengine_support>, [">= 0.3.24"])
60
+ s.add_runtime_dependency(%q<uuid>, ["~> 2.3.4"])
61
+ s.add_runtime_dependency(%q<amqp>, ["~> 0.8.0"])
62
+ s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
63
+ s.add_development_dependency(%q<yard>, ["~> 0.7.2"])
64
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.18"])
65
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
66
+ s.add_development_dependency(%q<simplecov>, ["~> 0.5.3"])
67
+ s.add_development_dependency(%q<ZenTest>, ["~> 4.6.2"])
68
+ s.add_development_dependency(%q<ci_reporter>, ["~> 1.6.5"])
69
+ else
70
+ s.add_dependency(%q<activesupport>, [">= 3.0.0"])
71
+ s.add_dependency(%q<tengine_support>, [">= 0.3.24"])
72
+ s.add_dependency(%q<uuid>, ["~> 2.3.4"])
73
+ s.add_dependency(%q<amqp>, ["~> 0.8.0"])
74
+ s.add_dependency(%q<rspec>, ["~> 2.6.0"])
75
+ s.add_dependency(%q<yard>, ["~> 0.7.2"])
76
+ s.add_dependency(%q<bundler>, ["~> 1.0.18"])
77
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
78
+ s.add_dependency(%q<simplecov>, ["~> 0.5.3"])
79
+ s.add_dependency(%q<ZenTest>, ["~> 4.6.2"])
80
+ s.add_dependency(%q<ci_reporter>, ["~> 1.6.5"])
81
+ end
82
+ else
83
+ s.add_dependency(%q<activesupport>, [">= 3.0.0"])
84
+ s.add_dependency(%q<tengine_support>, [">= 0.3.24"])
85
+ s.add_dependency(%q<uuid>, ["~> 2.3.4"])
86
+ s.add_dependency(%q<amqp>, ["~> 0.8.0"])
87
+ s.add_dependency(%q<rspec>, ["~> 2.6.0"])
88
+ s.add_dependency(%q<yard>, ["~> 0.7.2"])
89
+ s.add_dependency(%q<bundler>, ["~> 1.0.18"])
90
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
91
+ s.add_dependency(%q<simplecov>, ["~> 0.5.3"])
92
+ s.add_dependency(%q<ZenTest>, ["~> 4.6.2"])
93
+ s.add_dependency(%q<ci_reporter>, ["~> 1.6.5"])
94
+ end
95
+ end
96
+
metadata ADDED
@@ -0,0 +1,203 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tengine_event
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.6
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - taigou
9
+ - totty
10
+ - g-morita
11
+ - shyouhei
12
+ - akm
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+ date: 2012-02-09 00:00:00.000000000Z
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: activesupport
20
+ requirement: &2153115900 !ruby/object:Gem::Requirement
21
+ none: false
22
+ requirements:
23
+ - - ! '>='
24
+ - !ruby/object:Gem::Version
25
+ version: 3.0.0
26
+ type: :runtime
27
+ prerelease: false
28
+ version_requirements: *2153115900
29
+ - !ruby/object:Gem::Dependency
30
+ name: tengine_support
31
+ requirement: &2153114680 !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: 0.3.24
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: *2153114680
40
+ - !ruby/object:Gem::Dependency
41
+ name: uuid
42
+ requirement: &2153113560 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 2.3.4
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: *2153113560
51
+ - !ruby/object:Gem::Dependency
52
+ name: amqp
53
+ requirement: &2153112680 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ version: 0.8.0
59
+ type: :runtime
60
+ prerelease: false
61
+ version_requirements: *2153112680
62
+ - !ruby/object:Gem::Dependency
63
+ name: rspec
64
+ requirement: &2153111520 !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 2.6.0
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: *2153111520
73
+ - !ruby/object:Gem::Dependency
74
+ name: yard
75
+ requirement: &2153110320 !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ~>
79
+ - !ruby/object:Gem::Version
80
+ version: 0.7.2
81
+ type: :development
82
+ prerelease: false
83
+ version_requirements: *2153110320
84
+ - !ruby/object:Gem::Dependency
85
+ name: bundler
86
+ requirement: &2153109440 !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ~>
90
+ - !ruby/object:Gem::Version
91
+ version: 1.0.18
92
+ type: :development
93
+ prerelease: false
94
+ version_requirements: *2153109440
95
+ - !ruby/object:Gem::Dependency
96
+ name: jeweler
97
+ requirement: &2153108600 !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ~>
101
+ - !ruby/object:Gem::Version
102
+ version: 1.6.4
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: *2153108600
106
+ - !ruby/object:Gem::Dependency
107
+ name: simplecov
108
+ requirement: &2153107400 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ~>
112
+ - !ruby/object:Gem::Version
113
+ version: 0.5.3
114
+ type: :development
115
+ prerelease: false
116
+ version_requirements: *2153107400
117
+ - !ruby/object:Gem::Dependency
118
+ name: ZenTest
119
+ requirement: &2153105940 !ruby/object:Gem::Requirement
120
+ none: false
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: 4.6.2
125
+ type: :development
126
+ prerelease: false
127
+ version_requirements: *2153105940
128
+ - !ruby/object:Gem::Dependency
129
+ name: ci_reporter
130
+ requirement: &2153103800 !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ~>
134
+ - !ruby/object:Gem::Version
135
+ version: 1.6.5
136
+ type: :development
137
+ prerelease: false
138
+ version_requirements: *2153103800
139
+ description: Tengine Event API to access the queue
140
+ email: tengine@nautilus-technologies.com
141
+ executables:
142
+ - tengine_fire
143
+ - tengine_event_sucks
144
+ extensions: []
145
+ extra_rdoc_files:
146
+ - README.rdoc
147
+ files:
148
+ - .document
149
+ - .rspec
150
+ - Gemfile
151
+ - Gemfile.lock
152
+ - README.rdoc
153
+ - Rakefile
154
+ - VERSION
155
+ - bin/tengine_event_sucks
156
+ - bin/tengine_fire
157
+ - lib/tengine/event.rb
158
+ - lib/tengine/event/model_notifiable.rb
159
+ - lib/tengine/event/sender.rb
160
+ - lib/tengine/mq.rb
161
+ - lib/tengine/mq/suite.rb
162
+ - lib/tengine/null_logger.rb
163
+ - lib/tengine_event.rb
164
+ - spec/.gitignore
165
+ - spec/mq_config.yml.example
166
+ - spec/spec_helper.rb
167
+ - spec/tengine/event/model_notifiable_spec.rb
168
+ - spec/tengine/event/sender_spec.rb
169
+ - spec/tengine/event_spec.rb
170
+ - spec/tengine/mq/connect_actually_spec.rb
171
+ - spec/tengine/mq/suite_spec.rb
172
+ - spec/tengine/null_logger_spec.rb
173
+ - spec/tengine_spec.rb
174
+ - tengine_event.gemspec
175
+ homepage: https://github.com/tengine/tengine_event
176
+ licenses:
177
+ - MPL2.0/LGPLv3
178
+ post_install_message:
179
+ rdoc_options: []
180
+ require_paths:
181
+ - lib
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ none: false
184
+ requirements:
185
+ - - ! '>='
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ segments:
189
+ - 0
190
+ hash: -1617027942330872802
191
+ required_rubygems_version: !ruby/object:Gem::Requirement
192
+ none: false
193
+ requirements:
194
+ - - ! '>='
195
+ - !ruby/object:Gem::Version
196
+ version: '0'
197
+ requirements: []
198
+ rubyforge_project:
199
+ rubygems_version: 1.8.12
200
+ signing_key:
201
+ specification_version: 3
202
+ summary: Tengine Event API to access the queue
203
+ test_files: []