slimmer 11.0.0 → 11.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ecf43459333e746422f71874af4c02f106ab56ad
4
- data.tar.gz: 0c312a718a1670954af979a73cfd6333c1e3247f
3
+ metadata.gz: 740fdc7c45e27a10baa244964e5b7b573d42e2e8
4
+ data.tar.gz: b70ad5885fc21e04bc1a8ca86132fe5379c4c320
5
5
  SHA512:
6
- metadata.gz: ef5657c5ad90cea7552cc0e1bab5fdf96fa5272eca154d5e96b756b7481c4bfef42be6915a4bbd35e8e0b6f5e2240fe6ba151c0d06e41a8daa04521414697f2c
7
- data.tar.gz: 4d34c3613389a0007708fe12a7ddba922bc3b24b14b58ff4ed0f7e9a0bcdd6aa61ac65f59a1ea3c4e4559595a80fb1d0a34ff213304b6ee45dc94436c577eb7a
6
+ metadata.gz: 77902bad75ca1651609d776d9029f4d2c7e9d9b228ea7424b7c03edc3b91526fc0a63ae7e67c42aefeb87988ff672056c12e06edd8f2ba1956019e9c6b4c0f1e
7
+ data.tar.gz: 73f3f8b2db23c3a290de11de561d7ca045b30ed6f598f64645af5b309a381349139a65a54106b09cb93c6208192abc37c7bbb3fcd212dd6a65b91b066f7e4115
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 11.0.1
2
+
3
+ * Stop catching errors from Slimmer processors (#203)
4
+ * Removes all references to Airbrake
5
+
1
6
  # 11.0.0
2
7
 
3
8
  * Drops support for nokogiri versions < 1.7.0
data/lib/slimmer/skin.rb CHANGED
@@ -80,15 +80,7 @@ module Slimmer
80
80
  processors.each do |p|
81
81
  processor_start_time = Time.now
82
82
  logger.debug "Slimmer: Processor #{p} started at #{processor_start_time}"
83
- begin
84
- p.filter(src,dest)
85
- rescue => e
86
- logger.error "Slimmer: Failed while processing #{p}: #{[ e.message, e.backtrace ].flatten.join("\n")}"
87
- if defined?(Airbrake)
88
- Airbrake.notify(e, rack_env: rack_env)
89
- end
90
- raise if strict
91
- end
83
+ p.filter(src, dest)
92
84
  processor_end_time = Time.now
93
85
  process_time = processor_end_time - processor_start_time
94
86
  logger.debug "Slimmer: Processor #{p} ended at #{processor_end_time} (#{process_time}s)"
@@ -1,3 +1,3 @@
1
1
  module Slimmer
2
- VERSION = '11.0.0'
2
+ VERSION = '11.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slimmer
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.0
4
+ version: 11.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-12 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri