rubygems-compile 0.0.2 → 0.0.3

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 (2) hide show
  1. data/README.rdoc +20 -10
  2. metadata +19 -8
data/README.rdoc CHANGED
@@ -7,20 +7,30 @@ All you need to do is:
7
7
 
8
8
  gem install rubygems-compile
9
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.
10
+ And then you're off to the races! When you install gems you should get a bunch of output about files being compiled.
12
11
 
13
- == Caveats
12
+ == TODO
14
13
 
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
14
+ Right now, all you need to do is install the gem and it will be used every time you install a new gem (or reinstall an existing gem).
18
15
 
19
- == TODO
16
+ In the future, there are a few different ways this plugin operate:
17
+
18
+ * A gemspec property
19
+ * spec.compile_for_macruby = true
20
+ * A gem command
21
+ * gem compile nokogiri
22
+ * gem compile --remove-original-files nokogiri
23
+ * I can't remove the original .rb files and leave *.rbo files because of how rubygems identifies gems (unless I modify gemspec files)
24
+ * A gem install option
25
+ * gem install --compile nokogiri
20
26
 
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
27
+ I'm not sure which is best, and maybe all of them will get implemented.
28
+
29
+ == Caveats
30
+
31
+ * Large gems will take a long time to compile
32
+ * This has only been tested on a few gems, but should not break existing gems since we leave the original files around
33
+ * Some gems specifically require a file with the .rb extension, defeating the purpose of having a compiled version of the gem
24
34
 
25
35
  == Copyright
26
36
 
metadata CHANGED
@@ -2,33 +2,33 @@
2
2
  name: rubygems-compile
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
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-18 00:00:00 -05:00
12
+ date: 2011-02-19 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
+ prerelease: false
17
18
  requirement: !ruby/object:Gem::Requirement
18
19
  none: false
19
20
  requirements:
20
- - - ~>
21
+ - - '>='
21
22
  - !ruby/object:Gem::Version
22
23
  version: 0.8.7
23
24
  type: :development
24
- prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
- - - ~>
28
+ - - '>='
29
29
  - !ruby/object:Gem::Version
30
30
  version: 0.8.7
31
- description: 'A rubygems post-install hook compile the gem using the MacRuby compiler.
31
+ description: 'A rubygems post-install hook to compile gems using the MacRuby compiler.
32
32
 
33
33
  '
34
34
  email: mrada@marketcircle.com
@@ -45,7 +45,18 @@ has_rdoc: true
45
45
  homepage: http://github.com/ferrous26/rubygems-compile
46
46
  licenses:
47
47
  - MIT
48
- post_install_message:
48
+ post_install_message: '
49
+
50
+ ***********************************************************
51
+
52
+ Make sure to uninstall earlier versions of rubygems-compile
53
+
54
+ or you will end up compiling your gems multiple times.
55
+
56
+ ***********************************************************
57
+
58
+
59
+ '
49
60
  rdoc_options: []
50
61
  require_paths:
51
62
  - lib
@@ -66,5 +77,5 @@ rubyforge_project:
66
77
  rubygems_version: 1.4.2
67
78
  signing_key:
68
79
  specification_version: 3
69
- summary: A rubygems post-install hook compile the gem
80
+ summary: A rubygems post-install hook using the MacRuby compiler to compile gems
70
81
  test_files: []