hephaestus 0.5.0 → 0.5.2

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: 35a7bffcd76ad59ed8a990221e201641e0931d5959d3a23eb1ff38e6cab6e196
4
- data.tar.gz: 3a8041e10782f1feae394c607ff0b2884454bf2497973b204e1038d8318a8b19
3
+ metadata.gz: 9c6c89b1e31d150cbb474ed41ca2de9ae206a89c352139bcfc87d86217b9659b
4
+ data.tar.gz: a363e937f8d6b7c6895a218109734c75fb5d9b37cb690cd67b9582ae63c905f0
5
5
  SHA512:
6
- metadata.gz: 343b21a22b01d3dec66e68ab5d807612930f2f46ed0fc5daa3d473745ce5db89978a3cd605b13ecb24cae51101e072dd5dbd891ed424855ce0724fd0233227c7
7
- data.tar.gz: 8127efafa530a873c67a014ea0beef448b768c908bb4629a668eef1abcfe8b1527886447ad3757298d07f33483cab8e7a9c9b3f9839d7d0f88d7a04fb56f79ca
6
+ metadata.gz: 5b9e96e4832af13875dbab52733d0a86715ab7c0f5371c71cf3f1ed64a47a8377b9e536538047e68d55ae2c6a36d64aa29f5c600edc52a5c6d8e92e99e200b75
7
+ data.tar.gz: 166640dc99160787a3f0547af9416ac45fe6482c65475230c7016d242167b61e9975b3ce33930ade18d9d4809ab44592ce6596e9ae1d1f2d2fcbf15de1b49c7d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [v0.5.1] - 31-10-2023
2
+ ## What's Changed
3
+ * Remove excess :// characters from PROTOCOL by @balevine in https://github.com/yettoapp/hephaestus/pull/12
4
+
5
+ ## New Contributors
6
+ * @balevine made their first contribution in https://github.com/yettoapp/hephaestus/pull/12
7
+
8
+ **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.5.0...v0.5.1
9
+ ## [v0.5.0] - 13-10-2023
10
+ ## What's Changed
11
+ * More edits by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/11
12
+
13
+
14
+ **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.4.0...v0.5.0
1
15
  ## [v0.4.0] - 29-09-2023
2
16
  ## What's Changed
3
17
  * Yet more changes by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/10
@@ -10,7 +10,7 @@ module Hephaestus
10
10
 
11
11
  def bundle_command(*)
12
12
  super
13
- exit(false) if $CHILD_STATUS.exitstatus.nonzero?
13
+ exit(false) if $CHILD_STATUS.exitstatus.nonzero? # rubocop:disable Rails/Exit
14
14
  end
15
15
 
16
16
  module ClassMethods
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Hephaestus
5
- VERSION = "0.5.0"
5
+ VERSION = "0.5.2"
6
6
  RAILS_VERSION = "~> 7.0"
7
7
  RUBY_VERSION = File
8
8
  .read("#{File.dirname(__FILE__)}/../../.ruby-version")
@@ -16,7 +16,7 @@ updates:
16
16
  - package-ecosystem: bundler
17
17
  directory: "/"
18
18
  schedule:
19
- interval: weekly
19
+ interval: monthly
20
20
  day: monday
21
21
  time: "09:00"
22
22
  timezone: "Etc/UTC"
@@ -17,7 +17,7 @@ module Authable
17
17
  state = params.fetch(:state, "")
18
18
  _, _, gh_nonce, _, _, _, _ = parse_state(state)
19
19
 
20
- return if ActiveSupport::SecurityUtils.secure_compare((gh_nonce || ""), PLUG_APP_NONCE)
20
+ return false if ActiveSupport::SecurityUtils.secure_compare((gh_nonce || ""), PLUG_APP_NONCE)
21
21
 
22
22
  self.status = PlugApp::HTTP::BAD_REQUEST_I
23
23
  self.response_body = ::ErrorSerializer.format(PlugApp::HTTP::BAD_REQUEST)
@@ -31,7 +31,7 @@ class SettingsController < ApplicationController
31
31
  return not_acceptable
32
32
  end
33
33
 
34
- plug_installation = response.parse_json_body
34
+ plug_installation = response.parsed_json_body
35
35
  access_token = plug_installation.fetch("credentials", {}).fetch("access_token", "")
36
36
 
37
37
  if access_token.blank?
@@ -8,7 +8,7 @@ class YettoService
8
8
 
9
9
  # explicitly different than what's in environment.rb, because local
10
10
  # Yetto expects HTTP; environment.rb can use HTTPS because it passes through ngrok.io
11
- PROTOCOL = Rails.env.development? ? "http://" : "https://"
11
+ PROTOCOL = Rails.env.development? ? "http" : "https"
12
12
  YETTO_API_VERSION_TLD = "#{PROTOCOL}://#{YETTO_API_TLD}/#{YETTO_API_VERSION}"
13
13
  JWT_ALGORITHM = "RS256"
14
14
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  require "rake/testtask"
5
5
 
6
- if Rails.env.development? || Rails.env.test?
6
+ if Rails.env.local?
7
7
  begin
8
8
  require "rubocop/rake_task"
9
9
 
@@ -25,7 +25,7 @@ require "httpx/adapters/webmock"
25
25
  WebMock.enable!
26
26
  WebMock.disable_net_connect!(allow_localhost: true)
27
27
 
28
- require_relative "./support/rails"
28
+ require_relative "support/rails"
29
29
 
30
30
  require "minitest/pride"
31
31
 
@@ -2,7 +2,7 @@ app = "plug-app-staging"
2
2
  primary_region = "iad"
3
3
 
4
4
  [env]
5
- RAILS_ENV = "plug-app-staging"
5
+ RAILS_ENV = "staging"
6
6
  LD_PRELOAD_PATH = "/usr/lib/x86_64-linux-gnu/libjemalloc.so.2"
7
7
 
8
8
  [processes]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hephaestus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-13 00:00:00.000000000 Z
11
+ date: 2023-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  - !ruby/object:Gem::Version
252
252
  version: 3.4.7
253
253
  requirements: []
254
- rubygems_version: 3.4.20
254
+ rubygems_version: 3.4.22
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: Generate a Rails app that can be used to create plugs for Yetto.