gem2pkg 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +33 -0
- data/gem2pkg.gemspec +2 -2
- metadata +8 -7
data/README.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# Gem2Pkg
|
2
|
+
|
3
|
+
Gem2Pkg bundles a ruby gem into a Mac OSX package structure to be installed on other machines without needing to use 'gem'. This is handy for gems whose primary purpose is to expose a binary for the user to run, when the user may not be a developer and know how to deal with 'gem install' yadda yadda.
|
4
|
+
|
5
|
+
My primary motivation for creating this was to bundle the 'chef' gem and its dependencies up as an installer so that Mac OSX computers could be easily bootstrapped with chef without needing to install XCode, etc.
|
6
|
+
|
7
|
+
## Requirements
|
8
|
+
|
9
|
+
This gem requires rubygems 1.8.11 to be installed. While it will probably work with older versions of rubygems, and hasn't been tested with them yet, so the requirement is set high for now
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
Installation:
|
14
|
+
|
15
|
+
gem install gem2pkg
|
16
|
+
|
17
|
+
If you wanted to make an installer for the 'chef' gem. First, install chef:
|
18
|
+
|
19
|
+
gem install chef
|
20
|
+
|
21
|
+
You might want to also make sure all the supporting gems that chef uses are up to date, as gem2pkg uses the newest installed version of each gem that satisfies the dependency requirements:
|
22
|
+
|
23
|
+
gem update
|
24
|
+
|
25
|
+
Then, build your installer with gem2pkg:
|
26
|
+
|
27
|
+
gem2pkg chef
|
28
|
+
|
29
|
+
The package will be outputted in the current folder, named chef-0.10.4.pkg (if the latest installed chef version were 0.10.4)
|
30
|
+
|
31
|
+
## Known Issues
|
32
|
+
|
33
|
+
* Does not build flat packages
|
data/gem2pkg.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'gem2pkg'
|
3
|
-
s.version = '0.1.
|
3
|
+
s.version = '0.1.2'
|
4
4
|
s.date = '2011-11-21'
|
5
5
|
s.summary = "OSX packages from Ruby Gems!"
|
6
6
|
s.description = "Creates Mac OSX installer packages for 10.5 and up from ruby gems"
|
@@ -9,6 +9,6 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.executables << 'gem2pkg'
|
10
10
|
s.files = `git ls-files`.split("\n")
|
11
11
|
s.homepage = 'http://rubygems.org/gems/gem2pkg'
|
12
|
-
s.required_rubygems_version = ">= 1.
|
12
|
+
s.required_rubygems_version = ">= 1.3.6"
|
13
13
|
s.require_paths = ["lib"]
|
14
14
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem2pkg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Justin Schumacher
|
@@ -27,6 +27,7 @@ extensions: []
|
|
27
27
|
extra_rdoc_files: []
|
28
28
|
|
29
29
|
files:
|
30
|
+
- README.md
|
30
31
|
- Rakefile
|
31
32
|
- bin/gem2pkg
|
32
33
|
- gem2pkg.gemspec
|
@@ -54,12 +55,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
55
|
requirements:
|
55
56
|
- - ">="
|
56
57
|
- !ruby/object:Gem::Version
|
57
|
-
hash:
|
58
|
+
hash: 23
|
58
59
|
segments:
|
59
60
|
- 1
|
60
|
-
-
|
61
|
-
-
|
62
|
-
version: 1.
|
61
|
+
- 3
|
62
|
+
- 6
|
63
|
+
version: 1.3.6
|
63
64
|
requirements: []
|
64
65
|
|
65
66
|
rubyforge_project:
|