RubyApp 0.6.16 → 0.6.21
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/lib/ruby_app/version.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -26,11 +26,11 @@ namespace :ruby_app do
|
|
26
26
|
|
27
27
|
desc 'Push to production, release, and increment version'
|
28
28
|
task :release do |task|
|
29
|
-
system('git checkout production; git pull origin production; git merge origin/development; git push origin production; rake release')
|
29
|
+
system('git checkout production; git pull origin production; git merge origin/development; git push origin production; rake release; git checkout development')
|
30
30
|
version_file = File.join(RubyApp::ROOT, %w[version.rb])
|
31
31
|
RubyApp::VERSION =~ /(\d+)\.(\d+)\.(\d+)/
|
32
32
|
system("sed 's|[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*|#{$1}.#{$2}.#{$3.to_i + 1}|g' < '#{version_file}' > '#{version_file}.out'; rm '#{version_file}'; mv '#{version_file}.out' '#{version_file}'")
|
33
|
-
system("git commit --all --message=\'Version #{$1}.#{$2}.#{$3.to_i + 1}\'
|
33
|
+
system("git commit --all --message=\'Version #{$1}.#{$2}.#{$3.to_i + 1}\'")
|
34
34
|
end
|
35
35
|
|
36
36
|
namespace :process do
|
data/lib/ruby_app/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyApp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 21
|
10
|
+
version: 0.6.21
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|