RubyApp 0.0.42 → 0.0.43
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.
- data/Gemfile.lock +1 -1
- data/lib/ruby_app/version.rb +1 -1
- data/rakefile +4 -2
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/ruby_app/version.rb
CHANGED
data/rakefile
CHANGED
@@ -28,8 +28,10 @@ namespace :ruby_app do
|
|
28
28
|
|
29
29
|
desc 'Push to master, release, and increment version'
|
30
30
|
task :release, :next_version do |task, arguments|
|
31
|
-
|
32
|
-
|
31
|
+
if arguments.next_version
|
32
|
+
version_file = File.join(RubyApp::ROOT, %w[version.rb])
|
33
|
+
system "git push origin master && rake release && sed 's|[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*|#{arguments.next_version}|g' < '#{version_file}' > '#{version_file}.out' && rm '#{version_file}' && mv '#{version_file}.out' '#{version_file}' && git commit --all --message='Incrementing version'"
|
34
|
+
end
|
33
35
|
end
|
34
36
|
|
35
37
|
namespace :test do
|
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: 73
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 43
|
10
|
+
version: 0.0.43
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|