gemerator 0.1.0 → 0.1.1
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.
- data/Readme.md +21 -0
- data/gemerator.gemspec +3 -1
- metadata +14 -4
data/Readme.md
CHANGED
@@ -58,6 +58,27 @@ For an extension:
|
|
58
58
|
Per default, `rack-foo.gemspec` will automatically depend on `rack` and
|
59
59
|
`lib/rack/foo.rb` will require `rack`.
|
60
60
|
|
61
|
+
# Why not `bundle gem`?
|
62
|
+
|
63
|
+
`bundle gem` is fine, but just too little boilerplate, here is what is
|
64
|
+
different:
|
65
|
+
|
66
|
+
* A `rake test` is ready to go.
|
67
|
+
* The gemspec does not include shell-outs, file list is not generic (this is a
|
68
|
+
feature!)
|
69
|
+
* Less TODOs all over the place you have to remove
|
70
|
+
* No rubbish in the `.gitignore`
|
71
|
+
* Includes rake task to update files/authors/e-mails from git and version from
|
72
|
+
lib (similar to what Sinatra/Tilt/sinatra-contrib and so on do)
|
73
|
+
* Internally, the version is not a string to avoid alphanumerical comparison
|
74
|
+
(similar to what Rails does)
|
75
|
+
* You can do `QUICK=1 bundle install` to avoid fetching from RubyForge
|
76
|
+
* Some logic to generate better boilerplate for extensions (Rack middleware,
|
77
|
+
Sinatra extensions, ...) has been added.
|
78
|
+
|
79
|
+
Apart from that, it's pretty much the same. Oh, wait, and it works without
|
80
|
+
bundler.
|
81
|
+
|
61
82
|
# Installation
|
62
83
|
|
63
84
|
gem install gemerator
|
data/gemerator.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "gemerator"
|
3
|
-
s.version = "0.1.
|
3
|
+
s.version = "0.1.1"
|
4
4
|
s.description = "Like NewGem, but way simpler."
|
5
5
|
s.homepage = "http://github.com/rkh/gemerator"
|
6
6
|
s.authors = %w[Konstantin Haase]
|
@@ -12,4 +12,6 @@ Gem::Specification.new do |s|
|
|
12
12
|
plate. Automatically handles extensions for Rack, Yard, Sinatra, etc
|
13
13
|
correctly.
|
14
14
|
SUMMARY
|
15
|
+
|
16
|
+
s.add_dependency('backports', '>= 2.2.1')
|
15
17
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gemerator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Konstantin
|
@@ -11,9 +11,19 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-05-
|
15
|
-
dependencies:
|
16
|
-
|
14
|
+
date: 2011-05-23 00:00:00 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: backports
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 2.2.1
|
25
|
+
type: :runtime
|
26
|
+
version_requirements: *id001
|
17
27
|
description: Like NewGem, but way simpler.
|
18
28
|
email:
|
19
29
|
- konstantin.mailinglists@googlemail.com
|