universe-rails-testing 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +8 -3
  2. data/version +1 -1
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ end
13
13
  desc "increases version number"
14
14
  task :bump_version do
15
15
  version.succ!
16
- File.open('version', 'w') { f << version }
16
+ File.open('version', 'w') { |f| f << version }
17
17
  end
18
18
 
19
19
  desc "build all the gems"
@@ -26,6 +26,11 @@ task :gemspecs => :universe do
26
26
  puts universe.map { |u| "\n" << ("#"*80) << "\n# spec for #{u.name}\n" << u.to_spec.to_ruby }
27
27
  end
28
28
 
29
- task :push => :build do
30
- Dir.glob('*.gem') { |f| sh "gem push #{f}" }
29
+ desc 'push all gems in folder'
30
+ task :push do
31
+ gems = Dir.glob('*.gem')
32
+ gems.reject! { |f| system "gem push #{f}" } until gems.empty?
31
33
  end
34
+
35
+ desc 'bump_version, build, release'
36
+ task :release => [:bump_version, :build, :push]
data/version CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: universe-rails-testing
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Konstantin Haase