bugsnag 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e431cd9b8e24c77a857706e4226447ca12b73f7
4
- data.tar.gz: 9844d688bc0311ccad83c6997d8bf0274c8ccd7a
3
+ metadata.gz: 6d6776a929d3865408e099d9aff2097c6def8fe3
4
+ data.tar.gz: c592802520f99feac21ef08970ab8ca9bde5aae4
5
5
  SHA512:
6
- metadata.gz: f12b1aec2e9a72a9557f5a9df16e0c519603ad51624ef2754280f30f6ce93ba17439bb2ad8ff4577cc5488eeb5483ac3cb4fbf0682a312721527b9ca1e3c7cbe
7
- data.tar.gz: f9c0201a1a2c079ddcdc626c6a94e5a20b64259128998d7dda16d7162a77c76ebfb2c54dee8be7b7527f9702cc8630899862f4e09d60f351dae9604fd25cd769
6
+ metadata.gz: 4c5a61be6de50f71885e19af44336fc1a2b9fce4ae7e8219f5bde636b4faa306ff37ebdb9648820d270da8e87ebf02dfa450c04c5f00dbdfddde64d97aac4403
7
+ data.tar.gz: 167fd84765b93164f6897ce15a4a3aac6e6bf9dac4552320087de5ec06616f25fe1e288596820995c42da79f2c260b9825a996b588848b4eedb0572c9a0d320d
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 2.0.3
5
+ -----
6
+ - Load the env in the deploy rake task if there is no api key set
7
+
4
8
  2.0.2
5
9
  -----
6
10
  - Fix encoding issue when ensuring utf8 string is valid
data/README.md CHANGED
@@ -304,6 +304,8 @@ config.use_ssl = true
304
304
 
305
305
  By default, `use_ssl` is set to false.
306
306
 
307
+ <!-- Custom anchor for linking from alerts -->
308
+ <div id="set-project-root"></div>
307
309
  ###project_root
308
310
 
309
311
  We mark stacktrace lines as `inProject` if they come from files inside your
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.2
1
+ 2.0.3
@@ -146,6 +146,7 @@ module Bugsnag
146
146
  end
147
147
 
148
148
  def user=(user = {})
149
+ return unless user.is_a? Hash
149
150
  @user.merge!(user).delete_if{|k,v| v == nil}
150
151
  end
151
152
 
@@ -10,6 +10,8 @@ namespace :bugsnag do
10
10
  repository = ENV["BUGSNAG_REPOSITORY"]
11
11
  branch = ENV["BUGSNAG_BRANCH"]
12
12
 
13
+ Rake::Task["load"].invoke unless api_key
14
+
13
15
  Bugsnag::Deploy.notify({
14
16
  :api_key => api_key,
15
17
  :release_stage => release_stage,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-29 00:00:00.000000000 Z
11
+ date: 2014-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json