capybara-select-2 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/lib/capybara_select2/helpers.rb +1 -1
- data/lib/capybara_select2/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7fde4e5708c362a8ec810faae1162f2612b97cf
|
4
|
+
data.tar.gz: ef7c7bb277d4ee549e809386944e2f69977fafd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a60824ea4f343bc2c9dd072c80cd655260a6bb17dafa613ca8f99ed33e38d72414a458718523520b64e0029103dcb28309ea0ef1492103d642e0aad0fa21df86
|
7
|
+
data.tar.gz: 12e53d44c0a580b1dbcbfaaa3d5abcb05a72ee4e7cf516a16ceebe1d5464cbebb1492b87a98bd77b4fa2e8d5d6486c1ca52c2e098fa6b5e139803ca110b217b2
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# CapybaraSelect2 for select2 version 2/3/4
|
2
|
+
!!! You need to specify which version of select2 you are using. See [Configuration](https://github.com/Hirurg103/capybara_select2#configuration)
|
2
3
|
|
3
4
|
## Installation
|
4
5
|
|
@@ -24,7 +25,7 @@ Or install it yourself as:
|
|
24
25
|
|
25
26
|
In your spec_helper.rb
|
26
27
|
|
27
|
-
```
|
28
|
+
```ruby
|
28
29
|
RSpec.configure do |config|
|
29
30
|
config.include CapybaraSelect2
|
30
31
|
end
|
@@ -34,7 +35,7 @@ end
|
|
34
35
|
|
35
36
|
In your env.rb
|
36
37
|
|
37
|
-
```
|
38
|
+
```ruby
|
38
39
|
World CapybaraSelect2
|
39
40
|
```
|
40
41
|
|
@@ -42,7 +43,7 @@ World CapybaraSelect2
|
|
42
43
|
|
43
44
|
CapybaraSelect2 expects select2 version 4 by default. If you are using version 3 or 2 please specify it in your spec helper
|
44
45
|
|
45
|
-
```
|
46
|
+
```ruby
|
46
47
|
CapybaraSelect2::Config.select2_version = 3
|
47
48
|
|
48
49
|
# or
|