split 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.mdown CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.4.3 (July 8, 2012)
2
+
3
+ Features:
4
+
5
+ - redis failover now recovers from all redis-related exceptions
6
+
1
7
  ## 0.4.2 (June 1, 2012)
2
8
 
3
9
  Features:
data/lib/split/helper.rb CHANGED
@@ -30,7 +30,7 @@ module Split
30
30
  alternative.increment_completion
31
31
  session[:split].delete(experiment_name) if options[:reset]
32
32
  end
33
- rescue Errno::ECONNREFUSED => e
33
+ rescue => e
34
34
  raise unless Split.configuration.db_failover
35
35
  Split.configuration.db_failover_on_db_error.call(e)
36
36
  end
@@ -115,7 +115,7 @@ module Split
115
115
  end
116
116
  end
117
117
  end
118
- rescue Errno::ECONNREFUSED => e
118
+ rescue => e
119
119
  raise unless Split.configuration.db_failover
120
120
  Split.configuration.db_failover_on_db_error.call(e)
121
121
  ret = control_variable(control)
data/lib/split/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Split
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,154 +1,111 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: split
3
- version: !ruby/object:Gem::Version
4
- hash: 11
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.3
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- - 2
10
- version: 0.4.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Andrew Nesbitt
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-06-01 00:00:00 +01:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-07-08 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: redis
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70320238811700 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 1
30
- segments:
31
- - 2
32
- - 1
33
- version: "2.1"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '2.1'
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: redis-namespace
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70320238811700
25
+ - !ruby/object:Gem::Dependency
26
+ name: redis-namespace
27
+ requirement: &70320238804560 !ruby/object:Gem::Requirement
40
28
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 19
45
- segments:
46
- - 1
47
- - 1
48
- - 0
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
49
32
  version: 1.1.0
50
33
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: sinatra
54
34
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70320238804560
36
+ - !ruby/object:Gem::Dependency
37
+ name: sinatra
38
+ requirement: &70320238803180 !ruby/object:Gem::Requirement
56
39
  none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 19
61
- segments:
62
- - 1
63
- - 2
64
- - 6
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
65
43
  version: 1.2.6
66
44
  type: :runtime
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: rake
70
45
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70320238803180
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: &70320238802020 !ruby/object:Gem::Requirement
72
50
  none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- hash: 3
77
- segments:
78
- - 0
79
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
80
55
  type: :development
81
- version_requirements: *id004
82
- - !ruby/object:Gem::Dependency
83
- name: bundler
84
56
  prerelease: false
85
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70320238802020
58
+ - !ruby/object:Gem::Dependency
59
+ name: bundler
60
+ requirement: &70320238800860 !ruby/object:Gem::Requirement
86
61
  none: false
87
- requirements:
62
+ requirements:
88
63
  - - ~>
89
- - !ruby/object:Gem::Version
90
- hash: 15
91
- segments:
92
- - 1
93
- - 0
94
- version: "1.0"
64
+ - !ruby/object:Gem::Version
65
+ version: '1.0'
95
66
  type: :development
96
- version_requirements: *id005
97
- - !ruby/object:Gem::Dependency
98
- name: rspec
99
67
  prerelease: false
100
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *70320238800860
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: &70320238799240 !ruby/object:Gem::Requirement
101
72
  none: false
102
- requirements:
73
+ requirements:
103
74
  - - ~>
104
- - !ruby/object:Gem::Version
105
- hash: 15
106
- segments:
107
- - 2
108
- - 6
109
- version: "2.6"
75
+ - !ruby/object:Gem::Version
76
+ version: '2.6'
110
77
  type: :development
111
- version_requirements: *id006
112
- - !ruby/object:Gem::Dependency
113
- name: rack-test
114
78
  prerelease: false
115
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *70320238799240
80
+ - !ruby/object:Gem::Dependency
81
+ name: rack-test
82
+ requirement: &70320238798220 !ruby/object:Gem::Requirement
116
83
  none: false
117
- requirements:
84
+ requirements:
118
85
  - - ~>
119
- - !ruby/object:Gem::Version
120
- hash: 7
121
- segments:
122
- - 0
123
- - 6
124
- version: "0.6"
86
+ - !ruby/object:Gem::Version
87
+ version: '0.6'
125
88
  type: :development
126
- version_requirements: *id007
127
- - !ruby/object:Gem::Dependency
128
- name: guard-rspec
129
89
  prerelease: false
130
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *70320238798220
91
+ - !ruby/object:Gem::Dependency
92
+ name: guard-rspec
93
+ requirement: &70320238797400 !ruby/object:Gem::Requirement
131
94
  none: false
132
- requirements:
95
+ requirements:
133
96
  - - ~>
134
- - !ruby/object:Gem::Version
135
- hash: 3
136
- segments:
137
- - 0
138
- - 4
139
- version: "0.4"
97
+ - !ruby/object:Gem::Version
98
+ version: '0.4'
140
99
  type: :development
141
- version_requirements: *id008
100
+ prerelease: false
101
+ version_requirements: *70320238797400
142
102
  description:
143
- email:
103
+ email:
144
104
  - andrewnez@gmail.com
145
105
  executables: []
146
-
147
106
  extensions: []
148
-
149
107
  extra_rdoc_files: []
150
-
151
- files:
108
+ files:
152
109
  - .gitignore
153
110
  - .travis.yml
154
111
  - CHANGELOG.mdown
@@ -179,41 +136,31 @@ files:
179
136
  - spec/helper_spec.rb
180
137
  - spec/spec_helper.rb
181
138
  - split.gemspec
182
- has_rdoc: true
183
139
  homepage: https://github.com/andrew/split
184
140
  licenses: []
185
-
186
141
  post_install_message:
187
142
  rdoc_options: []
188
-
189
- require_paths:
143
+ require_paths:
190
144
  - lib
191
- required_ruby_version: !ruby/object:Gem::Requirement
145
+ required_ruby_version: !ruby/object:Gem::Requirement
192
146
  none: false
193
- requirements:
194
- - - ">="
195
- - !ruby/object:Gem::Version
196
- hash: 3
197
- segments:
198
- - 0
199
- version: "0"
200
- required_rubygems_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ! '>='
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
201
152
  none: false
202
- requirements:
203
- - - ">="
204
- - !ruby/object:Gem::Version
205
- hash: 3
206
- segments:
207
- - 0
208
- version: "0"
153
+ requirements:
154
+ - - ! '>='
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
209
157
  requirements: []
210
-
211
158
  rubyforge_project: split
212
- rubygems_version: 1.6.2
159
+ rubygems_version: 1.8.11
213
160
  signing_key:
214
161
  specification_version: 3
215
162
  summary: Rack based split testing framework
216
- test_files:
163
+ test_files:
217
164
  - spec/alternative_spec.rb
218
165
  - spec/configuration_spec.rb
219
166
  - spec/dashboard_helpers_spec.rb