rubygems-compile 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -1
- data/lib/rubygems_plugin.rb +2 -0
- metadata +2 -18
data/README.markdown
CHANGED
@@ -16,7 +16,7 @@ Caveats
|
|
16
16
|
|
17
17
|
* Large gems will take a long time to compile
|
18
18
|
* This has only been tested on a few gems
|
19
|
-
* Some gems specifically require a file with the extension defeating
|
19
|
+
* Some gems specifically require a file with the extension, defeating
|
20
20
|
the purpose of having a compiled version of the file
|
21
21
|
|
22
22
|
TODO
|
data/lib/rubygems_plugin.rb
CHANGED
@@ -2,7 +2,9 @@ Gem.post_install do |gem|
|
|
2
2
|
|
3
3
|
spec = gem.spec
|
4
4
|
dir = gem.gem_home + '/gems/' + spec.name + '-' + spec.version.version
|
5
|
+
|
5
6
|
files = spec.files - spec.test_files - spec.extra_rdoc_files
|
7
|
+
files = files.reject { |file| file.match /^(?:test|spec)/ }
|
6
8
|
|
7
9
|
files.each do |file|
|
8
10
|
next unless file.match /\.rb$/
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: rubygems-compile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mark Rada
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-02-
|
12
|
+
date: 2011-02-17 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -28,22 +28,6 @@ dependencies:
|
|
28
28
|
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: 0.8.7
|
31
|
-
- !ruby/object:Gem::Dependency
|
32
|
-
name: minitest
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
|
-
requirements:
|
36
|
-
- - ~>
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: 2.0.2
|
39
|
-
type: :development
|
40
|
-
prerelease: false
|
41
|
-
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
|
-
requirements:
|
44
|
-
- - ~>
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 2.0.2
|
47
31
|
- !ruby/object:Gem::Dependency
|
48
32
|
name: yard
|
49
33
|
requirement: !ruby/object:Gem::Requirement
|