errlog 0.3.8 → 0.3.9

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: d90364c90b687b6ecaa2bcf73018f281eff1aaff
4
- data.tar.gz: ec8ebdc1660cdbd7ad5d2542da2652785d76c6cf
3
+ metadata.gz: 2bb4aaf2c4b30afdcce509c999f681dce180ad95
4
+ data.tar.gz: 84bb62b390cffe9cebb1348439849044b64acfa1
5
5
  SHA512:
6
- metadata.gz: 8b62f8568e4cd90b0bd8cc73d1139d0f7f4e8b1751a03483119f5a95f39832107bc08b53407504b162f7c0c383f32494bfbc6d5de002d109b1c36dca102f0555
7
- data.tar.gz: a4e69d69a7b12f6486a1730ef464466b79dd9d13ebb9c332b35681c206f570d44316db8e8c745c468ef57ddca67c076349c750942b4c9e85bb4d75edde9a1dad
6
+ metadata.gz: 403783df921bbb05afeb69f77a61b0c5bc98e453fa0afe15589e014051693d58b320fa7973ce963752acb733e5faf899199a62ba3ac74b31612daa18a64f3bfc
7
+ data.tar.gz: 5bf3fd15544c45b48f63b9261a69b3e58e1fa0a621c7f7cc5d15c2ffff9c3e77785087e265775d4f73f46230493c3b90c345b2cf871fd7e3a6a8ca43b94da51a
data/README.md CHANGED
@@ -3,6 +3,10 @@
3
3
  The Errlog logging client (http://errorlog.co). with rails & delayed_job integrations. See usage details
4
4
  at http://errorlog.co/help/rails. The service is in beta test now.
5
5
 
6
+ Latest changes:
7
+
8
+ * Fox to work with rails 4
9
+
6
10
 
7
11
  ## Installation
8
12
 
@@ -81,7 +81,10 @@ module Errlog
81
81
  ctx.component = "#{self.class.name}##{params[:action]}"
82
82
  ctx.params = parametrize(params)
83
83
  headers = {}
84
- request.headers.to_hash.each { |k, v|
84
+
85
+ hh = Rails.version[0] == '3' ? request.headers.to_hash : request.headers.to_h
86
+
87
+ hh.each { |k, v|
85
88
  next if @@headers_exclusion_keys.any? { |s| k.starts_with?(s) }
86
89
  res = nil
87
90
  case v
@@ -1,3 +1,3 @@
1
1
  module Errlog
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.9"
3
3
  end
metadata CHANGED
@@ -1,97 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: errlog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - sergeych
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-15 00:00:00.000000000 Z
11
+ date: 2014-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: boss-protocol
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.1.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.1.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: hashie
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: httpclient
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 2.3.3
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.3.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: httpclient-uploadio
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: colorize
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  description: Logger and error reporter agent for errlog service
@@ -102,9 +102,9 @@ executables:
102
102
  extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
- - .gitignore
106
- - .rspec
107
- - .rvmrc
105
+ - ".gitignore"
106
+ - ".rspec"
107
+ - ".rvmrc"
108
108
  - Gemfile
109
109
  - LICENSE.txt
110
110
  - README.md
@@ -131,17 +131,17 @@ require_paths:
131
131
  - lib
132
132
  required_ruby_version: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - '>='
134
+ - - ">="
135
135
  - !ruby/object:Gem::Version
136
136
  version: 1.9.2
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - '>='
139
+ - - ">="
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.0.3
144
+ rubygems_version: 2.2.2
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: under development
@@ -149,4 +149,3 @@ test_files:
149
149
  - spec/errlog_spec.rb
150
150
  - spec/packager_spec.rb
151
151
  - spec/spec_helper.rb
152
- has_rdoc: