fire_watch 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fire_watch/runner.rb +4 -4
- data/lib/fire_watch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 225913cf4665a410cb89192be4f69707a5d442d8
|
4
|
+
data.tar.gz: ed894e110430aa644a25948e0678b4f8e717197b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd8f45ccf545a2fdee89d8b54f91fc8a5dbc3fc3e623009738b69fe57288ed47fdb1606c913f48dc46d18d93b3865de2a50af403767c4b0f78d76cbdb0e5d1d4
|
7
|
+
data.tar.gz: b0a920214522f5ea34c6949b29f58ba82872fe18a6e14bc65cfd40f891ebe1fa78aa858b5b714167a148e6db127e90f5bf801892df3327adccc5c7535fc46c0b
|
data/lib/fire_watch/runner.rb
CHANGED
@@ -9,7 +9,7 @@ module FireWatch
|
|
9
9
|
cli = HighLine.new
|
10
10
|
# Github Client
|
11
11
|
github_login = cli.ask('Github Login: ')
|
12
|
-
github_password = cli.ask('Github Password: ') { |q| q.echo =
|
12
|
+
github_password = cli.ask('Github Password: ') { |q| q.echo = 'x' }
|
13
13
|
@github_client = Github.new(auto_pagination: true) do |config|
|
14
14
|
config.basic_auth = "#{github_login}:#{github_password}"
|
15
15
|
if cli.agree("Do you use Two-Factor authentication (non-sms)?")
|
@@ -43,14 +43,14 @@ module FireWatch
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
46
|
-
menu.choice("Done Adding Milestones") { done = true }
|
46
|
+
menu.choice("Done Adding Milestones") { done = true } if selected_milestones.count > 0
|
47
47
|
end
|
48
48
|
break if done
|
49
49
|
end
|
50
50
|
|
51
51
|
# Harvest Client
|
52
52
|
harvest_username = cli.ask('Harvest Username: ')
|
53
|
-
harvest_password = cli.ask('Harvest Password: ') { |q| q.echo =
|
53
|
+
harvest_password = cli.ask('Harvest Password: ') { |q| q.echo = 'x' }
|
54
54
|
@harvest_client = Harvest.client(username: harvest_username, password: harvest_password, subdomain: 'wildland')
|
55
55
|
clients = @harvest_client.clients.all
|
56
56
|
projects = @harvest_client.projects.all
|
@@ -70,7 +70,7 @@ module FireWatch
|
|
70
70
|
end
|
71
71
|
end
|
72
72
|
end
|
73
|
-
menu.choice("Done Adding Projects") { done = true }
|
73
|
+
menu.choice("Done Adding Projects") { done = true } if selected_projects.count > 0
|
74
74
|
end
|
75
75
|
break if done
|
76
76
|
end
|
data/lib/fire_watch/version.rb
CHANGED