fire_watch 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/lib/fire_watch/runner.rb +4 -4
- data/lib/fire_watch/version.rb +1 -1
- metadata +1 -2
- data/fire_watch-0.1.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83010346dcbe7ea522d0ee76353c0add4c8c4fdc
|
4
|
+
data.tar.gz: 78bc4eaea5fbb4a8d2b3ec9308557db2be75afa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58ef8a54e7919413ed75996222c4d3c0a107b5a9651b9039e643277cf6d0eed2cc4f755db7d758c4d464bdbb26ea7a60abd2abb9ce4a0a390a12884c550841f8
|
7
|
+
data.tar.gz: 8c0b3fe71e81d3d42fe8121ec0f193aea3f8453a31d94c7a12ba3c3a546d7fb88ad963b8aed0a059890a8af971e7b0b99589f0e5ee3614ea7bffe93fad2bba45
|
data/.gitignore
CHANGED
data/lib/fire_watch/runner.rb
CHANGED
@@ -9,8 +9,8 @@ module FireWatch
|
|
9
9
|
|
10
10
|
cli = HighLine.new
|
11
11
|
# Github Client
|
12
|
-
github_login =
|
13
|
-
github_password =
|
12
|
+
github_login = cli.ask('Github Login: ')
|
13
|
+
github_password = cli.ask('Github Password: ') { |q| q.echo = false }
|
14
14
|
@github_client = Github.new(auto_pagination: true) do |config|
|
15
15
|
config.basic_auth = "#{github_login}:#{github_password}"
|
16
16
|
if cli.agree("Do you use Two-Factor authentication (non-sms)?")
|
@@ -50,8 +50,8 @@ module FireWatch
|
|
50
50
|
end
|
51
51
|
|
52
52
|
# Harvest Client
|
53
|
-
harvest_username =
|
54
|
-
harvest_password =
|
53
|
+
harvest_username = cli.ask('Harvest Username: ')
|
54
|
+
harvest_password = cli.ask('Harvest Password: ') { |q| q.echo = false }
|
55
55
|
@harvest_client = Harvest.client(username: harvest_username, password: harvest_password, subdomain: 'wildland')
|
56
56
|
|
57
57
|
projects = @harvest_client.projects.all.sort_by{|p| p.name}
|
data/lib/fire_watch/version.rb
CHANGED
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.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Weakley
|
@@ -111,7 +111,6 @@ files:
|
|
111
111
|
- bin/console
|
112
112
|
- bin/setup
|
113
113
|
- exe/fire_watch
|
114
|
-
- fire_watch-0.1.0.gem
|
115
114
|
- fire_watch.gemspec
|
116
115
|
- lib/fire_watch.rb
|
117
116
|
- lib/fire_watch/runner.rb
|
data/fire_watch-0.1.0.gem
DELETED
Binary file
|