RubyApp 0.0.41 → 0.0.42

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.0.41)
4
+ RubyApp (0.0.42)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.0.41"
2
+ VERSION = "0.0.42"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
data/rakefile CHANGED
@@ -26,10 +26,10 @@ namespace :ruby_app do
26
26
  puts RubyApp::VERSION
27
27
  end
28
28
 
29
- desc 'Update version, commit, push to master, release'
30
- task :release, :version do |task, arguments|
29
+ desc 'Push to master, release, and increment version'
30
+ task :release, :next_version do |task, arguments|
31
31
  version_file = File.join(RubyApp::ROOT, %w[version.rb])
32
- system "sed 's|[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*|#{arguments.version}|g' < '#{version_file}' > '#{version_file}.out' && rm '#{version_file}' && mv '#{version_file}.out' '#{version_file}' && git commit --all --message='Incrementing version' && git push origin master; rake release"
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'"
33
33
  end
34
34
 
35
35
  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: 77
4
+ hash: 75
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 41
10
- version: 0.0.41
9
+ - 42
10
+ version: 0.0.42
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar