File tree Expand file tree Collapse file tree 6 files changed +22
-10
lines changed
Expand file tree Collapse file tree 6 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 1+ # 0.3 / 2022-10-15
2+
3+ * Added the ` --redis ` command line argument.
4+ * Added Docker support.
5+ * Use Redis on Heroku by default to avoid flakiness caused by Heroku's dynos.
6+ * Change default branch name to ` main `
7+ * Do not mail when the diff is empty.
18# v0.2.1 / 2021-09-02
29
310* Add ~ = comparator and translate it to ~ >. Resolves #66 (@bartkamphorst )
Original file line number Diff line number Diff line change 11require 'rubygems'
22require 'date'
3+ require 'tempfile'
34require 'rspec/core/rake_task'
45
56task :default => :rspec
9495
9596desc 'Create a release build and push to rubygems'
9697task :release => :build do
97- unless `git branch` =~ /^\* master $/
98- puts "You must be on the master branch to release!"
98+ unless `git branch` =~ /^\* main $/
99+ puts "You must be on the main branch to release!"
99100 exit!
100101 end
101102 Rake ::Task [ :changelog ] . execute
102103 sh "git commit --allow-empty -a -m 'Release #{ version } '"
103- sh "git pull --rebase origin master "
104+ sh "git pull --rebase origin main "
104105 sh "git tag v#{ version } "
105- sh "git push origin master "
106+ sh "git push origin main "
106107 sh "git push origin v#{ version } "
107108 sh "gem push pkg/#{ name } -#{ version } .gem"
108109end
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ Gem::Specification.new do |s|
55 s . required_ruby_version = '>= 2.4'
66
77 s . name = 'cutting_edge'
8- s . version = '0.2.1 '
9- s . date = '2021-09-02 '
8+ s . version = '0.3 '
9+ s . date = '2022-10-15 '
1010 s . license = 'GPL-3.0-only'
1111
1212 s . summary = 'Self-hosted dependency monitoring, including shiny badges.'
@@ -33,15 +33,19 @@ Gem::Specification.new do |s|
3333
3434 # = MANIFEST =
3535 s . files = %w[
36+ Dockerfile
3637 Gemfile
37- Gemfile.lock
38+ HISTORY.md
39+ LATEST_CHANGES.md
3840 LICENSE
3941 Procfile
4042 README.md
4143 Rakefile
4244 bin/cutting_edge
4345 config.rb
4446 cutting_edge.gemspec
47+ docker-compose.yml
48+ docker-run.sh
4549 heroku.config.rb
4650 lib/cutting_edge.rb
4751 lib/cutting_edge/app.rb
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ services:
88 ports :
99 - ' 6379:6379'
1010 cuttingedge :
11- image : dometto/cuttingedge:master
11+ image : dometto/cuttingedge:main
1212 environment :
1313 REDIS_HOST : cache
1414 command :
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module CuttingEdge
1616 end
1717 # Your additional configuration goes here.
1818 # If you are going to host the repository containing this file publically (e.g. on GitHub), please read:
19- # https://github.com/repotag/cutting_edge/blob/master /README.md#Defining-repositories-in-configrb
19+ # https://github.com/repotag/cutting_edge/blob/main /README.md#Defining-repositories-in-configrb
2020end
2121
2222# Needed to write to Heroku logs.
Original file line number Diff line number Diff line change 11module CuttingEdge
2- VERSION = '0.2.1 '
2+ VERSION = '0.3 '
33end
You can’t perform that action at this time.
0 commit comments