dr 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/dr +3 -1
  3. data/lib/dr/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c5807c4a13870d60d1940b3c98ac989658324e8
4
- data.tar.gz: 4c0a3a229e52ee11173f7a533aa49d072c2a13f2
3
+ metadata.gz: a853b8d13242f1b101720affa5ed4a47ca70ca83
4
+ data.tar.gz: a08d2d29dc77d00cc9e14fa260e5c62a160ce5ee
5
5
  SHA512:
6
- metadata.gz: 72d395ed1be70111a499b5e0f43f53ad11f6a7d468a087740d0377153d226db662ead583750a9803ce51b0d1feb98e08843386ca5a61c6762dd8a1d7ee61652d
7
- data.tar.gz: 0a9c947d7f4dfbf11e5cdd42d4ca2a06304d94eff603da1f0316e976e63d0dc7f013b96a3d4dc9eae39f059e48f0f3eafa291fc3249b66e019129eebcd213576
6
+ metadata.gz: c47cbc373eca126e7956b2b1b39d53434e3cca6cc2c8a5655ae66a844ebf1e6d14162a0e53452f8c754924c4f9c659f9bb0788103330147a412e6c7b58a467b1
7
+ data.tar.gz: a0ab608937f6065e8604b2296ad1b50ea2317e88c3c65e4ee915e5ed761b7eb67285f2fc50267fc25198a321a0b9974ac6794288758d8ee391035ed2b85848a8
data/bin/dr CHANGED
@@ -330,12 +330,14 @@ class RepoCLI < ExtendedThor
330
330
  end
331
331
 
332
332
  desc "release", "Push all the packages from testing to release"
333
+ method_option :force, :aliases => "-f", :type => :boolean,
334
+ :desc => "Force-push all released packages"
333
335
  def release
334
336
  repo = get_repo_handle
335
337
 
336
338
  log :info, "Releasing all packages from testing"
337
339
  repo.list_packages.each do |pkg|
338
- repo.push pkg.name, nil, "stable"
340
+ repo.push pkg.name, nil, "stable", (options["force"] == true)
339
341
  end
340
342
  end
341
343
 
@@ -1,3 +1,3 @@
1
1
  module Dr
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radek Pazdera