faultline 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f3efa54c758553253ba55d29ccda32d6f44f22c5
4
+ data.tar.gz: ca0394f97a2b0497bef5fbd1d4702d63dd6737f8
5
+ SHA512:
6
+ metadata.gz: d9302843fb7eda0528e4597114f807da95776a00cc9cf39aab97288dd941bdd03c68cecade2e2a3ed6170322ed6cb059f485ac709fa2793139eb659416b2b51f
7
+ data.tar.gz: 42ccc04c6b826b2d751cc16e6e8af195c73309222ca112e932c313e52962843cae930fb9b93f2fecb4c7e51377bd8cf7e1db08030dd8796fbfc655da152c1280
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,11 @@
1
+ Metrics/BlockLength:
2
+ Max: 120
3
+
4
+ Metrics/LineLength:
5
+ Max: 110
6
+
7
+ Metrics/MethodLength:
8
+ Max: 12
9
+
10
+ Style/Documentation:
11
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,10 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.0
5
+ - 2.3.3
6
+ before_install:
7
+ - gem install bundler -v 1.14.4
8
+ script:
9
+ - bundle exec rake
10
+
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at k1lowxb@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in faultline.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 k1LoW
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,87 @@
1
+ # faultline-ruby
2
+
3
+ > [faultline](https://github.com/faultline/faultline) exception and error notifier for Ruby.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'faultline'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install faultline
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ require 'faultline'
25
+
26
+ # Every Faultline notifier must configure
27
+ # 3 options: `project`, `api_key` and `endpoint`.
28
+ # And `notifications` for notificatins (Slack, GitHub Issue)
29
+ Faultline.configure do |c|
30
+ c.project = 'faultline-ruby'
31
+ c.api_key = 'xxxxXXXXXxXxXXxxXXXXXXXxxxxXXXXXX'
32
+ c.endpoint = 'https://xxxxxxxxx.execute-api.ap-northeast-1.amazonaws.com/v0'
33
+ c.notifications = [
34
+ {
35
+ type: 'slack',
36
+ endpoint: 'https://hooks.slack.com/services/XXXXXXXXXX/B2RAD9423/WC2uTs3MyGldZvieAtAA7gQq'
37
+ channel: '#random',
38
+ username: 'faultline-notify',
39
+ notifyInterval: 1,
40
+ threshold: 1,
41
+ timezone: 'Asia/Tokyo'
42
+ },
43
+ {
44
+ type: 'github',
45
+ userToken: 'XXXXXXXxxxxXXXXXXxxxxxXXXXXXXXXX',
46
+ owner: 'k1LoW',
47
+ repo: 'faultline',
48
+ labels: [
49
+ 'faultline', 'bug'
50
+ ],
51
+ if_exist: 'reopen-and-comment',
52
+ notifyInterval: 1,
53
+ threshold: 1,
54
+ timezone: 'Asia/Tokyo'
55
+ }
56
+ ]
57
+ end
58
+
59
+ # Asynchronous error delivery.
60
+ begin
61
+ 1/0
62
+ rescue ZeroDivisionError => ex
63
+ # Return value is always `nil`.
64
+ Faultline.notify(ex)
65
+ end
66
+
67
+ puts 'A ZeroDivisionError was sent to Faultline asynchronously!'
68
+
69
+ # Synchronous error delivery.
70
+ begin
71
+ 1/0
72
+ rescue ZeroDivisionError => ex
73
+ # Return value is a Hash.
74
+ response = Faultline.notify_sync(ex)
75
+ end
76
+
77
+ puts "\nAnother ZeroDivisionError was sent to Faultline, but this time synchronously."
78
+ ```
79
+
80
+ ## References
81
+
82
+ - [airbrake/airbrake-ruby](https://github.com/airbrake/airbrake-ruby)
83
+ - Airbrake Ruby is licensed under [The MIT License (MIT)](https://github.com/airbrake/airbrake-ruby/LICENSE.md).
84
+
85
+ ## License
86
+
87
+ MIT © Ken'ichiro Oyama
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+ require 'octorelease'
4
+ require 'rubocop/rake_task'
5
+ RSpec::Core::RakeTask.new(:spec)
6
+ RuboCop::RakeTask.new
7
+
8
+ task default: %i(spec rubocop)
data/bin/console ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'faultline'
5
+
6
+ require 'pry'
7
+ Pry.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/faultline.gemspec ADDED
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'faultline/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'faultline'
9
+ spec.version = Faultline::VERSION
10
+ spec.authors = ['k1LoW']
11
+ spec.email = ['k1lowxb@gmail.com']
12
+
13
+ spec.summary = 'faultline exception and error notifier for Ruby'
14
+ spec.description = 'faultline exception and error notifier for Ruby'
15
+ spec.homepage = 'https://github.com/faultline/faultline-ruby'
16
+ spec.license = 'MIT'
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+ spec.bindir = 'exe'
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ['lib']
24
+
25
+ spec.add_runtime_dependency 'airbrake-ruby', '~> 2.1'
26
+ spec.add_development_dependency 'bundler', '~> 1.14'
27
+ spec.add_development_dependency 'rake', '~> 10.0'
28
+ spec.add_development_dependency 'rspec', '~> 3.0'
29
+ spec.add_development_dependency 'rubocop', '~> 0.47.0'
30
+ spec.add_development_dependency 'octorelease'
31
+ spec.add_development_dependency 'pry'
32
+ end
@@ -0,0 +1,13 @@
1
+ module Faultline
2
+ class AsyncSender < Airbrake::AsyncSender
3
+ def initialize(config)
4
+ @config = config
5
+ @unsent = SizedQueue.new(config.queue_size)
6
+ @sender = SyncSender.new(config)
7
+ @closed = false
8
+ @workers = ThreadGroup.new
9
+ @mutex = Mutex.new
10
+ @pid = nil
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,41 @@
1
+ module Faultline
2
+ class Config
3
+ class Validator < Airbrake::Config::Validator
4
+ ##
5
+ # @return [String]
6
+ REQUIRED_PROJECT_MSG = ':project is required'.freeze
7
+
8
+ ##
9
+ # @return [String]
10
+ REQUIRED_API_KEY_MSG = ':api_key is required'.freeze
11
+
12
+ ##
13
+ # @return [String]
14
+ REQUIRED_ENDPOINT_MSG = ':endpoint is required'.freeze
15
+
16
+ ##
17
+ # @return [Boolean]
18
+ def valid_project?
19
+ valid = @config.project.is_a?(String) && !@config.project.empty?
20
+ @error_message = REQUIRED_PROJECT_MSG unless valid
21
+ valid
22
+ end
23
+
24
+ ##
25
+ # @return [Boolean]
26
+ def valid_api_key?
27
+ valid = @config.api_key.is_a?(String) && !@config.api_key.empty?
28
+ @error_message = REQUIRED_API_KEY_MSG unless valid
29
+ valid
30
+ end
31
+
32
+ ##
33
+ # @return [Boolean]
34
+ def valid_endpoint?
35
+ valid = @config.endpoint.is_a?(URI) && !@config.endpoint.to_s.empty?
36
+ @error_message = REQUIRED_ENDPOINT_MSG unless valid
37
+ valid
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,28 @@
1
+ module Faultline
2
+ class Config < Airbrake::Config
3
+ attr_accessor :project
4
+ attr_accessor :api_key
5
+ attr_writer :endpoint
6
+ attr_accessor :notifications
7
+
8
+ def initialize(user_config = {})
9
+ super
10
+ @validator = Faultline::Config::Validator.new(self)
11
+ end
12
+
13
+ def endpoint
14
+ return nil if @endpoint.nil?
15
+ URI.parse(File.join(@endpoint, '/projects/', "/#{@project}/", '/errors'))
16
+ end
17
+
18
+ def valid?
19
+ return true if ignored_environment?
20
+ return false unless @validator.valid_project?
21
+ return false unless @validator.valid_api_key?
22
+ return false unless @validator.valid_endpoint?
23
+ return false unless @validator.valid_environment?
24
+
25
+ true
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,47 @@
1
+ module Faultline
2
+ class Notice < Airbrake::Notice
3
+ NOTIFIER = {
4
+ name: 'faultline-ruby'.freeze,
5
+ version: Faultline::VERSION,
6
+ url: 'https://github.com/faultline/faultline-ruby'.freeze
7
+ }.freeze
8
+
9
+ CONTEXT = {
10
+ os: RUBY_PLATFORM,
11
+ language: "#{RUBY_ENGINE}/#{RUBY_VERSION}".freeze,
12
+ notifier: NOTIFIER
13
+ }.freeze
14
+
15
+ def initialize(config, exception, params = {})
16
+ @config = config
17
+
18
+ @payload = {
19
+ errors: Airbrake::NestedException.new(exception, @config.logger).as_json,
20
+ context: context,
21
+ environment: {},
22
+ session: {},
23
+ params: params,
24
+ notifications: @config.notifications
25
+ }
26
+ @stash = {}
27
+
28
+ extract_custom_attributes(exception)
29
+
30
+ @truncator = Airbrake::PayloadTruncator.new(PAYLOAD_MAX_SIZE, @config.logger)
31
+ end
32
+
33
+ def context
34
+ {
35
+ version: @config.app_version,
36
+ # We ensure that root_directory is always a String, so it can always be
37
+ # converted to JSON in a predictable manner (when it's a Pathname and in
38
+ # Rails environment, it converts to unexpected JSON).
39
+ rootDirectory: @config.root_directory.to_s,
40
+ environment: @config.environment,
41
+
42
+ # Make sure we always send hostname.
43
+ hostname: HOSTNAME
44
+ }.merge(CONTEXT).delete_if { |_key, val| val.nil? || val.empty? }
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,34 @@
1
+ module Faultline
2
+ class Notifier < Airbrake::Notifier
3
+ LOG_LABEL = '**Faultline:'.freeze
4
+
5
+ def initialize(user_config)
6
+ @config = (user_config.is_a?(Config) ? user_config : Config.new(user_config))
7
+
8
+ unless @config.valid?
9
+ raise Airbrake::Error, @config.validation_error_message
10
+ end
11
+
12
+ @filter_chain = Airbrake::FilterChain.new(@config)
13
+
14
+ add_filters_for_config_keys
15
+
16
+ @async_sender = AsyncSender.new(@config)
17
+ @sync_sender = SyncSender.new(@config)
18
+ end
19
+
20
+ def build_notice(exception, params = {})
21
+ if @async_sender.closed?
22
+ raise Airbrake::Error,
23
+ "attempted to build #{exception} with closed Airbrake instance"
24
+ end
25
+
26
+ if exception.is_a?(Faultline::Notice)
27
+ exception[:params].merge!(params)
28
+ exception
29
+ else
30
+ Faultline::Notice.new(@config, convert_to_exception(exception), params)
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,15 @@
1
+ module Faultline
2
+ class SyncSender < Airbrake::SyncSender
3
+ def build_post_request(uri, notice)
4
+ Net::HTTP::Post.new(uri.request_uri).tap do |req|
5
+ req.body = notice.to_json
6
+
7
+ req['Content-Type'] = CONTENT_TYPE
8
+ req['X-Api-Key'] = @config.api_key
9
+ req['User-Agent'] =
10
+ "#{Faultline::Notice::NOTIFIER[:name]}/#{Faultline::VERSION}" \
11
+ " Ruby/#{RUBY_VERSION}"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,3 @@
1
+ module Faultline
2
+ VERSION = '0.1.0'.freeze
3
+ end
data/lib/faultline.rb ADDED
@@ -0,0 +1,73 @@
1
+ require 'airbrake-ruby'
2
+ require 'faultline/version'
3
+ require 'faultline/config'
4
+ require 'faultline/config/validator'
5
+ require 'faultline/notifier'
6
+ require 'faultline/notice'
7
+ require 'faultline/sync_sender'
8
+ require 'faultline/async_sender'
9
+
10
+ module Faultline
11
+ class NilNotifier
12
+ def notify(_exception, _params = {}); end
13
+
14
+ def notify_sync(_exception, _params); end
15
+
16
+ def add_filter(_filter = nil, &_block); end
17
+
18
+ def build_notice(_exception, _params); end
19
+
20
+ def close; end
21
+
22
+ def create_deploy(_deploy_params); end
23
+ end
24
+
25
+ Error = Class.new(StandardError)
26
+
27
+ LOG_LABEL = '**Faultline:'.freeze
28
+
29
+ RUBY_20 = RUBY_VERSION.start_with?('2.0')
30
+
31
+ @notifiers = Hash.new(NilNotifier.new)
32
+
33
+ class << self
34
+ def [](notifier_name)
35
+ @notifiers[notifier_name]
36
+ end
37
+
38
+ def configure(notifier_name = :default)
39
+ yield config = Faultline::Config.new
40
+
41
+ if @notifiers.key?(notifier_name)
42
+ raise Airbrake::Error,
43
+ "the '#{notifier_name}' notifier was already configured"
44
+ else
45
+ @notifiers[notifier_name] = Notifier.new(config)
46
+ end
47
+ end
48
+
49
+ def notify(exception, params = {})
50
+ @notifiers[:default].notify(exception, params)
51
+ end
52
+
53
+ def notify_sync(exception, params = {})
54
+ @notifiers[:default].notify_sync(exception, params)
55
+ end
56
+
57
+ def add_filter(filter = nil, &block)
58
+ @notifiers[:default].add_filter(filter, &block)
59
+ end
60
+
61
+ def build_notice(exception, params = {})
62
+ @notifiers[:default].build_notice(exception, params)
63
+ end
64
+
65
+ def close
66
+ @notifiers[:default].close
67
+ end
68
+
69
+ def create_deploy(deploy_params)
70
+ @notifiers[:default].create_deploy(deploy_params)
71
+ end
72
+ end
73
+ end
metadata ADDED
@@ -0,0 +1,162 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: faultline
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - k1LoW
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-05-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: airbrake-ruby
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.14'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.14'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.47.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.47.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: octorelease
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: faultline exception and error notifier for Ruby
112
+ email:
113
+ - k1lowxb@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".rubocop.yml"
121
+ - ".travis.yml"
122
+ - CODE_OF_CONDUCT.md
123
+ - Gemfile
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - bin/console
128
+ - bin/setup
129
+ - faultline.gemspec
130
+ - lib/faultline.rb
131
+ - lib/faultline/async_sender.rb
132
+ - lib/faultline/config.rb
133
+ - lib/faultline/config/validator.rb
134
+ - lib/faultline/notice.rb
135
+ - lib/faultline/notifier.rb
136
+ - lib/faultline/sync_sender.rb
137
+ - lib/faultline/version.rb
138
+ homepage: https://github.com/faultline/faultline-ruby
139
+ licenses:
140
+ - MIT
141
+ metadata: {}
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ requirements: []
157
+ rubyforge_project:
158
+ rubygems_version: 2.6.12
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: faultline exception and error notifier for Ruby
162
+ test_files: []