joe 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -4
- data/lib/joe.rb +2 -2
- metadata +7 -4
data/README.markdown
CHANGED
@@ -9,13 +9,13 @@ Usage
|
|
9
9
|
|
10
10
|
Joe assumes you have a .gemspec file in the current directory and it will use it to build the gem. Once you have it, try this:
|
11
11
|
|
12
|
-
$
|
12
|
+
$ joe build
|
13
13
|
|
14
14
|
Congratulations, you should have your gem built inside the `pkg` directory.
|
15
15
|
|
16
16
|
Now go ahead and release your new gem to RubyGems.org:
|
17
17
|
|
18
|
-
$
|
18
|
+
$ joe release
|
19
19
|
|
20
20
|
Easy, right? Wait a few minutes until RubyGems.org updates its gems index and you will be able to run `sudo gem install foo`.
|
21
21
|
|
@@ -23,9 +23,9 @@ Easy, right? Wait a few minutes until RubyGems.org updates its gems index and yo
|
|
23
23
|
Maintaining a gemspec file
|
24
24
|
--------------------------
|
25
25
|
|
26
|
-
The easiest way we've found to maintain a gemspec file is by creating a `foo.gemspec.erb` template ([see example](http://github.com/soveran/ohm/blob/e3ff3fb20c1337cb2c4de244e09ce9fa04ef397d/ohm.gemspec.erb)). Then you can use
|
26
|
+
The easiest way we've found to maintain a gemspec file is by creating a `foo.gemspec.erb` template ([see example](http://github.com/soveran/ohm/blob/e3ff3fb20c1337cb2c4de244e09ce9fa04ef397d/ohm.gemspec.erb)). Then you can use Joe to produce the real gemspec file:
|
27
27
|
|
28
|
-
$
|
28
|
+
$ joe gemspec
|
29
29
|
|
30
30
|
|
31
31
|
Installation
|
data/lib/joe.rb
CHANGED
@@ -4,7 +4,7 @@ require 'erb'
|
|
4
4
|
require 'rubygems/gem_runner'
|
5
5
|
|
6
6
|
class Joe < Thor
|
7
|
-
VERSION = "0.0.
|
7
|
+
VERSION = "0.0.3"
|
8
8
|
|
9
9
|
include Thor::Actions
|
10
10
|
|
@@ -16,7 +16,7 @@ class Joe < Thor
|
|
16
16
|
desc "install", "Build the gem, package it and install it"
|
17
17
|
def install
|
18
18
|
build and
|
19
|
-
gem "install", gem_file
|
19
|
+
gem "install", "pkg/#{gem_file}"
|
20
20
|
end
|
21
21
|
|
22
22
|
desc "build", "Build the gem"
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Damian Janowski
|
@@ -15,13 +15,14 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-10-09 00:00:00 -03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: thor
|
23
23
|
prerelease: false
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
25
26
|
requirements:
|
26
27
|
- - ~>
|
27
28
|
- !ruby/object:Gem::Version
|
@@ -56,6 +57,7 @@ rdoc_options: []
|
|
56
57
|
require_paths:
|
57
58
|
- lib
|
58
59
|
required_ruby_version: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
59
61
|
requirements:
|
60
62
|
- - ">="
|
61
63
|
- !ruby/object:Gem::Version
|
@@ -63,6 +65,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
65
|
- 0
|
64
66
|
version: "0"
|
65
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
66
69
|
requirements:
|
67
70
|
- - ">="
|
68
71
|
- !ruby/object:Gem::Version
|
@@ -72,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
75
|
requirements: []
|
73
76
|
|
74
77
|
rubyforge_project:
|
75
|
-
rubygems_version: 1.3.
|
78
|
+
rubygems_version: 1.3.7
|
76
79
|
signing_key:
|
77
80
|
specification_version: 3
|
78
81
|
summary: Joe, the gem publisher
|