envoy-cli 1.0.0rc3 → 1.0.0rc4

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
  SHA1:
3
- metadata.gz: 84db9ede07c7b6cbb7c3157af51a7a7c0bde416e
4
- data.tar.gz: 87d68a89972eda6528490f9c2892c050fdac1185
3
+ metadata.gz: 6b4709a9e5a495bb0a334257766f86975dfb73ce
4
+ data.tar.gz: 0ae0afab211080a223701ca1c53524fb026e4314
5
5
  SHA512:
6
- metadata.gz: 4f5f1dcae476d333e5970571cec0989ec89ecd718b49b4f11806f8e9b55a42340060b8f1b42666d27b7c1bdf19ad3b3ae6a6bc0efebe97a712071ad2de75ece4
7
- data.tar.gz: e41d62783547a6b6e232a95cc2383fca23243e17a5001ab235e5129e62189b163153ad0001b3d02663deb14cbb4b66c1e3dac04d9c97b0bfe2e5b3a64cb5ee6e
6
+ metadata.gz: 1213dccf867b6d110bdee546ef15c543a9da85e5e95ee28e4b67b1db9fdb3274dbb1b169248d4decd95b16590723f59b6e65b6a54a7be35db2ed726c5f2cdb99
7
+ data.tar.gz: 3b421b0d858cae87095b30d15a8851442fe83c6d17ac3c277b117548e9e044106cc66bcea2b040c8ebfc9a177bb79b4a91a9201ea54a3b7bebb88f9f29f31c7a
@@ -0,0 +1,105 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ envoy-cli (1.0.0rc2)
5
+ coderay (~> 1.1, >= 1.1.1)
6
+ colorize (~> 0.7, >= 0.7.7)
7
+ launchy (~> 2.4, >= 2.4.3)
8
+ net-http-uploadprogress (~> 2.0, >= 2.0.0)
9
+ parseconfig (~> 1.0, >= 1.0.8)
10
+ terminal-table (~> 1.5, >= 1.5.2)
11
+ thor (~> 0.19, >= 0.19.1)
12
+ tty (~> 0.5, >= 0.5.0)
13
+ unirest (~> 1.1, >= 1.1.2)
14
+
15
+ GEM
16
+ remote: http://rubygems.org/
17
+ specs:
18
+ addressable (2.3.8)
19
+ coderay (1.1.1)
20
+ colorize (0.8.1)
21
+ diff-lcs (1.3)
22
+ equatable (0.5.0)
23
+ json (1.8.6)
24
+ launchy (2.4.3)
25
+ addressable (~> 2.3)
26
+ mime-types (1.25.1)
27
+ necromancer (0.3.0)
28
+ net-http-uploadprogress (2.0.0)
29
+ parseconfig (1.0.8)
30
+ pastel (0.7.1)
31
+ equatable (~> 0.5.0)
32
+ tty-color (~> 0.4.0)
33
+ rest-client (1.6.9)
34
+ mime-types (~> 1.16)
35
+ terminal-table (1.7.3)
36
+ unicode-display_width (~> 1.1.1)
37
+ thor (0.19.4)
38
+ tty (0.6.0)
39
+ equatable (~> 0.5.0)
40
+ pastel (~> 0.7.0)
41
+ tty-color (~> 0.4.0)
42
+ tty-command (~> 0.3.0)
43
+ tty-cursor (~> 0.3.0)
44
+ tty-editor (~> 0.1.0)
45
+ tty-file (~> 0.2.0)
46
+ tty-pager (~> 0.5.0)
47
+ tty-platform (~> 0.1.0)
48
+ tty-progressbar (~> 0.10.0)
49
+ tty-prompt (~> 0.10.0)
50
+ tty-screen (~> 0.5.0)
51
+ tty-spinner (~> 0.4.0)
52
+ tty-table (~> 0.7.0)
53
+ tty-which (~> 0.2.0)
54
+ tty-color (0.4.2)
55
+ tty-command (0.3.3)
56
+ pastel (~> 0.7.0)
57
+ tty-cursor (0.3.0)
58
+ tty-editor (0.1.2)
59
+ tty-prompt (~> 0.10.0)
60
+ tty-which (~> 0.2.0)
61
+ tty-file (0.2.1)
62
+ diff-lcs (~> 1.3.0)
63
+ pastel (~> 0.7.0)
64
+ tty-prompt (~> 0.10.0)
65
+ tty-pager (0.5.0)
66
+ tty-screen (~> 0.5.0)
67
+ tty-which (~> 0.2.0)
68
+ verse (~> 0.5.0)
69
+ tty-platform (0.1.0)
70
+ tty-progressbar (0.10.1)
71
+ tty-screen (~> 0.5.0)
72
+ tty-prompt (0.10.1)
73
+ necromancer (~> 0.3.0)
74
+ pastel (~> 0.7.0)
75
+ tty-cursor (~> 0.3.0)
76
+ wisper (~> 1.6.1)
77
+ tty-screen (0.5.0)
78
+ tty-spinner (0.4.1)
79
+ tty-table (0.7.0)
80
+ equatable (~> 0.5.0)
81
+ necromancer (~> 0.3.0)
82
+ pastel (~> 0.7.0)
83
+ tty-screen (~> 0.5.0)
84
+ unicode-display_width (~> 1.1.0)
85
+ verse (~> 0.5.0)
86
+ tty-which (0.2.2)
87
+ unicode-display_width (1.1.3)
88
+ unicode_utils (1.4.0)
89
+ unirest (1.1.2)
90
+ addressable (~> 2.3.5)
91
+ json (~> 1.8.1)
92
+ rest-client (~> 1.6.7)
93
+ verse (0.5.0)
94
+ unicode-display_width (~> 1.1.0)
95
+ unicode_utils (~> 1.4.0)
96
+ wisper (1.6.1)
97
+
98
+ PLATFORMS
99
+ ruby
100
+
101
+ DEPENDENCIES
102
+ envoy-cli!
103
+
104
+ BUNDLED WITH
105
+ 1.14.5
@@ -12,7 +12,7 @@
12
12
  "grunt-aws-lambda": "^0.12.0"
13
13
  },
14
14
  "dependencies": {
15
- "envoy-platform-sdk": "git+ssh://git@github.com/envoy/envoy-platform-sdk-nodejs.git#develop"
15
+ "envoy-platform-sdk": "git+https://github.com/envoy/envoy-platform-sdk-nodejs.git#develop"
16
16
  },
17
17
  "bundledDependencies": [
18
18
  "envoy-platform-sdk"
@@ -22,7 +22,7 @@ module Envoy
22
22
  release_type = prompt.select("What type of release is this?") do |menu|
23
23
  menu.default 3
24
24
  menu.choice 'Major version (breaking changes)', 'major'
25
- menu.choice 'Minor version (non-breakng feature updates)', 'minor'
25
+ menu.choice 'Minor version (non-breaking feature updates)', 'minor'
26
26
  menu.choice 'Patch (bugfixes, refactoring, optimizations)', 'patch'
27
27
  end
28
28
  end
@@ -69,7 +69,7 @@ module Envoy
69
69
  say 'Using previously packaged plugin...'
70
70
  else
71
71
  spin 'Packing your plugin'
72
- `grunt lambda_package`
72
+ `./node_modules/.bin/grunt lambda_package`
73
73
  spin_success
74
74
  end
75
75
 
@@ -193,8 +193,8 @@ module Envoy
193
193
  bootstrap = true
194
194
  end
195
195
 
196
- @name = prompt.ask 'Plugin Name: ', require: true
197
- @key = prompt.ask 'Unique Key (lowercase [a-z0-9] only): ', require: true
196
+ @name = prompt.ask 'Pretty Name: ', require: true
197
+ @key = prompt.ask 'Unique Key (lowercase alphanumeric and dash only): ', require: true
198
198
 
199
199
  res = jsonapi_post('Creating plugin', './platform/plugins', {
200
200
  type: 'platform-plugins',
@@ -215,7 +215,7 @@ module Envoy
215
215
  setup_license
216
216
  setup_dotfiles
217
217
  setup_route 'hello', type: 'html', view: 'hello'
218
- run 'npm i --global-style'
218
+ run 'npm i --global-style', verbose: true, capture: false
219
219
  end
220
220
 
221
221
  local_config.add "ENVOY_#{profile.upcase}_PLUGIN_UUID", res['data']['id'], true
@@ -1,3 +1,3 @@
1
1
  module Envoy
2
- VERSION = "1.0.0rc3".freeze
2
+ VERSION = "1.0.0rc4".freeze
3
3
  end
@@ -128,7 +128,7 @@ module Envoy
128
128
  end
129
129
  if local
130
130
  if cfg && cfg['sandbox']
131
- base = cfg['api_path'] || 'https://sandbox-app.envoy.com'
131
+ base = cfg['api_path'] || 'https://app.envoy.com'
132
132
  elsif cfg && cfg['api_path_local']
133
133
  base = cfg['api_path_local']
134
134
  else
@@ -137,11 +137,11 @@ module Envoy
137
137
  elsif ignore_profile && options.endpoint
138
138
  base = options.endpoint
139
139
  elsif ignore_profile && !options.production
140
- base = 'https://sandbox-app.envoy.com'
140
+ base = 'https://app.envoy.com'
141
141
  elsif cfg && cfg['api_path']
142
142
  base = cfg['api_path']
143
143
  elsif cfg && cfg['sandbox']
144
- base = 'https://sandbox-app.envoy.com'
144
+ base = 'https://app.envoy.com'
145
145
  else
146
146
  base = 'https://app.envoy.com'
147
147
  end
@@ -1,7 +1,7 @@
1
1
  module Envoy
2
2
  module SchemaModel
3
3
  SCHEMA_CONFIG = {
4
- string: {
4
+ text: {
5
5
  desc: 'Single-line Input',
6
6
  asks: %w(label note is_required default_value read_only placeholder)
7
7
  },
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envoy-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0rc3
4
+ version: 1.0.0rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Boskovic
@@ -204,6 +204,7 @@ files:
204
204
  - ".rubocop.yml"
205
205
  - ".ruby-version"
206
206
  - Gemfile
207
+ - Gemfile.lock
207
208
  - bin/envoy
208
209
  - bin/envoy.bak
209
210
  - bootstrap/base/.jshintrc