capybara-table 0.0.3 → 0.0.4

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: 85048f6e01551542c93631cf1b4e8b2ca841ad50
4
- data.tar.gz: 6af9593633206a43bda336a6305e378b9d5f6ed6
3
+ metadata.gz: a9e4759ae0e816aca0fb156b0e510f00d02a8c94
4
+ data.tar.gz: 92cac36525c7fcc53c1edb12769301241be133a9
5
5
  SHA512:
6
- metadata.gz: d120f3b688978c3f3e4219cafd8da9525f26bf767aee8ca6afe39b529ef7c04e4310e0047c8f9429780bdf98c758b89694f1a1b7940c517fff417188bd9f5b35
7
- data.tar.gz: e5a7cc6492bae056cdd7fbd30ea4d80207190e2b4e479e0976b798d70010a97e0b14e9aa44ef1b113fb49cf1d74428b1cda2e24c232241a7ab2842dd4cf9ed63
6
+ metadata.gz: 00d8cff7c3be76b6741efe8df139a813eab9a3aa4c22f7dfe41c9290bfb27b18d9ccf763b78d669bc111069ddd929417d60a50010061d3d02a32a108a007fc78
7
+ data.tar.gz: a0ae79edb47da8ea3f9054a1dbd259b64f823256dffa78043127159b2004524ead5ed2b477395993bd799f15dcd9c36d509d83975b613040d3a55cdc575da31f
@@ -40,6 +40,7 @@ class Table
40
40
  def get_cells row_name, columns_array
41
41
  columns = columns_array.map{|c| @headers[c.downcase] ? @headers[c.downcase] : [] }.inject(:&)
42
42
  row = @row_headers[row_name.downcase]
43
+ raise "Could not find row: %s in row headers: %s" % [row_name.downcase, @row_headers] if row.nil?
43
44
 
44
45
  temp = []
45
46
  columns.each do |column_index|
@@ -1,6 +1,6 @@
1
1
  class Table
2
2
  # Current Allotment verion
3
- VERSION = "0.0.3".freeze
3
+ VERSION = "0.0.4".freeze
4
4
  # Date version created
5
- DATE = "2013-12-19".freeze
5
+ DATE = "2014-01-20".freeze
6
6
  end
metadata CHANGED
@@ -1,127 +1,155 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-table
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Slaughter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-19 00:00:00.000000000 Z
11
+ date: 2014-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '2.14'
17
20
  - - '>='
18
21
  - !ruby/object:Gem::Version
19
- version: '0'
22
+ version: 2.14.1
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '2.14'
24
30
  - - '>='
25
31
  - !ruby/object:Gem::Version
26
- version: '0'
32
+ version: 2.14.1
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
37
+ - - ~>
38
+ - !ruby/object:Gem::Version
39
+ version: '10.1'
31
40
  - - '>='
32
41
  - !ruby/object:Gem::Version
33
- version: '0'
42
+ version: 10.1.1
34
43
  type: :development
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
47
+ - - ~>
48
+ - !ruby/object:Gem::Version
49
+ version: '10.1'
38
50
  - - '>='
39
51
  - !ruby/object:Gem::Version
40
- version: '0'
52
+ version: 10.1.1
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: yard
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
57
+ - - ~>
58
+ - !ruby/object:Gem::Version
59
+ version: '0.8'
45
60
  - - '>='
46
61
  - !ruby/object:Gem::Version
47
- version: '0'
62
+ version: 0.8.7.3
48
63
  type: :development
49
64
  prerelease: false
50
65
  version_requirements: !ruby/object:Gem::Requirement
51
66
  requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '0.8'
52
70
  - - '>='
53
71
  - !ruby/object:Gem::Version
54
- version: '0'
72
+ version: 0.8.7.3
55
73
  - !ruby/object:Gem::Dependency
56
74
  name: pry
57
75
  requirement: !ruby/object:Gem::Requirement
58
76
  requirements:
59
- - - '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '>='
77
+ - - ~>
67
78
  - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: capybara
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
79
+ version: '0.9'
73
80
  - - '>='
74
81
  - !ruby/object:Gem::Version
75
- version: '0'
82
+ version: 0.9.12.4
76
83
  type: :development
77
84
  prerelease: false
78
85
  version_requirements: !ruby/object:Gem::Requirement
79
86
  requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '0.9'
80
90
  - - '>='
81
91
  - !ruby/object:Gem::Version
82
- version: '0'
92
+ version: 0.9.12.4
83
93
  - !ruby/object:Gem::Dependency
84
94
  name: selenium-webdriver
85
95
  requirement: !ruby/object:Gem::Requirement
86
96
  requirements:
97
+ - - ~>
98
+ - !ruby/object:Gem::Version
99
+ version: '2.39'
87
100
  - - '>='
88
101
  - !ruby/object:Gem::Version
89
- version: '0'
102
+ version: 2.39.0
90
103
  type: :development
91
104
  prerelease: false
92
105
  version_requirements: !ruby/object:Gem::Requirement
93
106
  requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '2.39'
94
110
  - - '>='
95
111
  - !ruby/object:Gem::Version
96
- version: '0'
112
+ version: 2.39.0
97
113
  - !ruby/object:Gem::Dependency
98
114
  name: capybara
99
115
  requirement: !ruby/object:Gem::Requirement
100
116
  requirements:
117
+ - - ~>
118
+ - !ruby/object:Gem::Version
119
+ version: '2.2'
101
120
  - - '>='
102
121
  - !ruby/object:Gem::Version
103
- version: '0'
122
+ version: 2.2.1
104
123
  type: :runtime
105
124
  prerelease: false
106
125
  version_requirements: !ruby/object:Gem::Requirement
107
126
  requirements:
127
+ - - ~>
128
+ - !ruby/object:Gem::Version
129
+ version: '2.2'
108
130
  - - '>='
109
131
  - !ruby/object:Gem::Version
110
- version: '0'
132
+ version: 2.2.1
111
133
  - !ruby/object:Gem::Dependency
112
134
  name: hashie
113
135
  requirement: !ruby/object:Gem::Requirement
114
136
  requirements:
137
+ - - ~>
138
+ - !ruby/object:Gem::Version
139
+ version: '2.0'
115
140
  - - '>='
116
141
  - !ruby/object:Gem::Version
117
- version: '0'
142
+ version: 2.0.5
118
143
  type: :runtime
119
144
  prerelease: false
120
145
  version_requirements: !ruby/object:Gem::Requirement
121
146
  requirements:
147
+ - - ~>
148
+ - !ruby/object:Gem::Version
149
+ version: '2.0'
122
150
  - - '>='
123
151
  - !ruby/object:Gem::Version
124
- version: '0'
152
+ version: 2.0.5
125
153
  description: Parse and sort HTML table using Capybara, in a simple to use table object
126
154
  email: b.p.slaughter@gmail.com
127
155
  executables: []