sentry-raven 2.1.1 → 2.1.2

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: ff5dc36f7de6af4d516ffdd57c5575c4576a50ee
4
- data.tar.gz: 32b304bd89a3e0d4b814ccfd5e89897829613bcb
3
+ metadata.gz: aae9ec571ae0b5bfbd2a230d2a10e07f9a639fb1
4
+ data.tar.gz: 3abede23ce09a427c5c6d85df29a030bfe915487
5
5
  SHA512:
6
- metadata.gz: badbf807791152c8766292062b0318535846a72e5f69c43bd7db1e2ce9c5dfc1f59cae8235a97be1c43c6177bc197f0389d27082043cce451b7314ee2f7b3cfb
7
- data.tar.gz: 0e2d81a79a391472a5f4a3f5b38654dc05821b5fa1f82540b025a51071e9cf3cd9217899bb6a61ae2e0778ea64932b8c53bf91b72b4f788a5a114d09c1e35f72
6
+ metadata.gz: e1cf24c8c9815ed663db02cac792bb9949abdd8ce6477846f6748d15cb1ad877a6ce4d47524f2ab0594c8a8683fae9d19256e4fb39b34840b48f3d11c5cabaf2
7
+ data.tar.gz: 26f7dcb0a7234e2bb12f0598a0685d13e07c90016c1c99f9758c8403fb06361ca6df9e93b916f9610cd6f72ab953a5abf4f1e50e2f5283ad0b9fe1b4f23db096
@@ -91,12 +91,9 @@ module Raven
91
91
  end
92
92
  end
93
93
 
94
- def sys_command(unix_command, win_command = nil)
95
- unix_result = `#{unix_command} 2>&1` rescue nil # redirect stderr to stdout
96
- return unix_result if unix_result != "" && unix_result
97
- return if win_command.nil?
98
- win_result = `#{win_command}` rescue nil
99
- win_result != "" && win_result
94
+ def sys_command(command)
95
+ result = `#{command}` rescue nil
96
+ result.strip if result != "" && result
100
97
  end
101
98
  end
102
99
  end
@@ -27,7 +27,7 @@ module Raven
27
27
  "name" => Raven.sys_command("uname -s") || RbConfig::CONFIG["host_os"],
28
28
  "version" => Raven.sys_command("uname -v"),
29
29
  "build" => Raven.sys_command("uname -r"),
30
- "kernel_version" => Raven.sys_command("uname -a", "ver")
30
+ "kernel_version" => Raven.sys_command("uname -a") || Raven.sys_command("ver") # windows
31
31
  }
32
32
  end
33
33
 
@@ -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.1" # rubocop:disable Style/MutableConstant
4
+ VERSION = "2.1.2" # rubocop:disable Style/MutableConstant
5
5
  end
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-raven
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
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-20 00:00:00.000000000 Z
11
+ date: 2016-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: faraday
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - ">="
@@ -19,9 +20,8 @@ dependencies:
19
20
  - - "<"
20
21
  - !ruby/object:Gem::Version
21
22
  version: 0.10.x
22
- name: faraday
23
- prerelease: false
24
23
  type: :runtime
24
+ prerelease: false
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
34
35
  requirement: !ruby/object:Gem::Requirement
35
36
  requirements:
36
37
  - - ">="
37
38
  - !ruby/object:Gem::Version
38
39
  version: '0'
39
- name: rake
40
- prerelease: false
41
40
  type: :development
41
+ prerelease: false
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
48
49
  requirement: !ruby/object:Gem::Requirement
49
50
  requirements:
50
51
  - - "~>"
51
52
  - !ruby/object:Gem::Version
52
53
  version: 0.41.1
53
- name: rubocop
54
- prerelease: false
55
54
  type: :development
55
+ prerelease: false
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
62
63
  requirement: !ruby/object:Gem::Requirement
63
64
  requirements:
64
65
  - - ">="
65
66
  - !ruby/object:Gem::Version
66
67
  version: '0'
67
- name: rspec
68
- prerelease: false
69
68
  type: :development
69
+ prerelease: false
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
76
77
  requirement: !ruby/object:Gem::Requirement
77
78
  requirements:
78
79
  - - ">="
79
80
  - !ruby/object:Gem::Version
80
81
  version: '0'
81
- name: rspec-rails
82
- prerelease: false
83
82
  type: :development
83
+ prerelease: false
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
90
91
  requirement: !ruby/object:Gem::Requirement
91
92
  requirements:
92
93
  - - ">="
93
94
  - !ruby/object:Gem::Version
94
95
  version: '0'
95
- name: timecop
96
- prerelease: false
97
96
  type: :development
97
+ prerelease: false
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
104
105
  requirement: !ruby/object:Gem::Requirement
105
106
  requirements:
106
107
  - - ">="
107
108
  - !ruby/object:Gem::Version
108
109
  version: '0'
109
- name: test-unit
110
- prerelease: false
111
110
  type: :development
111
+ prerelease: false
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.6.6
197
- signing_key:
195
+ rubyforge_project:
196
+ rubygems_version: 2.5.1
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: []