RubyApp 0.5.94 → 0.5.95
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +7 -2
- data/lib/ruby_app/version.rb +1 -1
- metadata +3 -3
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -19,10 +19,15 @@ namespace :ruby_app do
|
|
19
19
|
system("git checkout development; git pull origin development; git log --pretty=format:'%H %s' production..HEAD")
|
20
20
|
end
|
21
21
|
|
22
|
+
desc 'Push to development'
|
23
|
+
task :push do |task|
|
24
|
+
system('git checkout development; git pull origin development; git push origin development')
|
25
|
+
end
|
26
|
+
|
22
27
|
desc 'Push to production, release, and increment version'
|
23
28
|
task :release do |task|
|
24
|
-
system('git checkout
|
25
|
-
version_file = File.join(RubyApp::ROOT, %w[
|
29
|
+
system('git checkout production; git pull origin production; git merge origin/development; git push origin production; rake release; git checkout development')
|
30
|
+
version_file = File.join(RubyApp::ROOT, %w[version.rb])
|
26
31
|
RubyApp::VERSION =~ /(\d+)\.(\d+)\.(\d+)/
|
27
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}'")
|
28
33
|
system("git commit --all --message=\'Version #{RubyApp::VERSION}\'")
|
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: 181
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 95
|
10
|
+
version: 0.5.95
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|