tengine_support 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.6
1
+ 0.3.7
@@ -29,7 +29,7 @@ class Tengine::Support::Config::Definition::Field
29
29
  end
30
30
 
31
31
  def to_hash
32
- default_value
32
+ __parent__.send(__name__) || default_value
33
33
  end
34
34
 
35
35
  def accept_visitor(visitor)
@@ -66,8 +66,19 @@ describe "config" do
66
66
  it { subject[:process_stderr_log][:rotation_size].should == 1024 * 1024 * 1024}
67
67
  it { subject[:process_stderr_log][:level].should == "info"}
68
68
  end
69
- end
70
69
 
70
+ describe "process to_hash" do
71
+ it do
72
+ subject.event_queue.connection.to_hash.should == {
73
+ :host => "rabbitmq1",
74
+ :port => 5672,
75
+ :vhost=>nil,
76
+ :user=>nil,
77
+ :pass=>nil,
78
+ }
79
+ end
80
+ end
81
+ end
71
82
 
72
83
  shared_examples_for "load_spec_01.yml's data with db config" do
73
84
  describe "accessors" do
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "tengine_support"
8
- s.version = "0.3.6"
8
+ s.version = "0.3.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["saishu", "w-irie", "taigou", "totty", "hiroshinakao", "g-morita", "guemon", "aoetk", "hattori-at-nt", "t-yamada", "y-karashima", "akm"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tengine_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -24,7 +24,7 @@ date: 2011-11-18 00:00:00.000000000Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: activesupport
27
- requirement: &2167510600 !ruby/object:Gem::Requirement
27
+ requirement: &2159405220 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.0.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2167510600
35
+ version_requirements: *2159405220
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &2167510120 !ruby/object:Gem::Requirement
38
+ requirement: &2159404740 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.6.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2167510120
46
+ version_requirements: *2159404740
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: yard
49
- requirement: &2167509620 !ruby/object:Gem::Requirement
49
+ requirement: &2159404240 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.7.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2167509620
57
+ version_requirements: *2159404240
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: bundler
60
- requirement: &2167509100 !ruby/object:Gem::Requirement
60
+ requirement: &2159403720 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.0.18
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2167509100
68
+ version_requirements: *2159403720
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: jeweler
71
- requirement: &2167508580 !ruby/object:Gem::Requirement
71
+ requirement: &2159403200 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 1.6.4
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2167508580
79
+ version_requirements: *2159403200
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: simplecov
82
- requirement: &2167507980 !ruby/object:Gem::Requirement
82
+ requirement: &2159402600 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 0.5.3
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2167507980
90
+ version_requirements: *2159402600
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: autotest
93
- requirement: &2167507380 !ruby/object:Gem::Requirement
93
+ requirement: &2159402000 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *2167507380
101
+ version_requirements: *2159402000
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: rdiscount
104
- requirement: &2167506800 !ruby/object:Gem::Requirement
104
+ requirement: &2159401420 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,7 +109,7 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *2167506800
112
+ version_requirements: *2159401420
113
113
  description: tengine_support provides utility classes/modules which is not included
114
114
  in active_support. It doesn't depend on other tengine gems.
115
115
  email: tengine@nautilus-technologies.com
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  segments:
179
179
  - 0
180
- hash: 2179763552862649060
180
+ hash: -4481984890755525526
181
181
  required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements: