iseq_rails_tools 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97b8bdf55e622b23d60019974118c37a08bb7d35
|
4
|
+
data.tar.gz: dddabdd08d26b1901794ea97b49788c2d5d7ba77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12b142a61ff8e4b9a281296efbbdff2fa350fe9552ac1cd9c07c169d22ff98e0fd311f6f1bc091a766014b01c9f51a573b9525d522d8b4c565b0a761f9faa7dc
|
7
|
+
data.tar.gz: 0dc309265d5ad8def4138313a1e23fa2bf6f6c4b32d46fa60ed33d8baa374bec6b36d0024eabfd8ccf8a229543049461b8a8001050d8b07231745b41b1a647bc
|
@@ -1,2 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
begin
|
2
|
+
require 'mkmf'
|
3
|
+
create_makefile 'iseq_rails_tools/iseq_rails_tools'
|
4
|
+
rescue StandardError => error
|
5
|
+
File.open('Makefile', 'wb') do |file|
|
6
|
+
file.puts '.PHONY: install'
|
7
|
+
file.puts 'install:'
|
8
|
+
file.puts "\t" + '@echo "[iseq_rails_tools] not installed, falling back to pure Ruby version."'
|
9
|
+
end
|
10
|
+
end
|
data/lib/iseq_rails_tools.rb
CHANGED
@@ -5,7 +5,14 @@ end
|
|
5
5
|
# like simplecov will continue to function as expected. Also people do weird
|
6
6
|
# stuff in test mode, so who knows.
|
7
7
|
if !Rails.env.test? || IseqRailsTools.respond_to?(:internal?)
|
8
|
-
|
8
|
+
begin
|
9
|
+
# Extension target
|
10
|
+
require 'iseq_rails_tools/iseq_rails_tools'
|
11
|
+
rescue LoadError
|
12
|
+
# Pure ruby fallback, in case installation failed
|
13
|
+
require 'iseq_rails_tools/extension_fallback'
|
14
|
+
end
|
15
|
+
|
9
16
|
require 'iseq_rails_tools/railtie'
|
10
17
|
require 'iseq_rails_tools/source_file'
|
11
18
|
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iseq_rails_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Deisz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0
|
33
|
+
version: '1.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0
|
40
|
+
version: '1.0'
|
41
41
|
description: |2
|
42
42
|
Allows you to take advantage of ruby's AOT bytecode generation
|
43
43
|
within a Rails project.
|
@@ -55,6 +55,7 @@ files:
|
|
55
55
|
- ext/iseq_rails_tools/iseq_rails_tools.c
|
56
56
|
- ext/iseq_rails_tools/iseq_rails_tools.h
|
57
57
|
- lib/iseq_rails_tools.rb
|
58
|
+
- lib/iseq_rails_tools/extension_fallback.rb
|
58
59
|
- lib/iseq_rails_tools/iseq_rails_tools.bundle
|
59
60
|
- lib/iseq_rails_tools/railtie.rb
|
60
61
|
- lib/iseq_rails_tools/source_file.rb
|