asana_exception_notifier 0.3.1 → 0.3.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: d49c3e2401adece7dbc4761eaacf9e40b5bd7cf4
4
- data.tar.gz: 3ac6129faa6145a09c70c019550ab6f018c92460
3
+ metadata.gz: b1d13d4dd597bee588403c3ffd122ee18b3ce58f
4
+ data.tar.gz: a46c66fe614f87eba75a059ac898237ece6afe3e
5
5
  SHA512:
6
- metadata.gz: 5c1cdaccb5e3ac31b60fae42eb0f1822df3c2631b86899824b0c06fbe5d2fc663b75fc2e9d1f73a4f41f60d3c4812808f52fd37d624e1c9a3eea18d70e3ef234
7
- data.tar.gz: 93756e13405772450fe88f912170b1ec599a2d4fe021f5c6ce0f74ef8ed97204aff6bffb4ef3ef8f04979f8905538f3425dd4522a4464d4654b2ef9cdfbbac98
6
+ metadata.gz: 562a6d4372cd01bea8ff53ca4d10bf867f88e3685f83f77308a0405167272e057151eee0d9450418b52f52230b43f6250294674f02d8d733883124d6afff3961
7
+ data.tar.gz: e2fe5527ca4d1411bedacd6a050670d5b4b014925dfacc207d2593cc668a34c458699f82294c93f661ad1ae781b1c0c77a5e4a4176ec914f3c24589f352e38b7
data/README.md CHANGED
@@ -10,6 +10,11 @@ Simple ruby implementation to send notifications to Asana when a exception happe
10
10
 
11
11
  The gem provides a notifier for sending notifications to Asana when errors occur in a Rack/Rails application [courtesy of exception_notification gem](https://github.com/smartinez87/exception_notification). Check out that gem for more details on setting up the rack middleware with additional options.
12
12
 
13
+ IMPORTANT!!!
14
+ ------------
15
+
16
+ Starting with version 0.3.1, this gem no longer uses eventmachine and em-http-request gems. Instead they are replaced with Asana gem and Typhoeus.
17
+
13
18
  Requirements
14
19
  ------------
15
20
 
@@ -20,8 +25,8 @@ Dependencies
20
25
  ------------
21
26
 
22
27
  1. [ActiveSuport > 4.0](https://rubygems.org/gems/activesupport)
23
- 2. [em-http-request >= 1.1.0](https://github.com/igrigorik/em-http-request)
24
- 3. [eventmachine >= 1.0.7](https://github.com/eventmachine/eventmachine)
28
+ 2. [typhoeus >= 1.0.2](https://github.com/igrigorik/em-http-request)
29
+ 3. [asana >= 0.5.0](https://github.com/eventmachine/eventmachine)
25
30
  4. [exception_notification >= 4.1.4](https://github.com/smartinez87/exception_notification)
26
31
  5. [multipart_body >= 0.2.1](https://github.com/cloudmailin/multipart_body)
27
32
  6. [tilt >= 1.4](https://github.com/rtomayko/tilt/)
@@ -1,84 +1,99 @@
1
1
  PATH
2
2
  remote: ../../
3
3
  specs:
4
- asana_exception_notifier (0.1.0)
4
+ asana_exception_notifier (0.3.1)
5
5
  activesupport (>= 4.0, < 5)
6
- em-http-request (~> 1.1, >= 1.1.2)
7
- eventmachine (~> 1.0, >= 1.0.7)
6
+ asana (~> 0.5, >= 0.5.0)
8
7
  exception_notification (~> 4.1, >= 4.1.4)
9
8
  multipart_body (~> 0.2, >= 0.2.1)
10
9
  rack (~> 1.6, >= 1.6)
11
10
  rubyzip (~> 1.0, >= 1.0.0)
12
11
  sys-uname (~> 1.0, >= 1.0.2)
13
12
  tilt (>= 1.4, < 3)
13
+ typhoeus (~> 1.0, >= 1.0.2)
14
14
  zip-zip (~> 0.3, >= 0.3)
15
15
 
16
16
  GEM
17
17
  remote: https://rubygems.org/
18
18
  specs:
19
- actionmailer (4.2.5.1)
20
- actionpack (= 4.2.5.1)
21
- actionview (= 4.2.5.1)
22
- activejob (= 4.2.5.1)
19
+ actionmailer (4.2.6)
20
+ actionpack (= 4.2.6)
21
+ actionview (= 4.2.6)
22
+ activejob (= 4.2.6)
23
23
  mail (~> 2.5, >= 2.5.4)
24
24
  rails-dom-testing (~> 1.0, >= 1.0.5)
25
- actionpack (4.2.5.1)
26
- actionview (= 4.2.5.1)
27
- activesupport (= 4.2.5.1)
25
+ actionpack (4.2.6)
26
+ actionview (= 4.2.6)
27
+ activesupport (= 4.2.6)
28
28
  rack (~> 1.6)
29
29
  rack-test (~> 0.6.2)
30
30
  rails-dom-testing (~> 1.0, >= 1.0.5)
31
31
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
32
- actionview (4.2.5.1)
33
- activesupport (= 4.2.5.1)
32
+ actionview (4.2.6)
33
+ activesupport (= 4.2.6)
34
34
  builder (~> 3.1)
35
35
  erubis (~> 2.7.0)
36
36
  rails-dom-testing (~> 1.0, >= 1.0.5)
37
37
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
38
- activejob (4.2.5.1)
39
- activesupport (= 4.2.5.1)
38
+ activejob (4.2.6)
39
+ activesupport (= 4.2.6)
40
40
  globalid (>= 0.3.0)
41
- activesupport (4.2.5.1)
41
+ activesupport (4.2.6)
42
42
  i18n (~> 0.7)
43
43
  json (~> 1.7, >= 1.7.7)
44
44
  minitest (~> 5.1)
45
45
  thread_safe (~> 0.3, >= 0.3.4)
46
46
  tzinfo (~> 1.1)
47
- addressable (2.4.0)
47
+ asana (0.5.0)
48
+ faraday (~> 0.9)
49
+ faraday_middleware (~> 0.9)
50
+ faraday_middleware-multi_json (~> 0.0)
51
+ oauth2 (~> 1.0)
48
52
  builder (3.2.2)
49
- cookiejar (0.3.0)
50
53
  daemons (1.2.3)
51
- em-http-request (1.1.3)
52
- addressable (>= 2.3.4)
53
- cookiejar (<= 0.3.0)
54
- em-socksify (>= 0.3)
55
- eventmachine (>= 1.0.3)
56
- http_parser.rb (>= 0.6.0)
57
- em-socksify (0.3.1)
58
- eventmachine (>= 1.0.0.beta.4)
59
54
  erubis (2.7.0)
60
- eventmachine (1.0.9.1)
55
+ ethon (0.9.0)
56
+ ffi (>= 1.3.0)
57
+ eventmachine (1.2.0.1)
61
58
  exception_notification (4.1.4)
62
59
  actionmailer (~> 4.0)
63
60
  activesupport (~> 4.0)
61
+ faraday (0.9.2)
62
+ multipart-post (>= 1.2, < 3)
63
+ faraday_middleware (0.10.0)
64
+ faraday (>= 0.7.4, < 0.10)
65
+ faraday_middleware-multi_json (0.0.6)
66
+ faraday_middleware
67
+ multi_json
64
68
  ffi (1.9.10)
65
69
  foreman (0.78.0)
66
70
  thor (~> 0.19.1)
67
71
  globalid (0.3.6)
68
72
  activesupport (>= 4.1.0)
69
- http_parser.rb (0.6.0)
70
73
  i18n (0.7.0)
71
74
  json (1.8.3)
75
+ jwt (1.5.1)
72
76
  loofah (2.0.3)
73
77
  nokogiri (>= 1.5.9)
74
- mail (2.6.3)
75
- mime-types (>= 1.16, < 3)
76
- mime-types (2.99)
78
+ mail (2.6.4)
79
+ mime-types (>= 1.16, < 4)
80
+ mime-types (3.0)
81
+ mime-types-data (~> 3.2015)
82
+ mime-types-data (3.2016.0221)
77
83
  mini_portile2 (2.0.0)
78
84
  minitest (5.8.4)
85
+ multi_json (1.12.0)
86
+ multi_xml (0.5.5)
87
+ multipart-post (2.0.0)
79
88
  multipart_body (0.2.1)
80
89
  nokogiri (1.6.7.2)
81
90
  mini_portile2 (~> 2.0.0.rc2)
91
+ oauth2 (1.1.0)
92
+ faraday (>= 0.8, < 0.10)
93
+ jwt (~> 1.0, < 1.5.2)
94
+ multi_json (~> 1.3)
95
+ multi_xml (~> 0.5)
96
+ rack (>= 1.2, < 3)
82
97
  rack (1.6.4)
83
98
  rack-protection (1.5.3)
84
99
  rack
@@ -92,7 +107,7 @@ GEM
92
107
  rails-deprecated_sanitizer (>= 1.0.1)
93
108
  rails-html-sanitizer (1.0.3)
94
109
  loofah (~> 2.0)
95
- rubyzip (1.1.7)
110
+ rubyzip (1.2.0)
96
111
  sinatra (1.4.7)
97
112
  rack (~> 1.5)
98
113
  rack-protection (~> 1.4)
@@ -106,6 +121,8 @@ GEM
106
121
  thor (0.19.1)
107
122
  thread_safe (0.3.5)
108
123
  tilt (2.0.2)
124
+ typhoeus (1.0.2)
125
+ ethon (>= 0.9.0)
109
126
  tzinfo (1.2.2)
110
127
  thread_safe (~> 0.1)
111
128
  zip-zip (0.3)
@@ -121,4 +138,4 @@ DEPENDENCIES
121
138
  thin (~> 1.5.1)
122
139
 
123
140
  BUNDLED WITH
124
- 1.11.2
141
+ 1.12.2
@@ -48,7 +48,7 @@ module AsanaExceptionNotifier
48
48
  request_data: setup_env_params,
49
49
  parameters: @request.respond_to?(:filtered_parameters) ? filter_params(@request.filtered_parameters) : filter_params(request_params),
50
50
  session: filter_params(session.respond_to?(:to_hash) ? session.to_hash : session.to_h),
51
- cookies: @request.cookies.to_h
51
+ cookies: filter_params(@request.cookies.to_h)
52
52
  }.merge(@options).reject { |_key, value| value.blank? }
53
53
  end
54
54
 
@@ -17,7 +17,7 @@ module AsanaExceptionNotifier
17
17
  # minor release version
18
18
  MINOR = 3
19
19
  # tiny release version
20
- TINY = 1
20
+ TINY = 2
21
21
  # prelease version ( set this only if it is a prelease)
22
22
  PRE = nil
23
23
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asana_exception_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada