show_for 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/MIT-LICENSE +1 -1
- data/README.md +1 -1
- data/lib/show_for/version.rb +1 -1
- data/test/value_test.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 849685149b9200330cac3bf79aab628e175a9854
|
|
4
|
+
data.tar.gz: 9b1033f129ffa93395889df61fb3dcec87f69395
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01c0d74bfd6aff1140d7a4634b8f24246eb13f5dc2535c66b3690e631df0554c5a6234d9da4dce5264910ce75f9a3a674740c94a631bc1898f0e62f700b6ea12
|
|
7
|
+
data.tar.gz: f04ceaa47c07874d88f8f0d910606f33c06c9e3d2a2f14738e2751ff1cab4c27ce274085a35cf5a2c62cb556d9739debde4427016fb7d7a1e24f59a25c66074f
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright (c) 2012-
|
|
1
|
+
Copyright (c) 2012-2016 Plataformatec http://plataformatec.com.br/
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
4
|
a copy of this software and associated documentation files (the
|
data/README.md
CHANGED
|
@@ -222,4 +222,4 @@ If you discover any bugs or want to drop a line, feel free to create an issue on
|
|
|
222
222
|
|
|
223
223
|
http://github.com/plataformatec/show_for/issues
|
|
224
224
|
|
|
225
|
-
MIT License. Copyright 2012-
|
|
225
|
+
MIT License. Copyright 2012-2016 Plataformatec. http://plataformatec.com.br
|
data/lib/show_for/version.rb
CHANGED
data/test/value_test.rb
CHANGED
|
@@ -51,7 +51,7 @@ class ValueTest < ActionView::TestCase
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
test "show_for accepts an attribute as nil, without label and separator" do
|
|
54
|
-
|
|
54
|
+
with_value_for @user, :birthday
|
|
55
55
|
assert_no_select "div.show_for div.wrapper strong.label"
|
|
56
56
|
assert_no_select "div.show_for div.wrapper br"
|
|
57
57
|
assert_select "div.show_for div.wrapper", /Not specified/
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: show_for
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- José Valim
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '4.1'
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '5.
|
|
22
|
+
version: '5.2'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '4.1'
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '5.
|
|
32
|
+
version: '5.2'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: actionpack
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
version: '4.1'
|
|
40
40
|
- - "<"
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: '5.
|
|
42
|
+
version: '5.2'
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -49,7 +49,7 @@ dependencies:
|
|
|
49
49
|
version: '4.1'
|
|
50
50
|
- - "<"
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: '5.
|
|
52
|
+
version: '5.2'
|
|
53
53
|
description: Wrap your objects with a helper to easily show them
|
|
54
54
|
email: contact@plataformatec.com.br
|
|
55
55
|
executables: []
|
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
105
105
|
version: '0'
|
|
106
106
|
requirements: []
|
|
107
107
|
rubyforge_project:
|
|
108
|
-
rubygems_version: 2.
|
|
108
|
+
rubygems_version: 2.6.10
|
|
109
109
|
signing_key:
|
|
110
110
|
specification_version: 4
|
|
111
111
|
summary: Wrap your objects with a helper to easily show them
|