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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78eed97824918b49c08e09596c11db8edeae2747
4
- data.tar.gz: 965bdb11a1f98f2ea6f258c7605b859b4fb40874
3
+ metadata.gz: 30e9e9ca4f1f99138d2b5801fe6ca3d68af3d43c
4
+ data.tar.gz: 2eae001b921d654315a999cf712b24ac3c3d8d14
5
5
  SHA512:
6
- metadata.gz: 37e9876debeffa9c9cc1941313c730a6f8e3797407c397fb6dadb581a96e1da3b7a93fe08a273167e08d47587407cc6e49492114858433f14e16593bf8847582
7
- data.tar.gz: 5f18ee68979d0202778e5a775fa18861ff6bf629d4d244c9c233b44714098ca2c60d4d3e0b0f630e82103dc5e422f1207e30f28d15cecc8400b300e8bae438e2
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.9"
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}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cuba-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj