RubyApp 0.5.97 → 0.5.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/Rakefile +7 -2
  2. data/lib/ruby_app/version.rb +1 -1
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -19,9 +19,14 @@ 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 'Update development, push, update production, merge with development, push, release, and increment version'
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
+
27
+ desc 'Push to production, release, and increment version'
23
28
  task :release do |task|
24
- system('git checkout development; git pull origin development; git push origin development; 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')
25
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}'")
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.5.97"
2
+ VERSION = "0.5.98"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
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: 201
4
+ hash: 207
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 97
10
- version: 0.5.97
9
+ - 98
10
+ version: 0.5.98
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar