serp_metrics 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 +26 -2
- data/lib/serp_metrics/version.rb +1 -1
- data/serp_metrics.gemspec +1 -1
- data/spec/cassettes/serp_metrics__command_sets__account/credit_fetches_credit_information.yml +31 -35
- data/spec/cassettes/serp_metrics__command_sets__account/time_fetches_time.yml +25 -29
- data/spec/cassettes/serp_metrics__command_sets__engines/codes_fetches_search_engine_codes.yml +30 -209
- data/spec/cassettes/serp_metrics__command_sets__flux/flux_fetches_flux_trend.yml +31 -35
- data/spec/cassettes/serp_metrics__command_sets__keywords/add_adds_keyword.yml +118 -122
- data/spec/cassettes/serp_metrics__command_sets__keywords/all_retrieves_keywords.yml +147 -155
- data/spec/cassettes/serp_metrics__command_sets__keywords/check_retrieves_checks.yml +147 -155
- data/spec/cassettes/serp_metrics__command_sets__keywords/remove_removes_keyword.yml +147 -149
- data/spec/cassettes/serp_metrics__command_sets__keywords/serp_retrieves_serp_for_check.yml +88 -133
- data/spec/cassettes/serp_metrics__command_sets__priorities/add_with_location_adds_priority.yml +31 -29
- data/spec/cassettes/serp_metrics__command_sets__priorities/add_without_location_adds_priority.yml +31 -29
- data/spec/cassettes/serp_metrics__command_sets__priorities/get_checks_priority.yml +60 -58
- data/spec/spec_helper.rb +9 -1
- metadata +4 -4
data/spec/spec_helper.rb
CHANGED
@@ -33,7 +33,7 @@ RSpec.configure do |config|
|
|
33
33
|
|
34
34
|
# timecop
|
35
35
|
config.before(:each) do
|
36
|
-
Timecop.freeze(Time.at(
|
36
|
+
Timecop.freeze(Time.at(1385792990))
|
37
37
|
end
|
38
38
|
|
39
39
|
config.after(:each) do
|
@@ -55,7 +55,15 @@ VCR.configure do |config|
|
|
55
55
|
api_configuration['key']
|
56
56
|
end
|
57
57
|
|
58
|
+
config.filter_sensitive_data('<SERP_METRICS_KEY_ENCODED>') do
|
59
|
+
URI.encode(api_configuration['key'])
|
60
|
+
end
|
61
|
+
|
58
62
|
config.filter_sensitive_data('<SERP_METRICS_SECRET>') do
|
59
63
|
api_configuration['secret']
|
60
64
|
end
|
65
|
+
|
66
|
+
config.filter_sensitive_data('<SERP_METRICS_SECRET_ENCODED>') do
|
67
|
+
URI.encode(api_configuration['secret'])
|
68
|
+
end
|
61
69
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serp_metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-11-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|
@@ -92,7 +92,7 @@ files:
|
|
92
92
|
- spec/lib/serp_metrics/version_spec.rb
|
93
93
|
- spec/lib/serp_metrics_spec.rb
|
94
94
|
- spec/spec_helper.rb
|
95
|
-
homepage: https://github.com/wearetribe/serp_metrics
|
95
|
+
homepage: https://github.com/wearetribe/serp_metrics
|
96
96
|
licenses: []
|
97
97
|
post_install_message:
|
98
98
|
rdoc_options: []
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 1.8.
|
115
|
+
rubygems_version: 1.8.25
|
116
116
|
signing_key:
|
117
117
|
specification_version: 3
|
118
118
|
summary: Ruby interface to the SERP Metrics API
|