[Bug 661436] Review Request: rubygem-heroku - deploy apps to Heroku

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 24 14:28:20 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=661436

--- Comment #32 from Minnikhanov <minnikhanov at gmail.com> 2010-12-24 09:28:19 EST ---
heroku.gem have Runtime Dependencies = launchy ~> 0.3.2

Now my template generate
Requires: rubygem(launchy) >= 0.3.2

 Is need to generate 2 Requires?
Sample:
Requires: rubygem(launchy) >= 0.3.2
Requires: rubygem(launchy) < 0.4

Common algorithm:
versions = a.b.c.d
versions =~ /\d+(\.\d*)*/

1. Runtime Dependencies = <GEM> ~> a.b.c.d
generate:
Requires: rubygem(<GEM>) >= a.b.c.d
Requires: rubygem(<GEM>) < a.b.<c+1>

2. Runtime Dependencies = <GEM> ~> a.b.c.
generate:
Requires: rubygem(<GEM>) >= a.b.c   - is need here last <dot> (a.b.c.)
Requires: rubygem(<GEM>) < a.b.<c+1>

3. Runtime Dependencies = <GEM> ~> a.
   Runtime Dependencies = <GEM> ~> a
generate:
Requires: rubygem(<GEM>) >= a   - is need here last <dot> (a.)
Requires: rubygem(<GEM>) < <a+1>

4. Runtime Dependencies = <GEM> ~>
generate:
Requires: rubygem(<GEM>) >= 0
Requires: rubygem(<GEM>) < 1

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list