send_sonar 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,8 +16,8 @@ module SendSonar
16
16
  else
17
17
  response = e.response && JSON.parse(e.response) || {}
18
18
  error = response["error"]
19
- exception = error && Exceptions::EXCEPTIONS_MAP[error].new(e) || Exception::UnknownRequestError.new(e)
20
- raise exception
19
+ exception_class = Exceptions::EXCEPTIONS_MAP[error] || Exception::UnknownRequestError
20
+ raise exception_class.new(e)
21
21
  end
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module SendSonar
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,106 +1,122 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: send_sonar
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.5
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 6
10
+ version: 1.0.6
5
11
  platform: ruby
6
- authors:
12
+ authors:
7
13
  - John Gesimondo
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
- date: 2014-11-11 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2014-12-04 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
14
21
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '1.3'
20
- type: :development
21
22
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
24
26
  - - ~>
25
- - !ruby/object:Gem::Version
26
- version: '1.3'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ~>
32
- - !ruby/object:Gem::Version
33
- version: '10.0'
27
+ - !ruby/object:Gem::Version
28
+ hash: 9
29
+ segments:
30
+ - 1
31
+ - 3
32
+ version: "1.3"
34
33
  type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: rake
35
37
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
38
41
  - - ~>
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ~>
46
- - !ruby/object:Gem::Version
47
- version: '3.0'
42
+ - !ruby/object:Gem::Version
43
+ hash: 35
44
+ segments:
45
+ - 10
46
+ - 0
47
+ version: "10.0"
48
48
  type: :development
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: rspec
49
52
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- version: '3.0'
55
- - !ruby/object:Gem::Dependency
56
- name: vcr
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
59
56
  - - ~>
60
- - !ruby/object:Gem::Version
61
- version: '2.6'
57
+ - !ruby/object:Gem::Version
58
+ hash: 7
59
+ segments:
60
+ - 3
61
+ - 0
62
+ version: "3.0"
62
63
  type: :development
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: vcr
63
67
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
66
71
  - - ~>
67
- - !ruby/object:Gem::Version
68
- version: '2.6'
69
- - !ruby/object:Gem::Dependency
70
- name: webmock
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ~>
74
- - !ruby/object:Gem::Version
75
- version: '1.1'
72
+ - !ruby/object:Gem::Version
73
+ hash: 15
74
+ segments:
75
+ - 2
76
+ - 6
77
+ version: "2.6"
76
78
  type: :development
79
+ version_requirements: *id004
80
+ - !ruby/object:Gem::Dependency
81
+ name: webmock
77
82
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
83
+ requirement: &id005 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
80
86
  - - ~>
81
- - !ruby/object:Gem::Version
82
- version: '1.1'
83
- - !ruby/object:Gem::Dependency
87
+ - !ruby/object:Gem::Version
88
+ hash: 13
89
+ segments:
90
+ - 1
91
+ - 1
92
+ version: "1.1"
93
+ type: :development
94
+ version_requirements: *id005
95
+ - !ruby/object:Gem::Dependency
84
96
  name: rest-client
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ~>
88
- - !ruby/object:Gem::Version
89
- version: '1.6'
90
- type: :runtime
91
97
  prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
98
+ requirement: &id006 !ruby/object:Gem::Requirement
99
+ none: false
100
+ requirements:
94
101
  - - ~>
95
- - !ruby/object:Gem::Version
96
- version: '1.6'
97
- description: ''
98
- email:
102
+ - !ruby/object:Gem::Version
103
+ hash: 3
104
+ segments:
105
+ - 1
106
+ - 6
107
+ version: "1.6"
108
+ type: :runtime
109
+ version_requirements: *id006
110
+ description: ""
111
+ email:
99
112
  - john@jmondo.com
100
113
  executables: []
114
+
101
115
  extensions: []
116
+
102
117
  extra_rdoc_files: []
103
- files:
118
+
119
+ files:
104
120
  - .gitignore
105
121
  - .travis.yml
106
122
  - Gemfile
@@ -129,30 +145,39 @@ files:
129
145
  - spec/vcr_cassettes/message_customer_bad_token.yml
130
146
  - spec/vcr_cassettes/message_customer_no_subscription.yml
131
147
  homepage: http://github.com/sendsonar/send_sonar_gem
132
- licenses:
148
+ licenses:
133
149
  - MIT
134
- metadata: {}
135
150
  post_install_message:
136
151
  rdoc_options: []
137
- require_paths:
152
+
153
+ require_paths:
138
154
  - lib
139
- required_ruby_version: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - '>='
142
- - !ruby/object:Gem::Version
143
- version: '0'
144
- required_rubygems_version: !ruby/object:Gem::Requirement
145
- requirements:
146
- - - '>='
147
- - !ruby/object:Gem::Version
148
- version: '0'
155
+ required_ruby_version: !ruby/object:Gem::Requirement
156
+ none: false
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ hash: 3
161
+ segments:
162
+ - 0
163
+ version: "0"
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ hash: 3
170
+ segments:
171
+ - 0
172
+ version: "0"
149
173
  requirements: []
174
+
150
175
  rubyforge_project:
151
- rubygems_version: 2.2.1
176
+ rubygems_version: 1.8.0
152
177
  signing_key:
153
- specification_version: 4
178
+ specification_version: 3
154
179
  summary: Provides a clean and simple gem to connect to Sonar
155
- test_files:
180
+ test_files:
156
181
  - spec/integrations/simple_desk_spec.rb
157
182
  - spec/spec_helper.rb
158
183
  - spec/vcr_cassettes/add_customer.yml
@@ -165,4 +190,3 @@ test_files:
165
190
  - spec/vcr_cassettes/message_customer_bad_params.yml
166
191
  - spec/vcr_cassettes/message_customer_bad_token.yml
167
192
  - spec/vcr_cassettes/message_customer_no_subscription.yml
168
- has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 477ff48ecad55aa489559138161b41a11a7d5807
4
- data.tar.gz: d450b0b13918a3775dde6baf1096252abe288835
5
- SHA512:
6
- metadata.gz: e8656a732bbf28921e230b81045b1ad8069a0791d0e4f01838a1ab758faf2c592e40f91a2df67ec8b517c43c25a5d83c145d411df8d46b51ebda161f13fd4ca8
7
- data.tar.gz: fbbe0797469194e40dffe977c012c12fa3db22c09457d05d625ce821bc30ae146dbbb6e0aa6f309ded9a63cc3fc10445629f01570fa0e010d1f5036df343c1b0