hoptoad_notifier 2.3.6 → 2.3.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,21 @@
1
+ Version 2.3.7 - 2010-09-15
2
+ ===============================================================================
3
+
4
+ Jason Morrison (5):
5
+ Add ./ prefix to require for 1.9.2
6
+ More helpful message for testing without ENV['RAILS_VERSION']
7
+ Support Rails 3.0.0, not 3.0.0.rc
8
+ This wasn't actually a fix (it regressed tests): Revert "Fix modifying params_filters"
9
+ Correct the #also_use_rack_params_filters method
10
+
11
+ Joshua Clayton (1):
12
+ Fix modifying params_filters
13
+
14
+ Nick Quaranto (2):
15
+ s/RSpec/Spec for matchers
16
+ use Sinatra::Default instead of Sinatra::Base
17
+
18
+
1
19
  Version 2.3.6 - 2010-08-30
2
20
  ===============================================================================
3
21
 
@@ -216,3 +234,4 @@ Nick Quaranto (3):
216
234
 
217
235
 
218
236
 
237
+
data/Rakefile CHANGED
@@ -197,6 +197,9 @@ def define_rails_cucumber_tasks(additional_cucumber_args = '')
197
197
  desc "Test integration of the gem with Rails #{version}"
198
198
  task version => [:gemspec, :vendor_test_gems] do
199
199
  puts "Testing Rails #{version}"
200
+ if version.empty?
201
+ raise "No Rails version specified - make sure ENV['RAILS_VERSION'] is set, e.g. with `rake cucumber:rails:all`"
202
+ end
200
203
  ENV['RAILS_VERSION'] = version
201
204
  system("cucumber --format #{ENV['CUCUMBER_FORMAT'] || 'progress'} #{additional_cucumber_args} features/rails.feature features/rails_with_js_notifier.feature")
202
205
  end
@@ -7,4 +7,4 @@
7
7
  2.3.4
8
8
  2.3.5
9
9
  2.3.8
10
- 3.0.0.rc
10
+ 3.0.0
@@ -326,7 +326,8 @@ module HoptoadNotifier
326
326
 
327
327
  def also_use_rack_params_filters
328
328
  if args[:rack_env]
329
- self.params_filters += rack_request.env["action_dispatch.parameter_filter"] || []
329
+ @params_filters ||= []
330
+ @params_filters += rack_request.env["action_dispatch.parameter_filter"] || []
330
331
  end
331
332
  end
332
333
 
@@ -19,7 +19,7 @@ namespace :hoptoad do
19
19
  config.logger = Rails.logger
20
20
  end
21
21
 
22
- require 'app/controllers/application_controller'
22
+ require './app/controllers/application_controller'
23
23
 
24
24
  class HoptoadTestingException < RuntimeError; end
25
25
 
@@ -1,3 +1,3 @@
1
1
  module HoptoadNotifier
2
- VERSION = "2.3.6".freeze
2
+ VERSION = "2.3.7".freeze
3
3
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoptoad_notifier
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
5
4
  prerelease: false
6
5
  segments:
7
6
  - 2
8
7
  - 3
9
- - 6
10
- version: 2.3.6
8
+ - 7
9
+ version: 2.3.7
11
10
  platform: ruby
12
11
  authors:
13
12
  - thoughtbot, inc
@@ -15,18 +14,16 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-08-30 00:00:00 -04:00
17
+ date: 2010-09-15 00:00:00 -04:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: activesupport
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - ">="
28
26
  - !ruby/object:Gem::Version
29
- hash: 3
30
27
  segments:
31
28
  - 0
32
29
  version: "0"
@@ -36,11 +33,9 @@ dependencies:
36
33
  name: activerecord
37
34
  prerelease: false
38
35
  requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
37
  - - ">="
42
38
  - !ruby/object:Gem::Version
43
- hash: 3
44
39
  segments:
45
40
  - 0
46
41
  version: "0"
@@ -50,11 +45,9 @@ dependencies:
50
45
  name: actionpack
51
46
  prerelease: false
52
47
  requirement: &id003 !ruby/object:Gem::Requirement
53
- none: false
54
48
  requirements:
55
49
  - - ">="
56
50
  - !ruby/object:Gem::Version
57
- hash: 3
58
51
  segments:
59
52
  - 0
60
53
  version: "0"
@@ -64,11 +57,9 @@ dependencies:
64
57
  name: jferris-mocha
65
58
  prerelease: false
66
59
  requirement: &id004 !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
61
  - - ">="
70
62
  - !ruby/object:Gem::Version
71
- hash: 3
72
63
  segments:
73
64
  - 0
74
65
  version: "0"
@@ -78,11 +69,9 @@ dependencies:
78
69
  name: nokogiri
79
70
  prerelease: false
80
71
  requirement: &id005 !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ">="
84
74
  - !ruby/object:Gem::Version
85
- hash: 3
86
75
  segments:
87
76
  - 0
88
77
  version: "0"
@@ -92,11 +81,9 @@ dependencies:
92
81
  name: shoulda
93
82
  prerelease: false
94
83
  requirement: &id006 !ruby/object:Gem::Requirement
95
- none: false
96
84
  requirements:
97
85
  - - ">="
98
86
  - !ruby/object:Gem::Version
99
- hash: 3
100
87
  segments:
101
88
  - 0
102
89
  version: "0"
@@ -169,27 +156,23 @@ rdoc_options:
169
156
  require_paths:
170
157
  - lib
171
158
  required_ruby_version: !ruby/object:Gem::Requirement
172
- none: false
173
159
  requirements:
174
160
  - - ">="
175
161
  - !ruby/object:Gem::Version
176
- hash: 3
177
162
  segments:
178
163
  - 0
179
164
  version: "0"
180
165
  required_rubygems_version: !ruby/object:Gem::Requirement
181
- none: false
182
166
  requirements:
183
167
  - - ">="
184
168
  - !ruby/object:Gem::Version
185
- hash: 3
186
169
  segments:
187
170
  - 0
188
171
  version: "0"
189
172
  requirements: []
190
173
 
191
174
  rubyforge_project:
192
- rubygems_version: 1.3.7
175
+ rubygems_version: 1.3.6
193
176
  signing_key:
194
177
  specification_version: 3
195
178
  summary: Send your application errors to our hosted service and reclaim your inbox.