adminpanel 3.4.2 → 3.4.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: fefed4d5a7b47eca8bbbae079e29f5689d16f691
4
- data.tar.gz: f51b4cd1c65b4a549f574ddd7f913a2197537c88
3
+ metadata.gz: 8fd7dbaa047fb35e165afc831ce3b36a22d2314b
4
+ data.tar.gz: 64b0c3745d1db6d15897f08359e6898380e97b42
5
5
  SHA512:
6
- metadata.gz: 07a32fa91ac45366569a17000ed868562826dde33bd2d3f1d61984e3db5f1306ccc774b34bb168f2c30c20ddfbc1351e9bacf1b93f37fd3ff90b9ba4314b10ae
7
- data.tar.gz: f63fdda3fa5201666d0bec782c812f2938dd8bb2b64a08a7f7f7c5d069eba9b02c3c0f92a1f753debed372b672d85a69445dead5198ba627a4719d41c7b7227c
6
+ metadata.gz: 565f3c17ce2f949a2277f7419bff43c38ce2099998776376ce50cc33949b4efc9ea95425b578d18e0ad7f29aa68fe14d527fc0c3660a2b6b1cdc58b8c2fd2467
7
+ data.tar.gz: a7e9be58e651b3b331d1b415897f7004f1ce44a70e384185b65beab32c3ddcd17221ffdec30c4dc01f2c6d2d793a9065c83e0803aaaef0174c0012cce8927298
@@ -6,6 +6,8 @@ rvm:
6
6
 
7
7
  sudo: false
8
8
 
9
+ dist: trusty
10
+
9
11
  cache: bundler
10
12
 
11
13
  env:
@@ -34,6 +34,8 @@ es:
34
34
  taken: 'ya está en uso'
35
35
  too_long: 'es muy larga'
36
36
  too_short: 'es muy corta, mínimo 6 caracteres'
37
+ greater_than: "debe ser mayor a %{count}"
38
+ less_than: "debe ser menor que %{count}"
37
39
  time:
38
40
  formats:
39
41
  default: '%d/%m/%Y'
@@ -1,3 +1,3 @@
1
1
  module Adminpanel
2
- VERSION = '3.4.2'
2
+ VERSION = '3.4.3'
3
3
  end
@@ -6,19 +6,19 @@ class FilteringTest < ViewCase
6
6
  setup :sign_in
7
7
 
8
8
  def test_input_is_present
9
- assert_selector '#search-input'
9
+ assert page.has_selector?('#search-input')
10
10
  end
11
11
 
12
12
  def test_filters_all_elements_when_nothing_matched
13
13
  fill_in 'search-input', with: 'abcdeffj nothing matches this'
14
14
  # 1 since search-input is inside an .accordion-group
15
- assert_selector '.accordion-group', count: 1
15
+ assert page.has_selector?('.accordion-group', count: 1, visible: true)
16
16
  end
17
17
 
18
18
  def test_filter_to_only_matched_element
19
19
  fill_in 'search-input', with: 'pRODuct'
20
20
  # 2 since search-input is inside an .accordion-group
21
- assert_selector '.accordion-group', count: 2
21
+ assert page.has_selector?('.accordion-group', count: 2, visible: true)
22
22
  end
23
23
 
24
24
  protected
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adminpanel
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.2
4
+ version: 3.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Ramon Camacho
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-07-27 00:00:00.000000000 Z
13
+ date: 2017-08-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails