heroku_tool 0.5.0 → 0.6.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/CODE_OF_CONDUCT.md +1 -1
- data/README.md +2 -2
- data/heroku_tool.gemspec +2 -2
- data/lib/heroku_tool/tasks/heroku.thor +2 -6
- data/lib/heroku_tool/version.rb +1 -1
- data/templates/heroku_targets.yml +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d583a0c0a64809e90e737fb8e7b34ab77a9c5b3968446dc86356862682046461
|
|
4
|
+
data.tar.gz: a85666dc5b19f695c781ecd895566224e41b00258a90c493d1f1e76c6b21fbbf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1dc0606e0918d4f734a775d23cd1449017c2b86a46b5338c134ee25ff17947be53241a4830f00eaa1e60a2940e8ec38c1dbda27ca84afeb8eaefb2fb1199c99b
|
|
7
|
+
data.tar.gz: 816b5157dd116a0db0ae1de5cc166765c0384aeb9df77b5280076c992ef120acaf6eb48a087363777adea6084ca657199f7a740200afa04eb093af89880a9ccc
|
data/CHANGELOG.md
CHANGED
data/CODE_OF_CONDUCT.md
CHANGED
|
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
|
|
55
55
|
## Enforcement
|
|
56
56
|
|
|
57
57
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
-
reported by contacting the project team at tim@
|
|
58
|
+
reported by contacting the project team at tim@fieldnotescommunities.com. All
|
|
59
59
|
complaints will be reviewed and investigated and will result in a response that
|
|
60
60
|
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
61
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
data/README.md
CHANGED
|
@@ -131,7 +131,7 @@ To release a new version:
|
|
|
131
131
|
|
|
132
132
|
## Contributing
|
|
133
133
|
|
|
134
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
134
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/fieldnotescommunities/heroku_tool. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
135
135
|
|
|
136
136
|
## License
|
|
137
137
|
|
|
@@ -139,4 +139,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
139
139
|
|
|
140
140
|
## Code of Conduct
|
|
141
141
|
|
|
142
|
-
Everyone interacting in the HerokuTool project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
|
142
|
+
Everyone interacting in the HerokuTool project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/fieldnotescommunities/heroku_tool/blob/master/CODE_OF_CONDUCT.md).
|
data/heroku_tool.gemspec
CHANGED
|
@@ -6,10 +6,10 @@ Gem::Specification.new do |spec|
|
|
|
6
6
|
spec.name = "heroku_tool"
|
|
7
7
|
spec.version = HerokuTool::VERSION
|
|
8
8
|
spec.authors = ["Tim Diggins"]
|
|
9
|
-
spec.email = ["tim@
|
|
9
|
+
spec.email = ["tim@fieldnotescommunities.com"]
|
|
10
10
|
|
|
11
11
|
spec.summary = "Tool for configurable one-shot deployment and db managment with heroku and rails"
|
|
12
|
-
spec.homepage = "https://github.com/
|
|
12
|
+
spec.homepage = "https://github.com/fieldnotescommunities/heroku_tool"
|
|
13
13
|
spec.license = "MIT"
|
|
14
14
|
|
|
15
15
|
# Specify which files should be added to the gem when it is released.
|
|
@@ -199,11 +199,8 @@ class Heroku < Thor
|
|
|
199
199
|
end
|
|
200
200
|
|
|
201
201
|
puts_and_system %{heroku config:set #{Heroku::Configuration.app_revision_env_var}=$(git describe --always #{deploy_ref}) -a #{implied_target.heroku_app}}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
else
|
|
205
|
-
puts_and_system "heroku restart -a #{implied_target.heroku_app}"
|
|
206
|
-
end
|
|
202
|
+
|
|
203
|
+
maintenance_off if maintenance
|
|
207
204
|
set_message(target_name, nil)
|
|
208
205
|
Configuration.after_deploying(self, implied_target, deploy_ref_description)
|
|
209
206
|
deploy_tracking(target_name, deploy_ref)
|
|
@@ -414,7 +411,6 @@ class Heroku < Thor
|
|
|
414
411
|
heroku pg:copy #{implied_source.heroku_app}::#{implied_source.db_color} #{implied_target.db_color} -a #{implied_target.heroku_app} --confirm #{implied_target.heroku_app}
|
|
415
412
|
)
|
|
416
413
|
Configuration.after_sync_to(self, implied_target) unless options[:just_copy]
|
|
417
|
-
puts_and_system %(heroku restart -a #{implied_target.heroku_app})
|
|
418
414
|
maintenance_off
|
|
419
415
|
end
|
|
420
416
|
|
data/lib/heroku_tool/version.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# find `database_url` by running `heroku pg:info --app=APP_NAME`
|
|
2
2
|
_defaults:
|
|
3
|
-
repository: https://github.com/
|
|
3
|
+
repository: https://github.com/fieldnotescommunities/heroku_tool
|
|
4
4
|
# what you are deploying to -- this should either be refs/head/main (the default) or refs/head/master
|
|
5
5
|
heroku_target_ref: refs/heads/main
|
|
6
6
|
# set to true if you are doing migrate as part of the heroku release phase, otherwise leave as false, or delete
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: heroku_tool
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Diggins
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -96,7 +96,7 @@ dependencies:
|
|
|
96
96
|
version: 0.4.1
|
|
97
97
|
description:
|
|
98
98
|
email:
|
|
99
|
-
- tim@
|
|
99
|
+
- tim@fieldnotescommunities.com
|
|
100
100
|
executables: []
|
|
101
101
|
extensions: []
|
|
102
102
|
extra_rdoc_files: []
|
|
@@ -123,7 +123,7 @@ files:
|
|
|
123
123
|
- templates/Rakefile
|
|
124
124
|
- templates/heroku.thor
|
|
125
125
|
- templates/heroku_targets.yml
|
|
126
|
-
homepage: https://github.com/
|
|
126
|
+
homepage: https://github.com/fieldnotescommunities/heroku_tool
|
|
127
127
|
licenses:
|
|
128
128
|
- MIT
|
|
129
129
|
metadata: {}
|