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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c10958730b0604bf19eb118057f0fcbb76c4ce57
4
- data.tar.gz: 7cd1aa358e9a603618ba9fe8da6bdd0edda4112b
3
+ metadata.gz: 225913cf4665a410cb89192be4f69707a5d442d8
4
+ data.tar.gz: ed894e110430aa644a25948e0678b4f8e717197b
5
5
  SHA512:
6
- metadata.gz: 49cef67e5a8fee87166be6f19ad0dae5d73750472b00b6f70cf8d7d4ab862fafca56b66f64d1c4d5cc2e440998a851a3387ce04aaaf928dc6414d370cecfb912
7
- data.tar.gz: 88e854b61aa0af82e67a29e2d617be79281b2df4e8659aa73e44b845353fae2904458868a486864f50a4f0f26e846e1dc3130b986625c66c651fdc2774e584c5
6
+ metadata.gz: bd8f45ccf545a2fdee89d8b54f91fc8a5dbc3fc3e623009738b69fe57288ed47fdb1606c913f48dc46d18d93b3865de2a50af403767c4b0f78d76cbdb0e5d1d4
7
+ data.tar.gz: b0a920214522f5ea34c6949b29f58ba82872fe18a6e14bc65cfd40f891ebe1fa78aa858b5b714167a148e6db127e90f5bf801892df3327adccc5c7535fc46c0b
@@ -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 = false }
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 = false }
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
@@ -1,3 +1,3 @@
1
1
  module FireWatch
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fire_watch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Weakley