minfra-cli 0.1.0 → 0.2.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: fdef57265500c1ab2f82470de61a21d1d604d4cdbc198f2acbcafdab9cb37548
4
- data.tar.gz: f7a25a0c65239ccaa49331a0e94d14494b92a44927df112c2258d6b42ef51420
3
+ metadata.gz: ed88af71574792ed7953214f0c516ed45a7794d9d4650dfec38f3f92a001cd05
4
+ data.tar.gz: 9a3510f219dc7dc1de4bcbf79928e641df461c68a9ed5378f34521bac013743f
5
5
  SHA512:
6
- metadata.gz: e2875bcf474cbed4017f6fb5e7188745b04357e0181a9ab1d8641d041d880e3152624e21f4fed4317a9c4a24c1c1e3d00c552f4fcaf558324a78d74d08de8930
7
- data.tar.gz: f6ae3c0c3a82ca453a886a8d1bfc6ea2170a967f42094a482d769cbb40f60706416f2592465202afc2e04f7bd957068730d8da1420b14b6c13c331864770e1ca
6
+ metadata.gz: f8c828030329063f011585c16631c32f573814d0fa279a74a9d388a8df5a68e0f99d0e3bf757e2facce4f5a84fa656766f35a251b58a29874e5fbb030dc303e5
7
+ data.tar.gz: 3baf1cba2e498dd853756192594c553a530f1ec3038b98684910c718690243f3a389c38be6e6a17cccf317bf4749f4c7d43efdef54cb2eab10478eab684168eb
data/Gemfile ADDED
@@ -0,0 +1,59 @@
1
+ # frozen_string_literal: true
2
+ source 'https://rubygems.org'
3
+
4
+ #gemspec
5
+ gem "thor"
6
+ gem "table_print", "1.5.6"
7
+ gem "rest-client", "~>2.0"
8
+ gem "hashie", "~>3.5"
9
+ gem "bootsnap"
10
+ gem "gli", "~> 2.16.0"
11
+ gem "activesupport"
12
+ gem "erubis"
13
+
14
+ gem 'byebug', require: true # convenience
15
+ gem 'graphiti'
16
+ gem 'faraday'
17
+
18
+
19
+ group :test do
20
+ gem 'rspec'
21
+ gem 'rubocop'
22
+ gem 'timecop'
23
+ end
24
+
25
+ group :development, :test do
26
+ gem 'guard-rspec', require: false
27
+ gem 'pry'
28
+ gem 'pry-doc'
29
+ end
30
+
31
+ if false && ENV["MINFRA_WITH_PLUGINS"]=="true" # this is only set when we run the exe (not on bundle install...)
32
+ require 'ostruct'
33
+ require 'json'
34
+ require 'byebug'
35
+
36
+ [Pathname.new(ENV["MINFRA_PATH"]).join("config","minfra_plugins.json"),
37
+ Pathname.new(ENV["MINFRA_PATH"]).join("me","minfra_plugins.json")].each do |file|
38
+
39
+ next unless File.exist?(file)
40
+
41
+ plugins=JSON.parse(File.read(file))
42
+ plugins["plugins"].each do |spec|
43
+ opts=spec["opts"] || {}
44
+ opts.merge(require: false)
45
+ if opts["path"]
46
+ gem spec["name"], spec["version"], opts
47
+ else
48
+ begin
49
+ Gem::Specification.find_by_name(spec["name"]) unless ENV["MINFRA_SETUP"]
50
+ gem spec["name"], spec["version"], opts
51
+ rescue Gem::MissingSpecError
52
+ STDERR.puts("Can't load plugin: #{spec["name"]}, #{spec["version"]}; run 'minfra plugin setup'")
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
58
+
59
+
data/Gemfile.lock ADDED
@@ -0,0 +1,171 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ activesupport (6.1.0)
5
+ concurrent-ruby (~> 1.0, >= 1.0.2)
6
+ i18n (>= 1.6, < 2)
7
+ minitest (>= 5.1)
8
+ tzinfo (~> 2.0)
9
+ zeitwerk (~> 2.3)
10
+ ast (2.4.0)
11
+ bootsnap (1.4.6)
12
+ msgpack (~> 1.0)
13
+ byebug (11.1.3)
14
+ coderay (1.1.3)
15
+ concurrent-ruby (1.1.7)
16
+ diff-lcs (1.3)
17
+ domain_name (0.5.20190701)
18
+ unf (>= 0.0.5, < 1.0.0)
19
+ dry-configurable (0.13.0)
20
+ concurrent-ruby (~> 1.0)
21
+ dry-core (~> 0.6)
22
+ dry-container (0.9.0)
23
+ concurrent-ruby (~> 1.0)
24
+ dry-configurable (~> 0.13, >= 0.13.0)
25
+ dry-core (0.7.1)
26
+ concurrent-ruby (~> 1.0)
27
+ dry-inflector (0.2.1)
28
+ dry-logic (1.2.0)
29
+ concurrent-ruby (~> 1.0)
30
+ dry-core (~> 0.5, >= 0.5)
31
+ dry-types (1.5.1)
32
+ concurrent-ruby (~> 1.0)
33
+ dry-container (~> 0.3)
34
+ dry-core (~> 0.5, >= 0.5)
35
+ dry-inflector (~> 0.1, >= 0.1.2)
36
+ dry-logic (~> 1.0, >= 1.0.2)
37
+ erubis (2.7.0)
38
+ faraday (2.0.1)
39
+ faraday-net_http (~> 2.0)
40
+ ruby2_keywords (>= 0.0.4)
41
+ faraday-net_http (2.0.1)
42
+ ffi (1.14.2)
43
+ formatador (0.2.5)
44
+ gli (2.16.1)
45
+ graphiti (1.3.5)
46
+ activesupport (>= 4.1)
47
+ concurrent-ruby (~> 1.0)
48
+ dry-types (>= 0.15.0, < 2.0)
49
+ graphiti_errors (~> 1.1.0)
50
+ jsonapi-renderer (~> 0.2, >= 0.2.2)
51
+ jsonapi-serializable (~> 0.3.0)
52
+ graphiti_errors (1.1.2)
53
+ jsonapi-serializable (~> 0.1)
54
+ guard (2.16.2)
55
+ formatador (>= 0.2.4)
56
+ listen (>= 2.7, < 4.0)
57
+ lumberjack (>= 1.0.12, < 2.0)
58
+ nenv (~> 0.1)
59
+ notiffany (~> 0.0)
60
+ pry (>= 0.9.12)
61
+ shellany (~> 0.0)
62
+ thor (>= 0.18.1)
63
+ guard-compat (1.2.1)
64
+ guard-rspec (4.7.3)
65
+ guard (~> 2.1)
66
+ guard-compat (~> 1.1)
67
+ rspec (>= 2.99.0, < 4.0)
68
+ hashie (3.5.7)
69
+ http-accept (1.7.0)
70
+ http-cookie (1.0.3)
71
+ domain_name (~> 0.5)
72
+ i18n (1.8.5)
73
+ concurrent-ruby (~> 1.0)
74
+ jaro_winkler (1.5.4)
75
+ jsonapi-renderer (0.2.2)
76
+ jsonapi-serializable (0.3.1)
77
+ jsonapi-renderer (~> 0.2.0)
78
+ listen (3.3.3)
79
+ rb-fsevent (~> 0.10, >= 0.10.3)
80
+ rb-inotify (~> 0.9, >= 0.9.10)
81
+ lumberjack (1.2.8)
82
+ method_source (1.0.0)
83
+ mime-types (3.3.1)
84
+ mime-types-data (~> 3.2015)
85
+ mime-types-data (3.2020.0425)
86
+ minitest (5.14.2)
87
+ msgpack (1.3.3)
88
+ nenv (0.3.0)
89
+ netrc (0.11.0)
90
+ notiffany (0.1.3)
91
+ nenv (~> 0.1)
92
+ shellany (~> 0.0)
93
+ parallel (1.19.1)
94
+ parser (2.7.1.2)
95
+ ast (~> 2.4.0)
96
+ pry (0.13.1)
97
+ coderay (~> 1.1)
98
+ method_source (~> 1.0)
99
+ pry-doc (1.1.0)
100
+ pry (~> 0.11)
101
+ yard (~> 0.9.11)
102
+ rainbow (3.0.0)
103
+ rb-fsevent (0.10.4)
104
+ rb-inotify (0.10.1)
105
+ ffi (~> 1.0)
106
+ rest-client (2.1.0)
107
+ http-accept (>= 1.7.0, < 2.0)
108
+ http-cookie (>= 1.0.2, < 2.0)
109
+ mime-types (>= 1.16, < 4.0)
110
+ netrc (~> 0.8)
111
+ rexml (3.2.4)
112
+ rspec (3.9.0)
113
+ rspec-core (~> 3.9.0)
114
+ rspec-expectations (~> 3.9.0)
115
+ rspec-mocks (~> 3.9.0)
116
+ rspec-core (3.9.2)
117
+ rspec-support (~> 3.9.3)
118
+ rspec-expectations (3.9.2)
119
+ diff-lcs (>= 1.2.0, < 2.0)
120
+ rspec-support (~> 3.9.0)
121
+ rspec-mocks (3.9.1)
122
+ diff-lcs (>= 1.2.0, < 2.0)
123
+ rspec-support (~> 3.9.0)
124
+ rspec-support (3.9.3)
125
+ rubocop (0.82.0)
126
+ jaro_winkler (~> 1.5.1)
127
+ parallel (~> 1.10)
128
+ parser (>= 2.7.0.1)
129
+ rainbow (>= 2.2.2, < 4.0)
130
+ rexml
131
+ ruby-progressbar (~> 1.7)
132
+ unicode-display_width (>= 1.4.0, < 2.0)
133
+ ruby-progressbar (1.10.1)
134
+ ruby2_keywords (0.0.5)
135
+ shellany (0.0.1)
136
+ table_print (1.5.6)
137
+ thor (1.0.1)
138
+ timecop (0.9.1)
139
+ tzinfo (2.0.4)
140
+ concurrent-ruby (~> 1.0)
141
+ unf (0.1.4)
142
+ unf_ext
143
+ unf_ext (0.0.7.7)
144
+ unicode-display_width (1.7.0)
145
+ yard (0.9.25)
146
+ zeitwerk (2.4.2)
147
+
148
+ PLATFORMS
149
+ ruby
150
+
151
+ DEPENDENCIES
152
+ activesupport
153
+ bootsnap
154
+ byebug
155
+ erubis
156
+ faraday
157
+ gli (~> 2.16.0)
158
+ graphiti
159
+ guard-rspec
160
+ hashie (~> 3.5)
161
+ pry
162
+ pry-doc
163
+ rest-client (~> 2.0)
164
+ rspec
165
+ rubocop
166
+ table_print (= 1.5.6)
167
+ thor
168
+ timecop
169
+
170
+ BUNDLED WITH
171
+ 2.1.4
@@ -1,5 +1,5 @@
1
1
  module Minfra
2
2
  module Cli
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.2.0'.freeze
4
4
  end
5
5
  end
data/minfra-cli.gemspec CHANGED
@@ -33,8 +33,4 @@ Gem::Specification.new do |spec|
33
33
  spec.add_runtime_dependency "hashie", "~>3.5"
34
34
  spec.add_runtime_dependency "activesupport", "~> 6.1"
35
35
  spec.add_runtime_dependency "erubis", "~> 2.7"
36
-
37
- #gem 'byebug', require: true # convenience
38
- #gem 'graphiti'
39
- #gem 'faraday'
40
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minfra-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Schrammel
@@ -113,6 +113,8 @@ files:
113
113
  - ".rspec"
114
114
  - CHANGELOG.md
115
115
  - Dockerfile
116
+ - Gemfile
117
+ - Gemfile.lock
116
118
  - bin/build
117
119
  - bin/console
118
120
  - bin/container_exec