faastruby 0.5.0 → 0.5.2
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +3 -7
- data/lib/faastruby/cli/commands/account/signup.rb +3 -3
- data/lib/faastruby/cli/commands/workspace/migrate.rb +1 -0
- data/lib/faastruby/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd042adae115937128465948d8e87b3dccab76e713e84ed09ea1c1549eef95ac
|
|
4
|
+
data.tar.gz: 725f8058b9e50fb416949c7824baca17897fda472352a4e59a28335119ae0189
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 353e84e8e2bf16b95f3ffd736a1e15ba5396ac255a2710c69ea426f4cf1dac7891269dac5dfb06f3a2c8bdc7646c7e18343e876a65b8c35b09becd79e98cbdbf
|
|
7
|
+
data.tar.gz: ddbc8b9049afd4d24a9211ba731e3ddeb94f87fbd6fff4763a8f15a598da9694ff73faaae1d52dbb94734cb03888b82a657647a0ab3447c37f991ee42a8fb227
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.2 - Mar 8 2019
|
|
4
|
+
- Fix bug with migrating accounts
|
|
5
|
+
|
|
6
|
+
## 0.5.1 - Mar 8 2019
|
|
7
|
+
- Enforce one special character on account passwords.
|
|
8
|
+
|
|
3
9
|
## 0.5.0 - Mar 8 2019
|
|
4
10
|
- Introduces FaaStRuby Local
|
|
5
11
|
- Introduce user accounts and a migration tool to move the legacy workspace credentials into your account.
|
data/Gemfile.lock
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
faastruby (0.5.
|
|
4
|
+
faastruby (0.5.1)
|
|
5
5
|
colorize (~> 0.8)
|
|
6
6
|
faastruby-rpc (~> 0.2)
|
|
7
|
-
filewatcher (~> 1.1)
|
|
8
7
|
listen (~> 3.1)
|
|
9
8
|
oj (~> 3.6)
|
|
10
9
|
puma (~> 3.12)
|
|
@@ -31,11 +30,9 @@ GEM
|
|
|
31
30
|
unf (>= 0.0.5, < 1.0.0)
|
|
32
31
|
equatable (0.5.0)
|
|
33
32
|
erubis (2.7.0)
|
|
34
|
-
faastruby-rpc (0.2.
|
|
33
|
+
faastruby-rpc (0.2.2)
|
|
35
34
|
oj (~> 3.6)
|
|
36
35
|
ffi (1.10.0)
|
|
37
|
-
filewatcher (1.1.1)
|
|
38
|
-
optimist (~> 3.0)
|
|
39
36
|
hashdiff (0.3.7)
|
|
40
37
|
http-cookie (1.0.3)
|
|
41
38
|
domain_name (~> 0.5)
|
|
@@ -51,7 +48,6 @@ GEM
|
|
|
51
48
|
necromancer (0.4.0)
|
|
52
49
|
netrc (0.11.0)
|
|
53
50
|
oj (3.7.9)
|
|
54
|
-
optimist (3.0.0)
|
|
55
51
|
pastel (0.7.2)
|
|
56
52
|
equatable (~> 0.5.0)
|
|
57
53
|
tty-color (~> 0.4.0)
|
|
@@ -109,7 +105,7 @@ GEM
|
|
|
109
105
|
thor (~> 0.19, >= 0.15.0)
|
|
110
106
|
xdg (~> 2.2, >= 2.2.3)
|
|
111
107
|
tty-color (0.4.3)
|
|
112
|
-
tty-cursor (0.6.
|
|
108
|
+
tty-cursor (0.6.1)
|
|
113
109
|
tty-screen (0.6.5)
|
|
114
110
|
tty-spinner (0.9.0)
|
|
115
111
|
tty-cursor (~> 0.6.0)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module FaaStRuby
|
|
2
2
|
module Command
|
|
3
3
|
module Account
|
|
4
|
-
PASSWORD_REGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[
|
|
4
|
+
PASSWORD_REGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,20}$/
|
|
5
5
|
EMAIL_REGEX = /\A([\w+\-].?)+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+\z/i
|
|
6
6
|
require 'faastruby/cli/commands/account/base_command'
|
|
7
7
|
require 'io/console'
|
|
@@ -21,11 +21,11 @@ module FaaStRuby
|
|
|
21
21
|
print "Email: "
|
|
22
22
|
email = STDIN.gets.chomp
|
|
23
23
|
end
|
|
24
|
-
puts "\nNow type in a password. It must contain 8 to 20 characters and have at least one uppercase letter, one lowercase letter, one number
|
|
24
|
+
puts "\nNow type in a password. It must contain 8 to 20 characters and have at least one uppercase letter, one lowercase letter, one number and one special character @ $ ! % * ? &"
|
|
25
25
|
print "Password: "
|
|
26
26
|
password = STDIN.noecho(&:gets).chomp
|
|
27
27
|
until password_is_valid?(password) do
|
|
28
|
-
puts "\nYour password must contain 8 to 20 characters and have at least one uppercase letter, one lowercase letter, one number
|
|
28
|
+
puts "\nYour password must contain 8 to 20 characters and have at least one uppercase letter, one lowercase letter, one number and one special character @ $ ! % * ? &\nPlease try again:".red
|
|
29
29
|
print "Password: "
|
|
30
30
|
password = STDIN.noecho(&:gets).chomp
|
|
31
31
|
end
|
data/lib/faastruby/version.rb
CHANGED