datadog-queue-bus 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4ad428a289fdd46db3f137b73ba218181fad158740a9f0575c477382a00a2969
4
+ data.tar.gz: ad05ab82689904f01e58a8a4cc65034fb262985492bb0bb1538f7439956deea2
5
+ SHA512:
6
+ metadata.gz: b19fff38fb1be2d7b46fd94ae2843a6c46fe211dcfe1c8b46f201ece407f0d0029bff66d7797d4e2eb4fe2d36f981d82d6a83c2598371981e733fe6b98d20efd
7
+ data.tar.gz: 451ad0b73f8c1de92ecd52f3c417826e830d2b4a36dd9691ebe1e3e5ecdcd52c609998c324b52dfa47a078a00aa5edc0deef80ca17c561afc6fce7e9426d49fd
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ Gemfile.lock
11
+
12
+ # rspec failure tracking
13
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,14 @@
1
+
2
+ Metrics/LineLength:
3
+ Max: 100
4
+
5
+ Metrics/BlockLength:
6
+ Exclude:
7
+ - './spec/**/*_spec.rb'
8
+
9
+ Metrics/MethodLength:
10
+ Max: 15
11
+
12
+ Naming/FileName:
13
+ Exclude:
14
+ - './lib/datadog-queue-bus.rb'
@@ -0,0 +1,12 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ## [0.1.0]
10
+
11
+ ### Added
12
+ - Creates the middleware class that will trace queuebus work.
@@ -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 chewbacha@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,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ # Specify your gem's dependencies in datadog_queue_bus.gemspec
8
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 kbacha
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.
@@ -0,0 +1,51 @@
1
+ # DatadogQueueBus
2
+
3
+ A concrete middleware implementation for queue-bus that adds spans around work done within the queue-bus.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'datadog_queue_bus'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install datadog_queue_bus
20
+
21
+ ## Usage
22
+
23
+ To set up the middleware simply add it to the queue-bus:
24
+
25
+ ```ruby
26
+ QueueBus.worker_middleware_stack.use DatadogQueueBus::Middleware
27
+ ```
28
+
29
+ To override the default service name (which will be `queue-bus` if not set):
30
+
31
+ ```ruby
32
+ DatadogQueueBus.service_name = 'my-queue-bus-service'
33
+ ```
34
+
35
+ ## Development
36
+
37
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
38
+
39
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
40
+
41
+ ## Contributing
42
+
43
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/datadog_queue_bus. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
44
+
45
+ ## License
46
+
47
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
48
+
49
+ ## Code of Conduct
50
+
51
+ Everyone interacting in the DatadogQueueBus project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/datadog_queue_bus/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'datadog_queue_bus'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
@@ -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
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'datadog_queue_bus/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'datadog-queue-bus'
9
+ spec.version = DatadogQueueBus::VERSION
10
+ spec.authors = ['kbacha']
11
+ spec.email = ['chewbacha@gmail.com']
12
+
13
+ spec.summary = 'A Datadog APM integration for queue-bus'
14
+ spec.description = <<-DESC.gsub(/^\s+/, '')
15
+ A Datadog APM integration for queue-bus
16
+
17
+ Through the use of installing a middleware for queue-bus, this gem
18
+ will initiate a span for Datadog around every execution of the
19
+ QueueBus::Worker.
20
+ DESC
21
+ spec.homepage = 'https://github.com/queue-bus/datadog-queue-bus'
22
+ spec.license = 'MIT'
23
+
24
+ # Specify which files should be added to the gem when it is released.
25
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
26
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
27
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
28
+ end
29
+
30
+ spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
31
+ spec.require_paths = ['lib']
32
+
33
+ spec.add_dependency 'ddtrace', '~> 0.25'
34
+ spec.add_dependency 'queue-bus', '~> 0.6'
35
+
36
+ spec.add_development_dependency 'bundler', '~> 1.17'
37
+ spec.add_development_dependency 'rake', '~> 10.0'
38
+ spec.add_development_dependency 'rspec', '~> 3.0'
39
+ spec.add_development_dependency 'rubocop', '~> 0.72'
40
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'ddtrace'
4
+ require 'queue-bus'
5
+ require 'datadog_queue_bus/version'
6
+ require 'datadog_queue_bus/middleware'
7
+
8
+ # This module contains the implementation for tracing queue-bus work into datadog.
9
+ module DatadogQueueBus
10
+ class << self
11
+ # Sets the service_name that will be used when reporting queue-bus spans.
12
+ attr_writer :service_name
13
+
14
+ # Returns the service name that is used when reporting queue-bus spans.
15
+ def service_name
16
+ @service_name ||= 'queue-bus'
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DatadogQueueBus
4
+ # Use this middleware with queue-bus to start recording spans everytime the queue-bus performs
5
+ # work on the server.
6
+ class Middleware < QueueBus::Middleware::Abstract
7
+ def call(attrs)
8
+ class_proxy = attrs['bus_class_proxy']
9
+ event_type = attrs['bus_event_type']
10
+ sub_key = attrs['bus_rider_sub_key']
11
+
12
+ resource = class_proxy
13
+ resource += " event=#{event_type}" if event_type
14
+ resource += " sub=#{sub_key}" if sub_key
15
+
16
+ Datadog.tracer.trace('queue-bus.worker',
17
+ service: DatadogQueueBus.service_name,
18
+ resource: resource) do |span|
19
+ attrs.keys.grep(/^bus_/).each do |key|
20
+ span.set_tag("queue-bus.#{key}", attrs[key])
21
+ end
22
+ @app.call
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DatadogQueueBus
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,93 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ RSpec.describe DatadogQueueBus::Middleware do
6
+ subject { described_class.new(app) }
7
+
8
+ let(:app) { spy('app', call: true) }
9
+ let(:attrs) do
10
+ {
11
+ 'bus_class_proxy' => 'QueueBus::Driver'
12
+ }
13
+ end
14
+
15
+ it 'uses the class_proxy_class as the resource name' do
16
+ expect(Datadog.tracer)
17
+ .to receive(:trace)
18
+ .with('queue-bus.worker', hash_including(resource: 'QueueBus::Driver'))
19
+ subject.call(attrs)
20
+ end
21
+
22
+ context 'with a service name' do
23
+ let(:name) { rand.to_s }
24
+
25
+ before do
26
+ DatadogQueueBus.service_name = name
27
+ end
28
+
29
+ it 'sends the service name' do
30
+ expect(Datadog.tracer)
31
+ .to receive(:trace)
32
+ .with('queue-bus.worker', hash_including(service: name))
33
+ subject.call(attrs)
34
+ end
35
+ end
36
+
37
+ context 'with an event type' do
38
+ let(:attrs) do
39
+ super().merge('bus_event_type' => 'my_event')
40
+ end
41
+
42
+ it 'includes the event in the resource' do
43
+ expect(Datadog.tracer)
44
+ .to receive(:trace)
45
+ .with('queue-bus.worker',
46
+ hash_including(resource: a_string_matching(/event=my_event/)))
47
+ subject.call(attrs)
48
+ end
49
+ end
50
+
51
+ context 'with a rider subscriber key' do
52
+ let(:attrs) do
53
+ super().merge('bus_rider_sub_key' => 'my_subscription')
54
+ end
55
+
56
+ it 'includes the sub key in the resource name' do
57
+ expect(Datadog.tracer)
58
+ .to receive(:trace)
59
+ .with('queue-bus.worker',
60
+ hash_including(resource: a_string_matching(/sub=my_subscription/)))
61
+ subject.call(attrs)
62
+ end
63
+ end
64
+
65
+ context 'with additional bus fields' do
66
+ let(:attrs) do
67
+ super().merge('bus_field' => 'my_field')
68
+ end
69
+
70
+ it 'includes all attributes that start with bus_' do
71
+ span = spy('span')
72
+ expect(Datadog.tracer).to receive(:trace).and_yield(span)
73
+ subject.call(attrs)
74
+ expect(span).to have_received(:set_tag).with('queue-bus.bus_class_proxy', 'QueueBus::Driver')
75
+ expect(span).to have_received(:set_tag).with('queue-bus.bus_field', 'my_field')
76
+ end
77
+ end
78
+
79
+ context 'with additional non-bus fields' do
80
+ let(:attrs) do
81
+ super().merge('user_id' => 1234, 'other_field' => 'blah')
82
+ end
83
+
84
+ it 'includes all attributes that start with bus_' do
85
+ span = spy('span')
86
+ expect(Datadog.tracer).to receive(:trace).and_yield(span)
87
+ subject.call(attrs)
88
+ expect(span).to have_received(:set_tag).with('queue-bus.bus_class_proxy', 'QueueBus::Driver')
89
+ expect(span).not_to have_received(:set_tag).with('queue-bus.user_id', 1234)
90
+ expect(span).not_to have_received(:set_tag).with('queue-bus.other_field', 'blah')
91
+ end
92
+ end
93
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ RSpec.describe DatadogQueueBus do
6
+ it 'has a version number' do
7
+ expect(DatadogQueueBus::VERSION).not_to be nil
8
+ end
9
+
10
+ describe '.service_name' do
11
+ let(:name) { rand.to_s }
12
+
13
+ it 'sets the name' do
14
+ expect { DatadogQueueBus.service_name = name }
15
+ .to change(DatadogQueueBus, :service_name)
16
+ .from('queue-bus').to(name)
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/setup'
4
+ require 'datadog-queue-bus'
5
+
6
+ RSpec.configure do |config|
7
+ config.example_status_persistence_file_path = '.rspec_status'
8
+
9
+ config.disable_monkey_patching!
10
+
11
+ config.expect_with :rspec do |c|
12
+ c.syntax = :expect
13
+ end
14
+
15
+ config.before(:each) do
16
+ # Clear out whatever might be in here.
17
+ DatadogQueueBus.service_name = nil
18
+ end
19
+ end
metadata ADDED
@@ -0,0 +1,153 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: datadog-queue-bus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - kbacha
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-07-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ddtrace
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.25'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.25'
27
+ - !ruby/object:Gem::Dependency
28
+ name: queue-bus
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.6'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.17'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.17'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.72'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.72'
97
+ description: |
98
+ A Datadog APM integration for queue-bus
99
+ Through the use of installing a middleware for queue-bus, this gem
100
+ will initiate a span for Datadog around every execution of the
101
+ QueueBus::Worker.
102
+ email:
103
+ - chewbacha@gmail.com
104
+ executables: []
105
+ extensions: []
106
+ extra_rdoc_files: []
107
+ files:
108
+ - ".gitignore"
109
+ - ".rspec"
110
+ - ".rubocop.yml"
111
+ - CHANGELOG.md
112
+ - CODE_OF_CONDUCT.md
113
+ - Gemfile
114
+ - LICENSE.txt
115
+ - README.md
116
+ - Rakefile
117
+ - bin/console
118
+ - bin/setup
119
+ - datadog-queue-bus.gemspec
120
+ - lib/datadog-queue-bus.rb
121
+ - lib/datadog_queue_bus/middleware.rb
122
+ - lib/datadog_queue_bus/version.rb
123
+ - spec/datadog_queue_bus/middleware_spec.rb
124
+ - spec/datadog_queue_bus_spec.rb
125
+ - spec/spec_helper.rb
126
+ homepage: https://github.com/queue-bus/datadog-queue-bus
127
+ licenses:
128
+ - MIT
129
+ metadata: {}
130
+ post_install_message:
131
+ rdoc_options: []
132
+ require_paths:
133
+ - lib
134
+ required_ruby_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ requirements: []
145
+ rubyforge_project:
146
+ rubygems_version: 2.7.6
147
+ signing_key:
148
+ specification_version: 4
149
+ summary: A Datadog APM integration for queue-bus
150
+ test_files:
151
+ - spec/datadog_queue_bus/middleware_spec.rb
152
+ - spec/datadog_queue_bus_spec.rb
153
+ - spec/spec_helper.rb