rollbar 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/THANKS.md +1 -0
- data/lib/rollbar/configuration.rb +7 -9
- data/lib/rollbar/version.rb +1 -1
- data/spec/rollbar_spec.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87940d1312d7031a35a8fffa52ce5c8a3a85028a
|
4
|
+
data.tar.gz: d8cdb363a959a1da8b1262e56ca30b93894dd117
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a73fb54fe0586c55901fb2164afdc144419a643fb7d8ba05d3f0ec63cb6ac522da1c62ac86d55e223a07d9b4c2f9d89900a8eb62068371544bb92e6a0c5eb621
|
7
|
+
data.tar.gz: a07997b90331f77dbd91c26d81004dcf66231879c433af9aba912a41f5dced783d53c3c3b1910d70e2d5271b909c7938d69be6b91c23417f5577fe3bd456bf56
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
**0.13.1**
|
4
|
+
- Silence warning when using project_gems= with regexp [#120](https://github.com/rollbar/rollbar-gem/pull/120)
|
5
|
+
|
3
6
|
**0.13.0**
|
4
7
|
- Hook for delayed_job no longer a plugin, will now only ever be initialized once
|
5
8
|
- New configuration option `delayed_job_enabled` that defaults to true
|
data/THANKS.md
CHANGED
@@ -14,6 +14,7 @@ Huge thanks to the following contributors (by github username). For the most up-
|
|
14
14
|
- [fab](https://github.com/fab)
|
15
15
|
- [firstbanco](https://github.com/firstbanco)
|
16
16
|
- [Florent2](https://github.com/Florent2)
|
17
|
+
- [grosser](https://github.com/grosser)
|
17
18
|
- [ixti](https://github.com/ixti)
|
18
19
|
- [jeremyvdw](https://github.com/jeremyvdw)
|
19
20
|
- [johnknott](https://github.com/johnknott)
|
@@ -103,15 +103,13 @@ module Rollbar
|
|
103
103
|
end
|
104
104
|
|
105
105
|
def project_gems=(gems)
|
106
|
-
@project_gem_paths =
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
}
|
114
|
-
}
|
106
|
+
@project_gem_paths = gems.map do |name|
|
107
|
+
found = Gem::Specification.each.select { |spec| name === spec.name }
|
108
|
+
if found.empty?
|
109
|
+
puts "[Rollbar] No gems found matching #{name.inspect}"
|
110
|
+
end
|
111
|
+
found
|
112
|
+
end.flatten.uniq.map(&:gem_dir)
|
115
113
|
end
|
116
114
|
|
117
115
|
# allow params to be read like a hash
|
data/lib/rollbar/version.rb
CHANGED
data/spec/rollbar_spec.rb
CHANGED
@@ -815,7 +815,7 @@ describe Rollbar do
|
|
815
815
|
end
|
816
816
|
|
817
817
|
it "should handle regex gem patterns" do
|
818
|
-
gems = ["rack", /rspec/]
|
818
|
+
gems = ["rack", /rspec/, /roll/]
|
819
819
|
gem_paths = []
|
820
820
|
|
821
821
|
Rollbar.configure do |config|
|
@@ -824,6 +824,9 @@ describe Rollbar do
|
|
824
824
|
|
825
825
|
gem_paths = gems.map{|gem| Gem::Specification.find_all_by_name(gem).map(&:gem_dir) }.flatten.compact.uniq
|
826
826
|
gem_paths.length.should > 1
|
827
|
+
|
828
|
+
gem_paths.any?{|path| path.include? 'rollbar-gem'}.should == true
|
829
|
+
gem_paths.any?{|path| path.include? 'rspec-rails'}.should == true
|
827
830
|
|
828
831
|
data = Rollbar.send(:message_data, 'test', 'info', {})
|
829
832
|
data[:project_package_paths].kind_of?(Array).should == true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rollbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Rue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|