rubygems-compile 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +29 -0
- metadata +6 -42
- data/.yardopts +0 -8
- data/README.markdown +0 -46
- data/test/helper.rb +0 -19
data/README.rdoc
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
= rubygems-compile
|
2
|
+
|
3
|
+
A post-install hook for `macgem` to automatically compile rubygems
|
4
|
+
when you install them.
|
5
|
+
|
6
|
+
All you need to do is:
|
7
|
+
|
8
|
+
gem install rubygems-compile
|
9
|
+
|
10
|
+
And then you're off to the races! When you install gems you should get
|
11
|
+
a bunch of output about files being compiled.
|
12
|
+
|
13
|
+
== Caveats
|
14
|
+
|
15
|
+
* Large gems will take a long time to compile
|
16
|
+
* This has only been tested on a few gems
|
17
|
+
* Some gems specifically require a file with the extension, defeating the purpose of having a compiled version of the file
|
18
|
+
|
19
|
+
== TODO
|
20
|
+
|
21
|
+
* make the compilation an install option
|
22
|
+
* add an option to replace the original file with the compiled version
|
23
|
+
* I can't remove the original and leave *.rbo files because of how rubygems identifies gems unless I modify gemspec files
|
24
|
+
|
25
|
+
== Copyright
|
26
|
+
|
27
|
+
Copyright (c) 2011 Mark Rada. See LICENSE.txt for
|
28
|
+
further details.
|
29
|
+
|
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.2
|
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-18 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -28,38 +28,6 @@ dependencies:
|
|
28
28
|
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: 0.8.7
|
31
|
-
- !ruby/object:Gem::Dependency
|
32
|
-
name: yard
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
|
-
requirements:
|
36
|
-
- - ~>
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: 0.6.4
|
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: 0.6.4
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: bluecloth
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
|
-
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 2.0.11
|
55
|
-
type: :development
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
|
-
requirements:
|
60
|
-
- - ~>
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 2.0.11
|
63
31
|
description: 'A rubygems post-install hook compile the gem using the MacRuby compiler.
|
64
32
|
|
65
33
|
'
|
@@ -68,15 +36,12 @@ executables: []
|
|
68
36
|
extensions: []
|
69
37
|
extra_rdoc_files:
|
70
38
|
- LICENSE.txt
|
71
|
-
- README.
|
72
|
-
- .yardopts
|
39
|
+
- README.rdoc
|
73
40
|
files:
|
74
41
|
- lib/rubygems_plugin.rb
|
75
42
|
- LICENSE.txt
|
76
|
-
- README.
|
77
|
-
|
78
|
-
- test/helper.rb
|
79
|
-
has_rdoc: yard
|
43
|
+
- README.rdoc
|
44
|
+
has_rdoc: true
|
80
45
|
homepage: http://github.com/ferrous26/rubygems-compile
|
81
46
|
licenses:
|
82
47
|
- MIT
|
@@ -102,5 +67,4 @@ rubygems_version: 1.4.2
|
|
102
67
|
signing_key:
|
103
68
|
specification_version: 3
|
104
69
|
summary: A rubygems post-install hook compile the gem
|
105
|
-
test_files:
|
106
|
-
- test/helper.rb
|
70
|
+
test_files: []
|
data/.yardopts
DELETED
data/README.markdown
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
rubygems-compile
|
2
|
-
============
|
3
|
-
|
4
|
-
A post-install hook for `macgem` to automatically compile rubygems
|
5
|
-
when you install them.
|
6
|
-
|
7
|
-
All you need to do is:
|
8
|
-
|
9
|
-
gem install rubygems-compile
|
10
|
-
|
11
|
-
And then you're off to the races! When you install gems you should get
|
12
|
-
a bunch of output about files being compiled.
|
13
|
-
|
14
|
-
Caveats
|
15
|
-
=======
|
16
|
-
|
17
|
-
* Large gems will take a long time to compile
|
18
|
-
* This has only been tested on a few gems
|
19
|
-
* Some gems specifically require a file with the extension, defeating
|
20
|
-
the purpose of having a compiled version of the file
|
21
|
-
|
22
|
-
TODO
|
23
|
-
====
|
24
|
-
|
25
|
-
- make the compilation an install option
|
26
|
-
- add an option to replace the original file with the compiled version
|
27
|
-
+ I can't remove the original and leave *.rbo files because of how
|
28
|
-
rubygems identifies gems unless I modify gemspec files
|
29
|
-
|
30
|
-
Contributing to rubygems-compile
|
31
|
-
=======================
|
32
|
-
|
33
|
-
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
34
|
-
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
35
|
-
* Fork the project
|
36
|
-
* Start a feature/bugfix branch
|
37
|
-
* Commit and push until you are happy with your contribution
|
38
|
-
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
39
|
-
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
40
|
-
|
41
|
-
Copyright
|
42
|
-
=======
|
43
|
-
|
44
|
-
Copyright (c) 2011 Mark Rada. See LICENSE.txt for
|
45
|
-
further details.
|
46
|
-
|
data/test/helper.rb
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'minitest/unit'
|
11
|
-
|
12
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
13
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
-
require 'rubygems-compile'
|
15
|
-
|
16
|
-
class MiniTest::Unit::TestCase
|
17
|
-
end
|
18
|
-
|
19
|
-
MiniTest::Unit.autorun
|