pangea 0.0.42 → 0.0.48

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: a27f7a4e11a421996791c4a5a68584ad3dbbaea256d2cb192ec527f584096b9e
4
- data.tar.gz: 30ed236706894fcaeea5f78e708464338e3ac677740fc7c7a63f70228fe6853e
3
+ metadata.gz: a7e222fea6e5528d9008efbffe998e325db79ec421ca382fdd4134257a0fa7c5
4
+ data.tar.gz: 671e1c9415283a8bc78732dfc0a273120bb7be79396805f88550540e1001ad58
5
5
  SHA512:
6
- metadata.gz: 2e4bceb9f91cbd6320276b3d74dc911c04fff2fbbaaeebbb7362668ae6aedcf4c034abd0dfb1819cc5b75a9afa4123ac2aa24774404943c4bceee6860440e8a2
7
- data.tar.gz: 6c30ada697ff50715b40b16257204186677587ea207b304878345257dcc27dd7cb3f6defe267a683e81e38d476a5e0b2175200f033e9c69b189da11138a02d25
6
+ metadata.gz: da86db0b6f9da4255acc1a4fff8d7fa1b5021373eb664f275e42969929f2946210aade51f2aea8e218ec4f8f469f296d37b1a630663699d7d2c0b992d970b85e
7
+ data.tar.gz: d0e03277fcde01d02132292e1d39ad8f9f7a5b16bcfe96ee1f27719cf5790300df16f0140eac2c3752b15945386da5c3a8bf803f00db45826ab994f364c4fbe9
data/.gitignore CHANGED
@@ -1,59 +1,11 @@
1
- *.gem
2
- *.rbc
3
- /.config
4
- /coverage/
5
- /InstalledFiles
6
- /pkg/
7
- /spec/reports/
8
- /spec/examples.txt
9
- /test/tmp/
10
- /test/version_tmp/
11
- /tmp/
1
+ # direnv
2
+ .envrc
12
3
 
13
- # Used by dotenv library to load environment variables.
14
- # .env
4
+ # direnv use flake
5
+ .direnv
15
6
 
16
- # Ignore Byebug command history file.
17
- .byebug_history
7
+ # artifacts
8
+ pkg
18
9
 
19
- ## Specific to RubyMotion:
20
- .dat*
21
- .repl_history
22
- build/
23
- *.bridgesupport
24
- build-iPhoneOS/
25
- build-iPhoneSimulator/
26
-
27
- ## Specific to RubyMotion (use of CocoaPods):
28
- #
29
- # We recommend against adding the Pods directory to your .gitignore. However
30
- # you should judge for yourself, the pros and cons are mentioned at:
31
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
32
- #
33
- # vendor/Pods/
34
-
35
- ## Documentation cache and generated files:
36
- /.yardoc/
37
- /_yardoc/
38
- /doc/
39
- /rdoc/
40
-
41
- ## Environment normalization:
42
- /.bundle/
43
- /vendor/bundle
44
- /lib/bundler/man/
45
-
46
- # for a library or gem, you might want to ignore these files since the code is
47
- # intended to run in multiple environments; otherwise, check them in:
48
- # Gemfile.lock
49
- # .ruby-version
50
- # .ruby-gemset
51
-
52
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
53
- .rvmrc
54
-
55
- # Used by RuboCop. Remote config files pulled in from inherit_from directive.
56
- # .rubocop-https?--*
57
-
58
- # Used by nix
10
+ # nix current build
59
11
  result
data/Gemfile CHANGED
@@ -1,31 +1,2 @@
1
1
  source %(https://rubygems.org)
2
-
3
- group :development do
4
- %w[
5
- rubocop-rspec
6
- rubocop-rake
7
- keycutter
8
- rspec
9
- rake
10
- yard
11
- ].each do |this_gem|
12
- gem this_gem
13
- end
14
- end
15
-
16
- group :production do
17
- %w[
18
- aws-sdk-dynamodb
19
- terraform-synthesizer
20
- abstract-synthesizer
21
- tty-progressbar
22
- tty-option
23
- tty-table
24
- tty-color
25
- tty-box
26
- toml-rb
27
- bundler
28
- ].each do |this_gem|
29
- gem this_gem
30
- end
31
- end
2
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,82 +1,143 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ pangea (0.0.48)
5
+ abstract-synthesizer
6
+ aws-sdk-dynamodb
7
+ aws-sdk-s3
8
+ bigdecimal
9
+ bundler
10
+ rexml
11
+ terraform-synthesizer
12
+ thor
13
+ toml-rb
14
+ tty-box
15
+ tty-color
16
+ tty-option
17
+ tty-progressbar
18
+ tty-table
19
+
1
20
  GEM
2
21
  remote: https://rubygems.org/
3
22
  specs:
4
- abstract-synthesizer (0.0.2)
5
- ast (2.4.2)
6
- aws-eventstream (1.2.0)
7
- aws-partitions (1.854.0)
8
- aws-sdk-core (3.187.1)
9
- aws-eventstream (~> 1, >= 1.0.2)
10
- aws-partitions (~> 1, >= 1.651.0)
11
- aws-sigv4 (~> 1.5)
23
+ abstract-synthesizer (0.0.9)
24
+ ast (2.4.3)
25
+ aws-eventstream (1.3.2)
26
+ aws-partitions (1.1092.0)
27
+ aws-sdk-core (3.222.2)
28
+ aws-eventstream (~> 1, >= 1.3.0)
29
+ aws-partitions (~> 1, >= 1.992.0)
30
+ aws-sigv4 (~> 1.9)
31
+ base64
12
32
  jmespath (~> 1, >= 1.6.1)
13
- aws-sdk-dynamodb (1.96.0)
14
- aws-sdk-core (~> 3, >= 3.184.0)
15
- aws-sigv4 (~> 1.1)
16
- aws-sigv4 (1.6.1)
33
+ logger
34
+ aws-sdk-dynamodb (1.141.0)
35
+ aws-sdk-core (~> 3, >= 3.216.0)
36
+ aws-sigv4 (~> 1.5)
37
+ aws-sdk-kms (1.99.0)
38
+ aws-sdk-core (~> 3, >= 3.216.0)
39
+ aws-sigv4 (~> 1.5)
40
+ aws-sdk-s3 (1.183.0)
41
+ aws-sdk-core (~> 3, >= 3.216.0)
42
+ aws-sdk-kms (~> 1)
43
+ aws-sigv4 (~> 1.5)
44
+ aws-sigv4 (1.11.0)
17
45
  aws-eventstream (~> 1, >= 1.0.2)
46
+ base64 (0.2.0)
47
+ bigdecimal (3.1.9)
18
48
  citrus (3.0.2)
19
- diff-lcs (1.5.0)
49
+ date (3.4.1)
50
+ debug (1.10.0)
51
+ irb (~> 1.10)
52
+ reline (>= 0.3.8)
53
+ debug_inspector (1.2.0)
54
+ diff-lcs (1.6.1)
55
+ io-console (0.8.0)
56
+ irb (1.15.2)
57
+ pp (>= 0.6.0)
58
+ rdoc (>= 4.0.0)
59
+ reline (>= 0.4.2)
20
60
  jmespath (1.6.2)
21
- json (2.6.3)
22
- keycutter (1.0.2)
23
- language_server-protocol (3.17.0.3)
24
- parallel (1.23.0)
25
- parser (3.2.2.4)
61
+ json (2.11.3)
62
+ language_server-protocol (3.17.0.4)
63
+ lint_roller (1.1.0)
64
+ logger (1.7.0)
65
+ parallel (1.27.0)
66
+ parser (3.3.8.0)
26
67
  ast (~> 2.4.1)
27
68
  racc
28
69
  pastel (0.8.0)
29
70
  tty-color (~> 0.5)
30
- racc (1.7.3)
71
+ pp (0.6.2)
72
+ prettyprint
73
+ prettyprint (0.2.0)
74
+ prism (1.4.0)
75
+ psych (5.2.3)
76
+ date
77
+ stringio
78
+ racc (1.8.1)
31
79
  rainbow (3.1.1)
32
- rake (13.1.0)
33
- regexp_parser (2.8.2)
34
- rexml (3.2.6)
35
- rspec (3.12.0)
36
- rspec-core (~> 3.12.0)
37
- rspec-expectations (~> 3.12.0)
38
- rspec-mocks (~> 3.12.0)
39
- rspec-core (3.12.2)
40
- rspec-support (~> 3.12.0)
41
- rspec-expectations (3.12.3)
80
+ rake (13.2.1)
81
+ rbs (3.9.2)
82
+ logger
83
+ rdoc (6.13.1)
84
+ psych (>= 4.0.0)
85
+ regexp_parser (2.10.0)
86
+ reline (0.6.1)
87
+ io-console (~> 0.5)
88
+ rexml (3.4.1)
89
+ rspec (3.13.0)
90
+ rspec-core (~> 3.13.0)
91
+ rspec-expectations (~> 3.13.0)
92
+ rspec-mocks (~> 3.13.0)
93
+ rspec-core (3.13.3)
94
+ rspec-support (~> 3.13.0)
95
+ rspec-expectations (3.13.3)
42
96
  diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.12.0)
44
- rspec-mocks (3.12.6)
97
+ rspec-support (~> 3.13.0)
98
+ rspec-mocks (3.13.2)
45
99
  diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.12.0)
47
- rspec-support (3.12.1)
48
- rubocop (1.57.2)
100
+ rspec-support (~> 3.13.0)
101
+ rspec-support (3.13.2)
102
+ rubocop (1.75.3)
49
103
  json (~> 2.3)
50
- language_server-protocol (>= 3.17.0)
104
+ language_server-protocol (~> 3.17.0.2)
105
+ lint_roller (~> 1.1.0)
51
106
  parallel (~> 1.10)
52
- parser (>= 3.2.2.4)
107
+ parser (>= 3.3.0.2)
53
108
  rainbow (>= 2.2.2, < 4.0)
54
- regexp_parser (>= 1.8, < 3.0)
55
- rexml (>= 3.2.5, < 4.0)
56
- rubocop-ast (>= 1.28.1, < 2.0)
109
+ regexp_parser (>= 2.9.3, < 3.0)
110
+ rubocop-ast (>= 1.44.0, < 2.0)
57
111
  ruby-progressbar (~> 1.7)
58
- unicode-display_width (>= 2.4.0, < 3.0)
59
- rubocop-ast (1.30.0)
60
- parser (>= 3.2.1.0)
61
- rubocop-capybara (2.19.0)
62
- rubocop (~> 1.41)
63
- rubocop-factory_bot (2.24.0)
64
- rubocop (~> 1.33)
65
- rubocop-rake (0.6.0)
66
- rubocop (~> 1.0)
67
- rubocop-rspec (2.25.0)
68
- rubocop (~> 1.40)
69
- rubocop-capybara (~> 2.17)
70
- rubocop-factory_bot (~> 2.22)
112
+ unicode-display_width (>= 2.4.0, < 4.0)
113
+ rubocop-ast (1.44.1)
114
+ parser (>= 3.3.7.2)
115
+ prism (~> 1.4)
116
+ rubocop-rake (0.7.1)
117
+ lint_roller (~> 1.1)
118
+ rubocop (>= 1.72.1)
119
+ rubocop-rspec (3.6.0)
120
+ lint_roller (~> 1.1)
121
+ rubocop (~> 1.72, >= 1.72.1)
122
+ ruby-lsp (0.23.15)
123
+ language_server-protocol (~> 3.17.0)
124
+ prism (>= 1.2, < 2.0)
125
+ rbs (>= 3, < 4)
126
+ sorbet-runtime (>= 0.5.10782)
71
127
  ruby-progressbar (1.13.0)
128
+ sorbet-runtime (0.5.12041)
129
+ stringio (3.1.7)
72
130
  strings (0.2.1)
73
131
  strings-ansi (~> 0.2)
74
132
  unicode-display_width (>= 1.5, < 3.0)
75
133
  unicode_utils (~> 1.4)
76
134
  strings-ansi (0.2.0)
77
- terraform-synthesizer (0.0.2)
78
- toml-rb (2.2.0)
135
+ terraform-synthesizer (0.0.26)
136
+ abstract-synthesizer
137
+ thor (1.3.2)
138
+ toml-rb (4.0.0)
79
139
  citrus (~> 3.0, > 3.0)
140
+ racc (~> 1.7)
80
141
  tty-box (0.7.0)
81
142
  pastel (~> 0.8)
82
143
  strings (~> 0.2.0)
@@ -84,40 +145,34 @@ GEM
84
145
  tty-color (0.6.0)
85
146
  tty-cursor (0.7.1)
86
147
  tty-option (0.3.0)
87
- tty-progressbar (0.18.2)
148
+ tty-progressbar (0.18.3)
88
149
  strings-ansi (~> 0.2)
89
150
  tty-cursor (~> 0.7)
90
151
  tty-screen (~> 0.8)
91
152
  unicode-display_width (>= 1.6, < 3.0)
92
- tty-screen (0.8.1)
153
+ tty-screen (0.8.2)
93
154
  tty-table (0.12.0)
94
155
  pastel (~> 0.8)
95
156
  strings (~> 0.2.0)
96
157
  tty-screen (~> 0.8)
97
- unicode-display_width (2.5.0)
158
+ unicode-display_width (2.6.0)
98
159
  unicode_utils (1.4.0)
99
- yard (0.9.34)
100
160
 
101
161
  PLATFORMS
162
+ arm64-darwin-24
163
+ x86_64-darwin-22
102
164
  x86_64-linux
103
165
 
104
166
  DEPENDENCIES
105
- abstract-synthesizer
106
- aws-sdk-dynamodb
107
- bundler
108
- keycutter
167
+ debug
168
+ debug_inspector
169
+ pangea!
109
170
  rake
110
171
  rspec
172
+ rubocop
111
173
  rubocop-rake
112
174
  rubocop-rspec
113
- terraform-synthesizer
114
- toml-rb
115
- tty-box
116
- tty-color
117
- tty-option
118
- tty-progressbar
119
- tty-table
120
- yard
175
+ ruby-lsp
121
176
 
122
177
  BUNDLED WITH
123
- 2.4.6
178
+ 2.5.22
data/Rakefile CHANGED
@@ -3,8 +3,7 @@
3
3
  require %(bundler/gem_tasks)
4
4
  require %(rubocop/rake_task)
5
5
  require %(rspec/core/rake_task)
6
-
7
- require_relative %(./lib/pangea/docker)
6
+ require_relative %(lib/pangea/docker)
8
7
 
9
8
  RSpec::Core::RakeTask.new(:spec)
10
9
  RuboCop::RakeTask.new(:rubocop) do |t|
data/bin/pangea CHANGED
@@ -1,3 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
+ lib = File.expand_path('../lib', __dir__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
2
4
  require %(pangea/cli)
3
- Command.new.run
data/flake.lock CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "nodes": {
3
3
  "flake-utils": {
4
+ "inputs": {
5
+ "systems": "systems"
6
+ },
4
7
  "locked": {
5
- "lastModified": 1676283394,
6
- "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
8
+ "lastModified": 1731533236,
9
+ "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
7
10
  "owner": "numtide",
8
11
  "repo": "flake-utils",
9
- "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
12
+ "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
10
13
  "type": "github"
11
14
  },
12
15
  "original": {
@@ -17,11 +20,11 @@
17
20
  },
18
21
  "nixpkgs": {
19
22
  "locked": {
20
- "lastModified": 1687477530,
21
- "narHash": "sha256-WSUpF313Yb8yAzQOSYjhqXaRaNmKNMQUGlYIz5IQdqY=",
23
+ "lastModified": 1740046062,
24
+ "narHash": "sha256-vUmxYrT5yD7qHmu5jdADvldD6oJO/P6KINcizycVWJg=",
22
25
  "owner": "NixOS",
23
26
  "repo": "nixpkgs",
24
- "rev": "3cb61223dfefbbb35b3bcef6950df603298511e2",
27
+ "rev": "212372f68568d85d4e77b4a7411409ecd8e36e66",
25
28
  "type": "github"
26
29
  },
27
30
  "original": {
@@ -30,27 +33,57 @@
30
33
  "type": "github"
31
34
  }
32
35
  },
36
+ "nixpkgs_2": {
37
+ "locked": {
38
+ "lastModified": 1678875422,
39
+ "narHash": "sha256-T3o6NcQPwXjxJMn2shz86Chch4ljXgZn746c2caGxd8=",
40
+ "owner": "NixOS",
41
+ "repo": "nixpkgs",
42
+ "rev": "126f49a01de5b7e35a43fd43f891ecf6d3a51459",
43
+ "type": "github"
44
+ },
45
+ "original": {
46
+ "id": "nixpkgs",
47
+ "type": "indirect"
48
+ }
49
+ },
33
50
  "root": {
34
51
  "inputs": {
52
+ "flake-utils": "flake-utils",
35
53
  "nixpkgs": "nixpkgs",
36
- "ruby-flake-utils": "ruby-flake-utils"
54
+ "ruby-nix": "ruby-nix"
37
55
  }
38
56
  },
39
- "ruby-flake-utils": {
57
+ "ruby-nix": {
40
58
  "inputs": {
41
- "flake-utils": "flake-utils"
59
+ "nixpkgs": "nixpkgs_2"
60
+ },
61
+ "locked": {
62
+ "lastModified": 1725677741,
63
+ "narHash": "sha256-CySXGzqycagfrWdcTwzM3Zo1MMm9uUtePYER9BvrW8s=",
64
+ "owner": "inscapist",
65
+ "repo": "ruby-nix",
66
+ "rev": "1f3756f8a713171bf891b39c0d3b1fe6d83a4a63",
67
+ "type": "github"
42
68
  },
69
+ "original": {
70
+ "owner": "inscapist",
71
+ "repo": "ruby-nix",
72
+ "type": "github"
73
+ }
74
+ },
75
+ "systems": {
43
76
  "locked": {
44
- "lastModified": 1677241498,
45
- "narHash": "sha256-WqLNHvUbN8HhC8dryp48/Q7e0Fw/eZ0oWfHpVAMSQAQ=",
46
- "owner": "t3rro",
47
- "repo": "ruby-flake-utils",
48
- "rev": "90d49b909be757ddb459b9c0261da5d8f653e88d",
77
+ "lastModified": 1681028828,
78
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
79
+ "owner": "nix-systems",
80
+ "repo": "default",
81
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
49
82
  "type": "github"
50
83
  },
51
84
  "original": {
52
- "owner": "t3rro",
53
- "repo": "ruby-flake-utils",
85
+ "owner": "nix-systems",
86
+ "repo": "default",
54
87
  "type": "github"
55
88
  }
56
89
  }
data/flake.nix CHANGED
@@ -1,17 +1,37 @@
1
1
  {
2
- description = "pangea";
2
+ description = "cloud renderer, world creator";
3
3
 
4
- inputs.nixpkgs.url = github:NixOS/nixpkgs;
5
- inputs.ruby-flake-utils.url = github:t3rro/ruby-flake-utils;
4
+ inputs.nixpkgs.url = "github:NixOS/nixpkgs";
5
+ inputs.ruby-nix.url = "github:inscapist/ruby-nix";
6
+ inputs.flake-utils.url = "github:numtide/flake-utils";
6
7
 
7
- outputs = { ruby-flake-utils, nixpkgs, ... }:
8
- ruby-flake-utils.lib.mkGemSystems {
9
- inherit nixpkgs;
10
- name = "pangea";
11
- lockfile = ./Gemfile.lock;
12
- gemfile = ./Gemfile;
13
- gemset = ./gemset.nix;
14
- strategy = "bin";
15
- src = ./.;
16
- };
8
+ outputs = {
9
+ nixpkgs,
10
+ ruby-nix,
11
+ flake-utils,
12
+ ...
13
+ }:
14
+ flake-utils.lib.eachDefaultSystem (system: let
15
+ pkgs = import nixpkgs {
16
+ inherit system;
17
+ overlays = [ruby-nix.overlays.ruby];
18
+ };
19
+ rnix = ruby-nix.lib pkgs;
20
+ rnix-env = rnix {
21
+ name = "pangea";
22
+ gemset = ./gemset.nix;
23
+ };
24
+ env = rnix-env.env;
25
+ ruby = rnix-env.ruby;
26
+ in {
27
+ devShells = rec {
28
+ default = dev;
29
+ dev = pkgs.mkShell {
30
+ buildInputs = with pkgs; [env ruby opentofu];
31
+ shellHook = ''
32
+ PATH=$PWD/bin:$PATH
33
+ '';
34
+ };
35
+ };
36
+ });
17
37
  }