alloy-microgem 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +19 -4
  2. data/Rakefile +7 -3
  3. data/bin//302/265gem +1 -1
  4. metadata +2 -2
data/README.rdoc CHANGED
@@ -7,8 +7,19 @@ See the TODO file for a list of todo's.
7
7
 
8
8
  === Installation
9
9
 
10
+ ==== On Ruby with working RubyGems
11
+
10
12
  $ sudo gem install alloy-microgem -s http://gems.github.com
11
13
 
14
+ === On Ruby without working RubyGems (eg MacRuby)
15
+
16
+ Get source:
17
+ $ git clone git://github.com/alloy/microgem.git
18
+ $ cd microgem
19
+
20
+ Install the remote gem:
21
+ $ sudo env PRODUCTION=true macruby ./bin/µgem install alloy-microgem --simple --debug
22
+
12
23
  === µgem banner
13
24
  Microgem is an unsophisticated package manager for Ruby.
14
25
  And the first commandline utility to start with a multibyte character; µ
@@ -29,10 +40,6 @@ See the TODO file for a list of todo's.
29
40
  --simple Enables --simple-downloader and --simple-unpacker
30
41
  --help Show help information
31
42
 
32
- === Development
33
- The way it's being developed is in a test and RubyGems data driven manner.
34
- We are using the `quick' marshalled specs, so we use those fixtures to run the tests.
35
-
36
43
  ==== Getting started
37
44
 
38
45
  Get the source:
@@ -47,6 +54,14 @@ Note that unless you set the PRODUCTION environment variable everything is insta
47
54
 
48
55
  The current default sources are rubyforge and github.
49
56
 
57
+ === Limitations
58
+ There are a lot of limitations currently compared to RubyGems. The most important ones are:
59
+ * Does not install C extensions yet.
60
+
61
+ === Development
62
+ The way it's being developed is in a test and RubyGems data driven manner.
63
+ We are using the `quick' marshalled specs, so we use those fixtures to run the tests.
64
+
50
65
  === Goals
51
66
  * Install gems.
52
67
  * Small.
data/Rakefile CHANGED
@@ -16,9 +16,13 @@ end
16
16
 
17
17
  directory 'pkg'
18
18
 
19
- desc "Builds and installs the gem"
20
- task :install => :pkg do
21
- # TODO: install gem with µgem, this is why we don't use the rake gem tasks.
19
+ desc "Builds the gem"
20
+ task :build => :pkg do
22
21
  sh 'gem build microgem.gemspec && mv microgem-*.gem pkg/'
22
+ end
23
+
24
+ desc "Installs the gem"
25
+ task :install => :build do
26
+ # TODO: install gem with µgem, this is why we don't use the rake gem tasks.
23
27
  sh 'cd pkg && sudo gem install microgem-*.gem'
24
28
  end
data/bin//302/265gem CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- if defined?(Gem)
3
+ if defined?(Gem::Specification)
4
4
  # Hack to make sure we don't run with RubyGems loaded.
5
5
  ENV['PRODUCTION'] = 'true'
6
6
  exec "#{File.expand_path(__FILE__)} #{ARGV.join(' ')}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alloy-microgem
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.1"
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-11 00:00:00 -08:00
12
+ date: 2009-02-05 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15