sevencan 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/README.md +1 -1
- data/lib/seven/rails/controller_helpers.rb +1 -1
- data/lib/seven/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40e6b19b8f8240462fa44eb2f23c861b521183e8
|
4
|
+
data.tar.gz: d0fbe28d6348107661f99e1deee190d0c67ec1a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b7f0a6ce5cbec7b38fd30c20434dac6e8b29cc17360f862ad0f700ff3f592bdb9d4c9084c9e1d4972a8c21c992e7bb1d3deff5677dc2cead0ba55f45aa6fd19
|
7
|
+
data.tar.gz: 8c5cf2ea89c639c9babdbb8fb7f13e3bb4e2ed933544e6131943c62c2feae3904b13fe314cce6c5ac653791caa1cec35eafae93d20433374779e155234a0af42
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -34,7 +34,7 @@ module Seven
|
|
34
34
|
target_list.each do |t|
|
35
35
|
case t
|
36
36
|
when Symbol, String
|
37
|
-
instance = instance_variable_get(t)
|
37
|
+
instance = instance_variable_defined?(t) ? instance_variable_get(t) : nil
|
38
38
|
return instance if instance
|
39
39
|
when Proc
|
40
40
|
result = instance_eval(&t)
|
data/lib/seven/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sevencan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jiangzhi.xie
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|