rollbar 3.1.2 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.github/pull_request_template.md +15 -6
  3. data/.github/workflows/ci.yml +15 -29
  4. data/.rubocop.yml +84 -34
  5. data/Gemfile +13 -16
  6. data/README.md +1 -1
  7. data/data/rollbar.snippet.js +1 -1
  8. data/gemfiles/rails30.gemfile +10 -12
  9. data/gemfiles/rails31.gemfile +11 -13
  10. data/gemfiles/rails32.gemfile +4 -6
  11. data/gemfiles/rails40.gemfile +2 -5
  12. data/gemfiles/rails41.gemfile +2 -6
  13. data/gemfiles/rails42.gemfile +4 -10
  14. data/gemfiles/rails50.gemfile +8 -11
  15. data/gemfiles/rails51.gemfile +7 -10
  16. data/gemfiles/rails52.gemfile +8 -9
  17. data/gemfiles/rails60.gemfile +7 -9
  18. data/gemfiles/rails61.gemfile +7 -8
  19. data/gemfiles/rails70.gemfile +52 -0
  20. data/lib/generators/rollbar/rollbar_generator.rb +18 -14
  21. data/lib/generators/rollbar/templates/{initializer.rb → initializer.erb} +0 -0
  22. data/lib/rails/rollbar_runner.rb +12 -5
  23. data/lib/rollbar/capistrano.rb +16 -8
  24. data/lib/rollbar/capistrano3.rb +8 -2
  25. data/lib/rollbar/capistrano_tasks.rb +37 -10
  26. data/lib/rollbar/configuration.rb +114 -90
  27. data/lib/rollbar/delay/shoryuken.rb +4 -3
  28. data/lib/rollbar/delay/sidekiq.rb +3 -1
  29. data/lib/rollbar/delay/sucker_punch.rb +1 -2
  30. data/lib/rollbar/delay/thread.rb +3 -2
  31. data/lib/rollbar/deploy.rb +6 -7
  32. data/lib/rollbar/encoding/encoder.rb +7 -3
  33. data/lib/rollbar/exception_reporter.rb +17 -8
  34. data/lib/rollbar/item/backtrace.rb +10 -8
  35. data/lib/rollbar/item/frame.rb +6 -5
  36. data/lib/rollbar/item/locals.rb +5 -1
  37. data/lib/rollbar/item.rb +47 -38
  38. data/lib/rollbar/json.rb +1 -1
  39. data/lib/rollbar/lazy_store.rb +1 -3
  40. data/lib/rollbar/logger.rb +2 -0
  41. data/lib/rollbar/logger_proxy.rb +3 -1
  42. data/lib/rollbar/middleware/js/json_value.rb +15 -5
  43. data/lib/rollbar/middleware/js.rb +57 -31
  44. data/lib/rollbar/middleware/rack/builder.rb +3 -3
  45. data/lib/rollbar/middleware/rack/test_session.rb +3 -3
  46. data/lib/rollbar/middleware/rack.rb +4 -4
  47. data/lib/rollbar/middleware/rails/rollbar.rb +9 -6
  48. data/lib/rollbar/middleware/rails/show_exceptions.rb +8 -4
  49. data/lib/rollbar/notifier/trace_with_bindings.rb +13 -3
  50. data/lib/rollbar/notifier.rb +179 -133
  51. data/lib/rollbar/plugin.rb +8 -8
  52. data/lib/rollbar/plugins/active_job.rb +11 -2
  53. data/lib/rollbar/plugins/delayed_job/plugin.rb +10 -3
  54. data/lib/rollbar/plugins/goalie.rb +27 -16
  55. data/lib/rollbar/plugins/rails/controller_methods.rb +18 -14
  56. data/lib/rollbar/plugins/rails/railtie30.rb +2 -1
  57. data/lib/rollbar/plugins/rails/railtie32.rb +2 -1
  58. data/lib/rollbar/plugins/rails/railtie_mixin.rb +2 -2
  59. data/lib/rollbar/plugins/rails.rb +5 -2
  60. data/lib/rollbar/plugins/rake.rb +2 -1
  61. data/lib/rollbar/plugins/sidekiq/plugin.rb +39 -21
  62. data/lib/rollbar/plugins/sidekiq.rb +1 -1
  63. data/lib/rollbar/plugins/thread.rb +1 -1
  64. data/lib/rollbar/plugins/validations.rb +3 -1
  65. data/lib/rollbar/rake_tasks.rb +0 -1
  66. data/lib/rollbar/request_data_extractor.rb +38 -17
  67. data/lib/rollbar/rollbar_test.rb +3 -1
  68. data/lib/rollbar/scrubbers/params.rb +13 -7
  69. data/lib/rollbar/scrubbers/url.rb +37 -17
  70. data/lib/rollbar/scrubbers.rb +1 -1
  71. data/lib/rollbar/truncation/remove_any_key_strategy.rb +4 -1
  72. data/lib/rollbar/truncation/remove_extra_strategy.rb +3 -1
  73. data/lib/rollbar/util/hash.rb +14 -7
  74. data/lib/rollbar/util/ip_anonymizer.rb +1 -1
  75. data/lib/rollbar/util.rb +19 -13
  76. data/lib/rollbar/version.rb +1 -1
  77. data/lib/rollbar.rb +12 -7
  78. data/lib/tasks/benchmark.rake +2 -1
  79. data/rollbar.gemspec +3 -1
  80. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34869f5fb3dc29aafe043984527ff94e183c7d8ddec4ea902560687ada4577aa
4
- data.tar.gz: '08895a2da93303ae28fa0675c13667fc7de9f6926464d6ac360939b9c2655409'
3
+ metadata.gz: 898aba48030cbc9188c24d90690293f5059d06d21ea0761554f48b9ceb807874
4
+ data.tar.gz: 37c571e1b393777a03d11079c443a01b561391652b6a7e5fb1ed6064f0a69754
5
5
  SHA512:
6
- metadata.gz: 0ab65c5cc3f2e0b9ff4355d2cfe58753d9d1cc92a002aa3def7a9ed48ff3d03e3cfe7137b05e0793f1cf1c8cb5a8695a658a5622e1e4b7ad540368fca07a59c6
7
- data.tar.gz: 52f63b3739d2ac883253ff1dc04e1513665febbd900525e02584908f35dd15e8152e2db51a43c64e91dfde3400d6efe025756600d71c72c587475024a4d14250
6
+ metadata.gz: 92de62decca92c82e7db0f1c0d4ef525141e0e9e64418fa465a671c5571206312dcd5ed675b7c1e6a9c40cf714c684eabdfdd5648efd30d39ea0f9c073206dbb
7
+ data.tar.gz: cd5d1bd81a5514686ad7ae72cc2c1aca30a09580fb57dbbb518ec37353ad94a8719594b6fd53d1620bd742fab6e96772a3cd8106d98510f3fed249de838f5c01
@@ -1,14 +1,23 @@
1
1
  ## Description of the change
2
2
 
3
- > Description here
3
+ > Please include a summary of the change and which issues are fixed.
4
+ > Please also include relevant motivation and context.
5
+
4
6
  ## Type of change
7
+
5
8
  - [ ] Bug fix (non-breaking change that fixes an issue)
6
9
  - [ ] New feature (non-breaking change that adds functionality)
7
10
  - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
11
+ - [ ] Maintenance
12
+ - [ ] New release
8
13
 
9
14
  ## Related issues
10
15
 
11
- > Fix [#1]()
16
+ > Shortcut stories and GitHub issues (delete irrelevant)
17
+
18
+ - Fix [SC-]
19
+ - Fix #1
20
+
12
21
  ## Checklists
13
22
 
14
23
  ### Development
@@ -17,9 +26,9 @@
17
26
  - [ ] The code changed/added as part of this pull request has been covered with tests
18
27
  - [ ] All tests related to the changed code pass in development
19
28
 
20
- ### Code review
29
+ ### Code review
21
30
 
22
- - [ ] This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
23
- - [ ] "Ready for review" label attached to the PR and reviewers mentioned in a comment
31
+ - [ ] This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
32
+ - [ ] "Ready for review" label attached to the PR and reviewers assigned
33
+ - [ ] Issue from task tracker has a link to this pull request
24
34
  - [ ] Changes have been reviewed by at least one other engineer
25
- - [ ] Issue from task tracker has a link to this pull request
@@ -11,42 +11,26 @@ jobs:
11
11
  runs-on: ubuntu-18.04
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: [2.2.10, 2.3.0, 2.3.8, 2.4.5, 2.5.3, 2.6.0, 2.6.6, 2.7.2]
14
+ ruby-version: [2.5.3, 2.6.0, 2.6.6, 2.7.2]
15
15
  gemfile:
16
- - gemfiles/rails42.gemfile
17
16
  - gemfiles/rails50.gemfile
18
17
  - gemfiles/rails51.gemfile
19
18
  - gemfiles/rails52.gemfile
20
19
  - gemfiles/rails60.gemfile
21
20
  - gemfiles/rails61.gemfile
22
- exclude:
23
- - gemfile: gemfiles/rails42.gemfile
24
- ruby-version: 2.7.2
25
- - gemfile: gemfiles/rails42.gemfile
26
- ruby-version: 2.6.0
21
+ include:
22
+ - gemfile: gemfiles/rails70.gemfile
23
+ ruby-version: 3.1.1
24
+ - gemfile: gemfiles/rails70.gemfile
25
+ ruby-version: 3.0.3
26
+ - gemfile: gemfiles/rails61.gemfile
27
+ ruby-version: 3.0.3
27
28
  - gemfile: gemfiles/rails42.gemfile
28
- ruby-version: 2.6.6
29
+ ruby-version: 2.4.5
29
30
  - gemfile: gemfiles/rails42.gemfile
30
- ruby-version: 2.7.2
31
- - gemfile: gemfiles/rails52.gemfile
32
- ruby-version: 2.2.10
33
- - gemfile: gemfiles/rails60.gemfile
34
- ruby-version: 2.2.10
35
- - gemfile: gemfiles/rails60.gemfile
36
- ruby-version: 2.3.0
37
- - gemfile: gemfiles/rails60.gemfile
38
31
  ruby-version: 2.3.8
39
- - gemfile: gemfiles/rails60.gemfile
40
- ruby-version: 2.4.5
41
- - gemfile: gemfiles/rails61.gemfile
32
+ - gemfile: gemfiles/rails42.gemfile
42
33
  ruby-version: 2.2.10
43
- - gemfile: gemfiles/rails61.gemfile
44
- ruby-version: 2.3.0
45
- - gemfile: gemfiles/rails61.gemfile
46
- ruby-version: 2.3.8
47
- - gemfile: gemfiles/rails61.gemfile
48
- ruby-version: 2.4.5
49
- include:
50
34
  - gemfile: gemfiles/rails41.gemfile
51
35
  ruby-version: 2.3.0
52
36
  - gemfile: gemfiles/rails41.gemfile
@@ -67,8 +51,6 @@ jobs:
67
51
  ruby-version: 2.0.0
68
52
  - gemfile: gemfiles/rails30.gemfile
69
53
  ruby-version: 2.0.0
70
- - gemfile: gemfiles/rails61.gemfile
71
- ruby-version: 3.0.0
72
54
 
73
55
  steps:
74
56
  - uses: actions/checkout@v2
@@ -115,4 +97,8 @@ jobs:
115
97
  bundle install --jobs 4 --retry 3
116
98
 
117
99
  - name: Rspec
118
- run: bundle exec rspec
100
+ run: |
101
+ export BUNDLE_GEMFILE=${{ matrix.gemfile }}
102
+ bundle config path vendor/bundle
103
+ bundle config gemfile ${{ matrix.gemfile }}
104
+ bundle exec rspec
data/.rubocop.yml CHANGED
@@ -4,51 +4,40 @@ AllCops:
4
4
  Exclude:
5
5
  - 'vendor/**/*'
6
6
  - 'gemfiles/vendor/**/*'
7
+ - 'spec/dummyapp/**/*'
8
+ - 'spec/tmp/**/*'
9
+ TargetRubyVersion: 2.5 # This is the minimum allowed for current rubocop
7
10
 
8
- Style/HashSyntax:
9
- EnforcedStyle: hash_rockets
10
- SupportedStyles:
11
- - hash_rockets
12
-
13
- Style/SymbolArray:
14
- Enabled: false # %i[] syntax isn't 1.9.x compatible
15
-
16
- Metrics/LineLength:
17
- Max: 1000
18
-
19
- Metrics/MethodLength:
20
- Max: 15 # Relax slightly from the default of 10
11
+ Gemspec/RequiredRubyVersion:
12
+ Enabled: false # rubocop compares to gemspec, yet won't allow 1.9 as minimum version
21
13
 
22
- Style/DoubleNegation:
14
+ Layout/HeredocIndentation:
15
+ # When enabled, forces either squiggly syntax (not available until 2.3),
16
+ # or external packages that we don't want as dependencies.
23
17
  Enabled: false
24
18
 
25
- Style/Lambda:
19
+ Layout/LineLength:
20
+ Max: 90
21
+
22
+ Lint/ConstantDefinitionInBlock:
23
+ # We routinely update existing class definitions in conditional blocks.
26
24
  Enabled: false
27
25
 
28
- Style/EachWithObject:
26
+ Lint/SendWithMixinArgument:
27
+ # Object#include is still a private method in Ruby 2.0.
29
28
  Enabled: false
30
29
 
31
30
  Metrics/BlockLength:
32
- ExcludedMethods: ['describe', 'context'] # RSpec DSL is expected to have long blocks.
33
-
34
- Style/ExpandPathArguments:
35
- Enabled: false # syntax requires Ruby >= 2.0
31
+ # RSpec DSL is expected to have long blocks.
32
+ IgnoredMethods: ['describe', 'context', 'it', 'shared_examples']
36
33
 
37
- Gemspec/RequiredRubyVersion:
38
- Enabled: false # rubocop compares to gemspec, yet won't allow 1.9 as minimum version
39
-
40
- Style/Encoding:
41
- Enabled: false # Ruby 1.9.3 needs these magic comments, e.g. # encoding: UTF-8
42
-
43
- Style/PercentLiteralDelimiters:
44
- PreferredDelimiters:
45
- # rubocop switched from () to [] at some past version.
46
- # Make sure we are consistent across all bundles/builds.
47
- default: '[]'
34
+ Metrics/MethodLength:
35
+ Max: 15 # Relax slightly from the default of 10
48
36
 
49
- Style/Documentation:
50
- # We can enabled this if/when we want to start doing consistent class documentation.
51
- # As is, we currently add :nodoc: if anything at all.
37
+ Metrics/ParameterLists:
38
+ # We currently don't have limits on the number of method arguments, except as
39
+ # they contribute to the complexity metric. If method complexity is in bounds,
40
+ # we allow any number of arguments.
52
41
  Enabled: false
53
42
 
54
43
  Naming/MethodParameterName:
@@ -57,6 +46,9 @@ Naming/MethodParameterName:
57
46
  # like `db` and `io`. So, short names really can be useful.
58
47
  Enabled: false
59
48
 
49
+ Style/BracesAroundHashParameters:
50
+ EnforcedStyle: braces
51
+
60
52
  Style/CaseEquality:
61
53
  # The code uses `===` a lot to compare a regex to a string, but it's not clear that
62
54
  # switching to `=~` is always safe, because in some cases the value could be a regex
@@ -64,15 +56,73 @@ Style/CaseEquality:
64
56
  # review and test each of these.
65
57
  Enabled: false
66
58
 
59
+ Style/Documentation:
60
+ # We can enabled this if/when we want to start doing consistent class documentation.
61
+ # As is, we currently add :nodoc: if anything at all.
62
+ Enabled: false
63
+
64
+ Style/DoubleNegation:
65
+ Enabled: false
66
+
67
+ Style/EachWithObject:
68
+ Enabled: false
69
+
70
+ Style/Encoding:
71
+ Enabled: false # Ruby 1.9.3 needs these magic comments, e.g. # encoding: UTF-8
72
+
73
+ Style/ExpandPathArguments:
74
+ Enabled: false # syntax requires Ruby >= 2.0
75
+
67
76
  Style/FrozenStringLiteralComment:
68
77
  # If we do this, it will be in its own PR. It requires adding these magic comments
69
78
  # throughout the project, in order to prepare for a future Ruby 3.x.
70
79
  Enabled: false
71
80
 
81
+ Style/HashSyntax:
82
+ EnforcedStyle: hash_rockets
83
+ SupportedStyles:
84
+ - hash_rockets
85
+
86
+ Style/HashTransformKeys:
87
+ # Hash#transform_keys isn't available until Ruby 2.5
88
+ Enabled: false
89
+
90
+ Style/Lambda:
91
+ Enabled: false
92
+
93
+ Style/NumericPredicate:
94
+ # Numbers used in comparison expressions are often more readable and consistent
95
+ # than using predicate methods. e.g.
96
+ # major > 0 && minor > 8
97
+ # is more readable than
98
+ # major.positive? && minor > 8
99
+ Enabled: false
100
+
101
+ Style/OptionalBooleanParameter:
102
+ # We don't yet generally use keyword arguments. Ruby < 2.1 doesn't support
103
+ # required kayword arguments. And satifying this rule would change the calling
104
+ # convention only for these specific optional boolean arguments.
105
+ # This rule should be enabled when the project is updated to use keyword
106
+ # arguments in general.
107
+ Enabled: false
108
+
109
+ Style/PercentLiteralDelimiters:
110
+ PreferredDelimiters:
111
+ # rubocop switched from () to [] at some past version.
112
+ # Make sure we are consistent across all bundles/builds.
113
+ default: '[]'
114
+
115
+ Style/RedundantBegin:
116
+ # Ruby < 2.5 needs begin/end inside blocks when using rescue
117
+ Enabled: false
118
+
72
119
  Style/SafeNavigation:
73
120
  # Not available in Ruby < 2.3.
74
121
  Enabled: false
75
122
 
123
+ Style/SymbolArray:
124
+ Enabled: false # %i[] syntax isn't 1.9.x compatible
125
+
76
126
  #
77
127
  # Performance cops are opt in, and `Enabled: true` is always required.
78
128
  # Full list is here: https://github.com/rubocop-hq/rubocop-performance/tree/master/lib/rubocop/cop/performance
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
- # This file was generated by Appraisal
1
+ # This Gemfile is compatible with Ruby 2.5.0 or greater. To test with
2
+ # earlier Rubies, use the appropriate Gemfile from the ./gemfiles/ dir.
3
+ ruby '>= 2.5.0'
2
4
 
3
5
  source 'https://rubygems.org'
4
6
 
@@ -11,7 +13,7 @@ ENV['CURRENT_GEMFILE'] ||= __FILE__
11
13
 
12
14
  is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby')
13
15
 
14
- GEMFILE_RAILS_VERSION = '6.1.1'.freeze
16
+ GEMFILE_RAILS_VERSION = '~> 6.1.5'.freeze
15
17
  gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
16
18
  gem 'appraisal'
17
19
  gem 'jruby-openssl', :platform => :jruby
@@ -20,30 +22,25 @@ gem 'rake'
20
22
  if GEMFILE_RAILS_VERSION < '6.0'
21
23
  gem 'rspec-rails', '~> 3.4'
22
24
  else
23
- gem 'rspec-rails', '~> 4.0.2' # rubocop:disable Bundler/DuplicatedGem
25
+ gem 'rspec-rails', '~> 4.0.2'
24
26
  end
25
27
 
26
28
  if GEMFILE_RAILS_VERSION < '6.0'
27
29
  gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
28
30
  else
29
- gem 'sqlite3', '~> 1.4', :platform => [:ruby, :mswin, :mingw] # rubocop:disable Bundler/DuplicatedGem
31
+ gem 'sqlite3', '~> 1.4', :platform => [:ruby, :mswin, :mingw]
30
32
  end
31
33
 
32
- if RUBY_VERSION < '2.2.2'
33
- gem 'sidekiq', '~> 2.13.0'
34
- else
35
- gem 'sidekiq', '>= 2.13.0' # rubocop:disable Bundler/DuplicatedGem
36
- end
34
+ gem 'sidekiq', '>= 6.4.0'
37
35
 
38
36
  platforms :rbx do
39
37
  gem 'minitest'
40
38
  gem 'racc'
41
39
  gem 'rubinius-developer_tools'
42
- gem 'rubysl', '~> 2.0' if RUBY_VERSION.start_with?('2') # rubysl doesn't yet support Ruby 3.x
40
+ gem 'rubysl', '~> 2.0' if RUBY_VERSION.start_with?('2')
43
41
  end
44
42
 
45
43
  gem 'capistrano', :require => false
46
- gem 'codacy-coverage'
47
44
  gem 'shoryuken'
48
45
  gem 'simplecov'
49
46
  gem 'sucker_punch', '~> 2.0'
@@ -58,22 +55,22 @@ gem 'aws-sdk-sqs'
58
55
  if GEMFILE_RAILS_VERSION >= '5.2'
59
56
  gem 'database_cleaner'
60
57
  elsif GEMFILE_RAILS_VERSION.between?('5.0', '5.2')
61
- gem 'database_cleaner', '~> 1.8.4' # rubocop:disable Bundler/DuplicatedGem
58
+ gem 'database_cleaner', '~> 1.8.4'
62
59
  elsif GEMFILE_RAILS_VERSION < '5.0'
63
- gem 'database_cleaner', '~> 1.0.0' # rubocop:disable Bundler/DuplicatedGem
60
+ gem 'database_cleaner', '~> 1.0.0'
64
61
  end
65
62
 
66
63
  if GEMFILE_RAILS_VERSION < '6.0'
67
64
  gem 'delayed_job', :require => false
68
65
  else
69
- gem 'delayed_job', '~> 4.1', :require => false # rubocop:disable Bundler/DuplicatedGem
66
+ gem 'delayed_job', '~> 4.1', :require => false
70
67
  end
71
68
  gem 'generator_spec'
72
- gem 'girl_friday', '>= 0.11.1'
73
69
  gem 'redis'
74
70
  gem 'resque', '< 2.0.0'
75
- gem 'rubocop', '~> 0.93.0', :require => false
71
+ gem 'rubocop', '1.15.0', :require => false # pin specific version, update manually
76
72
  gem 'rubocop-performance', :require => false
73
+ gem 'secure_headers', '~> 6.3.2', :require => false
77
74
  gem 'sinatra'
78
75
  gem 'webmock', :require => false
79
76
  gemspec
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Rollbar-gem
2
- [![Build Status](https://travis-ci.org/rollbar/rollbar-gem.svg?branch=master)](https://travis-ci.org/rollbar/rollbar-gem/branches)
2
+ ![Build Status](https://github.com/rollbar/rollbar-gem/workflows/Rollbar-gem%20CI/badge.svg?tag=latest)
3
3
  [![Gem Version](https://badge.fury.io/rb/rollbar.svg)](http://badge.fury.io/rb/rollbar)
4
4
  [![SemVer](https://api.dependabot.com/badges/compatibility_score?dependency-name=rollbar&package-manager=bundler&version-scheme=semver&target-version=latest)](https://dependabot.com/compatibility-score.html?dependency-name=rollbar&package-manager=bundler&version-scheme=semver&new-version=latest)
5
5
 
@@ -1 +1 @@
1
- !function(r){var e={};function o(n){if(e[n])return e[n].exports;var t=e[n]={i:n,l:!1,exports:{}};return r[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=r,o.c=e,o.d=function(r,e,n){o.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},o.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,e){if(1&e&&(r=o(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var t in r)o.d(n,t,function(e){return r[e]}.bind(null,t));return n},o.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(e,"a",e),e},o.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},o.p="",o(o.s=0)}([function(r,e,o){"use strict";var n=o(1),t=o(5);_rollbarConfig=_rollbarConfig||{},_rollbarConfig.rollbarJsUrl=_rollbarConfig.rollbarJsUrl||"https://cdn.rollbar.com/rollbarjs/refs/tags/v2.19.3/rollbar.min.js",_rollbarConfig.async=void 0===_rollbarConfig.async||_rollbarConfig.async;var a=n.setupShim(window,_rollbarConfig),l=t(_rollbarConfig);window.rollbar=n.Rollbar,a.loadFull(window,document,!_rollbarConfig.async,_rollbarConfig,l)},function(r,e,o){"use strict";var n=o(2),t=o(3);function a(r){return function(){try{return r.apply(this,arguments)}catch(r){try{console.error("[Rollbar]: Internal error",r)}catch(r){}}}}var l=0;function i(r,e){this.options=r,this._rollbarOldOnError=null;var o=l++;this.shimId=function(){return o},"undefined"!=typeof window&&window._rollbarShims&&(window._rollbarShims[o]={handler:e,messages:[]})}var s=o(4),d=function(r,e){return new i(r,e)},c=function(r){return new s(d,r)};function u(r){return a((function(){var e=this,o=Array.prototype.slice.call(arguments,0),n={shim:e,method:r,args:o,ts:new Date};window._rollbarShims[this.shimId()].messages.push(n)}))}i.prototype.loadFull=function(r,e,o,n,t){var l=!1,i=e.createElement("script"),s=e.getElementsByTagName("script")[0],d=s.parentNode;i.crossOrigin="",i.src=n.rollbarJsUrl,o||(i.async=!0),i.onload=i.onreadystatechange=a((function(){if(!(l||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState)){i.onload=i.onreadystatechange=null;try{d.removeChild(i)}catch(r){}l=!0,function(){var e;if(void 0===r._rollbarDidLoad){e=new Error("rollbar.js did not load");for(var o,n,a,l,i=0;o=r._rollbarShims[i++];)for(o=o.messages||[];n=o.shift();)for(a=n.args||[],i=0;i<a.length;++i)if("function"==typeof(l=a[i])){l(e);break}}"function"==typeof t&&t(e)}()}})),d.insertBefore(i,s)},i.prototype.wrap=function(r,e,o){try{var n;if(n="function"==typeof e?e:function(){return e||{}},"function"!=typeof r)return r;if(r._isWrap)return r;if(!r._rollbar_wrapped&&(r._rollbar_wrapped=function(){o&&"function"==typeof o&&o.apply(this,arguments);try{return r.apply(this,arguments)}catch(o){var e=o;throw e&&("string"==typeof e&&(e=new String(e)),e._rollbarContext=n()||{},e._rollbarContext._wrappedSource=r.toString(),window._rollbarWrappedError=e),e}},r._rollbar_wrapped._isWrap=!0,r.hasOwnProperty))for(var t in r)r.hasOwnProperty(t)&&(r._rollbar_wrapped[t]=r[t]);return r._rollbar_wrapped}catch(e){return r}};for(var p="log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleAnonymousErrors,handleUnhandledRejection,captureEvent,captureDomContentLoaded,captureLoad".split(","),f=0;f<p.length;++f)i.prototype[p[f]]=u(p[f]);r.exports={setupShim:function(r,e){if(r){var o=e.globalAlias||"Rollbar";if("object"==typeof r[o])return r[o];r._rollbarShims={},r._rollbarWrappedError=null;var l=new c(e);return a((function(){e.captureUncaught&&(l._rollbarOldOnError=r.onerror,n.captureUncaughtExceptions(r,l,!0),e.wrapGlobalEventHandlers&&t(r,l,!0)),e.captureUnhandledRejections&&n.captureUnhandledRejections(r,l,!0);var a=e.autoInstrument;return!1!==e.enabled&&(void 0===a||!0===a||"object"==typeof a&&a.network)&&r.addEventListener&&(r.addEventListener("load",l.captureLoad.bind(l)),r.addEventListener("DOMContentLoaded",l.captureDomContentLoaded.bind(l))),r[o]=l,l}))()}},Rollbar:c}},function(r,e,o){"use strict";function n(r,e,o,n){r._rollbarWrappedError&&(n[4]||(n[4]=r._rollbarWrappedError),n[5]||(n[5]=r._rollbarWrappedError._rollbarContext),r._rollbarWrappedError=null);var t=e.handleUncaughtException.apply(e,n);o&&o.apply(r,n),"anonymous"===t&&(e.anonymousErrorsPending+=1)}r.exports={captureUncaughtExceptions:function(r,e,o){if(r){var t;if("function"==typeof e._rollbarOldOnError)t=e._rollbarOldOnError;else if(r.onerror){for(t=r.onerror;t._rollbarOldOnError;)t=t._rollbarOldOnError;e._rollbarOldOnError=t}e.handleAnonymousErrors();var a=function(){var o=Array.prototype.slice.call(arguments,0);n(r,e,t,o)};o&&(a._rollbarOldOnError=t),r.onerror=a}},captureUnhandledRejections:function(r,e,o){if(r){"function"==typeof r._rollbarURH&&r._rollbarURH.belongsToShim&&r.removeEventListener("unhandledrejection",r._rollbarURH);var n=function(r){var o,n,t;try{o=r.reason}catch(r){o=void 0}try{n=r.promise}catch(r){n="[unhandledrejection] error getting `promise` from event"}try{t=r.detail,!o&&t&&(o=t.reason,n=t.promise)}catch(r){}o||(o="[unhandledrejection] error getting `reason` from event"),e&&e.handleUnhandledRejection&&e.handleUnhandledRejection(o,n)};n.belongsToShim=o,r._rollbarURH=n,r.addEventListener("unhandledrejection",n)}}}},function(r,e,o){"use strict";function n(r,e,o){if(e.hasOwnProperty&&e.hasOwnProperty("addEventListener")){for(var n=e.addEventListener;n._rollbarOldAdd&&n.belongsToShim;)n=n._rollbarOldAdd;var t=function(e,o,t){n.call(this,e,r.wrap(o),t)};t._rollbarOldAdd=n,t.belongsToShim=o,e.addEventListener=t;for(var a=e.removeEventListener;a._rollbarOldRemove&&a.belongsToShim;)a=a._rollbarOldRemove;var l=function(r,e,o){a.call(this,r,e&&e._rollbar_wrapped||e,o)};l._rollbarOldRemove=a,l.belongsToShim=o,e.removeEventListener=l}}r.exports=function(r,e,o){if(r){var t,a,l="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(t=0;t<l.length;++t)r[a=l[t]]&&r[a].prototype&&n(e,r[a].prototype,o)}}},function(r,e,o){"use strict";function n(r,e){this.impl=r(e,this),this.options=e,function(r){for(var e=function(r){return function(){var e=Array.prototype.slice.call(arguments,0);if(this.impl[r])return this.impl[r].apply(this.impl,e)}},o="log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleAnonymousErrors,handleUnhandledRejection,_createItem,wrap,loadFull,shimId,captureEvent,captureDomContentLoaded,captureLoad".split(","),n=0;n<o.length;n++)r[o[n]]=e(o[n])}(n.prototype)}n.prototype._swapAndProcessMessages=function(r,e){var o,n,t;for(this.impl=r(this.options);o=e.shift();)n=o.method,t=o.args,this[n]&&"function"==typeof this[n]&&("captureDomContentLoaded"===n||"captureLoad"===n?this[n].apply(this,[t[0],o.ts]):this[n].apply(this,t));return this},r.exports=n},function(r,e,o){"use strict";r.exports=function(r){return function(e){if(!e&&!window._rollbarInitialized){for(var o,n,t=(r=r||{}).globalAlias||"Rollbar",a=window.rollbar,l=function(r){return new a(r)},i=0;o=window._rollbarShims[i++];)n||(n=o.handler),o.handler._swapAndProcessMessages(l,o.messages);window[t]=n,window._rollbarInitialized=!0}}}}]);
1
+ !function(r){var e={};function o(n){if(e[n])return e[n].exports;var t=e[n]={i:n,l:!1,exports:{}};return r[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=r,o.c=e,o.d=function(r,e,n){o.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},o.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,e){if(1&e&&(r=o(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var t in r)o.d(n,t,function(e){return r[e]}.bind(null,t));return n},o.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(e,"a",e),e},o.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},o.p="",o(o.s=0)}([function(r,e,o){"use strict";var n=o(1),t=o(5);_rollbarConfig=_rollbarConfig||{},_rollbarConfig.rollbarJsUrl=_rollbarConfig.rollbarJsUrl||"https://cdn.rollbar.com/rollbarjs/refs/tags/v2.22.0/rollbar.min.js",_rollbarConfig.async=void 0===_rollbarConfig.async||_rollbarConfig.async;var a=n.setupShim(window,_rollbarConfig),l=t(_rollbarConfig);window.rollbar=n.Rollbar,a.loadFull(window,document,!_rollbarConfig.async,_rollbarConfig,l)},function(r,e,o){"use strict";var n=o(2),t=o(3);function a(r){return function(){try{return r.apply(this,arguments)}catch(r){try{console.error("[Rollbar]: Internal error",r)}catch(r){}}}}var l=0;function i(r,e){this.options=r,this._rollbarOldOnError=null;var o=l++;this.shimId=function(){return o},"undefined"!=typeof window&&window._rollbarShims&&(window._rollbarShims[o]={handler:e,messages:[]})}var s=o(4),d=function(r,e){return new i(r,e)},c=function(r){return new s(d,r)};function u(r){return a((function(){var e=this,o=Array.prototype.slice.call(arguments,0),n={shim:e,method:r,args:o,ts:new Date};window._rollbarShims[this.shimId()].messages.push(n)}))}i.prototype.loadFull=function(r,e,o,n,t){var l=!1,i=e.createElement("script"),s=e.getElementsByTagName("script")[0],d=s.parentNode;i.crossOrigin="",i.src=n.rollbarJsUrl,o||(i.async=!0),i.onload=i.onreadystatechange=a((function(){if(!(l||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState)){i.onload=i.onreadystatechange=null;try{d.removeChild(i)}catch(r){}l=!0,function(){var e;if(void 0===r._rollbarDidLoad){e=new Error("rollbar.js did not load");for(var o,n,a,l,i=0;o=r._rollbarShims[i++];)for(o=o.messages||[];n=o.shift();)for(a=n.args||[],i=0;i<a.length;++i)if("function"==typeof(l=a[i])){l(e);break}}"function"==typeof t&&t(e)}()}})),d.insertBefore(i,s)},i.prototype.wrap=function(r,e,o){try{var n;if(n="function"==typeof e?e:function(){return e||{}},"function"!=typeof r)return r;if(r._isWrap)return r;if(!r._rollbar_wrapped&&(r._rollbar_wrapped=function(){o&&"function"==typeof o&&o.apply(this,arguments);try{return r.apply(this,arguments)}catch(o){var e=o;throw e&&("string"==typeof e&&(e=new String(e)),e._rollbarContext=n()||{},e._rollbarContext._wrappedSource=r.toString(),window._rollbarWrappedError=e),e}},r._rollbar_wrapped._isWrap=!0,r.hasOwnProperty))for(var t in r)r.hasOwnProperty(t)&&(r._rollbar_wrapped[t]=r[t]);return r._rollbar_wrapped}catch(e){return r}};for(var p="log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleAnonymousErrors,handleUnhandledRejection,captureEvent,captureDomContentLoaded,captureLoad".split(","),f=0;f<p.length;++f)i.prototype[p[f]]=u(p[f]);r.exports={setupShim:function(r,e){if(r){var o=e.globalAlias||"Rollbar";if("object"==typeof r[o])return r[o];r._rollbarShims={},r._rollbarWrappedError=null;var l=new c(e);return a((function(){e.captureUncaught&&(l._rollbarOldOnError=r.onerror,n.captureUncaughtExceptions(r,l,!0),e.wrapGlobalEventHandlers&&t(r,l,!0)),e.captureUnhandledRejections&&n.captureUnhandledRejections(r,l,!0);var a=e.autoInstrument;return!1!==e.enabled&&(void 0===a||!0===a||"object"==typeof a&&a.network)&&r.addEventListener&&(r.addEventListener("load",l.captureLoad.bind(l)),r.addEventListener("DOMContentLoaded",l.captureDomContentLoaded.bind(l))),r[o]=l,l}))()}},Rollbar:c}},function(r,e,o){"use strict";function n(r,e,o,n){r._rollbarWrappedError&&(n[4]||(n[4]=r._rollbarWrappedError),n[5]||(n[5]=r._rollbarWrappedError._rollbarContext),r._rollbarWrappedError=null);var t=e.handleUncaughtException.apply(e,n);o&&o.apply(r,n),"anonymous"===t&&(e.anonymousErrorsPending+=1)}r.exports={captureUncaughtExceptions:function(r,e,o){if(r){var t;if("function"==typeof e._rollbarOldOnError)t=e._rollbarOldOnError;else if(r.onerror){for(t=r.onerror;t._rollbarOldOnError;)t=t._rollbarOldOnError;e._rollbarOldOnError=t}e.handleAnonymousErrors();var a=function(){var o=Array.prototype.slice.call(arguments,0);n(r,e,t,o)};o&&(a._rollbarOldOnError=t),r.onerror=a}},captureUnhandledRejections:function(r,e,o){if(r){"function"==typeof r._rollbarURH&&r._rollbarURH.belongsToShim&&r.removeEventListener("unhandledrejection",r._rollbarURH);var n=function(r){var o,n,t;try{o=r.reason}catch(r){o=void 0}try{n=r.promise}catch(r){n="[unhandledrejection] error getting `promise` from event"}try{t=r.detail,!o&&t&&(o=t.reason,n=t.promise)}catch(r){}o||(o="[unhandledrejection] error getting `reason` from event"),e&&e.handleUnhandledRejection&&e.handleUnhandledRejection(o,n)};n.belongsToShim=o,r._rollbarURH=n,r.addEventListener("unhandledrejection",n)}}}},function(r,e,o){"use strict";function n(r,e,o){if(e.hasOwnProperty&&e.hasOwnProperty("addEventListener")){for(var n=e.addEventListener;n._rollbarOldAdd&&n.belongsToShim;)n=n._rollbarOldAdd;var t=function(e,o,t){n.call(this,e,r.wrap(o),t)};t._rollbarOldAdd=n,t.belongsToShim=o,e.addEventListener=t;for(var a=e.removeEventListener;a._rollbarOldRemove&&a.belongsToShim;)a=a._rollbarOldRemove;var l=function(r,e,o){a.call(this,r,e&&e._rollbar_wrapped||e,o)};l._rollbarOldRemove=a,l.belongsToShim=o,e.removeEventListener=l}}r.exports=function(r,e,o){if(r){var t,a,l="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(t=0;t<l.length;++t)r[a=l[t]]&&r[a].prototype&&n(e,r[a].prototype,o)}}},function(r,e,o){"use strict";function n(r,e){this.impl=r(e,this),this.options=e,function(r){for(var e=function(r){return function(){var e=Array.prototype.slice.call(arguments,0);if(this.impl[r])return this.impl[r].apply(this.impl,e)}},o="log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleAnonymousErrors,handleUnhandledRejection,_createItem,wrap,loadFull,shimId,captureEvent,captureDomContentLoaded,captureLoad".split(","),n=0;n<o.length;n++)r[o[n]]=e(o[n])}(n.prototype)}n.prototype._swapAndProcessMessages=function(r,e){var o,n,t;for(this.impl=r(this.options);o=e.shift();)n=o.method,t=o.args,this[n]&&"function"==typeof this[n]&&("captureDomContentLoaded"===n||"captureLoad"===n?this[n].apply(this,[t[0],o.ts]):this[n].apply(this,t));return this},r.exports=n},function(r,e,o){"use strict";r.exports=function(r){return function(e){if(!e&&!window._rollbarInitialized){for(var o,n,t=(r=r||{}).globalAlias||"Rollbar",a=window.rollbar,l=function(r){return new a(r)},i=0;o=window._rollbarShims[i++];)n||(n=o.handler),o.handler._swapAndProcessMessages(l,o.messages);window[t]=n,window._rollbarInitialized=!0}}}}]);
@@ -2,18 +2,16 @@ require 'rubygems/version'
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
6
-
7
- gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
8
- gem 'jruby-openssl', :platform => :jruby
9
5
  gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
10
- gem 'rails', '3.0.20'
11
6
  gem 'hitimes', '< 1.2.2'
7
+ gem 'jruby-openssl', :platform => :jruby
12
8
  gem 'mixlib-shellout', '<= 2.0.0'
13
9
  gem 'net-ssh', '<= 3.1.1'
14
10
  gem 'public_suffix', '<= 2.0.5'
11
+ gem 'rails', '~> 3.0.20'
15
12
  gem 'rake', '< 11'
16
13
  gem 'rspec-rails', '>= 2.14.0'
14
+ gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
17
15
 
18
16
  if RUBY_VERSION < '2.2.2'
19
17
  gem 'sidekiq', '~> 2.13.0'
@@ -30,23 +28,23 @@ platforms :rbx do
30
28
  end
31
29
 
32
30
  gem 'capistrano', :require => false
33
- gem 'sucker_punch', '~> 2.0'
31
+ gem 'rexml', '<= 3.2.4'
34
32
  gem 'shoryuken'
35
- gem 'codacy-coverage'
36
33
  gem 'simplecov', '<= 0.17.1'
34
+ gem 'sucker_punch', '~> 2.0'
37
35
 
38
- gem 'sinatra'
39
- gem 'delayed_job', :require => false
40
- gem 'redis', '<= 3.3.5'
41
- gem 'redis-namespace', '<= 1.5.0'
42
36
  gem 'database_cleaner', '~> 1.0.0'
37
+ gem 'delayed_job', :require => false
43
38
  gem 'genspec', '>= 0.2.8'
44
39
  gem 'girl_friday', '>= 0.11.1'
40
+ gem 'redis', '<= 3.3.5'
41
+ gem 'redis-namespace', '<= 1.5.0'
45
42
  gem 'rspec-command'
43
+ gem 'sinatra'
46
44
 
47
45
  gem 'webmock', :require => false
48
46
 
49
- gem 'resque', '< 2.0.0'
50
47
  gem 'aws-sdk-sqs'
48
+ gem 'resque', '< 2.0.0'
51
49
 
52
50
  gemspec :path => '../'
@@ -2,17 +2,15 @@ require 'rubygems/version'
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
6
-
7
- gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
8
- gem 'jruby-openssl', :platform => :jruby
9
5
  gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
6
+ gem 'jruby-openssl', :platform => :jruby
10
7
  gem 'mixlib-shellout', '<= 2.0.0'
11
8
  gem 'net-ssh', '<= 3.1.1'
12
9
  gem 'public_suffix', '<= 2.0.5'
13
- gem 'rails', '3.1.12'
14
- gem 'rspec-rails', '~> 3.4'
10
+ gem 'rails', '~> 3.1.12'
15
11
  gem 'rake', '< 11'
12
+ gem 'rspec-rails', '~> 3.4'
13
+ gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
16
14
 
17
15
  if RUBY_VERSION < '2.2.2'
18
16
  gem 'sidekiq', '~> 2.13.0'
@@ -29,24 +27,24 @@ platforms :rbx do
29
27
  end
30
28
 
31
29
  gem 'capistrano', :require => false
32
- gem 'sucker_punch'
30
+ gem 'rexml', '<= 3.2.4'
33
31
  gem 'shoryuken'
34
- gem 'codacy-coverage'
35
32
  gem 'simplecov', '<= 0.17.1'
33
+ gem 'sucker_punch'
36
34
 
37
- gem 'sinatra'
35
+ gem 'database_cleaner'
38
36
  gem 'delayed_job', :require => false
37
+ gem 'generator_spec'
38
+ gem 'girl_friday'
39
39
  gem 'rack-cache', '<= 1.9.0'
40
40
  gem 'redis', '<= 3.3.5'
41
41
  gem 'redis-namespace', '<= 1.5.0'
42
- gem 'database_cleaner'
43
- gem 'girl_friday'
44
- gem 'generator_spec'
45
42
  gem 'rspec-command'
43
+ gem 'sinatra'
46
44
 
47
45
  gem 'webmock', :require => false
48
46
 
49
- gem 'resque', '< 2.0.0'
50
47
  gem 'aws-sdk-sqs'
48
+ gem 'resque', '< 2.0.0'
51
49
 
52
50
  gemspec :path => '../'
@@ -2,14 +2,12 @@ require 'rubygems/version'
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
6
-
7
5
  gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
8
6
  gem 'jruby-openssl', :platform => :jruby
9
7
  gem 'mixlib-shellout', '<= 2.0.0'
10
8
  gem 'net-ssh', '<= 3.1.1'
11
9
  gem 'public_suffix', '<= 2.0.5'
12
- gem 'rails', '3.2.22'
10
+ gem 'rails', '~> 3.2.22'
13
11
  gem 'rake'
14
12
  gem 'rspec-rails', '~> 3.4'
15
13
  gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
@@ -31,10 +29,10 @@ platforms :rbx do
31
29
  end
32
30
 
33
31
  gem 'capistrano', :require => false
34
- gem 'sucker_punch', '~> 2.0'
32
+ gem 'rexml', '<= 3.2.4'
35
33
  gem 'shoryuken'
36
- gem 'codacy-coverage'
37
34
  gem 'simplecov', '<= 0.17.1'
35
+ gem 'sucker_punch', '~> 2.0'
38
36
 
39
37
  gem 'delayed_job', :require => false
40
38
  gem 'redis', '<= 3.3.5'
@@ -48,7 +46,7 @@ gem 'rspec-command'
48
46
 
49
47
  gem 'webmock', :require => false
50
48
 
51
- gem 'resque', '< 2.0.0'
52
49
  gem 'aws-sdk-sqs'
50
+ gem 'resque', '< 2.0.0'
53
51
 
54
52
  gemspec :path => '../'
@@ -2,14 +2,12 @@ require 'rubygems/version'
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
6
-
7
5
  gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
8
6
  gem 'jruby-openssl', :platform => :jruby
9
7
  gem 'mixlib-shellout', '<= 2.0.0'
10
8
  gem 'net-ssh', '<= 3.1.1'
11
9
  gem 'public_suffix', '<= 2.0.5'
12
- gem 'rails', '4.0.13'
10
+ gem 'rails', '~> 4.0.13'
13
11
  gem 'rake'
14
12
  gem 'rspec-rails', '~> 3.4'
15
13
  gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
@@ -31,11 +29,10 @@ platforms :rbx do
31
29
  end
32
30
 
33
31
  gem 'capistrano', :require => false
34
- gem 'sucker_punch', '~> 2.0'
35
32
  gem 'json', '~> 2.0'
36
33
  gem 'shoryuken'
37
- gem 'codacy-coverage'
38
34
  gem 'simplecov', '<= 0.17.1'
35
+ gem 'sucker_punch', '~> 2.0'
39
36
 
40
37
  gem 'delayed_job', :require => false
41
38
  gem 'redis', '<= 3.3.5'
@@ -2,14 +2,12 @@ require 'rubygems/version'
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
6
-
7
5
  gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
8
6
  gem 'jruby-openssl', :platform => :jruby
9
7
  gem 'mixlib-shellout', '<= 2.0.0'
10
8
  gem 'net-ssh', '<= 3.1.1'
11
9
  gem 'public_suffix', '<= 2.0.5'
12
- gem 'rails', '4.1.12'
10
+ gem 'rails', '~> 4.1.16'
13
11
  gem 'rake'
14
12
  gem 'rspec-rails', '~> 3.4'
15
13
  gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
@@ -28,10 +26,9 @@ platforms :rbx do
28
26
  end
29
27
 
30
28
  gem 'capistrano', :require => false
31
- gem 'sucker_punch', '~> 2.0'
32
29
  gem 'shoryuken'
33
- gem 'codacy-coverage'
34
30
  gem 'simplecov', '<= 0.17.1'
31
+ gem 'sucker_punch', '~> 2.0'
35
32
 
36
33
  gem 'delayed_job', :require => false
37
34
  gem 'redis', '<= 3.3.5'
@@ -46,7 +43,6 @@ gem 'rspec-command'
46
43
 
47
44
  gem 'webmock', :require => false
48
45
 
49
- gem 'resque'
50
46
  gem 'aws-sdk-sqs'
51
47
 
52
48
  gemspec :path => '../'