gumby 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.description = %q{Gumby Framework for Rails}
12
12
  gem.summary = %q{Gumby Framework for Rails}
13
13
  gem.homepage = "http://rubygems.org/gems/gumby"
14
-
14
+ gem.license = 'MIT'
15
15
  gem.files = `git ls-files`.split($/)
16
16
  gem.require_paths = ["lib"]
17
17
 
@@ -1,5 +1,5 @@
1
1
  module Gumby
2
2
  module Rails
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Gumby Init
3
+ */
4
+
5
+ // test for touch event support
6
+ Modernizr.load({
7
+ test: Modernizr.touch,
8
+
9
+ // if present load custom jQuery mobile build and update Gumby.click
10
+ yep: Gumby.path+'/jquery.mobile.custom.min.js',
11
+ callback: function(url, result, key) {
12
+ // check jQuery mobile has successfully loaded before using tap events
13
+ if($.mobile) {
14
+ window.Gumby.click += ' tap';
15
+ }
16
+ },
17
+
18
+ // either way initialize Gumby
19
+ complete: function() {
20
+ window.Gumby.init();
21
+
22
+ // if AMD return Gumby object to define
23
+ if(typeof define == "function" && define.amd) {
24
+ define(window.Gumby);
25
+ }
26
+ }
27
+ });
@@ -1821,7 +1821,7 @@ form fieldset legend { padding: 5px 10px; }
1821
1821
  .tabs .tab-nav > li > a { display: block; width: auto; padding: 0 16px; margin: 0; color: #555555; font-family: "Open Sans"; font-weight: 600; border: 1px solid #e5e5e5; border-width: 1px 1px 0 1px; text-shadow: 0 1px 1px white; background: #f2f2f2; cursor: pointer; -webkit-border-radius: 4px 4px 0 0; -moz-border-radius: 4px 4px 0 0; -ms-border-radius: 4px 4px 0 0; -o-border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0; height: 42px; line-height: 40px; }
1822
1822
  .tabs .tab-nav > li > a:hover { text-decoration: none; background: whitesmoke; }
1823
1823
  .tabs .tab-nav > li > a:active { background: #ededed; }
1824
- .tabs .tab-nav > li.active > a { height: 43px; line-height: 41px; background: white; }
1824
+ .tabs .tab-nav > li.active > a { height: 43px; line-height: 41px; background: white; cursor: default; }
1825
1825
  .tabs .tab-nav > li:last-child { margin-right: 0; }
1826
1826
  .tabs .tab-content { display: none; padding: 20px 10px; }
1827
1827
  .tabs .tab-content.active { display: block; }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gumby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -61,6 +61,7 @@ files:
61
61
  - vendor/assets/fonts/icons/entypo.ttf
62
62
  - vendor/assets/fonts/icons/entypo.woff
63
63
  - vendor/assets/javascripts/.DS_Store
64
+ - vendor/assets/javascripts/gumby.init.js
64
65
  - vendor/assets/javascripts/gumby.js
65
66
  - vendor/assets/javascripts/gumby.min.js
66
67
  - vendor/assets/javascripts/ui/gumby.checkbox.js
@@ -75,7 +76,8 @@ files:
75
76
  - vendor/assets/javascripts/ui/jquery.validation.js
76
77
  - vendor/assets/stylesheets/gumby.css
77
78
  homepage: http://rubygems.org/gems/gumby
78
- licenses: []
79
+ licenses:
80
+ - MIT
79
81
  post_install_message:
80
82
  rdoc_options: []
81
83
  require_paths: