mjit 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -1
- data/mjit.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73d6bf05e031ee123e6687a86d3a20e46e8b7655c5903f4fc6f3ac65814c3fbc
|
|
4
|
+
data.tar.gz: c73d0063d08a143bc74a4a032b7da3bded5f711746515b09668bc39090b231b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 16019040e0a378ff57868b9a6bc219fc8cfd33994dc544bd58970644402a14b0a4843ee8c8353db80b862b0897d56c1a2767cc0b47ad8de89cbe5422fc1e8811
|
|
7
|
+
data.tar.gz: 86e643b72fdabdc2dab1d0304c0a20d51d5536e81704805c2ffea0b8837c5b203953fbc45eeb794c63be3cd444e78a62b218674f9697b3945fdef5b262ec7b10
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# MJIT
|
|
1
|
+
# mjit.gem - RubyVM::MJIT.disable
|
|
2
2
|
|
|
3
3
|
This is unofficial. Own your risk!
|
|
4
4
|
|
|
@@ -22,7 +22,11 @@ Or install it yourself as:
|
|
|
22
22
|
|
|
23
23
|
When you use this gem, you must start Ruby with --jit. Otherwise it segfaults.
|
|
24
24
|
|
|
25
|
+
This gem adds following interfaces.
|
|
26
|
+
|
|
25
27
|
```rb
|
|
28
|
+
require 'mjit'
|
|
29
|
+
|
|
26
30
|
# This stops MJIT's internal profiler. Actually this doesn't stop MJIT compilation.
|
|
27
31
|
RubyVM::MJIT.disable
|
|
28
32
|
|
data/mjit.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |spec|
|
|
5
5
|
spec.name = 'mjit'
|
|
6
|
-
spec.version = '0.
|
|
6
|
+
spec.version = '0.2.0'
|
|
7
7
|
spec.authors = ['Takashi Kokubun']
|
|
8
8
|
spec.email = ['takashikkbn@gmail.com']
|
|
9
9
|
|
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
|
18
18
|
spec.bindir = 'exe'
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
20
20
|
spec.require_paths = ['lib']
|
|
21
|
-
spec.required_ruby_version = '> 2.5
|
|
21
|
+
spec.required_ruby_version = '> 2.5'
|
|
22
22
|
|
|
23
23
|
spec.add_development_dependency 'bundler'
|
|
24
24
|
spec.add_development_dependency 'pry'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mjit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takashi Kokubun
|
|
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
97
97
|
requirements:
|
|
98
98
|
- - ">"
|
|
99
99
|
- !ruby/object:Gem::Version
|
|
100
|
-
version: 2.5
|
|
100
|
+
version: '2.5'
|
|
101
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
requirements:
|
|
103
103
|
- - ">="
|