orchestration 0.6.9 → 0.6.10

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: 12e2e03dddf05c889b4938735bb407532671c958ad7e1e39ce37ad7ee07a4eec
4
- data.tar.gz: 1a0fc371d1230959b7869094cb4cc13a59f9c8e2129c1f62b295d954218a1d75
3
+ metadata.gz: f1582f2621a3d1b76eb01abe94e305c9b4e302b0644f923d19ff11731cccdcae
4
+ data.tar.gz: 4f33c21464eecbd1bc904bf7f580e0154a4cea20db93b971759380f65e29ce01
5
5
  SHA512:
6
- metadata.gz: 73d3df8af18ce92fce2e837bab16ca6f9be03051240a6f89e9e3e549aad659ec5bdb0d03eb11ca3f4ba8ae2ab839ddbf121ab14abf1d63e13267faac4672b325
7
- data.tar.gz: 9779cef3d3d921dfc34ba41bdb29ef94642c08d7c92967c742bd52ca8d6527826bf3e040504228a4dd4dfc53c6a8d1e7334af4ebf6f98c247bbb06a820e6e0f8
6
+ metadata.gz: aa78fcd687d3fd5492588212059db15ba5ff9ee84ec57d5950ed3ae55f01965d6e91133cd4e04049f9256431a39d9918bc61e84ab92f3417be936abfa6f42082
7
+ data.tar.gz: 6b1317f6cb99a6c1427e120eb95f23b356c6f7dee2bb8880581b038469eb0a7f2999f2d53cb70bbc79c472794183320faf3c6baa585589cb5ea0a46e490948f3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- orchestration (0.6.9)
4
+ orchestration (0.6.10)
5
5
  database_url (~> 0.1.2)
6
6
  dotenv-rails (~> 2.8)
7
7
  erubis (~> 2.7)
@@ -59,6 +59,9 @@ GEM
59
59
  activerecord (6.1.4.7)
60
60
  activemodel (= 6.1.4.7)
61
61
  activesupport (= 6.1.4.7)
62
+ activerecord-postgis-adapter (7.1.1)
63
+ activerecord (~> 6.1)
64
+ rgeo-activerecord (~> 7.0.0)
62
65
  activestorage (6.1.4.7)
63
66
  actionpack (= 6.1.4.7)
64
67
  activejob (= 6.1.4.7)
@@ -134,7 +137,7 @@ GEM
134
137
  racc (~> 1.4)
135
138
  paint (2.3.0)
136
139
  parallel (1.22.1)
137
- parser (3.1.3.0)
140
+ parser (3.2.0.0)
138
141
  ast (~> 2.4.1)
139
142
  pg (1.4.5)
140
143
  public_suffix (5.0.1)
@@ -173,6 +176,10 @@ GEM
173
176
  rbtree (0.4.6)
174
177
  regexp_parser (2.6.1)
175
178
  rexml (3.2.5)
179
+ rgeo (2.4.0)
180
+ rgeo-activerecord (7.0.1)
181
+ activerecord (>= 5.0)
182
+ rgeo (>= 1.0.0)
176
183
  rspec (3.12.0)
177
184
  rspec-core (~> 3.12.0)
178
185
  rspec-expectations (~> 3.12.0)
@@ -189,14 +196,14 @@ GEM
189
196
  diff-lcs (>= 1.2.0, < 2.0)
190
197
  rspec-support (~> 3.12.0)
191
198
  rspec-support (3.12.0)
192
- rubocop (1.41.1)
199
+ rubocop (1.42.0)
193
200
  json (~> 2.3)
194
201
  parallel (~> 1.10)
195
202
  parser (>= 3.1.2.1)
196
203
  rainbow (>= 2.2.2, < 4.0)
197
204
  regexp_parser (>= 1.8, < 3.0)
198
205
  rexml (>= 3.2.5, < 4.0)
199
- rubocop-ast (>= 1.23.0, < 2.0)
206
+ rubocop-ast (>= 1.24.1, < 2.0)
200
207
  ruby-progressbar (~> 1.7)
201
208
  unicode-display_width (>= 1.4.0, < 3.0)
202
209
  rubocop-ast (1.24.1)
@@ -230,7 +237,7 @@ GEM
230
237
  timeout (0.3.1)
231
238
  tzinfo (2.0.5)
232
239
  concurrent-ruby (~> 1.0)
233
- unicode-display_width (2.3.0)
240
+ unicode-display_width (2.4.0)
234
241
  webmock (3.18.1)
235
242
  addressable (>= 2.8.0)
236
243
  crack (>= 0.3.2)
@@ -245,6 +252,7 @@ PLATFORMS
245
252
 
246
253
  DEPENDENCIES
247
254
  activerecord (~> 6.0)
255
+ activerecord-postgis-adapter (~> 7.1)
248
256
  bunny (~> 2.12)
249
257
  devpack (~> 0.3.2)
250
258
  mongoid (~> 7.0)
@@ -2,7 +2,8 @@
2
2
  ### Environment setup ###
3
3
  SHELL:=/bin/bash
4
4
  MAKE:=mkpath=${mkpath} make --no-print-directory
5
-
5
+ ORCHESTRATION_DISABLE_ENV=1
6
+ export
6
7
  TERM ?= 'dumb'
7
8
  pwd:=$(shell pwd)
8
9
 
@@ -142,7 +143,7 @@ DOCKER_TAG ?= latest
142
143
  ifneq (,$(wildcard ./Gemfile))
143
144
  bundle_cmd = bundle exec
144
145
  endif
145
- rake=DEVPACK_DISABLE=1 RACK_ENV=${env} SECRET_KEY_BASE='placeholder-secret' RAILS_ENV=${env} ${bundle_cmd} rake
146
+ rake=ORCHESTRATION_DISABLE_ENV=1 DEVPACK_DISABLE=1 RACK_ENV=${env} SECRET_KEY_BASE='placeholder-secret' RAILS_ENV=${env} ${bundle_cmd} rake
146
147
 
147
148
  ifneq (,$(wildcard ${env_file}))
148
149
  ifeq (,$(findstring deploy,$(MAKECMDGOALS)))
@@ -1,4 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ ENV['ORCHESTRATION_DISABLE_ENV'] = '1'
4
+
3
5
  require 'orchestration'
4
6
  puts Orchestration.makefile
@@ -48,7 +48,7 @@ module Orchestration
48
48
  end
49
49
 
50
50
  def print_variable(variable, value)
51
- $stdout.print "#{Paint[variable, :blue]}#{Paint['=', :white]}#{Paint[value, :cyan]}"
51
+ $stderr.print "#{Paint[variable, :blue]}#{Paint['=', :white]}#{Paint[value, :cyan]}"
52
52
  end
53
53
 
54
54
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orchestration
4
- VERSION = '0.6.9'
4
+ VERSION = '0.6.10'
5
5
  end
data/lib/orchestration.rb CHANGED
@@ -62,13 +62,13 @@ module Orchestration
62
62
  def print_environment
63
63
  return unless File.exist?('.env')
64
64
 
65
- $stdout.puts
66
- $stdout.puts("#{prefix} #{Paint['Loading environment from', :cyan]} #{Paint['.env', :green]}")
67
- $stdout.puts
65
+ $stderr.puts
66
+ warn("#{prefix} #{Paint['Loading environment from', :cyan]} #{Paint['.env', :green]}")
67
+ $stderr.puts
68
68
  environment_variables.each do |variable, value|
69
69
  terminal.print_variable(variable, value)
70
70
  end
71
- $stdout.puts
71
+ $stderr.puts
72
72
  end
73
73
 
74
74
  private
@@ -92,7 +92,7 @@ module Orchestration
92
92
  end
93
93
  end
94
94
 
95
- if ENV['RAILS_ENV'] == 'development'
95
+ if ENV['RAILS_ENV'] == 'development' && !ENV.key?('ORCHESTRATION_DISABLE_ENV')
96
96
  require 'dotenv-rails'
97
97
  Dotenv::Railtie.load
98
98
  Orchestration.print_environment
@@ -36,6 +36,7 @@ Gem::Specification.new do |spec|
36
36
  spec.add_runtime_dependency 'thor', '~> 1.0'
37
37
 
38
38
  spec.add_development_dependency 'activerecord', '~> 6.0'
39
+ spec.add_development_dependency 'activerecord-postgis-adapter', '~> 7.1'
39
40
  spec.add_development_dependency 'bunny', '~> 2.12'
40
41
  spec.add_development_dependency 'devpack', '~> 0.3.2'
41
42
  spec.add_development_dependency 'mongoid', '~> 7.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orchestration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-01 00:00:00.000000000 Z
11
+ date: 2023-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: database_url
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '6.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: activerecord-postgis-adapter
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '7.1'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '7.1'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: bunny
127
141
  requirement: !ruby/object:Gem::Requirement