starter 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/starter/tasks/gems.rb +16 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61f89c32e580c6862cb9f6311a5d14a69871c65a
|
4
|
+
data.tar.gz: 644cf405814387eaf3e01ef270ce4d6d240c81c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a62ac08e5cf2d0bcb5ab36fca103851d66d2125f12fc8481ecbdd31a926c48ad7bde942ba16623f7f5fa5d1b6257f7d042d14bf5b280a833b1f4cfab53c0d7af
|
7
|
+
data.tar.gz: aa4b38a08325008c0aae18eb0fc92272aa425fe058a14cf532a0c0869e93115a61331415436a7ca7998e78b251b5d3bb9bd1e3d31a95977126f872847ee0bb99
|
data/lib/starter/tasks/gems.rb
CHANGED
@@ -52,6 +52,22 @@ task "gem:deps" => "read_gemspec" do
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
+
task "gem:deps:list" => "read_gemspec" do
|
56
|
+
gemspec = Starter.cache[:gemspec]
|
57
|
+
runtime, dev = gemspec.dependencies.partition do |dep|
|
58
|
+
dep.type == :runtime
|
59
|
+
end
|
60
|
+
puts "Runtime:"
|
61
|
+
runtime.each do |dep|
|
62
|
+
puts " #{dep}"
|
63
|
+
end
|
64
|
+
puts
|
65
|
+
puts "Development:"
|
66
|
+
dev.each do |dep|
|
67
|
+
puts " #{dep}"
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
55
71
|
task "version" => "read_gemspec" do
|
56
72
|
Starter.cache[:version] = Starter.cache[:gemspec].version.version
|
57
73
|
end
|