heroku_tool 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ddc21262f1ca120563b43f6083de39e1e3d9cb9aa82578ce6b02b758f8f07c24
4
- data.tar.gz: b10f1ddae44dcfe49051747ddf895df5c37c30375adecf11f05cfcfd1c789efc
3
+ metadata.gz: d583a0c0a64809e90e737fb8e7b34ab77a9c5b3968446dc86356862682046461
4
+ data.tar.gz: a85666dc5b19f695c781ecd895566224e41b00258a90c493d1f1e76c6b21fbbf
5
5
  SHA512:
6
- metadata.gz: e3b04b61691b527cc3309c74df77d30b9880c752af96fe71493a386b31297af7374380178f4aa8406b5846471ac2134af25096588a1abc9d67d941876d352a16
7
- data.tar.gz: 3c6450fbce957c7db147984ca466440b574140914a99b9e9927f7fcc10b3d24fd596117fedae0c40cdea89dffa34736ea27f8932a11679800851b0d69c75b4b9
6
+ metadata.gz: 1dc0606e0918d4f734a775d23cd1449017c2b86a46b5338c134ee25ff17947be53241a4830f00eaa1e60a2940e8ec38c1dbda27ca84afeb8eaefb2fb1199c99b
7
+ data.tar.gz: 816b5157dd116a0db0ae1de5cc166765c0384aeb9df77b5280076c992ef120acaf6eb48a087363777adea6084ca657199f7a740200afa04eb093af89880a9ccc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.6.0
4
+
5
+ Don't do unecessary restart after changing environment variables.
6
+
3
7
  ## v0.5.0
4
8
 
5
9
  Dropped psych < 4.0 and now working with psych >= 4.0
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@red56.uk. All
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/red56/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.
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/red56/heroku_tool/blob/master/CODE_OF_CONDUCT.md).
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@red56.uk"]
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/red56/heroku_tool"
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
- if maintenance
203
- maintenance_off
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
 
@@ -1,3 +1,3 @@
1
1
  module HerokuTool
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
@@ -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/red56/heroku_tool
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.5.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-03-30 00:00:00.000000000 Z
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@red56.uk
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/red56/heroku_tool
126
+ homepage: https://github.com/fieldnotescommunities/heroku_tool
127
127
  licenses:
128
128
  - MIT
129
129
  metadata: {}