appsignal 1.0.5.beta.3 → 1.0.5.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/ext/extconf.rb +9 -2
- data/lib/appsignal/version.rb +1 -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: e3909b435c213f05b56ebf19ab271f3950b56933
|
4
|
+
data.tar.gz: 6d35f9aa371394bfe50f6b45d534f63a504684ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c96e6efc5e0a1492db16ccfb4da3af5b41942cdf5a849bc81ce4b46b01552fac592ddebba6bc7986e4df4014330db40e677a0789a0a5980f43817d4dbc4f6b63
|
7
|
+
data.tar.gz: e75cc1ec2fd6954482f0a9b333874b7b748770830284643743f41d5da32ee9701d33c08ca1710b86964ac29782002167c8a4231f32d9940817e9dd57d1c0ff2d
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
* Improved mongoid/mongodb sanitization
|
4
4
|
* Minor performance improvements
|
5
5
|
* Better handling for non-utf8 convertable strings
|
6
|
+
* Make gem installable (but not functional) on jRuby
|
6
7
|
|
7
8
|
# 1.0.4
|
8
9
|
* Make working dir configurable using `APPSIGNAL_WORKING_DIR_PATH` or `:working_dir_path`
|
data/ext/extconf.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'digest'
|
2
2
|
require 'logger'
|
3
|
-
require 'mkmf'
|
4
3
|
require 'fileutils'
|
5
4
|
require 'open-uri'
|
6
5
|
require 'zlib'
|
@@ -30,6 +29,13 @@ end
|
|
30
29
|
def install
|
31
30
|
logger.info "Installing appsignal agent #{Appsignal::VERSION} for Ruby #{RUBY_VERSION} on #{RUBY_PLATFORM}"
|
32
31
|
|
32
|
+
if RUBY_PLATFORM =~ /java/
|
33
|
+
installation_failed(
|
34
|
+
"We do not support jRuby at the moment, email support@appsignal.com if you want to join the beta"
|
35
|
+
)
|
36
|
+
return
|
37
|
+
end
|
38
|
+
|
33
39
|
unless AGENT_CONFIG['triples'].keys.include?(ARCH)
|
34
40
|
installation_failed(
|
35
41
|
"AppSignal currently does not support your system architecture (#{ARCH})." \
|
@@ -70,13 +76,14 @@ def install
|
|
70
76
|
end
|
71
77
|
|
72
78
|
logger.info "Creating makefile"
|
79
|
+
require 'mkmf'
|
73
80
|
if find_library('appsignal', 'appsignal_start', EXT_PATH) &&
|
74
81
|
find_executable('appsignal-agent', EXT_PATH) &&
|
75
82
|
find_header('appsignal_extension.h', EXT_PATH)
|
76
83
|
create_makefile 'appsignal_extension'
|
77
84
|
logger.info 'Successfully installed appsignal extension'
|
78
85
|
else
|
79
|
-
installation_failed "Aborting installation, extension files were not present"
|
86
|
+
installation_failed "Aborting installation, extension files were not present or could not be loaded"
|
80
87
|
end
|
81
88
|
rescue => ex
|
82
89
|
installation_failed "Exception while installing: #{ex}"
|
data/lib/appsignal/version.rb
CHANGED
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: 1.0.5.beta.
|
4
|
+
version: 1.0.5.beta.4
|
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: 2016-03-
|
12
|
+
date: 2016-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|