utensils 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1339f667c1eb89142b3cd7bffd18898eafce5d10
4
+ data.tar.gz: f936baa89e9bb40de82ef4db4ce9be6433137d39
5
+ SHA512:
6
+ metadata.gz: 183f62af7350777efa9ad34867f476f0d96e5382bb7dffa1cdb279ba372d90beff750e1c390db1950bf209c58806d9b6123385f666ea29f66d66f62d6e5291d8
7
+ data.tar.gz: dfba9520e5e04b9f55c4860619b308e59fc78bacf88a932f2f59f750ab8b8f9ba8b5a82c17415e9d7d3eef2ff0b22ccc7f2b3e71f38cb5c67333c92672bd8d31
@@ -1,4 +1,5 @@
1
+ identifier = defined?(ActionView::RecordIdentifier) ? ActionView::RecordIdentifier : ActionController::RecordIdentifier
1
2
  Capybara.add_selector :record do
2
- xpath { |record| XPath.css("#" + ActionController::RecordIdentifier.dom_id(record)) }
3
+ xpath { |record| XPath.css("#" + identifier.dom_id(record)) }
3
4
  match { |record| record.is_a?(ActiveRecord::Base) }
4
5
  end
@@ -1,3 +1,3 @@
1
1
  module Utensils
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utensils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
5
- prerelease:
4
+ version: 0.0.16
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jens Balvig
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-14 00:00:00.000000000 Z
11
+ date: 2013-07-07 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Rspec stuff we use over and over again
15
14
  email:
@@ -38,26 +37,25 @@ files:
38
37
  - utensils.gemspec
39
38
  homepage: ''
40
39
  licenses: []
40
+ metadata: {}
41
41
  post_install_message:
42
42
  rdoc_options: []
43
43
  require_paths:
44
44
  - lib
45
45
  required_ruby_version: !ruby/object:Gem::Requirement
46
- none: false
47
46
  requirements:
48
- - - ! '>='
47
+ - - '>='
49
48
  - !ruby/object:Gem::Version
50
49
  version: '0'
51
50
  required_rubygems_version: !ruby/object:Gem::Requirement
52
- none: false
53
51
  requirements:
54
- - - ! '>='
52
+ - - '>='
55
53
  - !ruby/object:Gem::Version
56
54
  version: '0'
57
55
  requirements: []
58
56
  rubyforge_project:
59
- rubygems_version: 1.8.23
57
+ rubygems_version: 2.0.2
60
58
  signing_key:
61
- specification_version: 3
59
+ specification_version: 4
62
60
  summary: Rspec stuff we use over and over again
63
61
  test_files: []