sentry-raven 2.1.0 → 2.1.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: ca26b5db2081fdbbdc2d2de7bbd580f1efcbd3f2
4
- data.tar.gz: b95c0447aa43feb90d16585803a8815e218390c4
3
+ metadata.gz: ff5dc36f7de6af4d516ffdd57c5575c4576a50ee
4
+ data.tar.gz: 32b304bd89a3e0d4b814ccfd5e89897829613bcb
5
5
  SHA512:
6
- metadata.gz: 49d734c72e306caf5e6a760ee9e76e787eb865f33542929b43ee244b7596607b7f9a13b1d77f531d25de4d09a04d15ca87fab96438379a4fc621b17f8e9c0959
7
- data.tar.gz: 9c299e76d4f1081225fd7950a09434564bc4a805bc77673efe2a501af4446297c876bc68edd88267d429d35fa1ac20f24903c0193393b7ec0e85e07f3c9b36c5
6
+ metadata.gz: badbf807791152c8766292062b0318535846a72e5f69c43bd7db1e2ce9c5dfc1f59cae8235a97be1c43c6177bc197f0389d27082043cce451b7314ee2f7b3cfb
7
+ data.tar.gz: 0e2d81a79a391472a5f4a3f5b38654dc05821b5fa1f82540b025a51071e9cf3cd9217899bb6a61ae2e0778ea64932b8c53bf91b72b4f788a5a114d09c1e35f72
data/lib/raven/cli.rb CHANGED
@@ -54,6 +54,7 @@ module Raven
54
54
 
55
55
  Raven.logger.debug ""
56
56
  Raven.logger.debug "Done!"
57
+ true
57
58
  end
58
59
  end
59
60
  end
@@ -4,7 +4,7 @@ require 'raven/cli'
4
4
  namespace :raven do
5
5
  desc "Send a test event to the remote Sentry server"
6
6
  task :test, [:dsn] do |_t, args|
7
- Rake::Task["environment"].invoke if defined? Rails
7
+ Rake::Task["environment"].invoke if Rake::Task.tasks.map(&:to_s).include?("environment")
8
8
 
9
9
  Raven::CLI.test(args.dsn)
10
10
  end
@@ -10,7 +10,7 @@ module Raven
10
10
  end
11
11
 
12
12
  def unformatted_message
13
- message % params
13
+ params.nil? ? message : message % params
14
14
  end
15
15
 
16
16
  def self.sentry_alias
data/lib/raven/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Raven
3
3
  # Freezing this constant breaks in 1.9.x
4
- VERSION = "2.1.0" # rubocop:disable Style/MutableConstant
4
+ VERSION = "2.1.1" # rubocop:disable Style/MutableConstant
5
5
  end
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-raven
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-18 00:00:00.000000000 Z
11
+ date: 2016-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: faraday
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - ">="
@@ -20,8 +19,9 @@ dependencies:
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 0.10.x
23
- type: :runtime
22
+ name: faraday
24
23
  prerelease: false
24
+ type: :runtime
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
@@ -31,84 +31,84 @@ dependencies:
31
31
  - !ruby/object:Gem::Version
32
32
  version: 0.10.x
33
33
  - !ruby/object:Gem::Dependency
34
- name: rake
35
34
  requirement: !ruby/object:Gem::Requirement
36
35
  requirements:
37
36
  - - ">="
38
37
  - !ruby/object:Gem::Version
39
38
  version: '0'
40
- type: :development
39
+ name: rake
41
40
  prerelease: false
41
+ type: :development
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
- name: rubocop
49
48
  requirement: !ruby/object:Gem::Requirement
50
49
  requirements:
51
50
  - - "~>"
52
51
  - !ruby/object:Gem::Version
53
52
  version: 0.41.1
54
- type: :development
53
+ name: rubocop
55
54
  prerelease: false
55
+ type: :development
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: 0.41.1
61
61
  - !ruby/object:Gem::Dependency
62
- name: rspec
63
62
  requirement: !ruby/object:Gem::Requirement
64
63
  requirements:
65
64
  - - ">="
66
65
  - !ruby/object:Gem::Version
67
66
  version: '0'
68
- type: :development
67
+ name: rspec
69
68
  prerelease: false
69
+ type: :development
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  - !ruby/object:Gem::Dependency
76
- name: rspec-rails
77
76
  requirement: !ruby/object:Gem::Requirement
78
77
  requirements:
79
78
  - - ">="
80
79
  - !ruby/object:Gem::Version
81
80
  version: '0'
82
- type: :development
81
+ name: rspec-rails
83
82
  prerelease: false
83
+ type: :development
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  - !ruby/object:Gem::Dependency
90
- name: timecop
91
90
  requirement: !ruby/object:Gem::Requirement
92
91
  requirements:
93
92
  - - ">="
94
93
  - !ruby/object:Gem::Version
95
94
  version: '0'
96
- type: :development
95
+ name: timecop
97
96
  prerelease: false
97
+ type: :development
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  - !ruby/object:Gem::Dependency
104
- name: test-unit
105
104
  requirement: !ruby/object:Gem::Requirement
106
105
  requirements:
107
106
  - - ">="
108
107
  - !ruby/object:Gem::Version
109
108
  version: '0'
110
- type: :development
109
+ name: test-unit
111
110
  prerelease: false
111
+ type: :development
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
@@ -177,7 +177,7 @@ homepage: https://github.com/getsentry/raven-ruby
177
177
  licenses:
178
178
  - Apache-2.0
179
179
  metadata: {}
180
- post_install_message:
180
+ post_install_message:
181
181
  rdoc_options: []
182
182
  require_paths:
183
183
  - lib
@@ -192,9 +192,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  - !ruby/object:Gem::Version
193
193
  version: '0'
194
194
  requirements: []
195
- rubyforge_project:
196
- rubygems_version: 2.5.1
197
- signing_key:
195
+ rubyforge_project:
196
+ rubygems_version: 2.6.6
197
+ signing_key:
198
198
  specification_version: 4
199
199
  summary: A gem that provides a client interface for the Sentry error logger
200
200
  test_files: []