faster_rubygems 0.5.4 → 0.5.5
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.
- data/VERSION +1 -1
- data/lib/faster_rubygems.rb +1 -1
- data/spec/{spec.faster_rubygems_cacheing.rb → spec.faster_rubygems.rb} +6 -1
- metadata +5 -7
- data/spec/common.rb +0 -0
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.5
|
data/lib/faster_rubygems.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# :stopdoc:
|
2
2
|
|
3
3
|
if RUBY_VERSION < '1.9.0'
|
4
|
-
raise 'rubygems was already loaded?' if defined?(Gem) && !defined(Gem::FasterRubygems)
|
4
|
+
raise 'rubygems was already loaded?' if defined?(Gem) && !defined?(Gem::FasterRubygems)
|
5
5
|
|
6
6
|
# define it so gem_prelude will execute...
|
7
7
|
module Gem;
|
@@ -27,5 +27,10 @@ describe Gem do
|
|
27
27
|
context "gem xxx" do
|
28
28
|
it "should allow you to load 'older' gem versions somehow, like maybe cacheing" # lower prio
|
29
29
|
end
|
30
|
+
|
31
|
+
it "in 1.9 if you pass it --disable-gems, it should load its full gem_prelude right there...I guess...though that's not going to fix any bottlenecks though..."
|
30
32
|
|
31
|
-
|
33
|
+
it "should make a directory cacheing list (yes!) in the root of each gem and load that, and use that to activate. Oh baby. Maybe, though that might fall
|
34
|
+
more under the faster_require aspect of it...hmm...maybe it's fast enough for now, except rails, which needs faster_require no matter what anyway..."
|
35
|
+
|
36
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faster_rubygems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 5
|
10
|
+
version: 0.5.5
|
11
11
|
platform: ruby
|
12
12
|
authors: []
|
13
13
|
|
@@ -104,11 +104,10 @@ files:
|
|
104
104
|
- lib/my_defaults.rb
|
105
105
|
- lib/my_gem_prelude.rb
|
106
106
|
- lib/prelude_bin_path.rb
|
107
|
-
- spec/common.rb
|
108
107
|
- spec/files/test_gem.rb
|
109
108
|
- spec/files/test_gem_const.rb
|
110
109
|
- spec/files/test_gem_func.rb
|
111
|
-
- spec/spec.
|
110
|
+
- spec/spec.faster_rubygems.rb
|
112
111
|
has_rdoc: true
|
113
112
|
homepage:
|
114
113
|
licenses: []
|
@@ -154,10 +153,9 @@ signing_key:
|
|
154
153
|
specification_version: 3
|
155
154
|
summary: faster gem loading
|
156
155
|
test_files:
|
157
|
-
- spec/common.rb
|
158
156
|
- spec/files/test_gem.rb
|
159
157
|
- spec/files/test_gem_const.rb
|
160
158
|
- spec/files/test_gem_func.rb
|
161
|
-
- spec/spec.
|
159
|
+
- spec/spec.faster_rubygems.rb
|
162
160
|
- examples/require_fast_start.rb
|
163
161
|
- examples/require_rubygems_normal.rb
|
data/spec/common.rb
DELETED
File without changes
|