wappalyzer_rb 0.0.2 → 0.0.3
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.
- data/README.md +3 -3
- data/lib/wappalyzer_rb.rb +1 -1
- data/lib/wappalyzer_rb/version.rb +1 -1
- data/spec/lib/wappalyzer_rb_spec.rb +3 -3
- metadata +1 -1
data/README.md
CHANGED
@@ -14,7 +14,7 @@ TODO
|
|
14
14
|
----
|
15
15
|
|
16
16
|
* Write a script to automatically translate apps.js to a ruby config file
|
17
|
-
|
17
|
+
|
18
18
|
DONE
|
19
19
|
----
|
20
20
|
|
@@ -24,5 +24,5 @@ DONE
|
|
24
24
|
LINKS
|
25
25
|
-----
|
26
26
|
|
27
|
-
Rubygems (the gem): https://rubygems.org/gems/wappalyzer_rb
|
28
|
-
Github (source): https://github.com/vrinek/wappalyzer-ruby
|
27
|
+
* Rubygems (the gem): https://rubygems.org/gems/wappalyzer_rb
|
28
|
+
* Github (source): https://github.com/vrinek/wappalyzer-ruby
|
data/lib/wappalyzer_rb.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe WappalyzerRb::
|
3
|
+
describe WappalyzerRb::Detector do
|
4
4
|
let(:mock_response) do
|
5
5
|
mock(:response, body: "nobody", :[] => nil)
|
6
6
|
end
|
7
7
|
|
8
8
|
it "should initialize" do
|
9
|
-
WappalyzerRb::
|
10
|
-
WappalyzerRb::
|
9
|
+
WappalyzerRb::Detector.any_instance.stub(:response).and_return(mock_response)
|
10
|
+
WappalyzerRb::Detector.new('http://someurl.com')
|
11
11
|
end
|
12
12
|
end
|