RubyApp 0.0.42 → 0.0.43

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.0.42)
4
+ RubyApp (0.0.43)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.0.42"
2
+ VERSION = "0.0.43"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
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
- version_file = File.join(RubyApp::ROOT, %w[version.rb])
32
- 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'"
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: 75
4
+ hash: 73
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 42
10
- version: 0.0.42
9
+ - 43
10
+ version: 0.0.43
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar