cuba-tools 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cuba-tools.gemspec +1 -1
- data/lib/cuba/tools/widget/helpers.rb +2 -2
- 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: 30e9e9ca4f1f99138d2b5801fe6ca3d68af3d43c
|
4
|
+
data.tar.gz: 2eae001b921d654315a999cf712b24ac3c3d8d14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9ba3ddd7bb2d33d2059c86e1f0729173136f9ad43047c3fe890989bc11f76346bc5fc52bcf44db1509ded526aadb3ea47e81b4da7df2f9e03b2fc15a32b9d52
|
7
|
+
data.tar.gz: c3d4b4ce2ee11b75f73341f05beee0cbc865c42f5e853ccedc7310a26b1f1f4ee30bde7fad5ea081772800602d4002d4a7d9e1bb0b60a911bc99cfc5dbb124fe
|
data/cuba-tools.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "cuba-tools"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.10"
|
8
8
|
spec.authors = ["cj"]
|
9
9
|
spec.email = ["cjlazell@gmail.com"]
|
10
10
|
spec.description = %q{Contains a group of tools to extend cuba}
|
@@ -28,8 +28,8 @@ module Cuba::Tools
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def widget_div opts = {}, &block
|
31
|
-
w_name = req.env[:widget_name].gsub(/_/, '-')
|
32
|
-
w_state = req.env[:widget_state].gsub(/_/, '-')
|
31
|
+
w_name = req.env[:widget_name].to_s.gsub(/_/, '-')
|
32
|
+
w_state = req.env[:widget_state].to_s.gsub(/_/, '-')
|
33
33
|
|
34
34
|
defaults = {
|
35
35
|
id: "#{w_name}-#{w_state}"
|