fastlib 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. data/README.markdown +3 -1
  2. data/lib/fastlib.rb +4 -4
  3. metadata +3 -3
data/README.markdown CHANGED
@@ -7,7 +7,9 @@ This is similar to capabilities like zip/ziprequire, except that it provides wor
7
7
  # Usage
8
8
 
9
9
  $ apt-get install fastlib
10
- $ `gem env gemdir`/fastlib-0.0.1/lib/fastlib.rb dump lib/myarchive.fastlib lib/ lib/*
10
+
11
+ $ \`gem env gemdir\`/gems/fastlib-*/lib/fastlib.rb dump lib/myarchive.fastlib lib/ lib/*
12
+
11
13
  $ ruby -r rubygems -r fastlib -I lib/myarchive.fastlib application.rb
12
14
 
13
15
 
data/lib/fastlib.rb CHANGED
@@ -229,10 +229,10 @@ class FastLib
229
229
  ( @@cache[lib] || {} ).keys.map{|x| x.to_s }.sort
230
230
  end
231
231
 
232
- # This method is called on the loaded
233
-
234
- is required to expand __FILE__ and other inline
235
- # dynamic constants to map to the correct location
232
+ #
233
+ # This method is called on the loaded is required to expand __FILE__
234
+ # and other inline dynamic constants to map to the correct location.
235
+ #
236
236
  def self.post_process(lib, name, data)
237
237
  data.gsub('__FILE__', "'#{ ::File.expand_path(::File.join(::File.dirname(lib), name)) }'")
238
238
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlib
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - HD Moore