appsignal 2.1.0.alpha.3 → 2.1.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +43 -0
  4. data/.rubocop_todo.yml +289 -0
  5. data/.travis.yml +4 -0
  6. data/CHANGELOG.md +11 -1
  7. data/Gemfile +1 -1
  8. data/LICENSE +1 -1
  9. data/appsignal.gemspec +1 -0
  10. data/bin/appsignal +2 -2
  11. data/ext/agent.yml +11 -11
  12. data/ext/extconf.rb +33 -33
  13. data/gemfiles/rails-4.2.gemfile +4 -0
  14. data/gemfiles/resque.gemfile +4 -0
  15. data/lib/appsignal.rb +58 -54
  16. data/lib/appsignal/auth_check.rb +15 -16
  17. data/lib/appsignal/capistrano.rb +4 -4
  18. data/lib/appsignal/cli.rb +28 -28
  19. data/lib/appsignal/cli/diagnose.rb +11 -11
  20. data/lib/appsignal/cli/helpers.rb +1 -1
  21. data/lib/appsignal/cli/install.rb +38 -38
  22. data/lib/appsignal/cli/notify_of_deploy.rb +1 -1
  23. data/lib/appsignal/config.rb +73 -71
  24. data/lib/appsignal/event_formatter.rb +8 -8
  25. data/lib/appsignal/event_formatter/action_view/render_formatter.rb +4 -4
  26. data/lib/appsignal/event_formatter/active_record/instantiation_formatter.rb +1 -1
  27. data/lib/appsignal/event_formatter/active_record/sql_formatter.rb +1 -1
  28. data/lib/appsignal/event_formatter/elastic_search/search_formatter.rb +9 -7
  29. data/lib/appsignal/event_formatter/faraday/request_formatter.rb +1 -1
  30. data/lib/appsignal/event_formatter/mongo_ruby_driver/query_formatter.rb +6 -6
  31. data/lib/appsignal/event_formatter/moped/query_formatter.rb +56 -43
  32. data/lib/appsignal/extension.rb +5 -5
  33. data/lib/appsignal/hooks.rb +28 -26
  34. data/lib/appsignal/hooks/active_support_notifications.rb +2 -2
  35. data/lib/appsignal/hooks/celluloid.rb +1 -1
  36. data/lib/appsignal/hooks/data_mapper.rb +2 -2
  37. data/lib/appsignal/hooks/delayed_job.rb +1 -1
  38. data/lib/appsignal/hooks/mongo_ruby_driver.rb +1 -1
  39. data/lib/appsignal/hooks/net_http.rb +4 -4
  40. data/lib/appsignal/hooks/passenger.rb +2 -2
  41. data/lib/appsignal/hooks/puma.rb +4 -4
  42. data/lib/appsignal/hooks/rake.rb +1 -1
  43. data/lib/appsignal/hooks/redis.rb +1 -1
  44. data/lib/appsignal/hooks/sequel.rb +2 -2
  45. data/lib/appsignal/hooks/shoryuken.rb +8 -8
  46. data/lib/appsignal/hooks/sidekiq.rb +16 -15
  47. data/lib/appsignal/hooks/unicorn.rb +1 -1
  48. data/lib/appsignal/hooks/webmachine.rb +1 -1
  49. data/lib/appsignal/integrations/capistrano/capistrano_2_tasks.rb +6 -6
  50. data/lib/appsignal/integrations/data_mapper.rb +2 -3
  51. data/lib/appsignal/integrations/delayed_job_plugin.rb +5 -5
  52. data/lib/appsignal/integrations/mongo_ruby_driver.rb +6 -6
  53. data/lib/appsignal/integrations/padrino.rb +8 -8
  54. data/lib/appsignal/integrations/railtie.rb +5 -5
  55. data/lib/appsignal/integrations/resque.rb +4 -5
  56. data/lib/appsignal/integrations/resque_active_job.rb +3 -6
  57. data/lib/appsignal/integrations/sinatra.rb +2 -2
  58. data/lib/appsignal/integrations/webmachine.rb +2 -3
  59. data/lib/appsignal/js_exception_transaction.rb +10 -10
  60. data/lib/appsignal/marker.rb +3 -3
  61. data/lib/appsignal/rack/generic_instrumentation.rb +10 -9
  62. data/lib/appsignal/rack/js_exception_catcher.rb +7 -6
  63. data/lib/appsignal/rack/rails_instrumentation.rb +9 -8
  64. data/lib/appsignal/rack/sinatra_instrumentation.rb +19 -17
  65. data/lib/appsignal/rack/streaming_listener.rb +9 -8
  66. data/lib/appsignal/system.rb +19 -17
  67. data/lib/appsignal/transaction.rb +97 -40
  68. data/lib/appsignal/transmitter.rb +23 -30
  69. data/lib/appsignal/utils.rb +3 -3
  70. data/lib/appsignal/utils/params_sanitizer.rb +1 -1
  71. data/lib/appsignal/utils/query_params_sanitizer.rb +1 -1
  72. data/lib/appsignal/version.rb +2 -2
  73. data/spec/.rubocop.yml +4 -0
  74. data/spec/lib/appsignal/auth_check_spec.rb +7 -7
  75. data/spec/lib/appsignal/capistrano2_spec.rb +41 -41
  76. data/spec/lib/appsignal/capistrano3_spec.rb +43 -44
  77. data/spec/lib/appsignal/cli/notify_of_deploy_spec.rb +9 -11
  78. data/spec/lib/appsignal/cli_spec.rb +9 -9
  79. data/spec/lib/appsignal/config_spec.rb +88 -86
  80. data/spec/lib/appsignal/event_formatter/action_view/render_formatter_spec.rb +9 -9
  81. data/spec/lib/appsignal/event_formatter/active_record/instantiation_formatter_spec.rb +4 -4
  82. data/spec/lib/appsignal/event_formatter/active_record/sql_formatter_spec.rb +4 -4
  83. data/spec/lib/appsignal/event_formatter/elastic_search/search_formatter_spec.rb +12 -12
  84. data/spec/lib/appsignal/event_formatter/faraday/request_formatter_spec.rb +4 -4
  85. data/spec/lib/appsignal/event_formatter/mongo_ruby_driver/query_formatter_spec.rb +23 -23
  86. data/spec/lib/appsignal/event_formatter/moped/query_formatter_spec.rb +29 -30
  87. data/spec/lib/appsignal/event_formatter_spec.rb +28 -28
  88. data/spec/lib/appsignal/extension_spec.rb +15 -15
  89. data/spec/lib/appsignal/garbage_collection_profiler_spec.rb +6 -5
  90. data/spec/lib/appsignal/hooks/active_support_notifications_spec.rb +12 -12
  91. data/spec/lib/appsignal/hooks/delayed_job_spec.rb +34 -34
  92. data/spec/lib/appsignal/hooks/mongo_ruby_driver_spec.rb +3 -3
  93. data/spec/lib/appsignal/hooks/net_http_spec.rb +10 -10
  94. data/spec/lib/appsignal/hooks/rake_spec.rb +7 -7
  95. data/spec/lib/appsignal/hooks/redis_spec.rb +6 -6
  96. data/spec/lib/appsignal/hooks/shoryuken_spec.rb +21 -22
  97. data/spec/lib/appsignal/hooks/sidekiq_spec.rb +48 -45
  98. data/spec/lib/appsignal/hooks/webmachine_spec.rb +2 -2
  99. data/spec/lib/appsignal/hooks_spec.rb +16 -17
  100. data/spec/lib/appsignal/integrations/data_mapper_spec.rb +7 -8
  101. data/spec/lib/appsignal/integrations/mongo_ruby_driver_spec.rb +19 -19
  102. data/spec/lib/appsignal/integrations/object_spec.rb +3 -3
  103. data/spec/lib/appsignal/integrations/padrino_spec.rb +44 -44
  104. data/spec/lib/appsignal/integrations/railtie_spec.rb +13 -13
  105. data/spec/lib/appsignal/integrations/resque_active_job_spec.rb +7 -7
  106. data/spec/lib/appsignal/integrations/resque_spec.rb +8 -8
  107. data/spec/lib/appsignal/integrations/sinatra_spec.rb +7 -7
  108. data/spec/lib/appsignal/integrations/webmachine_spec.rb +15 -15
  109. data/spec/lib/appsignal/js_exception_transaction_spec.rb +23 -23
  110. data/spec/lib/appsignal/marker_spec.rb +8 -8
  111. data/spec/lib/appsignal/minutely_spec.rb +6 -6
  112. data/spec/lib/appsignal/rack/generic_instrumentation_spec.rb +7 -7
  113. data/spec/lib/appsignal/rack/js_exception_catcher_spec.rb +13 -13
  114. data/spec/lib/appsignal/rack/rails_instrumentation_spec.rb +11 -11
  115. data/spec/lib/appsignal/rack/sinatra_instrumentation_spec.rb +21 -21
  116. data/spec/lib/appsignal/rack/streaming_listener_spec.rb +36 -36
  117. data/spec/lib/appsignal/system/container_spec.rb +1 -1
  118. data/spec/lib/appsignal/transaction_spec.rb +213 -184
  119. data/spec/lib/appsignal/transmitter_spec.rb +20 -20
  120. data/spec/lib/appsignal/utils/params_sanitizer_spec.rb +19 -19
  121. data/spec/lib/appsignal/utils/query_params_sanitizer_spec.rb +41 -41
  122. data/spec/lib/appsignal/utils_spec.rb +41 -37
  123. data/spec/lib/appsignal_spec.rb +150 -142
  124. data/spec/spec_helper.rb +18 -18
  125. data/spec/support/delegate_matcher.rb +6 -6
  126. data/spec/support/helpers/api_request_helper.rb +2 -2
  127. data/spec/support/helpers/config_helpers.rb +3 -3
  128. data/spec/support/helpers/dependency_helper.rb +13 -13
  129. data/spec/support/helpers/directory_helper.rb +5 -5
  130. data/spec/support/helpers/env_helpers.rb +14 -14
  131. data/spec/support/helpers/system_helpers.rb +3 -3
  132. data/spec/support/helpers/transaction_helpers.rb +10 -10
  133. metadata +20 -2
