easywins 0.2.1 → 0.2.4

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjE1OGI0OWQ5Y2Q2NWUzMzQ1ZjQ3MzI5NTlhNzAzYmVlYjNiNmM4MQ==
4
+ YTIwZmEwNDRiNjExOWUyZGQ1ZGNkMzhlNmFmNTE5YTY5N2QxNjkwNQ==
5
5
  data.tar.gz: !binary |-
6
- Y2Q3OGQwYTI4ODM3MzNlNTYxNTdhZDNmYmQ3NzlhMmU4OTg1ZGJlNQ==
6
+ ZThlMDAzZjYwYTMyYTEyYmZlZDYxM2Y2ODAxYWFhZGM2MjBmNTA3YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDc1MjQ3Y2Y2MmJmM2QxZTc4MTZiM2JhN2VmYzViMmRmODY0MjlkNjUxOGU0
10
- YjZlZGUzM2Y5MGRhNDI4MGIxZjU0NzMyZDMyMjJlMjFmOWU4YTI1N2I2ZDA5
11
- NjhlM2E3ZDhhMWI3YmJjZmRhOThhNGE5YzFiNGVkNWYxYjFjYWY=
9
+ MzA2Yzk4MGMxNTc4MjczYzdiZTI0NzUwZDQ4ZjZkOTcxMzYzYTE0YWY3ZmJl
10
+ YWIyM2FkNGE0Njc4NDQ4NjlmZTQ2YjM3ZjBiNzllMzAyYTg3NzI0MWJiMThk
11
+ NzY1ZmZlNDFiYzQ4MzE4ZjZjNzAzMmM3NzFkYjhlZTcxODllYzk=
12
12
  data.tar.gz: !binary |-
13
- Yzc5ZTMzMDU2NzA2MmY4ZDAwZmRiMGRkYWIwYTZlZjRjMDU5NjQxNTgyYjk0
14
- M2JlNTI1NDY1ZjcyZjUxODg5NDQxMGRiMzRiNDE1ZWU4ZmQ4ZDdjNTIyMDk5
15
- NDJlZGRiYzNjZWI4ZDA2ZWYyNzU4N2UzY2FjYTU2OTM4NzhlYmU=
13
+ ZjJkNDhjMjRmZDQ4NTc5NThlZmY3MjM3Yzc3YzE3M2FmYzczZTYwYzQ2YzFk
14
+ YTU4ZTUzMDhkODFjYWVjNWI3N2E3NjU2NjUzOTM1ZjdlOTNjMWM5NzQ0NzAw
15
+ Yjk0ZWFjY2Y2YTY4MGZhM2ZjNDMzZmZiOWJhNGYxMDNjMzRmOTg=
data/.gitignore CHANGED
@@ -20,3 +20,4 @@ tmp
20
20
  *.o
21
21
  *.a
22
22
  mkmf.log
23
+ paths.txt
@@ -14,7 +14,7 @@ class App
14
14
  target = Easywins::Target.new(base_url, {
15
15
  :spoof => options.include?('spoof'),
16
16
  :timeout => options[:timeout].to_f,
17
- :retries => options[:retries],
17
+ :retries => options[:retries].to_i,
18
18
  :verify => options['no-verify'].nil?
19
19
  })
20
20
 
@@ -29,7 +29,7 @@ class App
29
29
  print Paint["done.\n", :green]
30
30
  rescue Easywins::ListManager::UpdateError => e
31
31
  print Paint["FAILED!\n", :red]
32
- puts " [*] e.message; exiting."
32
+ puts " [*] #{e.message}; exiting."
33
33
  exit!
34
34
  end
35
35
  end
@@ -1,7 +1,7 @@
1
1
  module Easywins
2
2
  class ListManager
3
3
  LIST_LOCATION = "#{File.dirname(__FILE__)}/../../paths.txt"
4
- DOWNLOAD_URL = 'https://raw.githubusercontent.com/pwnwiki/webappurls/master/webappurls.txt'
4
+ DOWNLOAD_URL = 'https://raw.githubusercontent.com/pwnwiki/webappurls/gh-pages/webappurls.txt'
5
5
 
6
6
  class UpdateError < StandardError; end
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Easywins
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easywins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Henriksen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-13 00:00:00.000000000 Z
11
+ date: 2014-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty