actionview-component 1.8.0 → 1.8.1
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 +6 -0
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/lib/action_view/component/base.rb +2 -2
- data/lib/action_view/component/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d236db5b36182b7b47553a9d5edcba890edcda2c1dc09e12a483f59fcad1e43c
|
|
4
|
+
data.tar.gz: 83d47a9e35480a4d30f2f8ba2e2759ecd17423513a8500e3a656c5e83c600735
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d437983458628e9b66587bcecd015bece3728391275b82453e14085f2461806c97501353725d9866c8aae62a75481aa7cd1a2db46206e1cdaf15ffff824b8a30
|
|
7
|
+
data.tar.gz: 6573fe5fe6ca95259145e37e12011c10e3956df14a31597a5ebbf59f1114f85854049c1e7e98af6f176f422c452c49da05449be509a2ec5fe8d2e5a9c9adcd07
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -583,10 +583,10 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/github
|
|
|
583
583
|
|@elia|@cesariouy|@spdawson|@rmacklin|@michaelem|
|
|
584
584
|
|Milan||United Kingdom||Berlin|
|
|
585
585
|
|
|
586
|
-
|<img src="https://avatars.githubusercontent.com/mellowfish?s=256" alt="mellowfish" width="128" />|<img src="https://avatars.githubusercontent.com/horacio?s=256" alt="horacio" width="128" />|<img src="https://avatars.githubusercontent.com/dukex?s=256" alt="dukex" width="128" />|<img src="https://avatars.githubusercontent.com/dark-panda?s=256" alt="dark-panda" width="128" />|
|
|
587
|
-
|
|
588
|
-
|@mellowfish|@horacio|@dukex|@dark-panda|
|
|
589
|
-
|Spring Hill, TN|Buenos Aires|São Paulo||
|
|
586
|
+
|<img src="https://avatars.githubusercontent.com/mellowfish?s=256" alt="mellowfish" width="128" />|<img src="https://avatars.githubusercontent.com/horacio?s=256" alt="horacio" width="128" />|<img src="https://avatars.githubusercontent.com/dukex?s=256" alt="dukex" width="128" />|<img src="https://avatars.githubusercontent.com/dark-panda?s=256" alt="dark-panda" width="128" />|<img src="https://avatars.githubusercontent.com/smashwilson?s=256" alt="smashwilson" width="128" />|
|
|
587
|
+
|:---:|:---:|:---:|:---:|:---:|
|
|
588
|
+
|@mellowfish|@horacio|@dukex|@dark-panda|@smashwilson|
|
|
589
|
+
|Spring Hill, TN|Buenos Aires|São Paulo||Gambrills, MD|
|
|
590
590
|
|
|
591
591
|
## License
|
|
592
592
|
|
|
@@ -48,8 +48,6 @@ module ActionView
|
|
|
48
48
|
@virtual_path ||= virtual_path
|
|
49
49
|
@variant = @lookup_context.variants.first
|
|
50
50
|
|
|
51
|
-
return "" unless render?
|
|
52
|
-
|
|
53
51
|
old_current_template = @current_template
|
|
54
52
|
@current_template = self
|
|
55
53
|
|
|
@@ -57,6 +55,8 @@ module ActionView
|
|
|
57
55
|
|
|
58
56
|
validate!
|
|
59
57
|
|
|
58
|
+
return "" unless render?
|
|
59
|
+
|
|
60
60
|
send(self.class.call_method_name(@variant))
|
|
61
61
|
ensure
|
|
62
62
|
@current_template = old_current_template
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actionview-component
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitHub Open Source
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-01-
|
|
11
|
+
date: 2020-01-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|