wappalyzer_rb 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -2,7 +2,7 @@ require "wappalyzer_rb/version"
2
2
  require "wappalyzer_rb/apps"
3
3
 
4
4
  module WappalyzerRb
5
- class Some
5
+ class Detector
6
6
  attr_reader :analysis
7
7
 
8
8
  def initialize(url)
@@ -1,3 +1,3 @@
1
1
  module WappalyzerRb
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,12 +1,12 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe WappalyzerRb::Some do
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::Some.any_instance.stub(:response).and_return(mock_response)
10
- WappalyzerRb::Some.new('http://someurl.com')
9
+ WappalyzerRb::Detector.any_instance.stub(:response).and_return(mock_response)
10
+ WappalyzerRb::Detector.new('http://someurl.com')
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wappalyzer_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: