serpscan 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/serpscan.rb +1 -0
- data/lib/serpscan/search_engine.rb +6 -2
- data/lib/serpscan/search_engine_country.rb +1 -1
- data/lib/serpscan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69a7cf0bfc2814b5e108c5883635a7226fb0f0a1
|
4
|
+
data.tar.gz: 35091f331922d0520e91ba6d864141e826d264e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fadd54f903e2061c7ceada457a2ae500e6fede2b5dedd8033d7083723a5cd0c1bf926486fc6feda0cee3441ac6ca7fa89c4894ee71a15005226bd64909b41216
|
7
|
+
data.tar.gz: 6ad84ef0e4a455b38f62ff897dc9e0b6ae3ed5786bc52e5b3b2e595c6e1562f47d486191e0b2540cabdb43c3bb17afdc1eee82238675f28a9822f9e1374597dd
|
data/lib/serpscan.rb
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
module Serpscan
|
2
2
|
class SearchEngine < SerpscanObject
|
3
|
-
ATTRIBUTES = [:id, :title
|
3
|
+
ATTRIBUTES = [:id, :title]
|
4
4
|
attr_accessor *ATTRIBUTES
|
5
|
+
|
6
|
+
def countries
|
7
|
+
@countries ||= @raw_json["countries"].map { |country| Serpscan::SearchEngineCountry.new(country.merge(parent: self)) }
|
8
|
+
end
|
5
9
|
end
|
6
|
-
end
|
10
|
+
end
|
data/lib/serpscan/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serpscan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Montgomery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|