speedos 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -6
- data/lib/speedos/models/entries.rb +3 -3
- data/spec/lib/entries_spec.rb +3 -3
- data/speedos.gemspec +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: fa410e7f5168f5adda6cadef06e88757986d76f9
|
4
|
+
data.tar.gz: c3c1200adf04cf725b04831d48042e3950dfb423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9e3d030f2427bf73821527616ddf38271481d25eab91304c47c0dd53d7cf52c685aec134fa5338b7d90b91ee015d4ba158c76b8e2796f9c99c9dc1fcf2f971d
|
7
|
+
data.tar.gz: adbeb20fca82ea54b0ea835c9bbb1e2d07a7de76f58e73666040253231cdfa9ba4a369eace46eda48d7a5d1b4d2bd2fc5db00efdeb53f4d4da4ca73436d82059
|
data/Gemfile.lock
CHANGED
@@ -1,22 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
speedos (0.0.
|
4
|
+
speedos (0.0.2)
|
5
5
|
browsermob-proxy (= 0.1.1)
|
6
6
|
capybara (= 2.1.0)
|
7
7
|
faker (= 1.1.2)
|
8
8
|
logger (= 1.2.8)
|
9
9
|
mongoid (= 3.1.4)
|
10
|
+
rake (= 10.1.0)
|
10
11
|
selenium-webdriver (= 2.33)
|
11
12
|
|
12
13
|
GEM
|
13
14
|
remote: https://rubygems.org/
|
14
15
|
specs:
|
15
|
-
activemodel (3.2.
|
16
|
-
activesupport (= 3.2.
|
16
|
+
activemodel (3.2.14)
|
17
|
+
activesupport (= 3.2.14)
|
17
18
|
builder (~> 3.0.0)
|
18
|
-
activesupport (3.2.
|
19
|
-
i18n (~> 0.6)
|
19
|
+
activesupport (3.2.14)
|
20
|
+
i18n (~> 0.6, >= 0.6.4)
|
20
21
|
multi_json (~> 1.0)
|
21
22
|
addressable (2.3.5)
|
22
23
|
browsermob-proxy (0.1.1)
|
@@ -57,13 +58,14 @@ GEM
|
|
57
58
|
origin (~> 1.0)
|
58
59
|
tzinfo (~> 0.3.22)
|
59
60
|
moped (1.5.0)
|
60
|
-
multi_json (1.7.
|
61
|
+
multi_json (1.7.8)
|
61
62
|
nokogiri (1.6.0)
|
62
63
|
mini_portile (~> 0.5.0)
|
63
64
|
origin (1.1.0)
|
64
65
|
rack (1.5.2)
|
65
66
|
rack-test (0.6.2)
|
66
67
|
rack (>= 1.0)
|
68
|
+
rake (10.1.0)
|
67
69
|
rest-client (1.6.7)
|
68
70
|
mime-types (>= 1.16)
|
69
71
|
rspec (2.14.1)
|
@@ -18,12 +18,12 @@ module Speedos
|
|
18
18
|
(latest_end_time && earliest_start_time) ? (latest_end_time - earliest_start_time) : 0
|
19
19
|
end
|
20
20
|
|
21
|
-
def
|
22
|
-
raw.map{|e| e['pageref']}.uniq
|
21
|
+
def name
|
22
|
+
raw.map{|e| e['pageref']}.uniq.first
|
23
23
|
end
|
24
24
|
|
25
25
|
def inspect
|
26
|
-
"Entries: #{
|
26
|
+
"Entries: #{name}"
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
data/spec/lib/entries_spec.rb
CHANGED
@@ -25,9 +25,9 @@ describe Speedos::Entries do
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
context '#
|
29
|
-
subject { Speedos::Entries.new([{'pageref' => 'page 1'}, {'pageref' => 'page
|
28
|
+
context '#name' do
|
29
|
+
subject { Speedos::Entries.new([{'pageref' => 'page 1'}, {'pageref' => 'page 1'},]) }
|
30
30
|
|
31
|
-
its(:
|
31
|
+
its(:name) { should eq 'page 1' }
|
32
32
|
end
|
33
33
|
end
|
data/speedos.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: speedos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SimplyBusiness
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|