Skip to content

Commit fa3f6b1

Browse files
author
Dawa Ometto
committed
Release 0.3
1 parent 8098303 commit fa3f6b1

File tree

6 files changed

+22
-10
lines changed

6 files changed

+22
-10
lines changed

HISTORY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
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)

Rakefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require 'rubygems'
22
require 'date'
3+
require 'tempfile'
34
require 'rspec/core/rake_task'
45

56
task :default => :rspec
@@ -94,15 +95,15 @@ end
9495

9596
desc 'Create a release build and push to rubygems'
9697
task :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"
108109
end

cutting_edge.gemspec

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

heroku.config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
2020
end
2121

2222
# Needed to write to Heroku logs.

lib/cutting_edge.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module CuttingEdge
2-
VERSION = '0.2.1'
2+
VERSION = '0.3'
33
end

0 commit comments

Comments
 (0)