@@ -1,26 +1,26 @@
1
- ENV['RAILS_ENV'] ||= 'test'
2
- ENV['RACK_ENV'] ||= 'test'
3
- ENV['PADRINO_ENV'] ||= 'test'
1
+ ENV["RAILS_ENV"] ||= "test"
2
+ ENV["RACK_ENV"] ||= "test"
3
+ ENV["PADRINO_ENV"] ||= "test"
4
4
 
5
5
  APPSIGNAL_SPEC_DIR = File.expand_path(File.dirname(__FILE__))
6
- $LOAD_PATH.unshift(File.join(APPSIGNAL_SPEC_DIR, 'support/stubs'))
6
+ $LOAD_PATH.unshift(File.join(APPSIGNAL_SPEC_DIR, "support/stubs"))
7
7
 
8
8
  Bundler.require :default
9
- require 'rack'
10
- require 'rspec'
11
- require 'pry'
12
- require 'timecop'
13
- require 'webmock/rspec'
9
+ require "rack"
10
+ require "rspec"
11
+ require "pry"
12
+ require "timecop"
13
+ require "webmock/rspec"
14
14
 
15
- Dir[File.join(APPSIGNAL_SPEC_DIR, 'support/helpers', '*.rb')].each do |f|
15
+ Dir[File.join(APPSIGNAL_SPEC_DIR, "support/helpers", "*.rb")].each do |f|
16
16
  require f
17
17
  end
18
18
  if DependencyHelper.rails_present?
19
- Dir[File.join(DirectoryHelper.support_dir, 'rails', '*.rb')].each do |f|
19
+ Dir[File.join(DirectoryHelper.support_dir, "rails", "*.rb")].each do |f|
20
20
  require f
21
21
  end
22
22
  end
23
- require 'appsignal'
23
+ require "appsignal"
24
24
 
25
25
  puts "Running specs in #{RUBY_VERSION} on #{RUBY_PLATFORM}\n\n"
26
26
 
@@ -51,19 +51,19 @@ RSpec.configure do |config|
51
51
  # Use modified SYSTEM_TMP_DIR
52
52
  Appsignal::Config.send :remove_const, :SYSTEM_TMP_DIR
53
53
  Appsignal::Config.send :const_set, :SYSTEM_TMP_DIR,
54
- File.join(tmp_dir, 'system-tmp')
54
+ File.join(tmp_dir, "system-tmp")
55
55
 
56
56
  FileUtils.rm_rf(tmp_dir)
57
57
  FileUtils.mkdir_p(Appsignal::Config::SYSTEM_TMP_DIR)
58
58
  end
59
59
 
60
60
  config.before do
61
- ENV['RAILS_ENV'] ||= 'test'
62
- ENV['RACK_ENV'] ||= 'test'
63
- ENV['PADRINO_ENV'] ||= 'test'
61
+ ENV["RAILS_ENV"] ||= "test"
62
+ ENV["RACK_ENV"] ||= "test"
63
+ ENV["PADRINO_ENV"] ||= "test"
64
64
 
65
65
  # Clean environment
66
- ENV.keys.select { |key| key.start_with?('APPSIGNAL_') }.each do |key|
66
+ ENV.keys.select { |key| key.start_with?("APPSIGNAL_") }.each do |key|
67
67
  ENV.delete(key)
68
68
  end
69
69
  end
@@ -73,7 +73,7 @@ RSpec.configure do |config|
73
73
  end
74
74
 
75
75
  config.after :all do
76
- FileUtils.rm_f(File.join(project_fixture_path, 'log/appsignal.log'))
76
+ FileUtils.rm_f(File.join(project_fixture_path, "log/appsignal.log"))
77
77
  Appsignal.config = nil
78
78
  Appsignal.logger = nil
79
79
  end
@@ -16,21 +16,21 @@ RSpec::Matchers.define :delegate do |method|
16
16
  rescue NoMethodError
17
17
  raise "#{@delegator} does not respond to #{@to}!"
18
18
  end
19
- @delegator.stub(@to => double('receiver'))
19
+ @delegator.stub(@to => double("receiver"))
20
20
  @delegator.send(@to).stub(method => :called)
21
21
  @delegator.send(@method) == :called
22
22
  end
23
23
 
24
24
  description do
25
- "delegate :#{@method} to its #{@to}#{@prefix ? ' with prefix' : ''}"
25
+ "delegate :#{@method} to its #{@to}#{@prefix ? " with prefix" : ""}"
26
26
  end
27
27
 
28
- failure_message_for_should do |text|
29
- "expected #{@delegator} to delegate :#{@method} to its #{@to}#{@prefix ? ' with prefix' : ''}"
28
+ failure_message_for_should do |_text|
29
+ "expected #{@delegator} to delegate :#{@method} to its #{@to}#{@prefix ? " with prefix" : ""}"
30
30
  end
31
31
 
32
- failure_message_for_should_not do |text|
33
- "expected #{@delegator} not to delegate :#{@method} to its #{@to}#{@prefix ? ' with prefix' : ''}"
32
+ failure_message_for_should_not do |_text|
33
+ "expected #{@delegator} not to delegate :#{@method} to its #{@to}#{@prefix ? " with prefix" : ""}"
34
34
  end
35
35
 
36
36
  chain(:to) { |receiver| @to = receiver }
@@ -9,8 +9,8 @@ module ApiRequestHelper
9
9
  :gem_version => Appsignal::VERSION
10
10
  },
11
11
  :headers => {
12
- 'Content-Encoding' => 'gzip',
13
- 'Content-Type' => 'application/json; charset=UTF-8',
12
+ "Content-Encoding" => "gzip",
13
+ "Content-Type" => "application/json; charset=UTF-8"
14
14
  }
15
15
  }
16
16
  if body.is_a? Hash
@@ -1,11 +1,11 @@
1
1
  module ConfigHelpers
2
2
  def project_fixture_path
3
3
  File.expand_path(
4
- File.join(File.dirname(__FILE__),'../project_fixture')
4
+ File.join(File.dirname(__FILE__), "../project_fixture")
5
5
  )
6
6
  end
7
7
 
8
- def project_fixture_config(env='production', initial_config={})
8
+ def project_fixture_config(env = "production", initial_config = {})
9
9
  Appsignal::Config.new(
10
10
  project_fixture_path,
11
11
  env,
@@ -13,7 +13,7 @@ module ConfigHelpers
13
13
  )
14
14
  end
15
15
 
16
- def start_agent(env='production')
16
+ def start_agent(env = "production")
17
17
  Appsignal.config = project_fixture_config(env)
18
18
  Appsignal.start
19
19
  end
@@ -2,57 +2,57 @@ module DependencyHelper
2
2
  module_function
3
3
 
4
4
  def running_jruby?
5
- defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
5
+ defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
6
6
  end
7
7
 
8
8
  def rails_present?
9
- dependency_present? 'rails'
9
+ dependency_present? "rails"
10
10
  end
11
11
 
12
12
  def sequel_present?
13
- dependency_present? 'sequel'
13
+ dependency_present? "sequel"
14
14
  end
15
15
 
16
16
  def resque_present?
17
- dependency_present? 'resque'
17
+ dependency_present? "resque"
18
18
  end
19
19
 
20
20
  def active_job_present?
21
- dependency_present? 'activejob'
21
+ dependency_present? "activejob"
22
22
  end
23
23
 
24
24
  def active_support_present?
25
- dependency_present? 'activesupport'
25
+ dependency_present? "activesupport"
26
26
  end
27
27
 
28
28
  def sinatra_present?
29
- dependency_present? 'sinatra'
29
+ dependency_present? "sinatra"
30
30
  end
31
31
 
32
32
  def padrino_present?
33
- dependency_present? 'padrino'
33
+ dependency_present? "padrino"
34
34
  end
35
35
 
36
36
  def grape_present?
37
- dependency_present? 'grape'
37
+ dependency_present? "grape"
38
38
  end
39
39
 
40
40
  def webmachine_present?
41
- dependency_present? 'webmachine'
41
+ dependency_present? "webmachine"
42
42
  end
43
43
 
44
44
  def capistrano_present?
45
- dependency_present? 'capistrano'
45
+ dependency_present? "capistrano"
46
46
  end
47
47
 
48
48
  def capistrano2_present?
49
49
  capistrano_present? &&
50
- Gem.loaded_specs['capistrano'].version < Gem::Version.new('3.0')
50
+ Gem.loaded_specs["capistrano"].version < Gem::Version.new("3.0")
51
51
  end
52
52
 
53
53
  def capistrano3_present?
54
54
  capistrano_present? &&
55
- Gem.loaded_specs['capistrano'].version >= Gem::Version.new('3.0')
55
+ Gem.loaded_specs["capistrano"].version >= Gem::Version.new("3.0")
56
56
  end
57
57
 
58
58
  def dependency_present?(dependency_file)
@@ -2,7 +2,7 @@ module DirectoryHelper
2
2
  module_function
3
3
 
4
4
  def project_dir
5
- @project_dir ||= File.expand_path('..', spec_dir)
5
+ @project_dir ||= File.expand_path("..", spec_dir)
6
6
  end
7
7
 
8
8
  def spec_dir
@@ -10,18 +10,18 @@ module DirectoryHelper
10
10
  end
11
11
 
12
12
  def support_dir
13
- @support_dir ||= File.join(spec_dir, 'support')
13
+ @support_dir ||= File.join(spec_dir, "support")
14
14
  end
15
15
 
16
16
  def tmp_dir
17
- @tmp_dir ||= File.join(spec_dir, 'tmp')
17
+ @tmp_dir ||= File.join(spec_dir, "tmp")
18
18
  end
19
19
 
20
20
  def fixtures_dir
21
- @fixtures_dir ||= File.join(support_dir, 'fixtures')
21
+ @fixtures_dir ||= File.join(support_dir, "fixtures")
22
22
  end
23
23
 
24
24
  def resources_dir
25
- @resources_dir ||= File.join(project_dir, 'resources')
25
+ @resources_dir ||= File.join(project_dir, "resources")
26
26
  end
27
27
  end
@@ -1,33 +1,33 @@
1
1
  module EnvHelpers
2
- def http_request_env_with_data(args={})
2
+ def http_request_env_with_data(args = {})
3
3
  path = args.delete(:path) || "/blog"
4
4
  Rack::MockRequest.env_for(
5
5
  path,
6
6
  :params => {
7
- 'controller' => 'blog_posts',
8
- 'action' => 'show',
9
- 'id' => '1'
7
+ "controller" => "blog_posts",
8
+ "action" => "show",
9
+ "id" => "1"
10
10
  }
11
11
  ).merge(
12
- :controller => 'BlogPostsController',
13
- :action => 'show',
14
- :request_format => 'html',
12
+ :controller => "BlogPostsController",
13
+ :action => "show",
14
+ :request_format => "html",
15
15
  :request_method => "GET",
16
- :status => '200',
16
+ :status => "200",
17
17
  :view_runtime => 500,
18
18
  :db_runtime => 500,
19
- :metadata => {:key => 'value'}
19
+ :metadata => { :key => "value" }
20
20
  ).merge(args)
21
21
  end
22
22
 
23
- def background_env_with_data(args={})
23
+ def background_env_with_data(args = {})
24
24
  {
25
- :class => 'BackgroundJob',
26
- :method => 'perform',
25
+ :class => "BackgroundJob",
26
+ :method => "perform",
27
27
  :priority => 1,
28
28
  :attempts => 0,
29
- :queue => 'default',
30
- :queue_start => fixed_time - 10.0,
29
+ :queue => "default",
30
+ :queue_start => fixed_time - 10.0
31
31
  }.merge(args)
32
32
  end
33
33
  end
@@ -1,10 +1,10 @@
1
1
  module SystemHelpers
2
2
  def recognize_as_heroku
3
- ENV['DYNO'] = 'dyno1'
3
+ ENV["DYNO"] = "dyno1"
4
4
  value = recognize_as_container :lxc do
5
5
  yield
6
6
  end
7
- ENV.delete 'DYNO'
7
+ ENV.delete "DYNO"
8
8
  value
9
9
  end
10
10
 
@@ -12,7 +12,7 @@ module SystemHelpers
12
12
  org_cgroup_file = Appsignal::System::Container::CGROUP_FILE
13
13
  Appsignal::System::Container.send :remove_const, :CGROUP_FILE
14
14
  Appsignal::System::Container.send :const_set, :CGROUP_FILE,
15
- File.join(DirectoryHelper.fixtures_dir, 'containers', 'cgroups', file.to_s)
15
+ File.join(DirectoryHelper.fixtures_dir, "containers", "cgroups", file.to_s)
16
16
 
17
17
  value = yield
18
18
 
@@ -1,30 +1,30 @@
1
1
  module TransactionHelpers
2
2
  def uploaded_file
3
3
  if DependencyHelper.rails_present?
4
- ActionDispatch::Http::UploadedFile.new(:tempfile => '/tmp')
4
+ ActionDispatch::Http::UploadedFile.new(:tempfile => "/tmp")
5
5
  else
6
- ::Rack::Multipart::UploadedFile.new(File.join(fixtures_dir, '/uploaded_file.txt'))
6
+ ::Rack::Multipart::UploadedFile.new(File.join(fixtures_dir, "/uploaded_file.txt"))
7
7
  end
8
8
  end
9
9
 
10
- def background_job_transaction(args={})
10
+ def background_job_transaction(args = {})
11
11
  Appsignal::Transaction.new(
12
- '1',
12
+ "1",
13
13
  Appsignal::Transaction::BACKGROUND_JOB,
14
14
  Appsignal::Transaction::GenericRequest.new({
15
- 'SERVER_NAME' => 'localhost',
16
- 'action_dispatch.routes' => 'not_available'
15
+ "SERVER_NAME" => "localhost",
16
+ "action_dispatch.routes" => "not_available"
17
17
  }.merge(args))
18
18
  )
19
19
  end
20
20
 
21
- def http_request_transaction(args={})
21
+ def http_request_transaction(args = {})
22
22
  Appsignal::Transaction.new(
23
- '1',
23
+ "1",
24
24
  Appsignal::Transaction::HTTP_REQUEST,
25
25
  Appsignal::Transaction::GenericRequest.new({
26
- 'SERVER_NAME' => 'localhost',
27
- 'action_dispatch.routes' => 'not_available'
26
+ "SERVER_NAME" => "localhost",
27
+ "action_dispatch.routes" => "not_available"
28
28
  }.merge(args))
29
29
  )
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appsignal
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.alpha.3
4
+ version: 2.1.0.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-02 00:00:00.000000000 Z
12
+ date: 2017-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -109,6 +109,20 @@ dependencies:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: rubocop
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - '='
117
+ - !ruby/object:Gem::Version
118
+ version: 0.46.0
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - '='
124
+ - !ruby/object:Gem::Version
125
+ version: 0.46.0
112
126
  description: The official appsignal.com gem
113
127
  email:
114
128
  - support@appsignal.com
@@ -120,6 +134,8 @@ extra_rdoc_files: []
120
134
  files:
121
135
  - ".gitignore"
122
136
  - ".rspec"
137
+ - ".rubocop.yml"
138
+ - ".rubocop_todo.yml"
123
139
  - ".travis.yml"
124
140
  - CHANGELOG.md
125
141
  - Gemfile
@@ -216,6 +232,7 @@ files:
216
232
  - lib/sequel/extensions/appsignal_integration.rb
217
233
  - resources/appsignal.yml.erb
218
234
  - resources/cacert.pem
235
+ - spec/.rubocop.yml
219
236
  - spec/lib/appsignal/auth_check_spec.rb
220
237
  - spec/lib/appsignal/capistrano2_spec.rb
221
238
  - spec/lib/appsignal/capistrano3_spec.rb
@@ -337,6 +354,7 @@ signing_key:
337
354
  specification_version: 4
338
355
  summary: Logs performance and exception data from your app to appsignal.com
339
356
  test_files:
357
+ - spec/.rubocop.yml
340
358
  - spec/lib/appsignal/auth_check_spec.rb
341
359
  - spec/lib/appsignal/capistrano2_spec.rb
342
360
  - spec/lib/appsignal/capistrano3_spec.rb