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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 917a462f4729c5e444d6f367e9b5aca2fd20b92a
4
- data.tar.gz: 8a6387321c6951c7c596b3cd4a2eb2ce725a378f
3
+ metadata.gz: fa410e7f5168f5adda6cadef06e88757986d76f9
4
+ data.tar.gz: c3c1200adf04cf725b04831d48042e3950dfb423
5
5
  SHA512:
6
- metadata.gz: a45221d855741ec1724b775fd26f7c3fc0d8da341a96ca9cf9993feb17b728ea84a02368dcb961ce141bfb9516e9b0eb2cf7d66209bd0c4378256cf451da623c
7
- data.tar.gz: e85f03429986e9b1dca28ff41d16aa65a736ae641f91b1eb77d2a9a879071bea227693f919c26ace8449ffd5b0f79374c89b7f73ec7aae1113ff30cd14bc5b97
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.1)
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.12)
16
- activesupport (= 3.2.12)
16
+ activemodel (3.2.14)
17
+ activesupport (= 3.2.14)
17
18
  builder (~> 3.0.0)
18
- activesupport (3.2.12)
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.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 all_names
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: #{all_names}"
26
+ "Entries: #{name}"
27
27
  end
28
28
  end
29
29
  end
@@ -25,9 +25,9 @@ describe Speedos::Entries do
25
25
  end
26
26
  end
27
27
 
28
- context '#all_names' do
29
- subject { Speedos::Entries.new([{'pageref' => 'page 1'}, {'pageref' => 'page 2'},]) }
28
+ context '#name' do
29
+ subject { Speedos::Entries.new([{'pageref' => 'page 1'}, {'pageref' => 'page 1'},]) }
30
30
 
31
- its(:all_names) { should =~ ['page 1', 'page 2'] }
31
+ its(:name) { should eq 'page 1' }
32
32
  end
33
33
  end
data/speedos.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
8
8
  gem.files = `git ls-files`.split($\)
9
9
  gem.name = 'speedos'
10
10
  gem.require_paths = ['lib']
11
- gem.version = "0.0.2"
11
+ gem.version = "0.0.3"
12
12
  gem.executables = 'speedos'
13
13
  gem.license = 'MIT'
14
14
 
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.2
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-07-24 00:00:00.000000000 Z
11
+ date: 2013-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid