make-rubygem-debs 0.3.4 → 0.3.5
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/lib/make-rubygem-debs.rb +3 -0
- metadata +2 -1
data/lib/make-rubygem-debs.rb
CHANGED
|
@@ -52,6 +52,9 @@ module MakeRubygemDebs
|
|
|
52
52
|
def self.make_rubygem_debs topdir
|
|
53
53
|
depends = []
|
|
54
54
|
gems = Dir.chdir topdir do
|
|
55
|
+
if not File.exists? "Gemfile.lock"
|
|
56
|
+
raise RuntimeError, "There is no Gemfile.lock within #{topdir}."
|
|
57
|
+
end
|
|
55
58
|
`bundle list`.split("\n")[1..-1].map do |line|
|
|
56
59
|
name, version = line.split[1..2]
|
|
57
60
|
[name, version[1..-2]]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: make-rubygem-debs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -78,3 +78,4 @@ signing_key:
|
|
|
78
78
|
specification_version: 3
|
|
79
79
|
summary: A simple script to generate .debs for all your RoR app' gems
|
|
80
80
|
test_files: []
|
|
81
|
+
has_rdoc:
|