shared-infrastructure 2.2.0 → 2.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94062507bafc880f79be53ca05072f205c1ec7a503087ef3e58b7fc0516706d1
4
- data.tar.gz: f6eba55e524a66bbddcf9c75a3eea9703a2baf9d38960c984f72e2a01e90b985
3
+ metadata.gz: 2a25928cff5b222ea64339e74483a3626dadbb83adb9d6ed11fa3607e1229c97
4
+ data.tar.gz: 24631d7d64f1f7880964bb9c22c3b8186125491c454a4f4bcf78fbfbbe7d5b8d
5
5
  SHA512:
6
- metadata.gz: b06abbc64c3d03b55bee2250700279d1d63d22b15bb8b9bc2ca6389d6d6de06d1f8395dced7ac60bd09507a89b5bea2fbb8ea0beb0b60a1367c88aff5a781e22
7
- data.tar.gz: eb9605f6117fb9dd47882893bd140974e8f817caaf7dde8642749bba16aacdb33c4cd0a517b9e1c399cc0c727d602853640b1eb93c78b424f258a85dde29bc5a
6
+ metadata.gz: 695f7adad005e48093c604eceb7bc77621cf39a1e43a2998034937b4681b3f432683d9f0b78146a3867a1dca247e665118b27aec2cfe2e73dd6ddaf1f441a952
7
+ data.tar.gz: 9e23713658947727b7bbe2bbec75b7050f9542bc88b0adff5031b7ab5ed55c6bd559acd666e2f0f70b48ba962d6192a79bf57f760974db5023c08b4db31f4298
@@ -100,6 +100,8 @@ Finally, re-run this script to configure nginx for TLS.
100
100
  end
101
101
 
102
102
  class Site < Base
103
+ include Etc
104
+
103
105
  def initialize(user, *server_blocks, domain: nil)
104
106
  super(*server_blocks, domain: domain)
105
107
  @user = user
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SharedInfrastructure
4
- VERSION = "2.2.0"
4
+ VERSION = "2.2.1"
5
5
  end
@@ -1,20 +1,21 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shared_infrastructure/output.rb"
4
- require "shared_infrastructure/domain.rb"
5
- require "shared_infrastructure/nginx/nginx.rb"
6
- require "shared_infrastructure/nginx/server_block.rb"
7
- require "shared_infrastructure/nginx/server.rb"
8
- require "shared_infrastructure/nginx/lines.rb"
9
- require "shared_infrastructure/nginx/listen.rb"
10
- require "shared_infrastructure/nginx/location.rb"
11
- require "shared_infrastructure/nginx/upstream.rb"
12
- require "shared_infrastructure/nginx/builder.rb"
13
- require "shared_infrastructure/nginx/accel.rb"
14
- require "shared_infrastructure/runner/base.rb"
15
- require "shared_infrastructure/runner/reverse_proxy.rb"
16
- require "shared_infrastructure/runner/static_site.rb"
17
- require "shared_infrastructure/runner/rails.rb"
18
- require "shared_infrastructure/systemd/systemd.rb"
19
- require "shared_infrastructure/systemd/rails.rb"
20
- require "shared_infrastructure/version.rb"
3
+ require "etc"
4
+ require "shared_infrastructure/output"
5
+ require "shared_infrastructure/domain"
6
+ require "shared_infrastructure/nginx/nginx"
7
+ require "shared_infrastructure/nginx/server_block"
8
+ require "shared_infrastructure/nginx/server"
9
+ require "shared_infrastructure/nginx/lines"
10
+ require "shared_infrastructure/nginx/listen"
11
+ require "shared_infrastructure/nginx/location"
12
+ require "shared_infrastructure/nginx/upstream"
13
+ require "shared_infrastructure/nginx/builder"
14
+ require "shared_infrastructure/nginx/accel"
15
+ require "shared_infrastructure/runner/base"
16
+ require "shared_infrastructure/runner/reverse_proxy"
17
+ require "shared_infrastructure/runner/static_site"
18
+ require "shared_infrastructure/runner/rails"
19
+ require "shared_infrastructure/systemd/systemd"
20
+ require "shared_infrastructure/systemd/rails"
21
+ require "shared_infrastructure/version"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shared-infrastructure
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Reid
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-15 00:00:00.000000000 Z
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'For static sites, Rails apps, and reverse proxies.
14
14
 
@@ -47,7 +47,7 @@ homepage: https://github.com/weenhanceit/infrastructure
47
47
  licenses:
48
48
  - MIT
49
49
  metadata: {}
50
- post_install_message:
50
+ post_install_message:
51
51
  rdoc_options: []
52
52
  require_paths:
53
53
  - lib
@@ -62,8 +62,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.1.2
66
- signing_key:
65
+ rubygems_version: 3.5.3
66
+ signing_key:
67
67
  specification_version: 4
68
68
  summary: Configure nginx, systemd, and/or Puma
69
69
  test_files: []