RubyApp 0.5.95 → 0.5.96
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -1
- data/Rakefile +2 -7
- data/lib/ruby_app/version.rb +1 -1
- metadata +3 -4
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -19,14 +19,9 @@ 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 '
|
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'
|
22
|
+
desc 'Update development, push, update production, merge with development, push, release, and increment version'
|
28
23
|
task :release do |task|
|
29
|
-
system('git checkout production; git pull origin production; git merge origin/development; git push origin production; rake release
|
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')
|
30
25
|
version_file = File.join(RubyApp::ROOT, %w[version.rb])
|
31
26
|
RubyApp::VERSION =~ /(\d+)\.(\d+)\.(\d+)/
|
32
27
|
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}'")
|
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: 203
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 96
|
10
|
+
version: 0.5.96
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|
@@ -297,7 +297,6 @@ files:
|
|
297
297
|
- .gitignore
|
298
298
|
- .rvmrc
|
299
299
|
- Gemfile
|
300
|
-
- Gemfile.lock
|
301
300
|
- README.md
|
302
301
|
- Rakefile
|
303
302
|
- bin/console.rb
|