trakerr_client 1.0.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a2b434e83d7d3cefa590ff10e187fda178feddea
4
+ data.tar.gz: d7e76499fdbc5d9d8ee4a9ca7b29adcb2b44e986
5
+ SHA512:
6
+ metadata.gz: 9a66675d47158159a9a1f25d597fc1e90d8ac302e31fa5aa016952d3ab1800981fba3bcc1829a0e68a78d8cdb4ee86600dc9d64960d6617486c02669433108ff
7
+ data.tar.gz: 64b2727383dc9e10fed59ca9cb2e3945ad310cd2ea5d8faf6dc3f1409fed1392c02692536bab7e6fa50e246cc8c9819d47b884b75c3e82832fb316fbd8f14d08
data/README.md CHANGED
@@ -1,8 +1,13 @@
1
- # trakerr_client
1
+ # Trakerr-ruby API client
2
2
  Get your application events and errors to Trakerr via the *Trakerr API*.
3
3
 
4
4
  You will need your API key to send events to trakerr.
5
5
 
6
+ ## Overview
7
+
8
+ - REST API version: 2.0.0
9
+ - Package (SDK) version: 2.0.0
10
+
6
11
  ## Requirements.
7
12
 
8
13
  Ruby 1.9.3+
@@ -62,22 +67,27 @@ require 'trakerr/lib/trakerr'
62
67
  ```
63
68
 
64
69
  ### Option 1: Sending a default error to Trakerr
65
- A trivial case would involve calling `SendException` for a caught exception.
70
+ A trivial case would involve calling `log` for a caught exception.
66
71
  ```ruby
67
72
  def main()
68
73
  testApp = Trakerr::TrakerrClient.new("Api key here", "Application version number", "deployment type")
69
74
  begin
70
- raise ArgumentError
71
- rescue Exception => e
72
- testApp.SendException(e)
75
+ raise ZeroDivisionError, "Oh no!"
76
+ rescue ZeroDivisionError => exception
77
+ #You can leave the hash empty if you would like to use the default values.
78
+ #We recommend that you supply a user and a session for all events,
79
+ #and supplying an "evntname" and "evntmessage" for non errors.
80
+ testApp.log({"user"=>"jack@trakerr.io", "session"=>"7"}, exception)
73
81
  end
74
82
  end
75
83
  ```
76
84
 
77
- `SendExecption` may also take in a log_level and a classification, but will otherwise default all of the AppEvent properties.
85
+ Along with the `"user"` and `"session"`; the hash can also take `"evntname"` and `"evntmessage"`. Note that these two will be filled in automatically for errors you rescue if you do not provide them, so we suggest giving them for non-errors.
86
+
87
+ `log` may also take in a log_level and a classification (We recommend you providing this **especially** if you send a warning or below), but will otherwise default all of the AppEvent properties.
78
88
 
79
89
  ### Option 2: Sending an error to Trakerr with Custom Data
80
- If you want to populate the `AppEvent` with custom properties, you can manually create an `AppEvent` and populate it's fields. Pass it to the `SendEvent` to then send the AppEvent to Trakerr. See the `AppEvent` API for more information on it's properties.
90
+ If you want to populate the `AppEvent` fully with custom properties (log only accepts the minimum set of useful custom properties to utilize Trakerr's rich feature set), you can manually create an `AppEvent` and populate it's fields. Pass it to the `SendEvent` to then send the AppEvent to Trakerr. See the `AppEvent` API for more information on it's properties.
81
91
 
82
92
  ```ruby
83
93
  def main()
@@ -95,7 +105,7 @@ end
95
105
  ```
96
106
 
97
107
  ### Option 3: Send a non-exception to Trakerr
98
- Trakerr accepts events that aren't errors. To do so, pass false to the CreateAppEvent Exception field to not attach a stacktrace to the event (if you don't need it). Be sure to pass values in to the rest of the parameters since the default values will most likely not be useful for you!
108
+ Trakerr accepts events that aren't errors. To do so, pass false to the CreateAppEvent Exception field to not attach a stacktrace to the event (if you don't need it). Be sure to pass values in to the rest of the parameters since the default values will most likely not be useful for you if you don't have a stacktrace!
99
109
  ```ruby
100
110
  def main()
101
111
  testApp = Trakerr::TrakerrClient.new("Api key here", "Application version number", "deployment type")
@@ -118,9 +128,7 @@ TrakerrClient's constructor initalizes the default values to all of TrakerrClien
118
128
  contextDeploymentStage = "development")
119
129
  ```
120
130
 
121
- The contextEnvName name is intended to be used as a string identifier as to what your codebase is for; release, development, prototype. You can use it for whatever you denote as useful. The contextAppVersion is useful for a codebase version identifier, or perhaps some other useful metric for the error.
122
-
123
- The TrakerrClient struct however has a lot of exposed properties. The benifit to setting these after you create the TrakerrClient is that AppEvent will default it's values against the TrakerClient that created it. This way if there is a value that all your AppEvents uses, and the constructor default value currently doesn't suit you; it may be easier to change it in TrakerrClient as it will become the default value for all AppEvents created after. A lot of these are populated by default value by the constructor, but you can populate them with whatever string data you want. The following table provides an in depth look at each of those.
131
+ The TrakerrClient class however has a lot of exposed properties. The benefit to setting these immediately after after you create the TrakerrClient is that AppEvent will default it's values against the TrakerClient that created it. This way if there is a value that all your AppEvents uses, and the constructor default value currently doesn't suit you; it may be easier to change it in TrakerrClient as it will become the default value for all AppEvents created after. A lot of these are populated by default value by the constructor, but you can populate them with whatever string data you want. The following table provides an in-depth look at each of those.
124
132
 
125
133
 
126
134
  Name | Type | Description | Notes
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Trakerr API
2
+ Trakerr API
3
3
 
4
- #Get your application events and errors to Trakerr via the *Trakerr API*.
4
+ Get your application events and errors to Trakerr via the *Trakerr API*.
5
5
 
6
6
  OpenAPI spec version: 1.0.0
7
7
 
@@ -1,3 +1,21 @@
1
+ =begin
2
+ Trakerr API Test App
3
+
4
+ Get your application events and errors to Trakerr via the *Trakerr API*.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License");
7
+ you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ =end
18
+
1
19
  require 'rubygems'
2
20
  require_relative 'trakerr/lib/trakerr'
3
21
 
@@ -12,17 +30,23 @@ def main()
12
30
  #Send exception to Trakerr with default values.
13
31
  begin
14
32
  raise ZeroDivisionError, "Oh no!"
15
- rescue => exception
16
- testApp.SendException(exception) #you can change the log_level and the classification too if you would like to!
33
+ rescue ZeroDivisionError => exception
34
+ #You can leave the hash empty if you would like to use the default values.
35
+ #We recommend that you supply a user and a session for all events,
36
+ #and supplying an "evntname" and "evntmessage" for non errors.
37
+ testApp.log({"user"=>"jack@trakerr.io", "session"=>"7"}, exception)
17
38
  end
18
39
 
19
- #Get an AppEvent to populate the class with custom data and then send it to Trakerr
40
+ #Get an AppEvent to populate the class with custom data and then send it to Trakerr.
41
+ #Simple custom data can be send through log.
20
42
  begin
21
43
  raise ArgumentError
22
- rescue Exception => e
44
+ rescue ArgumentError => e
23
45
  appev = testApp.CreateAppEvent(e, "Error")
24
46
  appev.event_user = "john@trakerr.io"
25
47
  appev.event_session = "5"
48
+ appev.context_app_browser = "Chrome"
49
+ appev.context_app_browser_version = "57.x"
26
50
 
27
51
  testApp.SendEvent(appev)
28
52
  end
@@ -31,6 +55,8 @@ def main()
31
55
  appev2 = testApp.CreateAppEvent(false, "Info", "User failed auth", "400 err", "User error")
32
56
  appev2.event_user = "jill@trakerr.io"
33
57
  appev2.event_session = "3"
58
+ appev2.context_app_browser = "Edge"
59
+ appev2.context_app_browser_version = "40.15063.0.0"
34
60
 
35
61
  testApp.SendEvent(appev2)
36
62
 
@@ -1,3 +1,21 @@
1
+ =begin
2
+ Trakerr API
3
+
4
+ Get your application events and errors to Trakerr via the *Trakerr API*.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License");
7
+ you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ =end
18
+
1
19
  require "trakerr_client"
2
20
 
3
21
 
@@ -1,3 +1,21 @@
1
+ =begin
2
+ Trakerr API
3
+
4
+ Get your application events and errors to Trakerr via the *Trakerr API*.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License");
7
+ you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ =end
18
+
1
19
  require "event_trace_builder"
2
20
  require "trakerr_client"
3
21
  require "socket"
@@ -52,8 +70,8 @@ module Trakerr
52
70
  #contextEnvName:String: Should be the deployment stage of your program.
53
71
  ##
54
72
  def initialize(apiKey,
55
- contextAppVersion = "1.0",
56
- contextDeploymentStage = "development")
73
+ contextAppVersion="1.0",
74
+ contextDeploymentStage="development")
57
75
 
58
76
  default_config = Trakerr::Configuration.default
59
77
  default_config.base_path = default_config.base_path
@@ -129,18 +147,14 @@ module Trakerr
129
147
  #eventMessage:String: String representation of the message of the error.
130
148
  #Defaults to err.message if err is an exception, unknown if not.
131
149
  ##
132
- def CreateAppEvent(err, log_level="Error", classification = "issue", eventType = "unknown", eventMessage = "unknown")
133
- raise ArgumentError, "All non err arguments are expected strings." unless log_level.is_a? String and classification.is_a? String and eventType is_a? String and eventMessage.is_a? String
150
+ def CreateAppEvent(err = false, log_level="Error", classification="issue", eventType="unknown", eventMessage="unknown")
151
+ raise ArgumentError, "All non err arguments are expected strings." unless (log_level.is_a? String) && (classification.is_a? String) && (eventType.is_a? String) && (eventMessage.is_a? String)
134
152
  if err != false
135
153
  raise ArgumentError, "err is expected instance of exception." unless err.is_a? Exception
136
-
137
- if eventType == nil || eventType == "unknown"
138
- eventType = err.class.name
139
- end
140
-
141
- if eventMessage == nil || eventMessage == "unknown"
142
- eventMessage = err.message
143
- end
154
+
155
+ eventType = err.class.name if eventType == "unknown"
156
+
157
+ eventMessage = err.message if eventMessage == "unknown"
144
158
 
145
159
  end
146
160
 
@@ -150,7 +164,7 @@ module Trakerr
150
164
 
151
165
  begin
152
166
  app_event_new.log_level = log_level
153
- rescue
167
+ rescue ArgumentError
154
168
  app_event_new.log_level = "error"
155
169
  end
156
170
 
@@ -158,6 +172,40 @@ module Trakerr
158
172
 
159
173
  return app_event_new
160
174
  end
175
+
176
+ ##
177
+ #A single line method to send an event to trakerr.
178
+ #Use may it in a begin-rescue and pass in an error,
179
+ #or set error to false if you don't need a stacktrace.
180
+ #arg_hash takes in a few common values that you may want to populate
181
+ #your app event with in a hash.
182
+ #arg_hash:Hash: A hash with a key value pair for each of the following elements
183
+ #{"user": "...", "session": "...", "evntname": "...", "evntmessage": "..."}.
184
+ #Omit any element you don't need to fill in the event.
185
+ #If you are NOT sending an error it is recommended that you pass in an evntname and evntmessage.
186
+ #Remember that all keys are expected strings, and so it may be safer to you use the arrow
187
+ #operator (=>) so you don't forget to add the space.
188
+ #error:Exception: The exception you may be sending. Set this to false if you are sending a non-error.
189
+ #This throws an Argument error if error is not an Exception and it's child classes or false.
190
+ #log_level:String: The string representation of the level of the error.
191
+ #classification:String: The string representation on the classification of the issue.
192
+ ##
193
+ def log(arg_hash, error, log_level = "error", classification = "issue")
194
+ raise ArgumentError, "arg_hash is expected to be a hash" unless arg_hash.is_a? Hash
195
+ raise ArgumentError, "log_level and classification is expected strings." unless (log_level.is_a? String) && (classification.is_a? String)
196
+
197
+ app_event = nil
198
+ if error != false
199
+ raise ArgumentError, "err is expected instance of exception." unless error.is_a? Exception
200
+ app_event = CreateAppEvent(error, log_level, classification, arg_hash.fetch("evntname", "unknown"), arg_hash.fetch("evntmessage", "unknown"))
201
+
202
+ end
203
+ app_event = CreateAppEvent(false,log_level, classification, arg_hash.fetch("evntname", "unknown"), arg_hash.fetch("evntmessage", "unknown")) if app_event.nil?
204
+ app_event.event_user = arg_hash["user"] if arg_hash.has_key? "user"
205
+ app_event.event_session = arg_hash["session"] if arg_hash.has_key? "session"
206
+
207
+ SendEvent(app_event)
208
+ end
161
209
 
162
210
  ##
163
211
  #Sends the given AppEvent to Trakerr
@@ -167,20 +215,6 @@ module Trakerr
167
215
  @events_api.events_post(FillDefaults(appEvent))
168
216
  end
169
217
 
170
- ##
171
- #Sends the given error to Trakerr. Simplest use case for Trakerr in a catch, uses the default values when sending.
172
- #You can provide an optional log_level or classification.
173
- #error:Exception: The exception that is captured or rescued.
174
- #log_level:String: Logging level, currently one of 'debug','info','warning','error', 'fatal', defaults to 'error'. See loglevel in AppEvent for an always current list of values.
175
- #classification:String: Optional extra descriptor string. Will default to issue if not passed a value.
176
- ##
177
- def SendException(error, log_level = "error", classification = "issue")
178
- raise ArgumentError, "Error is expected type exception." unless error.is_a? Exception
179
- raise ArgumentError, "log_level and classification are expected strings" unless log_level.is_a? String and classification.is_a? String
180
-
181
- SendEvent(CreateAppEvent(Error, log_level, classification))
182
- end
183
-
184
218
  ##
185
219
  #Populates the given AppEvent with the client level default values
186
220
  #RETURNS: The AppEvent with Defaults filled.
@@ -220,7 +254,7 @@ module Trakerr
220
254
  #suffix:String: The suffix string to find the ending index for.
221
255
  ##
222
256
  def GetTextFromLine(text, prefix, suffix)
223
- raise ArgumentError, "All arguments are expected strings." unless text.is_a? String and prefix.is_a? String and suffix.is_a? String
257
+ raise ArgumentError, "All arguments are expected strings." unless (text.is_a? String) && (prefix.is_a? String) && (suffix.is_a? String)
224
258
 
225
259
  prefixindex = text.index(prefix)
226
260
  return nil if prefixindex == nil
@@ -29,11 +29,11 @@ $:.push File.expand_path("../trakerr/lib", __FILE__)
29
29
 
30
30
  Gem::Specification.new do |s|
31
31
  s.name = "trakerr_client"
32
- s.version = "1.0.1"
32
+ s.version = "2.0.0"
33
33
  s.platform = Gem::Platform::RUBY
34
- s.authors = ["Swagger-Codegen"]
34
+ s.authors = ["Trakerr Dev Team", "Swagger-Codegen"]
35
35
  s.email = [""]
36
- s.homepage = "https://github.com/swagger-api/swagger-codegen"
36
+ s.homepage = "https://trakerr.io"
37
37
  s.summary = "Trakerr API Ruby Gem"
38
38
  s.description = "Get your application events and errors to Trakerr via the *Trakerr API*."
39
39
  s.license = "Apache-2.0"
@@ -51,6 +51,7 @@ Gem::Specification.new do |s|
51
51
  s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.11'
52
52
 
53
53
  #s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
54
+ #REQUIRES GIT INSTALLED
54
55
  s.files = `git ls-files`.split("\n").delete_if {|file| file.include? "spec"}
55
56
  s.test_files = `git ls-files`.split("\n").delete_if {|file| not file.include? "spec"}
56
57
  s.executables = []
metadata CHANGED
@@ -1,212 +1,194 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trakerr_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
5
- prerelease:
4
+ version: 2.0.0
6
5
  platform: ruby
7
6
  authors:
7
+ - Trakerr Dev Team
8
8
  - Swagger-Codegen
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-03-24 00:00:00.000000000 Z
12
+ date: 2017-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: typhoeus
16
16
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
17
  requirements:
19
- - - ~>
18
+ - - "~>"
20
19
  - !ruby/object:Gem::Version
21
20
  version: '1.0'
22
- - - ! '>='
21
+ - - ">="
23
22
  - !ruby/object:Gem::Version
24
23
  version: 1.0.1
25
24
  type: :runtime
26
25
  prerelease: false
27
26
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
27
  requirements:
30
- - - ~>
28
+ - - "~>"
31
29
  - !ruby/object:Gem::Version
32
30
  version: '1.0'
33
- - - ! '>='
31
+ - - ">="
34
32
  - !ruby/object:Gem::Version
35
33
  version: 1.0.1
36
34
  - !ruby/object:Gem::Dependency
37
35
  name: json
38
36
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
37
  requirements:
41
- - - ~>
38
+ - - "~>"
42
39
  - !ruby/object:Gem::Version
43
40
  version: '1.8'
44
- - - ! '>='
41
+ - - ">="
45
42
  - !ruby/object:Gem::Version
46
43
  version: 1.8.3
47
44
  type: :runtime
48
45
  prerelease: false
49
46
  version_requirements: !ruby/object:Gem::Requirement
50
- none: false
51
47
  requirements:
52
- - - ~>
48
+ - - "~>"
53
49
  - !ruby/object:Gem::Version
54
50
  version: '1.8'
55
- - - ! '>='
51
+ - - ">="
56
52
  - !ruby/object:Gem::Version
57
53
  version: 1.8.3
58
54
  - !ruby/object:Gem::Dependency
59
55
  name: rspec
60
56
  requirement: !ruby/object:Gem::Requirement
61
- none: false
62
57
  requirements:
63
- - - ~>
58
+ - - "~>"
64
59
  - !ruby/object:Gem::Version
65
60
  version: '3.4'
66
- - - ! '>='
61
+ - - ">="
67
62
  - !ruby/object:Gem::Version
68
63
  version: 3.4.0
69
64
  type: :development
70
65
  prerelease: false
71
66
  version_requirements: !ruby/object:Gem::Requirement
72
- none: false
73
67
  requirements:
74
- - - ~>
68
+ - - "~>"
75
69
  - !ruby/object:Gem::Version
76
70
  version: '3.4'
77
- - - ! '>='
71
+ - - ">="
78
72
  - !ruby/object:Gem::Version
79
73
  version: 3.4.0
80
74
  - !ruby/object:Gem::Dependency
81
75
  name: vcr
82
76
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
77
  requirements:
85
- - - ~>
78
+ - - "~>"
86
79
  - !ruby/object:Gem::Version
87
80
  version: '3.0'
88
- - - ! '>='
81
+ - - ">="
89
82
  - !ruby/object:Gem::Version
90
83
  version: 3.0.1
91
84
  type: :development
92
85
  prerelease: false
93
86
  version_requirements: !ruby/object:Gem::Requirement
94
- none: false
95
87
  requirements:
96
- - - ~>
88
+ - - "~>"
97
89
  - !ruby/object:Gem::Version
98
90
  version: '3.0'
99
- - - ! '>='
91
+ - - ">="
100
92
  - !ruby/object:Gem::Version
101
93
  version: 3.0.1
102
94
  - !ruby/object:Gem::Dependency
103
95
  name: webmock
104
96
  requirement: !ruby/object:Gem::Requirement
105
- none: false
106
97
  requirements:
107
- - - ~>
98
+ - - "~>"
108
99
  - !ruby/object:Gem::Version
109
100
  version: '1.24'
110
- - - ! '>='
101
+ - - ">="
111
102
  - !ruby/object:Gem::Version
112
103
  version: 1.24.3
113
104
  type: :development
114
105
  prerelease: false
115
106
  version_requirements: !ruby/object:Gem::Requirement
116
- none: false
117
107
  requirements:
118
- - - ~>
108
+ - - "~>"
119
109
  - !ruby/object:Gem::Version
120
110
  version: '1.24'
121
- - - ! '>='
111
+ - - ">="
122
112
  - !ruby/object:Gem::Version
123
113
  version: 1.24.3
124
114
  - !ruby/object:Gem::Dependency
125
115
  name: autotest
126
116
  requirement: !ruby/object:Gem::Requirement
127
- none: false
128
117
  requirements:
129
- - - ~>
118
+ - - "~>"
130
119
  - !ruby/object:Gem::Version
131
120
  version: '4.4'
132
- - - ! '>='
121
+ - - ">="
133
122
  - !ruby/object:Gem::Version
134
123
  version: 4.4.6
135
124
  type: :development
136
125
  prerelease: false
137
126
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
127
  requirements:
140
- - - ~>
128
+ - - "~>"
141
129
  - !ruby/object:Gem::Version
142
130
  version: '4.4'
143
- - - ! '>='
131
+ - - ">="
144
132
  - !ruby/object:Gem::Version
145
133
  version: 4.4.6
146
134
  - !ruby/object:Gem::Dependency
147
135
  name: autotest-rails-pure
148
136
  requirement: !ruby/object:Gem::Requirement
149
- none: false
150
137
  requirements:
151
- - - ~>
138
+ - - "~>"
152
139
  - !ruby/object:Gem::Version
153
140
  version: '4.1'
154
- - - ! '>='
141
+ - - ">="
155
142
  - !ruby/object:Gem::Version
156
143
  version: 4.1.2
157
144
  type: :development
158
145
  prerelease: false
159
146
  version_requirements: !ruby/object:Gem::Requirement
160
- none: false
161
147
  requirements:
162
- - - ~>
148
+ - - "~>"
163
149
  - !ruby/object:Gem::Version
164
150
  version: '4.1'
165
- - - ! '>='
151
+ - - ">="
166
152
  - !ruby/object:Gem::Version
167
153
  version: 4.1.2
168
154
  - !ruby/object:Gem::Dependency
169
155
  name: autotest-growl
170
156
  requirement: !ruby/object:Gem::Requirement
171
- none: false
172
157
  requirements:
173
- - - ~>
158
+ - - "~>"
174
159
  - !ruby/object:Gem::Version
175
160
  version: '0.2'
176
- - - ! '>='
161
+ - - ">="
177
162
  - !ruby/object:Gem::Version
178
163
  version: 0.2.16
179
164
  type: :development
180
165
  prerelease: false
181
166
  version_requirements: !ruby/object:Gem::Requirement
182
- none: false
183
167
  requirements:
184
- - - ~>
168
+ - - "~>"
185
169
  - !ruby/object:Gem::Version
186
170
  version: '0.2'
187
- - - ! '>='
171
+ - - ">="
188
172
  - !ruby/object:Gem::Version
189
173
  version: 0.2.16
190
174
  - !ruby/object:Gem::Dependency
191
175
  name: autotest-fsevent
192
176
  requirement: !ruby/object:Gem::Requirement
193
- none: false
194
177
  requirements:
195
- - - ~>
178
+ - - "~>"
196
179
  - !ruby/object:Gem::Version
197
180
  version: '0.2'
198
- - - ! '>='
181
+ - - ">="
199
182
  - !ruby/object:Gem::Version
200
183
  version: 0.2.11
201
184
  type: :development
202
185
  prerelease: false
203
186
  version_requirements: !ruby/object:Gem::Requirement
204
- none: false
205
187
  requirements:
206
- - - ~>
188
+ - - "~>"
207
189
  - !ruby/object:Gem::Version
208
190
  version: '0.2'
209
- - - ! '>='
191
+ - - ">="
210
192
  - !ruby/object:Gem::Version
211
193
  version: 0.2.11
212
194
  description: Get your application events and errors to Trakerr via the *Trakerr API*.
@@ -216,9 +198,10 @@ executables: []
216
198
  extensions: []
217
199
  extra_rdoc_files: []
218
200
  files:
219
- - .gitignore
201
+ - ".gitignore"
220
202
  - README.md
221
203
  - generated/.gitignore
204
+ - generated/.rspec
222
205
  - generated/.swagger-codegen-ignore
223
206
  - generated/LICENSE
224
207
  - generated/README.md
@@ -248,11 +231,6 @@ files:
248
231
  - generated/lib/trakerr_client/models/stack_trace_lines.rb
249
232
  - generated/lib/trakerr_client/models/stacktrace.rb
250
233
  - generated/lib/trakerr_client/version.rb
251
- - mkgem.sh
252
- - test_app.rb
253
- - trakerr/lib/event_trace_builder.rb
254
- - trakerr/lib/trakerr.rb
255
- - generated/.rspec
256
234
  - generated/spec/api/events_api_spec.rb
257
235
  - generated/spec/api_client_spec.rb
258
236
  - generated/spec/configuration_spec.rb
@@ -267,32 +245,35 @@ files:
267
245
  - generated/spec/models/stacktrace_spec.rb
268
246
  - generated/spec/spec_helper.rb
269
247
  - generated/trakerr_client.gemspec
248
+ - mkgem.sh
249
+ - test_app.rb
250
+ - trakerr/lib/event_trace_builder.rb
251
+ - trakerr/lib/trakerr.rb
270
252
  - trakerr_client.gemspec
271
- homepage: https://github.com/swagger-api/swagger-codegen
253
+ homepage: https://trakerr.io
272
254
  licenses:
273
255
  - Apache-2.0
256
+ metadata: {}
274
257
  post_install_message:
275
258
  rdoc_options: []
276
259
  require_paths:
277
260
  - generated/lib
278
261
  - trakerr/lib
279
262
  required_ruby_version: !ruby/object:Gem::Requirement
280
- none: false
281
263
  requirements:
282
- - - ! '>='
264
+ - - ">="
283
265
  - !ruby/object:Gem::Version
284
266
  version: 1.9.3
285
267
  required_rubygems_version: !ruby/object:Gem::Requirement
286
- none: false
287
268
  requirements:
288
- - - ! '>='
269
+ - - ">="
289
270
  - !ruby/object:Gem::Version
290
271
  version: '0'
291
272
  requirements: []
292
273
  rubyforge_project:
293
- rubygems_version: 1.8.23
274
+ rubygems_version: 2.5.1
294
275
  signing_key:
295
- specification_version: 3
276
+ specification_version: 4
296
277
  summary: Trakerr API Ruby Gem
297
278
  test_files:
298
279
  - generated/.rspec