bootsnap 1.4.5 → 1.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/README.md +1 -1
- data/ext/bootsnap/bootsnap.c +91 -64
- data/ext/bootsnap/extconf.rb +1 -0
- data/lib/bootsnap.rb +2 -0
- data/lib/bootsnap/bundler.rb +1 -0
- data/lib/bootsnap/compile_cache.rb +3 -2
- data/lib/bootsnap/compile_cache/iseq.rb +6 -4
- data/lib/bootsnap/compile_cache/yaml.rb +67 -38
- data/lib/bootsnap/explicit_require.rb +1 -0
- data/lib/bootsnap/load_path_cache.rb +1 -1
- data/lib/bootsnap/load_path_cache/cache.rb +8 -8
- data/lib/bootsnap/load_path_cache/change_observer.rb +2 -1
- data/lib/bootsnap/load_path_cache/core_ext/active_support.rb +1 -0
- data/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb +18 -5
- data/lib/bootsnap/load_path_cache/core_ext/loaded_features.rb +1 -0
- data/lib/bootsnap/load_path_cache/loaded_features_index.rb +33 -10
- data/lib/bootsnap/load_path_cache/path.rb +3 -2
- data/lib/bootsnap/load_path_cache/path_scanner.rb +39 -26
- data/lib/bootsnap/load_path_cache/realpath_cache.rb +5 -5
- data/lib/bootsnap/load_path_cache/store.rb +6 -5
- data/lib/bootsnap/setup.rb +1 -0
- data/lib/bootsnap/version.rb +2 -1
- metadata +9 -26
- data/.github/CODEOWNERS +0 -2
- data/.github/probots.yml +0 -2
- data/.gitignore +0 -17
- data/.rubocop.yml +0 -20
- data/.travis.yml +0 -21
- data/CODE_OF_CONDUCT.md +0 -74
- data/CONTRIBUTING.md +0 -21
- data/Gemfile +0 -8
- data/README.jp.md +0 -231
- data/Rakefile +0 -12
- data/bin/ci +0 -10
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/bin/test-minimal-support +0 -7
- data/bin/testunit +0 -8
- data/bootsnap.gemspec +0 -45
- data/dev.yml +0 -10
- data/shipit.rubygems.yml +0 -0
data/Rakefile
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
require('rake/extensiontask')
|
2
|
-
require('bundler/gem_tasks')
|
3
|
-
|
4
|
-
gemspec = Gem::Specification.load('bootsnap.gemspec')
|
5
|
-
Rake::ExtensionTask.new do |ext|
|
6
|
-
ext.name = 'bootsnap'
|
7
|
-
ext.ext_dir = 'ext/bootsnap'
|
8
|
-
ext.lib_dir = 'lib/bootsnap'
|
9
|
-
ext.gem_spec = gemspec
|
10
|
-
end
|
11
|
-
|
12
|
-
task(default: :compile)
|
data/bin/ci
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require("bundler/setup")
|
4
|
-
require("bootsnap")
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require("irb")
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/bin/test-minimal-support
DELETED
data/bin/testunit
DELETED
data/bootsnap.gemspec
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require('bootsnap/version')
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "bootsnap"
|
8
|
-
spec.version = Bootsnap::VERSION
|
9
|
-
spec.authors = ["Burke Libbey"]
|
10
|
-
spec.email = ["burke.libbey@shopify.com"]
|
11
|
-
|
12
|
-
spec.license = "MIT"
|
13
|
-
|
14
|
-
spec.summary = "Boot large ruby/rails apps faster"
|
15
|
-
spec.description = spec.summary
|
16
|
-
spec.homepage = "https://github.com/Shopify/bootsnap"
|
17
|
-
|
18
|
-
spec.metadata = {
|
19
|
-
'bug_tracker_uri' => 'https://github.com/Shopify/bootsnap/issues',
|
20
|
-
'changelog_uri' => 'https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md',
|
21
|
-
'source_code_uri' => 'https://github.com/Shopify/bootsnap',
|
22
|
-
}
|
23
|
-
|
24
|
-
spec.files = %x(git ls-files -z).split("\x0").reject do |f|
|
25
|
-
f.match(%r{^(test|spec|features)/})
|
26
|
-
end
|
27
|
-
spec.require_paths = %w(lib)
|
28
|
-
|
29
|
-
spec.required_ruby_version = '>= 2.0.0'
|
30
|
-
|
31
|
-
if RUBY_PLATFORM =~ /java/
|
32
|
-
spec.platform = 'java'
|
33
|
-
else
|
34
|
-
spec.platform = Gem::Platform::RUBY
|
35
|
-
spec.extensions = ['ext/bootsnap/extconf.rb']
|
36
|
-
end
|
37
|
-
|
38
|
-
spec.add_development_dependency("bundler")
|
39
|
-
spec.add_development_dependency('rake', '~> 10.0')
|
40
|
-
spec.add_development_dependency('rake-compiler', '~> 0')
|
41
|
-
spec.add_development_dependency("minitest", "~> 5.0")
|
42
|
-
spec.add_development_dependency("mocha", "~> 1.2")
|
43
|
-
|
44
|
-
spec.add_runtime_dependency("msgpack", "~> 1.0")
|
45
|
-
end
|
data/dev.yml
DELETED
data/shipit.rubygems.yml
DELETED
File without changes
|